"emonRX" with RFM12 and 4-line i2c LCD

Hello !

This is what I am trying to do:

https://github.com/gysmovoile/emonTxFirmware/blob/master/emonTx_Interrup...

and here it comes, "BUT" with the RF12 instead of ethernet. Couldn´t find "earlier" version at the github link.

As being ilitterate at software what to exclude and what to paste in to replace the ethernet-module with the RF-module in the "emonTX_Interrupts_EthernetAndLCD.ino"-file

In the transmitting end I have a 3-phase and voltage emonTX V2 up and running OK.

Thank you / C.

 

Robert Wall's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

That code is for a TRANSMITTER. You seem to be asking for a sketch to receive from your emonTx V2 so completely the wrong place to start. If you want to see how to receive data from an emonTx, look at the emonGLCD or NanodeRF sketches.  

qabo0101's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

Thank you for reply !

You are so right !

In the TX is there the emonTx_CT123_Voltage.ino. All calibrated and good (I know my electrics ;-) )

So what I´m looking for is something for a Nano/Uno with RFM12 and a 4x20 I2C display to match the TX...

There seems a lot of focus on networking so for one that is not a programmer there is a jungle...

 

Regards / C.

Robert Wall's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

On offer in the OEM on-line store is the emonGLCD. Or if you want to add a receiver to an Arduino, there's the emonTx Shield (yes, it will function as a receiver). Then you'll need to add a display, presumably using the serial port. But without knowing exactly what you wish to achieve, it's quite hard to point you in the right direction. You might find some careful searches here can reveal something, because I'm moderately certain that I've seen reports that people are doing something like the things you describe. But I don't know that anyone has fully documented it.

qabo0101's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

The presentation in the wanted 4x20 I2C display ( no G(lcd) that is ;-) )

If looking in the emonGLCD one want´s to get rid of ethernet and Graphic and get the RFM12 received data through the 3-phase power and voltage calculus out in I2C-display...

I´m sorry for being software-illiterate :-(

Thank you for answering ! / C

jpbrigg's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

I initially wanted to alter the emonGLCD display, but am no programmer.

Using a emonTx v2.2 pcb and the EmonTX Low Power Temperature Node build guide, restored the 5v mini usb supply, I have a unit with a 20x4 HD44780 display.

The software is based on

// LCD Energy Monitor Display, 4 line LCD display connected with Sparkfun SerLCD Serial Backpack
// By Nathan Chantrell. http://zorg.org/
// Builds on emonGLCD example by Trystan Lea and Glyn Hudson at OpenEnergyMonitor.org

The SerLCD is  3 connections, 5v, 0v, Rx.

The Library used is

// Using SoftwareSerial pin 3 = rx, pin 4 = tx // use pins 5 & 6 as pin 4 already hardwired on emonTx v2.2
#include <SoftwareSerial.h>
SoftwareSerial mySerial(5, 6);

My EmonLCD receives data from an emonTx v3.4 and an emonTx v2.2

I have the code if it would be any use to you.

Bill Thomson's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

So what I´m looking for is something for a Nano/Uno with RFM12 and a 4x20 I2C display

Have you had a look at this?

qabo0101's picture

Re: "emonRX" with RFM12 and 4-line i2c LCD

Thank you all for your answers. !

The EmonTX is just a board wether using it for rx or tx is just a matter of what sketch to load as said.

I´m looking at the emonLCD_4line.ino-sketch (same place at the github but under emonLCD-master)  trying to figure out what to comment out and what to replace for I2C-display (adress0x20) and for the rfm12-868 that I will use, to have the 3-phases load and voltage displayed.

Thank you all / C

Comment viewing options

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