Smart Speaker | Proximity Potentiometer Working Prototype

A direct follow up to this post: https://esologic.com/?p=984


First, here’s a video:

I got the digital potentiometer working! It was very simple using the SPI library built into the Arduino software. All you have to do is address the chip and then write it a value between 0 and 255 to set the resistance value. Here is the code for this version, I’ve cleaned it up a bit since last time:

If you have questions about the code please leave it in the comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.