the Arduino is used to read the state of the dual potentiometer that controls the volume and then translate this value into a certain number of LEDs being lit on the volume indicator.
An overview of the inside of the dock (very messy, I know ;) )
I am using a dual potentiometer (2 pots in one). Here you can see one pot connected to the amplifier on the left to control the volume, and the other connected to the Arduino on the right to read the position of the pot.
Here you can see the 4 wires used to control the volume display connected to digital input 2, 3, 4 and 5 on the left side of the board. And you can see the potentiometer connected to 3.3V, analog input 0 and ground on the right side of the board.
We care about the privacy and personal data of our users.
To continue, please give us your consent:
Please confirm that you have read the privacy policy
Thank you for subscribing!
Curious to learn more?
Are you also a teacher, student, or professional that loves using Arduino in your day-to-day activities?
Then keep up-to-date with either our STEM or Professional monthly newsletters.
Arduino weekly newsletter (already subscribed)
Educators can benefit from the ever growing tech that shapes our environment through fun cool projects.
Why not awe your boss with highly innovative ways to help keep your enterprise connected at no extra cost?
Arduino Survey
We'd like to get to know you little better.
Please help us improve by answering this super short optional survey.