Use potentiometers to draw on a webpage!
This is fun project to gain an understanding of arduinos, nodejs, websockets and p5js
Built with ๐ by @JimAlexander
- Arduino Uno
- (2x) Potentiometers
- breadboard
git clone https://github.com/Xero-0/Etch-A-Sketch.git
cd etch-a-sketch
npm install
- Wire arduino as per This Layout (Analog pins 0 and 1 instead of 1 and 3)
- Plug arduino into usb port
- Upload BoardFile.ino to Arduino
- in server.js file - change 'usb_location' variable with your arduino serialport location. Learn More
npm start
- Open public/index.html as web page
- Draw!