Bookshelves
Jump to navigation
Jump to search
Noisebridge | About | Visit | 272 | Manual | Contact | Guilds | Resources | Events | Projects | WGs | 5MoF | Meetings | Donate | V · T · E |
Resources | Where to find things | Network | AV | Audio | Library | Servers | Printers | Sustenance | V · T · E |
Library | Digital Archivists | Bookscanner | Bookshelf Flaschen LEDs | Edit |
The Bookshelves Flaschentaschen is an array of LEDs to light up the books in the Library.
|
LED Strips[edit | edit source]
Network protocol[edit | edit source]
The LEDs are controlled by an esp8266 that's on the network. The network address is bookcase.noise. It uses the flaschen taschen UDP protocol on port 1337. The bookcase is addressed as a 810x1 pixel grid. More info and libraries can be found on Github. Check out client/rainbowbookcase.py or client/squares.py for simple examples of how to write code to control the bookcase.
LED Strip Mapping[edit | edit source]
Strip | ESP8266 Pin | Number of LEDs |
Strip 1 | 1 | 277 |
Strip 2 | 2 | 277 |
Strip 3 | 3 | 24 |
Strip 4 | 4 | 39 |
Strip 5 | 5 | 14 |
Strip 6 | 6 | 9 |
Strip 7 | 7 | 105 |
Strip 8 | 8 | 65 |
The LEDs are WS2812B chips, with color order GRB.
LED segments[edit | edit source]
Here's a complete mapping of each led segment, where a segment is defined as the strip of led between any intersection with another led strip. This is handled for you if you use the Bookcase class in bookcase.py.
segment, num_leds 0, 41 1, 26 2, 105 3, 105 4, 40 5, 65 6, 66 7, 106 8, 10 9, 14 10, 24 11, 5 12, 10 13, 4 14, 10 15, 9 16, 25 17, 15 18, 65 19, 40 20, 10 21, 15