I’m building an home automation system to control my projector screens. I’m driving 3x 240v AC motors through 6 GHI relays connected with the 3pin e-block connectors on my FEZ Connect/Panda combo.
To control the relays I use the tcp webserver sample. Sometimes(but not always) when i switch off an relay it sort of resets my networking on the FEZ Connect. I can’t ping the device anymore; and i get an thread stopped message but no errors. When i pause the debugger i can see the networking thread is still running except the “server.LocalEndPoint” is bound to 0.0.0.0:0, which was 10.9.9.24:80 before the thread gave a stopped message.
The weird thing is that this problem only occurs when I apply 240v to the relays and using them with a motor connected.
Is it possible that the current draw of the Fez Connect/Panda and switching relays is much for an USB port? Maybe it drops or something, just enough to reinitialize the network controller? Or are there any other obvious explainations for this? I’m suspecting some kind of backbleed of the relay?
Any help is very welcome