O2, astounding, I don't know how you do it.
My question is how (what ways) could you control fan speed with the new master slave system you designed?
Could you also use the on board arduino for other functions and send values through to the BF App or another App???
my mind is boggling![]()
The fan control circuit is actually really simple. By setting the jumper to any one of the six channels, the PWM signal from the mini is routed into an RC circuit that converts it to an analog signal. This analog signal is then sampled by pin A0 on the Nano. The Nano is programmed to output a 5V 25Khz PWM signal on pin D10 that's proportional to the original analog input. I used a function from the Timer1 library to adjust the Nano's PWM frequency to 25Khz.
I only used 2 pins on the Nano, so there's still plenty I/O pins available for other uses.