Skip to content

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

License

Notifications You must be signed in to change notification settings

ademuri/firefly

Repository files navigation

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:

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published