LEDs to show consumption

Hi all,

The last I saw on the blogs were "Update: The single CT Home Energy Monitor emonGLCD example sketch has been updated to also include proportional red LED PWM brightness control corresponding to the amount of energy being consumed."

I cannot seem to find the code that does this? The single CT Home Energy Monitor sketch does not work for me? What about the switches on the side, is there any code available to use them in the Home Energy Monitor sketch?

Thanks!

Robert Wall's picture

Re: LEDs to show consumption

In SolarPV.ino the LED intensity varies according to the power.
SolarPV.ino also uses the switches to change the display. You can make the switches do whatever you want them to do. What is there in the Home Energy Monitor example sketch that you could use the switches for?

esawyja's picture

Re: LEDs to show consumption

Hi Robert,

I'm actually looking for an example, not sure what the switches could be used for in the Home Energy Monitor, I guess displaying more pages?

Regards

Robert Wall's picture

Re: LEDs to show consumption

The immediate problem with that plan is there is not much more memory available in the emonGLCD. The solarPV sketch is very close to the limit, so you might like to look at that, both as an idea for extra pages, but also to give you an idea of how much (or how little) can be added.

esawyja's picture

Re: LEDs to show consumption

Thanks Robert, will do

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.