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.

ENC28j60 prblem with Relay toggle

Status
Not open for further replies.

Sharagim

New Member
Hi,
I am making a board for toggling relay remotely with enc28j60.
The relay is connected to Contactor for handling more current, The relay is connected to mcu(Atxmega64a3) with optoocouple and transistor.
I had a problem which after some toggle I see enc28j60 wont reply anymore, I put a _delay_ms(x) after each toggle which seems help on this device , but when I put two device the second one has this problem when the first one toggle ports.
I think some spike or ... making this problem but don't know how to prevent it.
Thanks in advance
 
Last edited:
Do you have diodes across the relay coils for transient suppression?
 
Sure there is a diode.
you can see the schematic in attache.
sch.png
 
The problem could be due to ground bounce. Make sure the current path for heavy current loads such as the relay and contactor does not include the path from the micro Vss terminal to ground, so that the IxR drop in the ground trace of the micro is negligible. Use a star ground configuration.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top