Firmware for a cloud that flashes like lightning.
I saw a few examples of people making these clouds out of paper and polyester, but wanted something a little more interactive. This project does so by adding a network of addressable LED strips in such a layout that it's a web of permutations providing different angles and lengths allowing the cloud to flash at random places.
Homie v4.0.0
This project uses Elixir Nerves to build and deploy onto your embedded target.
Set your target export MIX_TARGET=my_target
, see the Nerves Target
documentation about what targets are available.
If you want to pass MQTT messages, you'll need to supply a server address and
credentials to the configuration. MQTT_SERVER_ADDRESS
, MQTT_USERNAME
, MQTT_PASSWORD
- Set required and optional environment variables:
export MIX_TARGET=rpi3
export NERVES_TIME_SERVERS=\"1.pool.ntp.org\",\"2.pool.ntp.org\"
export MQTT_SERVER_ADDRESS=mqtt_server.local
export MQTT_USERNAME=guest
export MQTT_PASSWORD=guest
- Install dependencies
mix deps.get
- Compile the code and burn it to an SD card
mix firmware
mix firmware.burn