I have been trying to create a circuit using an Arduino Uno R3 SMD, an Orion OA80AP-11/22-1WB Fan (115-230 VAC), a MIKROE-2767 Ozone 2 Click ozone sensor, and a Krida PWM AC Voltage Dimmer (50hz-60hz/80-240 VAC) relay. I have breadboards, wires, and a standard 120 v wall plug to use.
I would like the circuit to adjust the speed of the fan depending on the measured concentration of ozone, which will reach up to 100 ppm for the circuit's application (I will not be exposed to this level of ozone; it will be confined to a chamber. Ideally, if the ozone concentration is at 100 ppm, the fan will operate at full speed, if the ozone concentration is between 50-99 ppm it will operate at half speed, and the fan will be off if the ozone concentration is below 50 ppm.
Because I am dealing with 120 VAC, I would like some advice from someone who is more familiar with circuits than me. Advice on how to setup the circuit and what code to use would be greatly appreciated. Thanks!
Before you get too far with this project, get the fan and the dimmer and see if the fan can really be slowed down. Most such fans convert the AC input to DC and use that to power the electronics in the hub to turn the fan. I doubt changing the AC sine wave with a dimmer will have the effect you want.
I will consider this. The main reason I went with the 120V fan is because the the circuit will be running for hours at a time without being connected to a computer, meaning an on-board power supply will be needed. The project description requests that the circuit be powered by an outlet.