I have a GrovePi which I would like to use to control a LED light fixture, as well as report some environmental data.
Specifically, I’d like to control power on/off and dimming of the light, and sense temperature, humidity and electrical consumption.
I have already installed a Grove relay into the fixture, and can power on/off the light with no issue. Adding the environmental sensors has been straightforward as well.
For the next part of my project, I’d like to be able to dim the fixture, and report on the electricity consumption.
The LED drivers I am using are detailed here: http://www.meanwell.com/webapp/product/search.aspx?prod=hlg-185h-c
For dimming the fixture, the power supply above supports a dimming function using either 1~10VDC, PWM signal, or resistance.
I have looked at the Grove options for this, and I see the MOSFET as a potential solution, however my knowledge in electronics isn’t very strong, and it would be great if I could get some suggestions on the best way to implement dimming with my GrovePi.
As far as electricity usage monitoring, I have also noticed the current sensor options for Grove are limited. Are there any other options for being able to monitor the electrical consumption of the power supply as well?
Thanks in advance!