Search found 1 match

by JazzJackR
Sat Jul 29, 2023 9:50 am
Forum: General Discussion
Topic: ESP-32 with KY-050 sensor provides wrong values within task
Replies: 0
Views: 5229

ESP-32 with KY-050 sensor provides wrong values within task

First of all, hi to everyone this is my first post in this forum. I use a ultrasonic sensor KY-050 to measure the distance. If I use it in the main loop it works fine (e.g 17 cm) When I move the measurement to a separate FreeRTOS task (same code) and communicate via queues, I get a distance of 26cm....