Projects/Skipbutton

From Hackerspace Amersfoort
Revision as of 01:15, 10 October 2011 by Bobo1on1 (talk | contribs) (Skipbutton contents)
Jump to navigation Jump to search


Project Skipbutton
Name Skipbutton
Start
End
Contact Bobo1on1
Website
Information Skipbutton remote
Status Test"Test" is not in the list (Alpha, Beta, Production, Finished, Abandoned) of allowed values for the "Project status" property.


At Bitlair, we have a computer playing music using mpd and fookebox. Bitlair members can queue new songs and skip to the next song using the fookebox http interface. This is a very practical system, but for the sake of overengineering, a better solution had to be found.

After several months of hard overengineering, we from Bitlair, bring you the skipbutton:


Whenever a member smashes on the big red button, a command is sent to our music server over a 433 MHz link, which is then received by a daemon running on the same machine. That daemon then queues the next song on fookebox using some curl hackery.


But wait! There's more!

See that small black button on the front? That's for controlling mpd's volume. There's one on the other side as well.


Inside sits a 9 volts battery, an arduino pro micro with some additional components, and a 433 mhz transmitter.


The receiver uses a Yagi-Uda antenna tuned to 433 MHz, do you see that small pcb in the middle of the antenna? That's the receiver itself. The white wire carries 5 volt from usb to power the receiver, and the receiver's data output to the rs232 port. The receiver outputs a TTL signal (0-5 volts), but most serial ports accept that perfectly ok (I've never come across one that doesn't). The skipbutton only turns on the transmitter when a logical 0 is transmitted, which creates a high output on the receiver, whichs corresponds with a logical 0 on rs232, so the receiver can be connected directly to the rs232 port without any additional components (yay!).

The antenna is based on this design: