# 3-phase in Austria

**URL:** <https://community.openenergymonitor.org/t/3-phase-in-austria/11389>\
**Category:** emonTx\
**Created:** [11 July 2019 11:04 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389 "2019-07-11T11:04:29Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [25 July 2019 11:25 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/21 "2019-07-25T11:25:41Z")

</div>

Is the ESP8266 now receiving data?

Without the ESP8266 connected, you should see something like this in the Serial Monitor

```auto
OpenEnergyMonitor.org
ct1:0.00,ct2:0.00,ct3:0.00,ct4:0.00,vrms:0.00,t1:23.75,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1
ct1:-0.00,ct2:-0.88,ct3:-1.75,ct4:0.00,vrms:0.65,t1:23.75,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1

```

---

<div class="post-metadata">

**Author:** ![Terra2000](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@Terra2000](https://community.openenergymonitor.org/u/Terra2000)\
**Post date:** [25 July 2019 13:07 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/22 "2019-07-25T13:07:53Z")

</div>

[OpenEnergyMonitor.org](http://OpenEnergyMonitor.org)  
ct1:0.00,ct2:0.00,ct3:0.00,ct4:0.00,vrms:0.00,t1:300.00,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1  
ct1:0.00,ct2:-1.32,ct3:-2.66,ct4:0.00,vrms:5.13,t1:300.00,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1  
ct1:0.00,ct2:0.44,ct3:0.90,ct4:0.00,vrms:0.65,t1:300.00,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [25 July 2019 13:11 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/23 "2019-07-25T13:11:20Z")

</div>

That is what you should see. 👍

Is that sending at 9600 baud?

Have you changed the ESP8266 to 9600 baud?

Now, when you connect the ESP8266, it _might_ work. 😃

---

<div class="post-metadata">

**Author:** ![Terra2000](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@Terra2000](https://community.openenergymonitor.org/u/Terra2000)\
**Post date:** [25 July 2019 17:09 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/24 "2019-07-25T17:09:05Z")

</div>

Serial.begin(9600); // Do NOT set greater than 9600  
digitalWrite(LEDPIN, LOW);  
Serial.println(F(“[OpenEnergyMonitor.org](http://OpenEnergyMonitor.org)”));

i buy the emonesp direct in the shop inkl. programming

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [25 July 2019 17:54 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/25 "2019-07-25T17:54:28Z")

</div>

> [@Terra2000](#):
>
> i buy the emonesp direct in the shop inkl. programming

But did you specify that you would be using the 3-phase sketch in the emonTx? If you did not, then it will be set to the default value - I believe it might be 115200 baud. The sketch cannot work at that speed.

If it is wrong, you must change it. The information you need is on Page 3 of the documentation, or I think @Simsala might be able to help you there.

---

<div class="post-metadata">

**Author:** ![Terra2000](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@Terra2000](https://community.openenergymonitor.org/u/Terra2000)\
**Post date:** [25 July 2019 19:37 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/26 "2019-07-25T19:37:05Z")

</div>

hello ! i share the out ! - Danke für die Hilfe

---

<div class="post-metadata">

**Author:** ![Simsala](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/simsala/32/11730_2.png) [@Simsala](https://community.openenergymonitor.org/u/Simsala)\
**Post date:** [27 July 2019 18:43 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/27 "2019-07-27T18:43:36Z")

</div>

Hi, it seems every thing is working now?

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [27 July 2019 19:21 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/28 "2019-07-27T19:21:01Z")

</div>

Ich denke, aber ich weiß es nicht, dass dies der Fall sein könnte.

---

<div class="post-metadata">

**Author:** ![Terra2000](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@Terra2000](https://community.openenergymonitor.org/u/Terra2000)\
**Post date:** [5 August 2019 07:22 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/29 "2019-08-05T07:22:33Z")

</div>

Sorry no

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [5 August 2019 12:50 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/30 "2019-08-05T12:50:45Z")

</div>

Both @Simsala and I did not understand your last post.

Do you think the problem is that you do not know how to change the baud rate in the emonESP?

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [7 August 2019 11:55 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/31 "2019-08-07T11:55:54Z")

</div>

@glyn.hudson has created a compiled version of the emonESP firmware for you:

[https://community.openenergymonitor.org/uploads/short-url/zegtvp5lICQT1w6J7ZoTXRnsiw3.bin](https://community.openenergymonitor.org/uploads/short-url/zegtvp5lICQT1w6J7ZoTXRnsiw3.bin)

You can load this into your emonESP and hopefully this will solve your problem.

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [7 August 2019 11:56 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/32 "2019-08-07T11:56:52Z")

</div>

This has baudrate changed to 9600 in Line 41 of [EmonESP/src.ino at master · openenergymonitor/EmonESP · GitHub](https://github.com/openenergymonitor/EmonESP/blob/master/src/src.ino#L41)   
This is no longer correct. The software has been changed - the new location where the baud rate is set is

> <https://github.com/openenergymonitor/EmonESP/blob/master/src/debug.cpp#L20>

(Source: Glyn Hudson - 15/11/2021)

---

<div class="post-metadata">

**Author:** ![Terra2000](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@Terra2000](https://community.openenergymonitor.org/u/Terra2000)\
**Post date:** [8 August 2019 18:39 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/33 "2019-08-08T18:39:35Z")

</div>

Thanks - I do not understand anymore. The emonESP was ordered in the shop, so should the emonESP already be finished or am I wrong?. I think that I just have to flash for emontx3.

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [8 August 2019 23:06 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/34 "2019-08-08T23:06:05Z")

</div>

> [@Terra2000](#):
>
> The emonESP was ordered in the shop, so should the emonESP already be finished or am I wrong?.

The emonESP ordered from the shop is suitable as supplied **when the emonTx uses the default UK single-phase sketch**. The baud rate of both is set at 115200.

The three-phase sketch does not work properly when the baud rate is set to the default of 115200, it will only work properly when the baud rate is set to 9600 (or less). Both ends of the serial link must use the same baud rate, therefore you must change the sketch in the emonESP to work at 9600 baud.

To make your emonTx work on the 3-phase sketch and use the emonESP you must upload new sketches to both. You have already uploaded the new sketch to the emonTx, you must now upload a new sketch (post nr.31) to your emonESP.

* * *

Der im Shop bestellte emonESP ist als geliefert geeignet, wenn der emonTx die UK-Standard-Einphasenskizze verwendet. Die Baudrate von beiden ist auf 115200 eingestellt.

Die Dreiphasenskizze funktioniert nicht ordnungsgemäß, wenn die Baudrate auf den Standardwert von 115200 eingestellt ist. Sie funktioniert nur ordnungsgemäß, wenn die Baudrate auf 9600 (oder weniger) eingestellt ist. Beide Enden der seriellen Verbindung müssen dieselbe Baudrate verwenden. Daher müssen Sie die Skizze im emonESP ändern, um mit 9600 Baud zu arbeiten.

Damit Ihr emonTx mit der 3-Phasen-Skizze funktioniert und das emonESP verwendet, müssen Sie neue Skizzen in beide hochladen. Sie haben die neue Skizze bereits in das emonTx hochgeladen und müssen nun eine neue Skizze (Beitrag Nr. 31) in Ihr emonESP hochladen.

---

<div class="post-metadata">

**Author:** ![Simsala](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/simsala/32/11730_2.png) [@Simsala](https://community.openenergymonitor.org/u/Simsala)\
**Post date:** [9 August 2019 19:49 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/35 "2019-08-09T19:49:36Z")

</div>

> [@Robert.Wall](#):
>
> @glyn.hudson has created a compiled version of the emonESP firmware for you:

Excellent, I wanted to do this as well, but didn’t have time for it yet.

We should also explore the possibilities of changing the baud rate directly via the web interface of the emonESP.

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [9 August 2019 20:29 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/36 "2019-08-09T20:29:46Z")

</div>

@glyn.hudson

> [@Simsala](#):
>
> We should also explore the possibilities of changing the baud rate directly via the web interface of the emonESP.

If this isn’t possible, can the “slow” sketch be linked so that it won’t get lost in the forum?

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [9 August 2019 23:32 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/37 "2019-08-09T23:32:11Z")

</div>

Or if there is a spare IO on the esp, code it so that a pin can be shorted to ground to put the esp serial port in slow mode? One FW for 2 applications (different bauds) with no additional complexity in the GUI, just add the link if using the 3ph sketch.

---

<div class="post-metadata">

**Author:** ![Stepan](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/stepan/32/10785_2.png) [@Stepan](https://community.openenergymonitor.org/u/Stepan)\
**Post date:** [24 February 2020 08:51 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/38 "2020-02-24T08:51:47Z")

</div>

In the first line of the code there is a constant saying this.  
`const int version = 14; // The firmware version 1.4`  
should I change to.  
`const int version = 16;` ?? maybe is just for DEBUG issues

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [24 February 2020 12:06 UTC](https://community.openenergymonitor.org/t/3-phase-in-austria/11389/39 "2020-02-24T12:06:57Z")

</div>

Yes, it should really be 16 (1.6)  
The comment at the top of the sketch is the real version indicator.

[Previous page](https://community.openenergymonitor.org/t/3-phase-in-austria/11389.md?page=1)
