Current Cost (or "Costocorrente" for Italy) Gadgeteer 4.2 Module for the EnviR serial interface.
This is a Gadgeteer Module driver for the Current Cost EnviR device. Here is the Current Cost Web site: http://www.currentcost.com/ (the Italian
one is: http://www.costocorrente.it/)
The EnviR can be directly connected to an "U" Socket of your Gadgeteer board (tested with Mountaineer Ethernet) since it's a 3V serial
interface. (At least the CC128 unit).
This is the Pinout of the Gadgeteer Socket U:
I've used the +3.3V to provide supply to the EnviR unit and TX, RX and, of course, GND.
And this is the pinout of the RJ45 Plug of the EnviR:
- 1 Vcc supply
- 4 Gnd
- 7 EnviR Unit Rx Data
- 8 EnviR Unit Tx Data
I've wired in this way:
- Gadgeteer Pin 1 - RJ45 Pin 1
- Gadgeteer Pin 10 - RJ45 Pin 4
- Gadgeteer Pin 7 - RJ45 Pin 4
- Gadgeteer Pin 8- RJ45 Pin 5
I WILL NOT ASSUME ANY RESPONSIBILITY IF YOU DAMAGE YOUR HARDWARE. I FOUND THIS INFORMATION FREELY AVAILABLE ON THE INTERNET. PLEASE DOUBLE CHECK BY YOURSELF BEFORE TO TRY THIS.
This is the demo "board" (if we can call in such way!) i've used for my tests.
It's a GHI breakout board + some ethernet cable with a RJ45 Plug.
For the time being i'm parsing only the runtime data:
<msg> start of message
<src>CC128-v0.11</src> source and software version
<dsb>00089</dsb> days since birth, ie days run
<time>13:02:39</time> 24 hour clock time as displayed
<tmpr>18.7</tmpr> temperature as displayed
<sensor>1</sensor> Appliance Number as displayed
<id>01234</id> radio ID received from the sensor
<type>1</type> sensor Type, "1" = electricity
<ch1> sensor channel
<watts>00345</watts> data and units
The historical data messages are ignored.
This project is not managed by Current Cost. This is a private project provided as it is.