Hello,
I have a circuit made up on 8 C Cell batteries, an arduino nano, a 5V relay, amber LED, two fans (data sheet listed below), and an MQ2 Gas Sensor.The circuit is designed so that when the MQ2 sensor reads above a certain threshold value, which is set as 1.3V right now so that it triggers when smoke from a blown out match hits it, it triggers the rest of the circuit which is that for 5 seconds it runs the two fans, and blinks the LED. The MQ2 gas sensor is powered off of the 5V pin on the arduino.
The fans need 12V to run so it is set up so that once the arduino reads above the value at the analog pin, it sends a digital signal to the relay so that it can connect the fans to the 12V supplied by the batteries. Another digital pin then blinks the LED. This all works 100% when connected via USB to a computer for power.
The problem comes in when I try to run the circuit off of the batteries alone. I have a toggle switch set up between half of the batteries so that when it is switched on, 6V is used to power the arduino at Vin. This appears to work fine, as nothing is standing out as wrong at this point. Once I introduce the smoke, the sensor reads it and triggers the function for the 5 seconds, however, this is where the problem lies. The relay, instead of kicking on for 5 seconds and running the fans, rapidly switches back and forth never actually running the fans. The digital output seems to do the same, where instead of a slow blink with a delay of about 1 second, it rapidly blinks on and off.
Any help would be greatly appreciated, and thank you in advance
Mark
PS: Here is the data sheet for the fan if need be.