I have a problem with noise crashing the GrovePI when using the GrovePi Relay module.
I have a Raspberry Pi 3 with a Grove Pi board attached. For software I use Windows 10 IOT I connect a single relay module and am able to switch the relay on and off without issues without any load connected to the relay.
When I add a load to the relay i.e. a 240v mains lamp, the GrovePi crashes usually with the orange reset lamp illuminated. Only a power on off will address the problem. There are no other components connected only the lamp to the relay.
I have tried the following
- Tried three different grovepi relay modules
- A different Raspberry Pi ( both 2 and 3)
- New Grove interface board.
- Drive PI and Grove boards from a professional test PSU unit and not the current micro USB 2.5A 5v adapter.
- Updated to latest grove firmware.
- Drive the Pi and the 240v lamps from different 240v output sockets in the office
I have tried lower bulb wattages, screened cables. Moving location of cables etc.
I am currently at a loss as what to try next.
I am surprised that the relay output pins are so closed to the computer connectors on the Grove Relay PI connector.
Any advice as to what to try next would be appreciated. Note all other sensors work fine including g the relay without load.
Could you tell us what kind of the following light bulbs are you using:
I’m asking for this detail so I can reproduce the experiment as close as possible to yours.
If you have the possibility, it would be nice to share with us a picture of your configuration(s).
The application is an egg incubator. The incandecent 60w 240v light bulb used as the heat source is on the opposite side of the box you can see the white cable doing through the box.
The mains 240v comes in on the scotch block where it is patched to the GrovePi relay.
The layout is a bit untidy but was once glued to the box. I pulled it apart to try and minimise the interference whichst testing. Note the other cables on the scotch block have no power.
Thx for your support
I’ve reproduced your experiment in order to check if I get the same issue like the one you’ve got.
It has been used the example program for the
Grove Relay found in our repo.
I have used the following components within the following conditions:
incandescent light-bulb which was rated at
60W @ 230VAC
plug connector & a
light bulb socket
The power supply is rated at
GIF of the test I’ve made.
Nonetheless, the test was a success.
The test lasted for around 5 minutes. This means the light bulb continuously blinked for 5 minutes.
Regarding your experiment, I’m suggesting you to redo/recheck everything.
I think there’s something wrong in your setup that’s making your
GrovePi reset itself.
I also concur that during the experiment, there was no interference between the power supply and the