Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sejas/raspotify
Control spotify's play list using a raspberry pi and an arduino.
https://github.com/sejas/raspotify
Last synced: about 3 hours ago
JSON representation
Control spotify's play list using a raspberry pi and an arduino.
- Host: GitHub
- URL: https://github.com/sejas/raspotify
- Owner: sejas
- Created: 2013-06-15T00:43:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-15T01:17:55.000Z (over 11 years ago)
- Last Synced: 2025-01-01T15:42:15.747Z (2 days ago)
- Language: Arduino
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raspotify
## Developed by http://antonio.sejas.es### Things you need
* Raspberry Pi (RPi)
* Arduino (Leonardo)
* SRF05 (Dintance sensor)
* Computer with spotify### Technologies I've used
* Shell scripting (Control Spotify)
* Node.js (Server, to call to the shell script)
* Arduino (Get the distance)
* Python (Comunicate with the arduino and send messages to Node.js)### Libreries
* pyserial-2.6
* shpotify### Usage
Run the server.js in your mac
Connect your arduino to the first usb of your raspberry (/dev/ttyACM0)
Run the raspotify.py in you raspberryPlay! :)
### Distances
*Next Song
if (averageDistance \< 70 && averageDistance \> 20 ) {*Previous Song
} else if (averageDistance < 9 && averageDistance > 0) {