Skip to content

zaidajani/arduino-js-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino js controller

Control brightness and volume of your computer with just an Arduino and two components.

Diagram

demo

make the circuit accordingly

you will need

  • Arduino
  • Few jumper wires
  • 10k or 100k Potentiometers
  • breadboard

First: Using Firmata Client Libraries with JS

  • 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.

Setup

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

Enjoy your powerfull application

About

Control brightness and volume of your computer with just an Arduino and two components

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published