This Arduino sketch monitors the voltage output from a potentiometer connected to analog pin A0. It displays the voltage reading on the serial monitor and controls two LEDs based on the voltage level.
It’s all started with a small game from the dark ages called “Mario”, right from the time of being a tiny little guy jumping on ducks to save my princess till being a masculine handsome Prince roaming ...
#define redPin 9 // Pin for the red RGB led pin #define greenPin 10 // Pin for the green RGB led pin #define bluePin 11 // Pin for the blue RGB led pin #define potPin_red A2 // declare pin for the ...
In this DIY article, I will be explaining how to interface X9C10X series of Digital Potentiometer with any microcontroller, for ease of explanation I will be using any of the board from Arduino eco ...
This is an easy tutorial showing how you can control the brightness of an LED or adjust the speed of a DC fan using Arduino Board, a small BC547 transistor and a potentiometer. In my example the whole ...