Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/layflags/arduino-playing-the-imperial-march
Playing The Imperial March on an Arduino UNO with JavaScript
https://github.com/layflags/arduino-playing-the-imperial-march
Last synced: 27 days ago
JSON representation
Playing The Imperial March on an Arduino UNO with JavaScript
- Host: GitHub
- URL: https://github.com/layflags/arduino-playing-the-imperial-march
- Owner: layflags
- License: mit
- Created: 2015-12-19T22:29:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-20T11:47:37.000Z (almost 9 years ago)
- Last Synced: 2023-03-12T06:33:34.014Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino playing The Imperial March with JS
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
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](https://en.wikipedia.org/wiki/The_Imperial_March) and finally found some useful data [here](http://processors.wiki.ti.com/index.php/Playing_The_Imperial_March). After quickly hacking some JavaScript using the awesome [Johnny-Five](http://johnny-five.io/) library I got it working :-)
## What do you need?
* [Arduino UNO](https://www.arduino.cc/en/Main/ArduinoBoardUno) with [Firmata firmware](https://github.com/firmata/arduino) installed and connected to your computer via USB
* A piezo connected to GND and PIN ~3 on your Arduino board
* [Node.js](https://nodejs.org/en/) installed on your computer## How to let it run?
* clone this repository: `git clone [email protected]: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](LICENSE)