Arduino UNO + emonTx Shield + Raspberry Pi

Hi everybody

i try to connect  arduino UNO + emonTx Shield + Raspberry Pi

but i've  getting some problems,

1.-Is the Arduino emonTxShield_CT1234 sketch the right one  for this system?

2.-emonTx Shield have the  RFM12 expantion board, how can i link that with RFM12Pi which is in Raspberry Pi ?

3.-I have the emoncms in raspberry and i access through a router where I requested for a log in , then i access, and the whole system being run, but I can't see anything in the Inputs tab.

can somebody post a series of steps to take to walk this system correctly, or someone who try this before.?

thanks

Robert Wall's picture

Re: Arduino UNO + emonTx Shield + Raspberry Pi

No response probably means no-one knows all the answers that you want. I have neither a Uno, emonTx Shield nor Raspberry Pi, so I cannot help much. Have you read all the information on this site and set up your system according to the instructions?

1. Yes, if you are not measuring voltage.

2. The default settings should be correct. Is the radio frequency in the sketch/RPi configuration correct for your RFM12 modules? Does the LED on your Uno flash every few seconds?  Do you see serial output?  Does the LED on the RFM12Pi flash at the same time, indicating it is seeing the radio transmission?

I've deleted your first post and linked it to this. You are wasting everyone's time by posting the same question twice, even though it is on a different forum.

strada12's picture

Re: Arduino UNO + emonTx Shield + Raspberry Pi

Hi Robert, 

Yes i've followed all instructions from OEM and OEM Wiki and so forth, but i can't see anything on Inputs Tab from emoncms (RPi),

 suppose that i should see inputs on emoncms page, and is not happening..

2.- The radio frequency is same on both (arduino sketch/RPi emoncms config.), Yes, the RFM12 LED and RFM12Pi LED, are flashing at the same time.

i've tested the radio frequency of the RFMs using a oscilloscope, and the wave amplitude, concurred with the 433Mhz.

 

Jérôme's picture

Re: Arduino UNO + emonTx Shield + Raspberry Pi

2.- The radio frequency is same on both (arduino sketch/RPi emoncms config.), Yes, the RFM12 LED and RFM12Pi LED, are flashing at the same time.

Are you running a gateway script ? (See readme here : https://github.com/emoncms/raspberrypi)

If not, do it.

Otherwise, please try to monitor the COM port using Minicom (see help in the wiki) to see what you get there.

strada12's picture

Re: Arduino UNO + emonTx Shield + Raspberry Pi

Hi Jerome..

Yes i'm running the PHP Script , but the  RFM2Pi Gateway (python script) wasn't installed, so i installed it, but at the moment i try to access the emoncms through the router, i go to the Inputs Tab and it looks like is refreshing and adding nodes automatically, so i stop the service through SSH Terminal and it stops adding nodes, and still not able to view any real time variable.

Is The RFM2Pi Gateway (python script), necessary ?

I'm using SSH client (PuTTY ), is it the same than Minicom?

 

Jérôme's picture

Re: Arduino UNO + emonTx Shield + Raspberry Pi

Hi.

The python and the php script are equivalent. You should not run both.

I believe what you see is the normal behaviour. The nodes are created, but since latest version (I think) of emoncms, the instantaneous input values are not displayed, for performance reasons. So you don't see much until you add processing actions.

What happens if you select one of the nodes and add "log to feed" as a processing action ?

What do you mean "adding nodes" ? There should only be the node that you are using, with one line per value(s) from the sketch (I didn't check how many values are output by the sketch).

Putty (SSH) is between your computer and the RPi, minicom is a command line application you can run in the Pi to monitor the serial port. It must have moved in the doc because I don't see it where it was, but anyway, if you run the php (or python) gateway, you should have equivalent login info.

Comment viewing options

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