Problem with PIC16F87


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I'm afraid I don't grasp what the 555 is doing. Do you have a link to the website where you found the 555 circuit?

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Sorry, I just realised that schematic is slightly wrong. The POT should connect to pin 7. Its connected right on the PCB though.

    Ive uploaded the corrected schematic. I found the website i thought i got it from but it seems i didnt use that one (i dont think i got it to work). The circuit i used is one of the example circuits in PCB Wizard. Ive uploaded a screenshot of that too.

    In my circuit ive used a 15K resistor and a 5K POT in series instead of the 100K VR in the example and ive used a 1nF cap instead of 100uF
    Attached Images Attached Images   

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    No Resistor from the 555 to the Base of the Transistor? How hard do you want to turn that poor Transistor on? If you disconnect pin 3 on the 555 and still have your 7805 (they DO need a heatsink) overheating, then you've damaged your 555.

  4. #4
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Thats another mistake, sorry. There is a 10K resistor between pin 3 on the 555 and the base of the transistor.

    I use 7805s in every circuit i make that needs 5V and they never need a heatsink. Sometimes they do get slightly warm if a lot of things are running from them but still not enough to need a heatsink.

    For testing i moved the 555 to a breadboard with a seprerate regulator and that regulator stayed cold. The one on the main board still got hot though which means its the IR emitters that are causing it to overheat. According to the datasheet they should be drawing 100mA each. Theres 2 of them but its about a 50% duty cycle so i would expect the average to be around 100mA. Lastnight my multimeter showed 102mA for the emitters and the 555 so i guess thats about right then as long as i put a heatsink on this regulator.

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I see Data A & Data B but no GND for the RS485 network.

  6. #6
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    The RS485 ground is the same as the ground for the rest of the circuit (0V)

  7. #7
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Try it with the RS485 network disconnected. If the current drops, then use a 100 ohm, 1/4W resistor between the RS485 GND and this circuit's GND.

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  3. 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
  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. PORTA.PinNo = 1 ' problem
    By frank small in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th May 2004, 14:30

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