Reverse Voltage Issue
hello everybody,
need assistance asap.
i've built small project using arduino mega , think have reverse voltage issue.
attached in sketch of problematic part in setup.
i have 2 power supplies of kind: http://www.ebay.com/itm/231667699743?_trksid=p2057872.m2749.l2649&var=530894013663&sspagename=strk%3amebidx%3ait
one provides 5v drives relay module , second 1 provides 12v drives arduino through 12v input jack , electromagnet through relay module.
the electromagnet of kind: http://www.ebay.com/itm/60kg-132lb-electric-magnetic-lock-fail-secure-dc-12v-for-door-entry-access-36l7-/131678535197?hash=item1ea8a6fe1d:g:3ksaaosw~otwctio
the relay module of kind: http://www.ebay.com/itm/331859710240?_trksid=p2057872.m2749.l2649&sspagename=strk%3amebidx%3ait
5v arduino connected 16 channel relay module (didn't connect ground because don't want arduino drive relay module). arduino controls specific relay digital output.
i have micro-switch connected other digital pin , controls other stuff.
the problem started when connected switch between electromagnet , relay module. theoretically has no connection arduino when press (it's in closed mode) , electromagnet turned off other switch, 1 connected arduino toggled , switches on whatever should turn on. when turn off magnet using arduino's digital out works fine.
i believe have debounce issue caused reverse voltage coming electromagnet whenever manually turn off.
i can try enlarging debounce delay (currently 50 milliseconds) , perhaps solve issue route cause , try prevent reverse voltage coming arduino.
i connected schottky diode (1n5819) in series electro magnet: between vcc-in of magnet , vcc-out of relay module , didn't help.
i connected schottky diode (1n5819) in parallel electro magnet: between vcc-in , gnd , didn't help.
i'm not sure i'm doing wrong, diode should prevent reverse voltage doesn't, perhaps should use other diode?
perhaps need connect differently? perhaps other (simple) solution, maybe connecting arduino different power source , not same 1 electro magnet uses ?
your appreciated
need assistance asap.
i've built small project using arduino mega , think have reverse voltage issue.
attached in sketch of problematic part in setup.
i have 2 power supplies of kind: http://www.ebay.com/itm/231667699743?_trksid=p2057872.m2749.l2649&var=530894013663&sspagename=strk%3amebidx%3ait
one provides 5v drives relay module , second 1 provides 12v drives arduino through 12v input jack , electromagnet through relay module.
the electromagnet of kind: http://www.ebay.com/itm/60kg-132lb-electric-magnetic-lock-fail-secure-dc-12v-for-door-entry-access-36l7-/131678535197?hash=item1ea8a6fe1d:g:3ksaaosw~otwctio
the relay module of kind: http://www.ebay.com/itm/331859710240?_trksid=p2057872.m2749.l2649&sspagename=strk%3amebidx%3ait
5v arduino connected 16 channel relay module (didn't connect ground because don't want arduino drive relay module). arduino controls specific relay digital output.
i have micro-switch connected other digital pin , controls other stuff.
the problem started when connected switch between electromagnet , relay module. theoretically has no connection arduino when press (it's in closed mode) , electromagnet turned off other switch, 1 connected arduino toggled , switches on whatever should turn on. when turn off magnet using arduino's digital out works fine.
i believe have debounce issue caused reverse voltage coming electromagnet whenever manually turn off.
i can try enlarging debounce delay (currently 50 milliseconds) , perhaps solve issue route cause , try prevent reverse voltage coming arduino.
i connected schottky diode (1n5819) in series electro magnet: between vcc-in of magnet , vcc-out of relay module , didn't help.
i connected schottky diode (1n5819) in parallel electro magnet: between vcc-in , gnd , didn't help.
i'm not sure i'm doing wrong, diode should prevent reverse voltage doesn't, perhaps should use other diode?
perhaps need connect differently? perhaps other (simple) solution, maybe connecting arduino different power source , not same 1 electro magnet uses ?
your appreciated
i don't see common gnd between power supplies , arduino.
weedpharma
weedpharma
Arduino Forum > Using Arduino > General Electronics > Reverse Voltage Issue
arduino
Comments
Post a Comment