Read Multi-Signal Pulse-Position modulation using Wemos D1 R1

Hi,

I have a humidity sensor where the output signal of the sensor comprises the pulse sequence shown below

image

I am using a Wemos D1 R1 board as the sensor needs a 5V power supply. Once i ready the temperature/humidity values i would sent this to a MQTT topic.

I have the portion of Mqtt topic working fine - but have issues reading the PPM signal on wemos.

Pls share your thoughts/examples.

I moved your topic to an appropriate forum category @rchandrashekar.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like

Hello rchandrashekar

Take a search engine of your choice and ask the WWW for ' State Change Detection (Edge Detection) +arduino' to collect data to be sorted out to get the needed information.

i did try the state change : the issue is the rising and falling edge pulses are in Micro seconds and the state change pulses never capture the signal pulse.

It would great if i can get leads on Timer capture rising edge trigger for ESP/Wemos

i have written my own solution and it works fine. Used Pulse.in()

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.