Using RobotDyn Uno + ESP board with EmonESP

Tags: #<Tag:0x00007f1bdc162f70>

(Doug) #1

I was wondering if I could use this board:

I was considering this board with the Sketch for a 2 phase setup where i need more inputs than on one EmonTx (so looking at 2 monitoring boards). The other advantage of this Arduino board is that it has an antenna socket so I can use an external antenna.

But will it work?

Using the EmonTx v3 with the ESP8266 Huzzah WIFI module
(Glyn Hudson) #2

Interesting, not seen that board before. It looks tidy.

As long as the serial lines are connected from the Atmega328 to the esp8266 then EmonESP it should work. I’m assuming they will be.

Let us know how you get on.

(Doug) #3

So, are you saying suck it & see? I want to use 2 boards with Sketches, Wif connected back to the Emon Base.

I will order the hardware & try it then. (The boards are a reasonable price off AliExpress:,searchweb201602_2_10065_10068_10130_10547_319_317_10548_10696_10924_453_10084_454_10083_10618_10920_10921_10922_10307_537_536_10131_10132_10133_10059_10884_10887_100031_321_322_10103,searchweb201603_2,ppcSwitch_0_ppcChannel&algo_expid=4a8077d7-befc-4b75-a837-c1379cee11b7-32&algo_pvid=4a8077d7-befc-4b75-a837-c1379cee11b7 Which is basically the same board, but less memory.

regards, Doug

(Glyn Hudson) #4

Sorry, I don’t understand what you mean by this. I have no firsthand experience of the board you mention. It’s impossible for me to say for sure if it should work. But I would guess that it would since EmonESP just requires serial connection.

(Robert Wall) #5

In @Dougo’s other thread about this, I was going to look at linking two emonTx’s via the FTDI ports (using the same overall scheme as Martin Roberts’ “Full Fat” setup, but as he’s buying these boards, I shall not pursue that.

(Doug) #6

Thanks. I have ordered the EmonTx Arduino shield. & the Arduino with Wifi as before.

I thought about connecting 2 EmonTx with serial, but it is not expandable beyond 2 (to my understanding), but with the Wifi as many as is required can talk to the EmonBase, via Wifi. It is already being used, so no re-inventing the wheel, just a matter of getting around the foibles of the boards I purchased, & understanding the Wifi communication method so I set it up correctly.

My aim atm, is to monitor both phases as 2 separate but interconnected units. Eventually I will fit a battery system to my SolarEdge system (2x 5Kw inverters with Optimisers on 15Kw panels, 8Kw facing North, & 7Kw facing West. Limited to 8.4Kw export. Currently exporting 40-60Kw/day.)
My issue is the SolarEdge only updates the data on the site at 30Min intervals. Also they aggregate both phases which makes it hard to plan. I will eventually need to have my Emon energy system ‘manage’ the battery system for charging, consumption & export. I would love if Emon could be able to be aggregated into a ‘virtual’ localised power station for use in particular by our local Community owned Energy Reseller called ‘Enova’, based near me in Byron Bay, NSW Australia. (see their website for details:

regards, Doug

(Doug) #7

I hav been reading through the previous thread (that forked to this one).

I wish to ask some basic questions about the firmware:
I take it that the EmonCMS is running in the 8266? If this is the case, can I still use a local RPi to aggragate & form the data so I can use the data management to use for other purposes? (Such as PHEV, controlling Air Conditioners, Hot Water heating, Battery, etc) I o not mind having data on Emon website, but also want it stored locally. I will be using 2 boards + Tx Sketches for my 2 phases (& if I get this working, no reason it could not be used in 3x for full 3 phase system).
I would like to move to the continuous monitoring model when available.

For anyone interested, I think the Arduino board I will be using will be fine for this application. it has 8Mbytes memory associated with the 8266. for a board that cost less than $Au12, it seems good value. (Makes an economical system with Tx Sketch.)
My RPi will be linked to the Wireless router also, so I will need to work out how to get everything talking reliably to each other (I guess by allocating permanent IP address to all)

must thank everyone for the help so far.
regards, Doug
ps: just to make you all jealous, my Solar system produced 54Kw today! Lovely, sunny Australia.

PV system generation
(Bill Thomson) #8

5 posts were split to a new topic: PV system generation

(Doug) #9

hoe all who celebrate had a merry Christmas.

I received my board from China yesterday. It looks like it will work OK. i have built my EmonTx Arduino shield.
My issua atm is that I cannot see where to change the config in the Firmware source for the bigger Ram on the ESP8266: it has 8Mb (so double the size of the Huzzah board)
Could you please point me towards the area to edit.

fyi, I checked the documentation, & the ESP8266 is correctly connected to the serial port (set by switches: one setting to program the Arduino section, another to program the ESP, then another to link the ESP to the Arduino serial) This board also has a built in CH340 USB>Ser i/f.

Happy New Year!

(Doug) #10

well, I checked further, & the board I have is fitted with a 32Mbit chip, so equivalent to the Huzzah.

Now just learning about PlatformIO: took a bit of thought, but now working OK. Just need to workout the address of my USB port for the upload (I use PCLinuxOS, & have for many years!)

Getting there…

(Bill Thomson) #11

Hi Doug,


ls -la /dev/{tty{ACM,AMA,S,USB},serial}*

Thanks for the handy one-liner, @PB66. :wink: