Maker Pro
Maker Pro

Identifying the direction of rotation

electronicsLearner77

Jul 2, 2015
225
Joined
Jul 2, 2015
Messages
225
If I have a pot connected as below from a reference schematic, I want to understand the CW and CCW of rotation in software.
upload_2021-6-1_23-5-3.png
The AVDD voltage is 3.3v, my understanding is when the voltage is increasing from 0V to 3.3V then it is clockwise and if the voltage is decreasing from 3.3V to 0V it is CCW, is it correct? Please help.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
12,538
Joined
Nov 17, 2011
Messages
12,538
Yes, but cause and effect are reversed: When you turn the potentiometer clockwsie, voltage at "pot" increases, when you turn the potentiometer counterclockwise, voltage at "pot" falls.
 
Top