Problem with 16F648A


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    GREECE
    Posts
    120


    Did you find this post helpful? Yes | No

    Cool

    falingtrea,

    The condition IF PORTA.1 = 1 never goes true either using 5vdc.I do not think that is level "1" the problem.

    I will try to de-install the Microcode Studio Plus + pICKIT2 because it seems to me that the problem is from the pc.

    If someboby have any other idea please advice

    Regards
    Nikos

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ngeronikolos View Post
    falingtrea,

    The condition IF PORTA.1 = 1 never goes true either using 5vdc.I do not think that is level "1" the problem.

    I will try to de-install the Microcode Studio Plus + pICKIT2 because it seems to me that the problem is from the pc.

    If someboby have any other idea please advice

    Regards
    Nikos
    This may be a stupid question but have you verified that the signal on PortA.1 is working the way you expect it? What is driving this pin? If it is some kind of open-collector output, for instance, it needs a pullup in order to generate a '1'. I always check the hardware before I assume there is a problem with the software. I can't remember how many times I have put the wrong kind of signal on a pin and wondered why the software did not work.

  3. #3
    Join Date
    Feb 2005
    Location
    GREECE
    Posts
    120


    Did you find this post helpful? Yes | No

    Default

    Finally falingtrea show me the way to solve my <<stupid>> problem.
    I add pull down resistor to PORTA.1...and that's it.ok

    HARDWARE
    Thanks boys
    Nikos

Similar Threads

  1. Code doesn't work on 16F648A
    By Mr_Joe in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st September 2018, 22:09
  2. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  3. Hardware problem or what ?
    By Steve S. in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 4th March 2007, 21:39
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 01:08

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