BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Servo data extract

I’m using an Arduino uno serially with Blynk, I wanted to know if anybody knows a method to gather a servo output reading and display on a gauge widget ?

This servo is already being controlled automatically, I just want to extract its movement NOT use a slider to determine its position.

Since your code MUST have some value it is sending to the servo control command, simply take that same value and also send it via Blynk.virtualWrite(vPin, value) to a properly configured Widget (set MIN MAX values in the widget to mimic that of the servo, typically 0-180 or sometimes I use 10-160).

In this example, along with a way of controlling a servo, I also use this exact method to set a gauge widget to simulate the same results…