puzzlebox
Loading...
Searching...
No Matches

NeoTrellis puzzle module. More...

Detailed Description

Warning
This puzzle module does not work.
The NeoTrellis boards from Adafruit sometimes pull both the SDA and SCL lines low after being addressed. This seems to consistently happen during the first iteration of the main controller's state exchange loop after the handshake wave has completed successfully.
We have been unable to find the root cause of the issue, but suspect the Adafruit boards themselves, as the I²C lines remain low even when the main controller and Arduino are both disconnected. We did find that the dummy puzzle module produced similar behavior (pulling the I²C low indefinitely) when attempting to write to the I²C bus from an I²C receive ISR directly. The Adafruit boards use a different microcontroller and run closed-source firmware, which made verifying whether this was the issue impossible.
We recommend future project groups design a custom button/LED matrix board instead of using the NeoTrellis boards.
Setup
  • Use the Arduino IDE library manager to install the "Adafruit seesaw Library" library and its dependencies
Warning
There is another library named "Adafruit NeoTrellis M4 Library", this is not the right library.

Macros

#define PB_ADDR_ADA_NEO_1   0x2E
 Adafruit NeoTrellis module 1 I²C address.
 
#define PB_ADDR_ADA_NEO_2   0x2F
 Adafruit NeoTrellis module 2 I²C address.
 
#define PB_ADDR_ADA_NEO_3   0x30
 Adafruit NeoTrellis module 3 I²C address.
 
#define PB_ADDR_ADA_NEO_4   0x32
 Adafruit NeoTrellis module 4 I²C address.
 
#define PB_ADDR_MOD_NEOTRELLIS   0x21
 NeoTrellis puzzle module I²C address.