Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.53 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.53 KB

firefly

LED lights that sync with each other via radio, and the music via a microphone

Uses a CC1101 to communicate with other Firefly nodes. Uses the electret microphone/preamp circuit from Damian Peckett.

Uses a lightly-modified version of Panstamp cc1101 library. I updated the default configuration for GDO2 on the cc1101 to assert when a packet is available and unread. Then, receiveData checks whether GDO2 is asserted before trying to read from the RX FIFO. Without this, frequent calls to receiveData will prevent the cc1101 from receiving data (!), as it appears to not pick up packets when communicating over SPI. I also adapted the code for FreeRTOS, disabling interrupts while doing SPI work, since it is timing-sensitive.

LED driver circuits inspired by this. I'm using "3W" RGB LEDs from Adafruit, and providing them each with ~330mA.

Demo

See a quick demo of the beat detection and radio synchronization here. More to come when I've got more hardware constructed.

License

This entire project (software and hardware) is released under the GPLv3 license. See LICENSE.

Attribution

Uses the following software: