Close

Modify source code to work without requiring main to disable interrupts

A project log for Wind sensor using car reversing kit

A wind speed and direction sensor from an Ebay car reversing kit and an Arduino

kwikiuskwikius 09/30/2021 at 13:580 Comments

Modify source code so that we don't need to disable interrupts. Important since the comparator  is meant to have a lot of positive feedback, which has to be done in software in an interrupt, while only around 6 usec is available to flip the output.
https://github.com/kwikius/ultrasonic_wind_sensor/commit/9627a261ac55dd3647f3f7eb349310b97648b39b

Discussions