The PIC does not start its program.


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Jeez, go get your lollipop or soother.
    Last edited by Ted's; - 27th July 2008 at 10:42.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    Jeez, go get a lollipop.
    I'll get a truckload of lollipops...and I'll eat them...all of them...while I await your 'solution' to your 'problem'. And worry not! I'll brush after each one to keep away the tooth decay.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Egads! You must be using lead free solder to get results like that. Funny thing about tin is it grows whiskers. Do you have a 3 terminal resonator ? At this point I would probably bend the 2 legs of the PIC associated to the OSC. and attach them to a resonator with a point to point ground wire, or use an external OSC. Check the 2 pins of the board with PIC removed for capacitance, I would bet it is loading down the PIC's OSC until it does not work. Why would it run once ? Maybe in initializing it gets more power than after it starts. I am thinking there is such low impedance on the OSC circuit that it does not run.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4


    Did you find this post helpful? Yes | No

    Exclamation I would try......

    Get some breadboard and stick your PIC on that. Your circuit MAY have worked before, but solder dries up after a while. It may be worth your while re-soldering (neatly) every join you've made on that board and starting again. The circuit you want to build......it's SOOOOOO easy, but you have made it sooooooo complicated.
    TRY the following. With your multimeter check the outputs on PORTB.7 , PORTB.4, PORTB.6, PORTA.0, PORTB.0, PORTA.5, but check them ON THE CHIP. This will discard hardware error. If your PIC is programmed as per previous posts, then you will get 5V on these outputs - albeit for just half a second. It may be worth your while making that program a loop so your LED's oscilate between OFF and ON and not just ON for 500mS. That really doesn't help you none.

    IF you have 5V on all those pins above, your PCB needs to be re-done. It may work for programming, but...........

    IF you have breadboard, then do the following. 5V on pins 4 and 14, GND on pin 5, your XTAL on pins 15 and 16, the ANODE of your LED's on PINS 13, 12, 4, 17 and 6, the CATHODES connected to GND via a 4k7 resistor. You will need nothing else for this to work (for now). Don't bother with your reset switch just yet. Get the basics going first.





    AND SKI, it's not just the sugar that will decay your teeth, the acid from your saliva will eat through the enamal and calcium, so use a calcium replacing toothpaste. I personally like the green lollipops best
    Last edited by gringobomba14; - 27th July 2008 at 10:49.

  5. #5
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    The circuit you want to build......it's SOOOOOO easy, but you have made it sooooooo complicated.
    Dude, get a life.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    I've gotta say Ted, you ask for help, and when we actually try to give it, you diss us off. Did you expect that we would drop everything and just run over to your house and make it work? I'm sorry mate, but I think you have no concept of how help is given. I took to time to MAKE your circuit on breadboard, make it work, then write you how to do it, and your reply is "Get a life". I would say this to you. UNSUBSCRIBE, you are not worth the effort

  7. #7
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    You see, if you had worked on your manners when it comes to respect you wouldn't have created it ineffectually.

  8. #8
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    Check the 2 pins of the board with PIC removed for capacitance, I would bet it is loading down the PIC's OSC until it does not work. Why would it run once ? Maybe in initializing it gets more power than after it starts. I am thinking there is such low impedance on the OSC circuit that it does not run.
    I do not know how to do that practically.

  9. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    Why would it run once ?
    Because that's the way his program is written...

    Quote Originally Posted by gringobomba14 View Post
    Get the basics going first.
    But the circuit/program is so far beyond the basics!!!

    AND SKI, it's not just the sugar that will decay your teeth, the acid from your saliva will eat through the enamal and calcium, so use a calcium replacing toothpaste. I personally like the green lollipops best
    And I'm sure it's not doing the wires and brackets any good either (I wish there was a little green smiley face with braces out there somewhere)

  10. #10
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    The circuitry is actually far beyond basics. There is even a IR receiver + software decoding included aswell as some other modern items.

    I excluded anything being unimportant for this issue.

  11. #11
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    The circuitry is actually far beyond basics. There is even a IR receiver + software decoding included as well as some other modern items.
    See! What did I say! It's so very complicated! IR receivers...firmware decoding... So much going on!

    But...like anything else...
    If the car won't start, how do you know the automatic transmission will upshift or the anti-lock brakes actually work?

Similar Threads

  1. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  2. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Pic16f84 and RC5 kode
    By terminator in forum Bluetooth
    Replies: 5
    Last Post: - 18th June 2007, 21:40
  4. Pic Start Plus Help
    By shawn in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2007, 03:47
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

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