Hello everyone, I study EasyESP, and read this forum a lot. I apologize for my bad english.
I need to take a data package on USART from an external microcircuit and parse it. When programming the ESP 8266 in Arduino IDE as a conventional microcontroller and succeeded in this matter.
My task is to parse the data in the EasyESP, and output several values.
Should I write my own plugin?
If so, can anyone show me examples of plugins with the parsing process?
Or can I use standard tools?
I want to talk a little about the protocol. 24 bytes are received. payload is from 3 to 20 bytes. 3 bytes for each value I need.
Configuration USART - 1 start bit, 1 stop bit, 8 data bits, parity bit - EVEN. Connection speed 4800
UART parser plugin
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: UART parser plugin
Not a direct help,but:
This could be worth reading:
https://github.com/letscontrolit/ESPEasy/issues/1588
Plugin template:
https://github.com/letscontrolit/ESPEas ... mplate.ino
This could be worth reading:
https://github.com/letscontrolit/ESPEasy/issues/1588
Plugin template:
https://github.com/letscontrolit/ESPEas ... mplate.ino
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Re: UART parser plugin
Thank you. My task is done. _P077_CSE7766.ino file have parse algorithm with Serial settings.Domosapiens wrote: ↑09 Jan 2019, 11:48 Not a direct help,but:
This could be worth reading:
https://github.com/letscontrolit/ESPEasy/issues/1588
Plugin template:
https://github.com/letscontrolit/ESPEas ... mplate.ino
Who is online
Users browsing this forum: No registered users and 80 guests