layflags / arduino-playing-the-imperial-march

Playing The Imperial March on an Arduino UNO with JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino playing The Imperial March with JS

js-standard-style

While playing around with a piezo on my Arduino UNO I wanted it to play a nice song for me. So I googled the notes for The Imperial March and finally found some useful data here. After quickly hacking some JavaScript using the awesome Johnny-Five library I got it working :-)

What do you need?

  • Arduino UNO with Firmata firmware installed and connected to your computer via USB
  • A piezo connected to GND and PIN ~3 on your Arduino board
  • Node.js installed on your computer

How to let it run?

  • clone this repository: git clone git@github.com:layflags/arduino-playing-the-imperial-march.git
  • go to project folder: cd arduino-playing-the-imperial-march
  • install required software: npm install
  • start it: npm start

License

MIT

About

Playing The Imperial March on an Arduino UNO with JavaScript

License:MIT License


Languages

Language:JavaScript 100.0%