GithubHelp home page GithubHelp logo

josemalone / remote-rtttl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zenvisuals/remote-rtttl

1.0 1.0 0.0 63 KB

A Remote RTTTL (RingTone Text Transfer Language) Song player for the Spark Core.

C++ 64.79% HTML 7.85% Arduino 27.36%

remote-rtttl's Introduction

Remote RTTTL for the Spark Core

A Remote RTTTL (RingTone Text Transfer Language) Song player for the Spark Core.

Works without the use of the tone() function. Originally written by Brett Hagman (http://roguerobotics.com), Reworked by Technobly (http://technobly.com) for the Spark Core. This plays RTTTL (RingTone Text Transfer Language) songs by bit-banging a selected digital output.

To play the output on a small speaker (i.e. 8 Ohms or higher), simply connect a 220 - 1k ohm resistor from the output pin (D6) to the speaker, and connect the other side of the speaker to ground.

You can get more RTTTL songs from http://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation or just search google for "your song RTTTL" or "your song RTTL".

###Run The Example!###

  1. Edit the index.html file and enter your coreID and accessToken in the user editable data area.

  2. Create a new app on https://www.spark.io/build and call it "RemoteRTTTL". Copy/Paste the contents of the RemoteRTTTL.cpp file over your new app. Save it and Flash it to your Core.

  3. Open the index.html in your browser or upload all files to your website at a secret URL and start annoying the crap out of everyone nearby with RTTTL songs! The onboard blue LED tied to output D7 lights up when the song is playing.

Video Demo on Youtube!

###Customize it!###

Try uncommenting different songs such as The Simpsons, Super Mario Brothers Underground theme, Star Wars, etc.. Make sure only one song is uncommented at a time. Recompile, reflash and play!

iPhone5s iPhone5s iPhone5s

remote-rtttl's People

Contributors

technobly avatar

Stargazers

Jose Malone avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.