Share one Blinkt! with multiple RPi3

Hello everyone,

for a project, I need to display state leds of a RPi3 cluster.

I was wondering if I could use Blinkt! board, since I like it very much.

I’d like to use only one Blinkt! board; each RPi3 should control one and only one led of Blinkt!

Do you think it is possible, even with some hack?

Thank you
Moco

You would need to have one Pi responsible for the Blinkt! and the other Pi’s communicating via it. There are myriad ways to do this but a simple Python Flask app might be the easiest.

Yes, that was my first idea: 1 RPi connected to the Blinkt! and the others sending simple UDP packets to it with state codes.

In that way, however, we have to make some awful assumptions:

  1. the RPi connected to the Blinkt! is immune from failures (in fact, if we assume it can fail, we cannot tell if the state shown by the Blinkt! led is correct or not, a priori)

  2. the network connecting the RPi in the cluster to the Blinkt!'s RPi is always up (in fact, if we assume it can be down, we cannot tell, for example, if a led is off because of a RPi failing or because of the lack of UDP packets due to network problems).

For those reasons, and for others, I’m not so happy with that solution.
I’d like to have independet led connected to each RPi.
Do you have such a product, beside Blinkt!?

It’s possible you could use a micro-controller to act as the arbiter, and demultiplexer in this sort of setup. If you assigned each Pi it’s own IO pin and the state of that pin- High/Low- determined what displayed on the LEDs then the micro could read those pins and update accordingly.

The simple solution however, would be to just stick a regular LED and resistor pair onto each Pi, and if you want RGB you could use one of these with each Pi: https://shop.pimoroni.com/products/adafruit-flora-rgb-smart-neo-pixel-version-2-pack-of-4

And combine it with the rpi-ws281x library to output the right signal to drive it: https://github.com/jgarff/rpi_ws281x/tree/dev

Thanks for your support!