-
Notifications
You must be signed in to change notification settings - Fork 26
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
support for ESP8266 #7
Comments
The Wemos D1 Mini is based on the ESP8266, which is incompatible with the NefitSerial library. Adaptation for the completely different chipset of the ESP8266 therefore needs considerable rework of the ESP Arduino library. What you can do instead is use an Uno/Mega to interface with the EMS bus and the Wemos to transfer data to and from the Arduino with Wi-Fi. |
By the way the specific error you get usually means you did not include the library correctly. But as just mentioned, you can't use this library with the ESP anyway. |
Yes, my fault, error which I have is Error compiling for board WeMos D1 R2 & mini. I mean I asked badly. could you help me/point me what needs to be change/add in library HardwareSerial.cpp for ESP8266 |
The basic thing to do is to bring up the ESP8266 interrupt for frame error into the library, so you can add functions that can act on the occurrence of the frame error. You need to modify the core libraries uart and HardwareSerial. The second thing you need to do is to figure out how to generate a frame error sequence on the low level ESP UART. Both are not that straightforward to do. The original additions to the Atmel-type Arduino serial library might indeed seem simple but they took considerable work and testing by the creator to find out. |
thank you, I didnt notice README under Nefitserial |
@mareksugar check out https://github.com/proddy/EMS-ESP-Boiler. I worked with bbqkees on the implementation of his circuit for the ESP8266 |
thank you so much, it looks really interesting :) |
Hi bbqkees,
I am trying to compile program for Wemos D mini board, but it end with 'nefitSerial' was not declared in this scope.
Could you point me out what need to be change in NefitSerial.h library to support ESP8266 boards?
The text was updated successfully, but these errors were encountered: