High voltage hardware question


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Christopher4187 View Post
    Hi,

    For the power supply (3V) for the PIC, I am going from a voltage divider, to a regulator with a filter then to the PIC. For the digital inputs, they are going from the voltage divider directly into the PIC. I guess I am not sure if the input for the buzzer is causing the PIC to reset or if the buzzer is somehow feeding back into the regulator, which is causing it to reset.
    Like Jerson said, a schematic would really help.

    A big cap at the buzzer might help... but.

    1- 3 volt regulator fed from voltage divider. Input voltage I would guess is higher than 5 volts?
    2- Voltage divider directly feeding inputs. What is this voltage?
    3- If the divider is set for 5 output with 74 input a spike would over volt the inputs, and if 5 volts is enough to run the regulator, a voltage drop would also drop the regulator out.

    Try not connecting the inputs of the PIC. What happens? If works when the buzzer is on try clamping the inputs.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    You could try and fix it in the software, Make the pic trigger with a known source and then wait a set period of time (eg 8ms) and see if the source is still there. DC spikes are only about 4 ms long and looking for a solid signal could help.
    Snap
    Beer is proof that God loves us and wants us to be happy.

  3. #3
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Default

    Just a thought,

    You say the buzzer has a big coil in it. Maybe you need a diode on the pic pin to supress any back emf from the buzzer?

    Squib

  4. #4
    Join Date
    Nov 2007
    Location
    oxfordshire uk
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    I have had some really horrible spike problems. A lot of them have been totally cured by fitting a 100n ceramic capacitor across the PIC's power pins, as close as you can get.
    Hope this helps.

  5. #5
    Join Date
    Feb 2006
    Location
    Arvada Colorado
    Posts
    31


    Did you find this post helpful? Yes | No

    Default If you haven't fixed it yet.......

    Here is what I have done.
    Bypassing, bypassing, bypassing. Make sure you have plenty of bypass capacitance on your pic power pins.
    In really bad situations I have had to put a small inductor on the +5V line between the regulator and the pic.

    Good luck

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


    Did you find this post helpful? Yes | No

    Default

    Ground plane, ground/power routing, splitting power/digital/analog ground, PSU bypassing, PCB layout... tons of possibilities here.

    Overloading PICoutput/PORT is still possible. The whole schematic and actual layout could be helpful.
    Steve

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

  7. #7
    Join Date
    Dec 2006
    Location
    WADSWORTH OHIO USA
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Try adding an inexpensive small relay, or optocoupler, in parallel to the coil, then use the contacts as your signal source. Simple easy and I use this type of isolation in industrial welder controls.
    Thanks !
    SOMRU
    TWE/TFP/EE

Similar Threads

  1. SERIN MIDI out of Synch?
    By jncortes in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th June 2009, 20:08
  2. high voltage high frequency H-Bridge
    By George in forum Off Topic
    Replies: 6
    Last Post: - 27th April 2009, 11:50
  3. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 02:37
  5. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35

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