Raspberry pi to turn 64 lights on and off through web app
Posted: Fri May 13, 2016 3:33 pm
Hello Pi community,
I would like to start a project related to an art installation.
It would involve to have a reasonable sized touchscreen (ipad/mini-ipad size) for interaction with the public and a raspberry pi controlling 64 lights individually. Those lights would be turned off by default but would be switched on via a web app accessible on the pi and its touchscreen when the user does a specific action.
I've got an idea about the front end stuff, the web app would be a mix of flask/angularJS and I guess I'll be able to control lights through an API. Now for the hardware bit, I'm a bit lost. I've read about GPIO to control sensors or switch on a light but not how to proceed for an amount such as large as 64 lights.
That link seems promising but it is still not clear: http://raspberrypi.stackexchange.com/qu ... -gpio-pins
It mentions that "64 LEDs for example can be done with ONE 16 bit I/O extender".
Not sure what to investigate, is it possible with just GPIO boards? or I need an I/O extender?
So, summary:
- raspberry pi (got that covered)
- touch screen (what brand, where to buy in the UK, etc...)
- 64 lights connected through GPIO boards? I/O extender?
- software (can deal with front-end, need to get familiar with API to control hardware)
I've mostly read about people testing leds, I might need something a bit more powerful but I need to do some tests before being sure.
Many thanks for your time and suggestions in advance,
G.
I would like to start a project related to an art installation.
It would involve to have a reasonable sized touchscreen (ipad/mini-ipad size) for interaction with the public and a raspberry pi controlling 64 lights individually. Those lights would be turned off by default but would be switched on via a web app accessible on the pi and its touchscreen when the user does a specific action.
I've got an idea about the front end stuff, the web app would be a mix of flask/angularJS and I guess I'll be able to control lights through an API. Now for the hardware bit, I'm a bit lost. I've read about GPIO to control sensors or switch on a light but not how to proceed for an amount such as large as 64 lights.
That link seems promising but it is still not clear: http://raspberrypi.stackexchange.com/qu ... -gpio-pins
It mentions that "64 LEDs for example can be done with ONE 16 bit I/O extender".
Not sure what to investigate, is it possible with just GPIO boards? or I need an I/O extender?
So, summary:
- raspberry pi (got that covered)
- touch screen (what brand, where to buy in the UK, etc...)
- 64 lights connected through GPIO boards? I/O extender?
- software (can deal with front-end, need to get familiar with API to control hardware)
I've mostly read about people testing leds, I might need something a bit more powerful but I need to do some tests before being sure.
Many thanks for your time and suggestions in advance,
G.