added button function
[led-wall.git] / README.md
1 LED Wall Bits n Bobs
2
3 There is a client/server relationship between the two scripts. I have a box monitoring all my network traffic at 10Gbps. The Perl sniffer script listens on this host and that interface (sniffer.pl) and sends UDP packets to the the RaspberryPi that has a Python script listening on a UDP port and switches on/off the pixels.
4
5 Bill of Materials:
6 1. Four LED Grids - https://www.amazon.com/gp/product/B01DC0IOCK/
7 2. One Power Supply - https://www.amazon.com/gp/product/B01B1QKLNW
8 3. One RaspberryPi 3 and relavent bits to make it work
9 4. Some wire and mediocre soldering skills
10
11 Install Instructions:
12 1. Connect/Solder up the panel's INPUTS/OUTPUTs, and extend the voltage injection. It's pretty darn simple.
13 2. Install Raspbian 
14 3. Install rpi_ws281x on the RaspberryPi : https://github.com/jgarff/rpi_ws281x
15 4. Install any missing Python libs via pip
16 5. On the sniffer box, use CPAN to install all the required libs
17 6. Change the hostnames/IP, subnet filter range, and ethernet interface to sniff from
18
19 Start the scripts:
20
21 sudo python server.py
22 ./sniffer.pl
23
24
25 *Potenial bugs*
26 *Fixed?* 1. I'm not entirely convinced the timeout to clear a pixel is making its way over. Might have to make a double check in the Python as well