Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ability to change the serial baudrate #82

Open
Z0l opened this issue Oct 3, 2020 · 2 comments
Open

No ability to change the serial baudrate #82

Z0l opened this issue Oct 3, 2020 · 2 comments

Comments

@Z0l
Copy link

Z0l commented Oct 3, 2020

The serial port in the normal use case with single phase monitoring only works on 115.200 and this value is hardcoded in the firmware; 3phase emonTX requires 9600 bps serial speed and that's the only reason 3phase owners need to compile custom firmware. It would be nice to have a checkbox to switch between the 2 serial speeds (or a dropdown list if there are other use cases which require a different value).

@egoistdream
Copy link

The serial port in the normal use case with single phase monitoring only works on 115.200 and this value is hardcoded in the firmware; 3phase emonTX requires 9600 bps serial speed and that's the only reason 3phase owners need to compile custom firmware. It would be nice to have a checkbox to switch between the 2 serial speeds (or a dropdown list if there are other use cases which require a different value).
Hi!

I have also compiled this firmware in order to change to the 9600bps serial spped but for me does not work.....
Have you managed to compile? I try using Ardruino and also platformio, the firmware was compiled but the serial do not work to send the data to the emon....

Regards

@Z0l
Copy link
Author

Z0l commented Oct 11, 2020

See the relevant forum topic here: https://community.openenergymonitor.org/t/unstable-emontx-emonesp-operation/14887/39
The baudrate is now in the debug.cpp not in src.ino, so you will have to change it there - EMONTX_PORT.begin(115200); to EMONTX_PORT.begin(9600);
I compiled via platformio (also had to change the version of one dependency because it had trouble downloading it but I can no longer remember which one - you will see from the error message).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants