- Fri Jan 31, 2014 10:34 pm
#167903
I have an Arduino UNO automating a greenhouse. It takes data from sensors and adjusts the environment accordingly.
The problem is that ONLY when the lights are on, the sensor values go haywire.
Both the lights and the AC adapter for the UNO are run off the same extension chord, but when i connected the adapter to a different chord and a different outlet the problem persists.
But here's the kicker... when i connect a battery supply instead everything works fine, even with the lights on.
The lights are x6 35W florescent with two ballasts controlled by a 5v relay connected directly to the UNO.
The relay is rated for 10A
The adapter and battery voltages are both 9V.
I don't have an amp-meter or oscilloscope so i can't troubleshoot much unfortunately. Any idea what's going on here?
The problem is that ONLY when the lights are on, the sensor values go haywire.
Both the lights and the AC adapter for the UNO are run off the same extension chord, but when i connected the adapter to a different chord and a different outlet the problem persists.
But here's the kicker... when i connect a battery supply instead everything works fine, even with the lights on.
The lights are x6 35W florescent with two ballasts controlled by a 5v relay connected directly to the UNO.
The relay is rated for 10A
The adapter and battery voltages are both 9V.
I don't have an amp-meter or oscilloscope so i can't troubleshoot much unfortunately. Any idea what's going on here?