Build Your Own Blinky
For the next Nerves Remote Meetup we want to invite you to build a device. The project we’ll be building can be adapted to people brand new to nerves (a couple hours following a walkthrough) or experienced community members wanting to try something new. Come build a device, join our slack group, ask questions and share what you learn.
What to Build
The challenge is to build a nerves device that communicates via LED(s). If you’re brand new to Nerves, you could get started with the blinky project. This uses the LEDs that are built into a raspberry pi and blinks a pattern to let the user know that your nerves code is running.
Photo Credit: https://www.adafruit.com/product/1487
LEDs can also be used in various other forms like RGB LEDs which let you change the color and intensity of the light. There are strips of LEDs and even LED Matrix options. Some of these options are flexible or offer tightly packed LEDs so you can render images and animations. Some options have built in sensors so you can access LEDs and check sensors with a single peripheral.
Photo Credit: https://www.adafruit.com/product/3649
This variety of LEDs gives a ton of options about how to communicate with the outside world. You can blink an LED to get someone’s attention, or vary the color and intensity to indicate relative heat or other conditions. You could monitor your team’s slack messages and use sentiment analysis and then render various emoticons on an LED matrix.
Photo Credit: https://www.adafruit.com/product/2738
Your Idea, Your Device
With so many options, it might be hard to know where to get started. If you’re not sure, we suggest grabbing a raspberry pi zero wireless along with a micro SD card and mini USB. You can even find starter kits that come with some basics included. Then follow the Getting Started on the nerves documentation to get the onboard LEDs blinking. From there you can write elixir code to check any API you’re interested in use the onboard LEDs to communicate about that API.
If that project leaves you wanting more, just jump onto our slack group and ask for help on how to connect additional LEDs or sensors. You’ll find lots of enthusiastic people who can give you pointers on next steps.