-
1Assemble the Four Adafruit Trellis Modules
Solder up the four Adafruit Trellis modules. If desired, add LEDs to the top side of the board. The orientation for the LEDs is noted on the silksreen on the top side of the board. For more reinforcement, bridge the connections between the boards using some solid copper wire. Also, solder some wire leads to the SDA, SCL, 5V, and GND connections. The INT connection is not necessary for this build. Make sure you jumper the A0, A1, and A2 connections to hard-code the index for each board. The top right board is not jumpered, so it is board 1. Top left has A0 jumpered, so it is board 2. Bottom right has A1 jumpered. Bottom left has A0 and A1 jumpered. See the tutorial on Adafruit.com for more info on indexing the boards. This directly correlates to the mapping in the source code! -
23D Print the 8x8 Enclosure for the Trellis Modules
Credit to Electronic Grenade from Thingiverse. https://www.thingiverse.com/thing:2376245
-
3Mount the Trellis Modules in the Enclosure
Make sure to properly align the silicone buttons with the enclosure. The buttons have dowels for aligning the PCBs. Hot glue works perfectly fine for testing, but putting some support underneath the boards would surely help prolong the lifetime of the controller. Route the leads out through the hole. Hot glue can be used for strain relief on the leads. Use M3 10mm screws for securing the backing plate. To prevent the controller from sliding around the table, some rubber feet work great. -
4Make the Connections to the Arduino Leonardo
Connect the leads from the controller to the Arduino. The connections to be made are +5VDC, GND, SCL, and SDA.
-
5Program the Arduino Leonardo
Using the code we uploaded under the "Files" section on the project page, program the Arduino Leonardo through USB or your favorite ISP device. If you wish to modify the code to re-map the buttons, see the Excel spreadsheets under "Files" as well.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.