Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Pic 16F887 resets when 2nd relay opens

Status
Not open for further replies.

runman_up

New Member
I have an application with a microcontroller activating two 5V relays through transistors - they activate fine from transformer/bridge rectifier regulated power no problem - I just get the problem when they turn off - after the second relay turns off it resets the pic chip! Do i need extra diode or something in there? The relays each have a protection diode on them.

Help
 
Yes - a 0.1 mf capacitor at the ground to positive at the pic - I have a smoothing capacitor before the regulator of 1000mf. Sorry schematics pretty poor currently so bear with me.- I am new to this - how do I post a picture from my hard drive?
 
Last edited:
Hi runman,

your picture has to be somthing like .gpj or and put say on desktop, press Go Advanced button, scroll down and find 'Attachments Managments' where Browse for your picture and upload it.

thats it
 
Hi,

Apart from a schematic, what load is the second relay switching ? - are you using any supressors ?

Also do you have any input switches on long wire leads or a reset switch on Mclre ?
 
Supressors/MCLRE

Thanks!!!
I am using a reversed diode across the activating relay coil.

what load is the second relay switching ? probably 2 or 3A on the AC side - Using any supressors ? No - not sure what they are

Any input switches on long wire leads?
Yes a foot long 22 ga- or a reset switch on Mclre ? No I did not seem to need it.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top