Trouble starting PIC or internal clock on 12f683?


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    Austin, TX
    Posts
    68


    Did you find this post helpful? Yes | No

    Default Starting reliably now

    Pulling pin 4 to +5v and removing the pull-down resistor from the input allows it to start reliably now with
    @ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _CP_OFF

    It still only puts out fixed length pulses. If I put the pull-down back in 47k, the output stops. If I add as little as 20pf to the input, the pulses stop. There is improvement however, I now get fixed length pulses on all 4 outputs.
    [ATTACH]Name:  SDC11240.jpg
Views: 1194
Size:  202.9 KB[/ATTACH]
    If the attachment made it, you can see my wirng and the pulses
    Attached Images Attached Images  

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    I compiled the program I had on the website, and it ran correctly for me. A couple things I notice that are different. The diodes you are using look to be different than the small diodes I used, the 1n914. The scope seems to show this difference on the input signal, as the channels never quite get back to zero voltage, although they do get pretty close. I would try the 1n914's if you have them. If not, try just inputting a single channel with and without the diode, and see what it looks like on the scope. It will still output a single channel (as servo 3). If this is the issue, a single channel without the diode should work.

    I have also included a hex file, just in case there is a difference there. I used Darrels latest DT_INTS version 1.00 for mine, but it seems like the old version would have worked as well.

    1.00 can be found here: http://darreltaylor.com/DT_INTS-14/intro2.html

    I tried it on a FMA FS8 Co-Pilot, and a Hi-Tech Electron 6 receiver.
    Attached Files Attached Files

  3. #3
    Join Date
    Mar 2010
    Location
    Austin, TX
    Posts
    68


    Did you find this post helpful? Yes | No

    Default

    Thanks for the information. I'll pick up some 1N914's and see if that's the problem.

    Best,

    Mike

  4. #4
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Also, another detail is I am getting 3.04 volts on my incoming peak to peak with the FS8, and 3.6 volts with the Electron 6. Not sure if that would make a difference or not. Both work here, but your voltage is a little lower.

  5. #5
    Join Date
    Mar 2010
    Location
    Austin, TX
    Posts
    68


    Did you find this post helpful? Yes | No

    Default

    Okay, the 914's are in and there is no output pulses unless I touch the chip or input pin 5 with my finger. I am getting just about 3.0 volts input pulses and I guess that is the difference because just the slight capacitance of my finger, starts the output. It must be right on the edge.

  6. #6
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Bummer. How about putting a transistor in there to boost the voltage to 5v on the the input pin?

  7. #7
    Join Date
    Mar 2010
    Location
    Austin, TX
    Posts
    68


    Did you find this post helpful? Yes | No

    Default

    All I can say is that great minds think alike. Working on a sig booster now.

    Thanks for all your help.

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