UART parser plugin

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ilmz
New user
Posts: 2
Joined: 09 Jan 2019, 08:26

UART parser plugin

#1 Post by ilmz » 09 Jan 2019, 11:33

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

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: UART parser plugin

#2 Post by Domosapiens » 09 Jan 2019, 11:48

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.

ilmz
New user
Posts: 2
Joined: 09 Jan 2019, 08:26

Re: UART parser plugin

#3 Post by ilmz » 12 Jan 2019, 07:41

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
Thank you. My task is done. _P077_CSE7766.ino file have parse algorithm with Serial settings.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 13 guests