Pages: [1]   Go Down
Author Topic: problem with arduino mega and relay module  (Read 440 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi,

I have Arduino Mega with ethernet shield.

the board is connected to relay module that control venta (in my bathroom)
and some lights.

my code operate the venta for 10 minutes when I turn off the light in my bathroom, if the light turn on in that time it will turn off the venta.

the problem is that sometimes the venta causes other relays to turn on \ off.

i think that the venta creates a spike on the power network that causes it, sometimes it affects on another arduino mega that is connected in another room.

i don't know what to do.

can someone help me?

Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 4
Posts: 272
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Showing us how everything is connected would be a good start.
Logged

0
Offline Offline
Shannon Member
****
Karma: 162
Posts: 10456
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This venta is a fan yes?  If so its almost certainly a mains induction motor fan, which is the most inductive load you can have,
and will generate a massive spike if not correctly suppressed - normally such a motor would have suppression components
built in (a snubber circuit) to greatly reduce the severity of the spike, but it will still be present at switch-off and could easily be the culprit.

As to how other systems are picking up this spike, possibly an inadequately filtered or earthed powersupply, perhaps sensitive
sensor/low voltage cables are run near/parallel to mains wiring (never a good idea).

If the relay controlling the fan motor is inadequate for the task it may be sparking excessively and contributing more high voltage
noise - in general you have to derate relay contact ratings for an inductive load compared to resistive load - so is your
relay generously rated?
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: