Is this simple schematic electrically correct?


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    29

    Default Is this simple schematic electrically correct?

    Is the attached schematic electrically correct for an automotive environment? Press the switch and the LED comes on. Im doing some testing and this works but is it correct? Anything out of wack or incorrectly done?


    Thanks all.


    It appears that this should be moved to the schematics section of the forum.

    Thanks
    Attached Images Attached Images  
    Last edited by sccoupe; - 10th November 2009 at 01:38.

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    No, There are at least three mistakes:

    #1. You need some capacitance across the the power supply leads of the PIC and at the output of the regulator. I recommend a 10uf and a .1uf in parallel.

    #2. Pin 4 will never go LOW. Connect the "bottom" of the switch to a 10K resistor. Connect the other end of that resistor to GND. Connect the junction of the switch and the resistor to pin 4.

    #3. The LED will not be bright enough with a 10K resistor in series. Try a 1K instead.
    Charles Linquist

  3. #3
    Join Date
    Feb 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Thanks Charles. Here is the correct schematic. The first one was misdrawn from what I wired. Does this correctly address #2? On issue #1, do I need two seperate sets of caps for the regulator and the pic or will one set do? Also are there small SMD caps available in those values? I've looked in the past and it seems that the 10uf caps are big metal button types or the non-smd electrolytics.


    Thanks again for the info.

    Jason
    Attached Images Attached Images  

  4. #4
    Join Date
    Feb 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Will these do for the capacitor situation?

    Cap 10uf

    Cap .1uf


    If these are not used at all, how does that effect a pic that is being used to count rpm pulses?

    Thanks

  5. #5
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Yes those caps will be fine, without them the circuit will be vunerable to electrical noise & may give unexpected results.

    Also for the led resistor I would use around 270 ohms.

    Regards
    Bob...

Similar Threads

  1. Simple LCD code not working!...WHY?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th November 2009, 19:48
  2. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  3. Schematic for simple demo
    By iandonahue in forum USB
    Replies: 7
    Last Post: - 4th March 2008, 15:18
  4. Help needed with Select Case?
    By jessey in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 2nd January 2008, 00:12
  5. Simple Serial communications
    By kitcat in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th July 2005, 19:42

Members who have read this thread : 1

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