Gear/1319

Fra Open Space Aarhus

(Forskel mellem versioner)
Skift til: Navigation, Søgning
(Code)
Linje 31: Linje 31:
The arduino uno is programmed with [https://gist.github.com/Robotto/7f4ff109dcb9722f7bf0 this code]
The arduino uno is programmed with [https://gist.github.com/Robotto/7f4ff109dcb9722f7bf0 this code]
 +
which utilizes the [https://github.com/TMRh20/TMRpcm TMRpcm] library to play sounds from a µSD card

Versionen fra 7. jun 2014, 20:28

Indholdsfortegnelse

shitty doorbell in a shitty box

Plays stupid short low-quality samples instead of the stupid standard ring.

Non disruptive modification of the original hardware

A quick and dirty hack; the shity doorbell relies on a non-disruptive modification of the original doorbell reciever:

  • Two wires have ben led out of the reviever:
    • Yellow wire: GND
    • Green wire: Ring - 0V = doorbel has been activated
  • A switch has been installed, which can disable/enable the original ring of the doorbell reciver.

This means that the doorbell reviever has retained all of it's original functionality - A non-disruptive hack.


Additional hardware

  • Ardunio Uno
  • µSD card reader - DX
  • 2x2W Digital stereo amplifier - DX
  • 2x 8ohm speakers

Sounds

The µSD car is loaded with a bunch of 32Khz mono 8bit PCM wav files found here

Code

The arduino uno is programmed with this code which utilizes the TMRpcm library to play sounds from a µSD card

Personlige værktøjer