Hi,
The emonRPi v2.0 is born!
I wasn't too happy with the performance of my first prototype (especially accuracy and noise susceptivity).
So I decided to go for a complete new approach and created a V2 prototype featuring a Maxim Integrated max1239 12bit 12 channel i2c ADC.
I've adopted the emonlib to allow reading from an I2C ADC, also i changed the emon INO code to directly write the results to the serial port. First tests show only 1 Watt jitter on a 100W light bulb on all 3 current channels.
As my next project I'll build a transformer free 3 Phase voltage monitor which will interface to the emonRPi over opto-isolated longwire I2C connection (6 wire RJ12 inteface). The plan is to make it small enough to fit into a one Unit DIN rail housing. let's see how well this goes. :-) The emonRPi is already prepared for this setup using a PCA9600 i2c buffer.
Below you can find schematics, board and a few pictures!
https://www.dropbox.com/s/z2yq6zkl51h6n1s/Photo%2019.02.14%2023%2030%2031.jpg
https://www.dropbox.com/s/63ut1kkapkypoph/Photo%2019.02.14%2023%2030%2042.jpg
https://www.dropbox.com/s/oc1pyteinxq2amt/Photo%2019.02.14%2023%2031%2002.jpg
https://www.dropbox.com/s/96mlo3ayts6hv6y/Photo%2019.02.14%2023%2031%2015.jpg
https://www.dropbox.com/s/muf7csdr440d1eq/EmonRPi_V2.0.pdf
https://www.dropbox.com/s/h3qo5rxwcys2jcg/EmonRPi_V2.0.brd
https://www.dropbox.com/s/76k6beq6zsufgp3/EmonRPi_V2.0.sch
I'll upload the code into a github fork repo within the next few days
regards
Rupert
Re: emonRPi v2.0 Raspberry Pi emon shield
Hi,
Very interesting.
Can you tell us more about the features of this RPI shield ?
Eric
Re: emonRPi v2.0 Raspberry Pi emon shield
Basically it has all features of my version 1 prototype (see this post: http://openenergymonitor.org/emon/node/3619)
These are:
shoulddoes completely fit into a standard RS-Components RPi Case (764-4382) and just needs a few wholes and one cutout for the RJ12 socketAdditionally it has a PCA9600 based I2C buffer circuit to allow for an opto-isolated interconnect to a direct (transformer free) 3 Phase voltage monitor device which I'm trying myself on next. My plans are to fit it into a 1 Unit DIN rail housing, lets see how difficult this will become.
A further major difference is the whole ADC circuitry is based on a Maxim Integrated MAX1239 12 Bit i2c ADC. The design I went for uses a fully differential bipolar input pair for each CT and the Voltage transformer on the ADC which is very robust against noise. This also overcomes the need to run the analog lines across half of the PCP and make thus it more susceptible to noise. The two's complement output is then simply converted into offset two's complement (the same idea the original emonTX is creating in hardware) by binary logic in software.
regards
Rupert
Re: emonRPi v2.0 Raspberry Pi emon shield
Many thanks for sharing this, have you thought what your intention is for this project going forward?
If you wish to open this for others to use it is probably worth think about what type of license to place on it. The absence of a license means that copyright laws apply. This means that you retain all rights and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.
There are a couple of sites that might help such as
http://www.shareable.net/blog/how-to-choose-an-open-source-hardware-license (quite wordy)
and
http://choosealicense.com
Whilst the second link is about software its very easy to read and digest.
Re: emonRPi v2.0 Raspberry Pi emon shield
Hi,
My personal intention for this project is the interest in the EE matter in general, there was nothing available that really suited the idea I had. Of course I would be pleased if somebody else also shares the same opinion and can make use of my work.
Talking about the license question I have decided to go for the CC license model, namely the "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
Although I really like spending time on these things I still have a Job and a GF (also called a job sometimes). As I'm not a professional developer either I can't promise I'm able find enough time to add all features that are theoretically supported by the hardware (e.g. the RFM12B gateway functionality). Maybe somebody else has use for this feature is willing to contribute that part.
Re: emonRPi v2.0 Raspberry Pi emon shield
thanks for your work!
This project is very interesting. I don't have the ability to rebuild myself this, but if it was for sale surely i buy it!
Re: emonRPi v2.0 Raspberry Pi emon shield
Hi Ligntning,
I've been taking a little look at your design, it's a very nice PCB. I like your idea of including TVS diodes, have you given thought to the specification of the diodes? What diode do you intend to use?
What are your plans for the design? How's development and testing coming along?