Control brightness and volume of your computer with just an Arduino and two components.
- Arduino
- Few jumper wires
- 10k or 100k Potentiometers
- breadboard
- Go to Arduino Editor and select Web Editor from the options.
- Download the Plugin from here and once it is completed, open Arduino App on PC.
- The Plugin icon should appear at Taskbar. Click on it and Go to Arduino Create, or go back to Web Editor.
- Connect your Arduino Uno using USB to PC.
- Create a New Sketch from Web Editor.
- Go to Libraries and search for Firmata.
- Scroll down the > Examples, find StandardFirmataPlus and click on it.
- Click on Upload.
- The Arduino would start blinking. You will get the message Success: Done uploading StandardFirmataPlus.
And make a structure like the diagram above.
Go into powershell on windows or terminal on mac and write:
$ git clone https://github.com/zaidajani/arduino-js-controller.git
$ cd arduino-js-controller
# Clone and get into the folder
$ npm install
# install npm dependencies.
$ node sketch.js