PIC16F917 - Not reading input


Results 1 to 7 of 7

Threaded View

  1. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by freddayz View Post
    What do you have A.7 connected to? >>>I have it connected to a GPIO which outputs 3.3VDC
    Well, that isn't going to be near enough voltage to connect into an RS232 port on a PC... A 5v signal is just barely enough, but seems to work in most cases. Either need to bump up to 5v or use a 3v-compatible MAX232-type chip in the middle.

    And the internal OSC may not be good enough for serial. What are you sending to? >>>I am sending to the com port on the PC, it outputs the message i want.
    Internal oscillators are sometimes accurate enough for serial communications, sometimes not. Best bet is to use an external oscillator.
    Last edited by skimask; - 15th July 2008 at 21:21.

Similar Threads

  1. Sony LanC Program
    By l_gaminde in forum Code Examples
    Replies: 2
    Last Post: - 25th September 2009, 18:51
  2. floating A/D input
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th April 2009, 13:21
  3. Timing input pulses and re-outputting them
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2007, 01:50
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. 16F88 reading Analog Input
    By thunderstrike44 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th August 2004, 22:41

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts