LARGE visual display for 12V power meter

Hi there,

Part of my work involves teaching young people about renewable energy through practical workshops such as solar panel making.

In order to 'race against the sun' we have assembled a bike powered DC generator which has an output in the 12V range, 0-100w.

We would like to create a large visual display to show the power output.

This could either be numeric or just visual (e.g. a bar chart made up of LED ribbons like this)

My preference if for the second option as it could be made REALLY large scale.

My thinking is to use an Arduino to convert power measurements to an output that is addressed for a pre-defined power range (e.g.0-10w,10-20w etc), which can then drive an LED strip via a relay.

I haven't found a guide for doing exactly this although I have found some of the stages:
Measuring the bike/solar output in watts

Using Arduino outputs to drive loads greater than 20mA

I would appreciate some guidance on what code could be used to trigger different outputs on the Arduino for the different power levels (e.g. 0-10, 10-20, 30-40 etc)

Alternatively any thoughts on the overall approach and if there could be simpler alternatives would be welcome.

Thanks,

Kitaan

So, let me get this straight - you've got a low-powered vehicle, and you want to put a big, power-hungry display on it?

kitaan:
We would like to create a large visual display to show the power output.

This could either be numeric or just visual (e.g. a bar chart made up of LED ribbons like this)

My preference if for the second option as it could be made REALLY large scale.

the size of the display is based on how many LED's you use
the shape is up to you.
there is no reason you cannot have numbers 3 feet tall

read about voltage dividers, super simple
play with the analog inputs on your arduino
learn amount lighting LED's for numeric displays.

there are many guides like this instructables

Thanks for your reply.

I should have explained- the bike generator is stationary, and also includes a 12Ah 12V battery.

Its primary purpose is to demonstrate how electricity can be produced by human power, and to compare this against the power output of solar panels.

Each workshop typically lasts 1 hour so it is basically a temporary demonstration rather than a permanent installation.

We already have a watt meter with a small LCD display but it is hard to see from a distance and outdoors.

If the LED ribbon is used in 10cm increments then the 10 power levels would equate to c30w, based on 5w/m.

The power requirement for the display will come primarily from the stored energy in the 12V battery, with some topping up from the bike generator.

The maximum power consumption of 2.5Ah (30/12*1) will be easily met by the 12Ah battery capacity on its own.

The measurement of the bike power output is based on the current going into the battery, not the current drawn by the display.

Hope that makes more sense.

@Dave in nj- thanks for the links. I want to try the 'bar graph' approach rather than numeric, but will look again at this if I can't work out how to write the code required.

You can use RGB LED strips with integrated controllers, so that the Arduino only has to provide the display information to the strips, while power comes from a separate supply. Everything else requires additional driver circuits.

Thanks Dr Diettrich

That was why I was thinking of using the 12V relays that I linked to:

I am more familiar with electrics than electronics so sticking to what I know I guess!

Is this the sort of thing you mean?

I also found this:

Looks good but significantly more expensive than the 'dumb' LED strips. I think total cost will be lower with the 12v relays/ driver circuits.

You can minimize costs further by using standard driver chips, like an ULN200x instead of 7 relays.

I would stay away from relays at all cost.

an FET will do the same thing, for less and the reliability goes up and the power use goes down.

if you total your costs for your display with both LED strips and FET drivers
and compare to the addressable LED strips, the whole project cost should not be too great.

Driving LED's with an FET is about the simplest part of the project.
if the LED portion of the project is $32 for a 5 meter strip you can have 5 strips a meter long to give the bar-graph
if you have 60/meter, that means your display would have 60 levels.
for any other technology, you would need to get additional circuitry to get 60 levels.
at 1/2 meter strips, that would offer a wider display, but 30 levels. still very good resolution.

Thanks for the steer everyone.

That ULN200x chip looks very tidy.

I saw in this video from Lewis Loflin (Using the ULN2003A Transistor Array with Arduino - YouTube) that the outputs can be paralleled to drive more than 500mA.

This should be fine for the dumb LED strip which draws about 0.5A per m.

However the addressable LED strip is rated at 90w for 5m. At 5v that is 18A in total, and 3.6A/m (peak).

As this is more than ULN200x could drive with all outputs paralleled, am I right in thinking that a FET like this would be required (it can drive up to 5A)

http://cpc.farnell.com/velleman-kit/vma411/mos-driver-module-for-arduino/dp/SC14430?mckv=sA419NTjI_dc|pcrid|224679642167|kword||match||plid||slid||product|SC14430|pgrid|47129782516|ptaid|pla-371255952663|&CMP=KNC-GUK-CPC-SHOPPING&gclid=EAIaIQobChMIncClrdzf3AIVR4fVCh3jSwx5EAQYBCABEgLpXfD_BwE

Thanks

Addressable LED strips manage their power themselves, no additional drivers required.

Hi,
Why not make a big meter movement with a servo?
Like this but if you balance the "needle" it could be any size, and use your artistic efforts on a really good meter scale.
aeff1b4f19b580cd00f39ee320b9e2f2.jpg

Tom... :slight_smile:

Thanks Dr Diettrich, I should have realised that myself.

Looking at the ULN200 chips led me to this instructable which brings it all together:

@TomGeorge- I like the idea! We need it to be illuminated but an illuminated big meter could be a great follow on project.

Will post back when we have made some progress, but thanks to everyone for the input.

Just curious.
As an educator, you understand the difference between voltage, current and power...

To measure power - there must be a load, so then your generator has output with the capability of V volts, and I current.

You must make this distinction for your students, otherwise they’ll think pedalling faster generates more power, whereas it really develops more available power at a constant current. (Assuming the generator voltage varies with speed.)

There’s slightly more to it, but this is an important point.

Good point.

I would say yes in terms of the V=IR relationship, although there are depths that are beyond me.

The primary focus of our workshops isn't the physics per se, but the concept and practice of sustainability- although physics is of course the foundation for that.

As the power consumption of the display linked in my previous post is lower than the addressable LEDs, we were thinking to partly discharge the 12V battery to provide a load, although it won't be a linear relationship as the state of charge increases. A big variable resistor could be a useful addition.

Thanks for your wording, which will be useful in explaining the relationship between load and power.

One point about the addressable LEDs is your assuming that you're going to have them a 100% lit 100% of the time. There's no reason why you can't just lite one row of LEDs and have a lit row go up or down as the power changes

Another comment is a regular LED that is turned on and off can be turned on and off very fast so you think it is on. It's what we call POV for Persistence of vision and that is a way to greatly reduce the power consumed by an LED.

as for Oms's law, it only takes a few minutes to cover the basics.
And it will give a much deeper understanding to your students of power.

another point is that you could have a row of lights, screw in christmas tree lights, or refrigerator lights. and as your generated power increases, light another light. with the Arduino, you can display a numerical load value as well.