Reading change in analog signal with digital GPIO

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Reading change in analog signal with digital GPIO

Post by /RaspberryPi »


I have an analog joystick like this that I need to read with my Raspberry Pi 3B, unfortunately I don't have access to an ADC chip right now, and I can't wait for delivery. I don't need any precision, only to know whether the joystick is in its base position or if it has moved, which will be assigned to a boolean.

Is there a way to do this with RPi's digital pins?
submitted by /u/ARM_over_x86
[link] [comments]

Source: https://www.reddit.com/r/raspberry_pi/c ... ital_gpio/
/RaspberryPi
Post Reply

Return to “Raspberry Pi Forum”