bit/pulse pattern recognition

Moderators: Voyager, BertB, rtenklooster, Stuntteam, grovkillen, TD-er

Post Reply
Message
Author
pitrio
Normal user
Posts: 17
Joined: 23 Apr 2018, 16:49

bit/pulse pattern recognition

#1 Post by pitrio » 03 Feb 2019, 13:13

dear all,

I have one wind direction sensor (meteo station) tha take out a 8 pulses burst with digital signal. In particolar first 4 pulses are a sort of syncronize pattern, after, there are other 4 bit that characterize the real signal... 4 bit -> 16 position... that corrispond to 16 wind directions.
The pulses are 0.5 msec or 1 msec duration...high or low... like picture belove.
wind direction code.jpg
wind direction code.jpg (83.72 KiB) Viewed 164 times
Can someone tell me if there are some possibility to use espeasy to build a sort of "pattern recognition"?

thank you in advance.

ricc

User avatar
grovkillen
Normal user
Posts: 2884
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: bit/pulse pattern recognition

#2 Post by grovkillen » 03 Feb 2019, 16:51

You could build a plugin.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

pitrio
Normal user
Posts: 17
Joined: 23 Apr 2018, 16:49

Re: bit/pulse pattern recognition

#3 Post by pitrio » 03 Feb 2019, 17:48

Can I use pulseIn() and interrupt ISR function or there are incompatibility with ESPeasy?
Some hint?

thank yuo!

ricc

User avatar
grovkillen
Normal user
Posts: 2884
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: bit/pulse pattern recognition

#4 Post by grovkillen » 03 Feb 2019, 18:41

All communication use square signals so yes you could interpret them using ESP Easy (in a plugin).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests