Electricity meter LED flash direct to raspberry pi emonbase ?

My first post !

Is it possible to have a LED (photo transistor)  form an electricity meter cconnected directly to raspberry pi running emonbase ?

This would be easy for me as my meter and router are close to each other ! no real need for TX>RX setup.

Or has someone already done this ? I know it just means a bit of code change really...

 

Dave

 

TrystanLea's picture

Re: Electricity meter LED flash direct to raspberry pi emonbase ?

Hello Dave, that may well be possible as the raspberry pi does have digital IO but Im afraid I would not know where to start. May be worth looking around on the wider web for tutorials on flashing an LED from the raspberry pi to start? http://www.instructables.com/id/Blinking-LED-with-Raspberry-Pi/ ?

Trystan

 

AJTaylor79's picture

Re: Electricity meter LED flash direct to raspberry pi emonbase ?

You might want to take a look at Edward O'Regan's page on github who has done this with a Raspberry pi and Python. github.com/yfory/power He has included a circuit diagram, parts needed and code.

Would be interested in how you get on with the project.

Hope this helps, Andrew

kieranc's picture

Re: Electricity meter LED flash direct to raspberry pi emonbase ?

calypso_rae's picture

Re: Electricity meter LED flash direct to raspberry pi emonbase ?

Most of my Mk2 PV Router builds include a routine for monitoring meter events using an Arduino or similar.  The analysis is done by checkLedStatus() which needs to be called once per mains cycle.  This works with reverse energy flow as well as for normal consumption.  The detector circuit has 3 components (LDR, R, C) as shown at the top of the sketch (e.g. Mk2i_rev4).  

Sorry, I know nothing about the Pi platform.

Comment viewing options

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