Now if you just want to grow and not bother with anything else at first, just get a classic thermometer and timer, and you’re good to grow !
But maybe you want to go that extra mile to something a bit more secure, forgivable, fancy, futuristic;) this part is for you.
If you can’t wait for us to finish polishing our 30usd Meanwell controller you can build it yourself for roughly the same price.
To remote control the dimming of your Meanwell power supply (type B and AB) you need :
1 - One LM358 operational amplifier :
2 - A couple of 10K and 20K resistors :
3 - An esp32 board :
4 - A 12V power supply :
The LM358 has to be mounted in a “non-Inverting DC Gain”* setup in order to translate the 0-3.3V signals from the arduino to the 0-10V range needed by the power supply.
*:https://www.diodes.com/assets/Datasheets/LM358.pdf page 2 top left figure with R1 = 10K and R2 = 20K.
Connected as shown in the first picture, the leds can be dimed by simply writing any value on D1 using the Arduino’s analogWrite() function : https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/