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.

Relay acting screwy

Status
Not open for further replies.
TillEulenspiege:
Thanks I will try that circuit now.

spuffock:
There is already a capacitor accross the motor brushes of the motor, but the old motor (which worked perfectly) did not have one.

I will try putting a capacitor across the pics power rail.

I only have 10nf, will that produce the same effect?


Thanks to all who have helped so far :)
 
M3S90 said:
Try a 2k pull down resistor between the pic and the 1k resistor.
Yup That was my first inclination. IIRC the PIC I/Os are tri-state which means they float unless active. Don't know the logic convention I think it's active on ( Pos logic ). Don't use a 2k tho use a 10k after the 1k.
 
you don't need a pull down on a pic...
if the pin is declared an output it can source AND sink....

if the pin is floating then he made a software error...
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top