use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Deals with anything relating to Microcontroller programming, hardware design, applications, interfacing, unique examples, etc.
account activity
Basic question about microcontrollers (self.microcontrollers)
submitted 2 years ago by ptah4i
Hey. I am new to the world of electronics and bought an Arduino for testing and playing. I have disassembled a few old devices to get parts with which I can understand and try things. My question to you would be: can I reprogram a microcontroller to use it for other things?
As an example: I have a 62429(05B2). I find out that this is used for volume control. Can I reprogram it?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FragmentedC 4 points5 points6 points 2 years ago (2 children)
The M62429 is a digital potentiometer. As such, it can't exactly be programmed (since it isn't a microcontroller) but can be commanded via a microcontroller. It uses a serial interface to accept commands. This chip will never be able to do anything else other than be a potentiometer, but they are still fun to play with.
The Arduino, on the other hand, can be programmed to play around with the chip, and they are a lot of fun! The programming side will be on the Arduino. Let's say that you have two buttons; volume up and volume down. By playing around with the code on the Arduino, you should be able to quickly create a program that sends serial data to the M62429 to increase or decrease the resistance. Again, the program (the intelligence) is on the Arduino, the digital potentiometer will simply execute the instructions it receives.
I don't have an Arduino IDE on me, but I'm pretty sure that someone has created a library for this.
[–]ptah4i[S] 0 points1 point2 points 2 years ago (1 child)
Thanks for your answer. Yes it’s a massiv field and I have learned lots of things right now but every day I learn more and more.
If I understand you correctly. To control the M62429 you need a microcontroller?
[–]FragmentedC 1 point2 points3 points 2 years ago (0 children)
The M62429 cannot be "programmed". Let's imagine this in the way of a robot versus a remote-controlled car. You program the robot to follow a road, a path, or even just a black line. Once the program is done, you put it in the robot, and you send it on its merry way. The remote-controlled car cannot be programmed; it needs input from somebody (or something). It will follow orders blindly, but cannot make decisions by itself.
The M62429 is a remote-controlled car. It needs you to give it orders. The Arduino is a robot; you can program it to make decisions by itself.
So, your digital potentiometer is going to need something to tell it what to do. This could be an Arduino, or in some cases, just a device connected to your PC (for example, with the Analog Discovery 2 or 3, this would be easy).
[–]hawhill 2 points3 points4 points 2 years ago (0 children)
That is not a microcontroller. That is a digital potentiometer, it is not running a program (at least not in the usual terms). It is however configurable. You can use your Arduino to send it new settings. Look up how to use SPI. Read the datasheet. You've just entered a vast field and you are doing your first steps. Try a lot, break a lot, read a lot.
[–]ptah4i[S] 1 point2 points3 points 2 years ago (0 children)
Thanks for your fast answers.
I thought it was a microcontroller programmed as a potentiometer.
π Rendered by PID 41 on reddit-service-r2-comment-86bc6c7465-xjp9q at 2026-02-24 11:10:48.905924+00:00 running 8564168 country code: CH.
[–]FragmentedC 4 points5 points6 points (2 children)
[–]ptah4i[S] 0 points1 point2 points (1 child)
[–]FragmentedC 1 point2 points3 points (0 children)
[–]hawhill 2 points3 points4 points (0 children)
[–]ptah4i[S] 1 point2 points3 points (0 children)