I’m brand new here, so apologies if this is in the wrong place or if it’s a really basic question. It seems like a pretty basic question, but I’ve run out of things to try, so here I am.
I installed an emonSD image on a plain vanilla raspberry 3, and I’m trying to connect it to my arduino uno r3. The idea is to flash the arduino with emontx firmware, do a direct serial connection, and have a cheap and easy way to read a couple of current taps.
First off, yeah, I know, the arduino is 5V. For right now I’m using a resistor divider to take the arduino TX pin and bring it down to a safe range for the raspberry input.
So I’ve tried two different bits of firmware on the arduino. First of all I used the emonTXV3_DirectSerial, but that seemed like it might have been out of date, so I switched over to emonTxV3.4 Discrete Sampling. I disabled RF since I’m direct connecting.
I’ve looked into the emonhub.conf configuration, trying to get emonhub to receive the serial data that the arduino has sent it, but nothing seems to show up.
Just to verify that the raspberry is in fact getting the data, I used minicom to monitor /dev/ttyAMA0 port, and verified that it was receiving the data from the arduino. So the data is getting to the raspberry, although I guess I don’t know that it’s the data emonhub is looking for. But I don’t see any evidence that emonhub is receiving packets. Should they show up in the log? How do I know when emonpi is actually getting data?
I’m not providing any way for the raspberry to talk back to the arduino, but I don’t think it needs to. It seems like the arduino just happily blindly broadcasts.
I can give more details, logs, etc, but maybe I should just leave it at this to start with. I’m hoping it’s just something dumb and easy. Thanks for any help you can give.