Git Product home page Git Product logo

Comments (7)

bbqkees avatar bbqkees commented on May 27, 2024

The Wemos D1 Mini is based on the ESP8266, which is incompatible with the NefitSerial library.
The NefitSerial library is meant for use with Atmel AVR type Arduino's like the Uno and Mega.

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.

from nefit-buderus-ems-bus-arduino-domoticz.

bbqkees avatar bbqkees commented on May 27, 2024

By the way the specific error you get usually means you did not include the library correctly.
So the library needs to be installed on your pc in the Arduino library directory. And afterwards you need to restart the Arduino IDE otherwise it can't see it.

But as just mentioned, you can't use this library with the ESP anyway.

from nefit-buderus-ems-bus-arduino-domoticz.

mareksugar avatar mareksugar commented on May 27, 2024

Yes, my fault, error which I have is Error compiling for board WeMos D1 R2 & mini.

I mean I asked badly.
If library nefitSerial is just little bit modified library HardwareSerial, what you mentioned here:
#3

could you help me/point me what needs to be change/add in library HardwareSerial.cpp for ESP8266
https://github.com/esp8266/Arduino/blob/master/cores/esp8266/HardwareSerial.cpp
to modify it same way as you modified AVR HardwareSerial library.

from nefit-buderus-ems-bus-arduino-domoticz.

bbqkees avatar bbqkees commented on May 27, 2024

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.
If you check the readme page of the NefitSerial library there is some more info on that.

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.

from nefit-buderus-ems-bus-arduino-domoticz.

mareksugar avatar mareksugar commented on May 27, 2024

thank you, I didnt notice README under Nefitserial
I found post about serialEvent implementation in ESP8266
esp8266/Arduino#2237
so I will try this way

from nefit-buderus-ems-bus-arduino-domoticz.

proddy avatar proddy commented on May 27, 2024

@mareksugar check out https://github.com/proddy/EMS-ESP-Boiler. I worked with bbqkees on the implementation of his circuit for the ESP8266

from nefit-buderus-ems-bus-arduino-domoticz.

mareksugar avatar mareksugar commented on May 27, 2024

thank you so much, it looks really interesting :)

from nefit-buderus-ems-bus-arduino-domoticz.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.