Problem Keeping PORTD.1 LOW


Closed Thread
Results 1 to 40 of 49

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    OK, now this is just getting cRaZy. I can't stand it anymore!!!

    Do you have a schematic of the way you have the MAX1672 set up?

    I'm going to duplicate your circuit and see if I can make it do the same thing. This is just too weird.
    <br>
    DT

  2. #2


    Did you find this post helpful? Yes | No

    Default

    I will qiuckly draw one, thanks!!

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel

    Attached is my complete circuit as put out on my breadboard.
    Attached Images Attached Images  

  4. #4


    Did you find this post helpful? Yes | No

    Arrow

    I have put a LED connected to PortC.3 whith the athached code and my pic do start up, becuase the LED is flickering, but when I release the ON button it stops.

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=476&stc=1" border="1">
    Attached Images Attached Images  

  5. #5


    Did you find this post helpful? Yes | No

    Default

    I think I'm starting to get some progress.
    If I write the code, as below, my ONA does not turn on when measured with a multi-meter.
    But if I put a LED over PORTD.0 (ONA) AND GND and I press the on button, it flickers.
    So with the loop ONA does not stay high, but flickers
    Without the loop ONA does stay high?

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=477&stc=1" border=1">
    Attached Images Attached Images  

  6. #6


    Did you find this post helpful? Yes | No

    Default

    I Think I have found my problem.
    The plates in the breadboard creates a capacitance on my circuit, that is why the led was flickering.
    I have build a pcb and now it looks like it is working.

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    That happen often even if you have a brand new or older breadboard.

    Out of curiosity, what about if you remove those capacitor around your crystal on your BreadBoard???
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Great! Thanks for the schematic. Looks like that took awhile to draw.

    I should have the circuit built up later today. Just crawled out of bed. Need Coffee...

    I'll get back to you later.
    <br>
    DT

  9. #9
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    After posting that last one. I saw that you have it working.

    Not what I wanted to see.
    <br>
    DT

  10. #10


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi Darrel

    Thank you very much for your help.

    You said that it's not the right way to connect the one pin of the pic directly to ground, what is the correct way of doing this.

Similar Threads

  1. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 16:23
  2. confused problem with interrupt in a working program
    By illuminator4 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th November 2008, 18:01
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  4. Problems with RC2 and RC3
    By Christopher4187 in forum General
    Replies: 11
    Last Post: - 29th May 2006, 18:19
  5. 4-line LCD Help - using PortA instead of B
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 31st March 2005, 04:14

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