-
Notifications
You must be signed in to change notification settings - Fork 10
Hardware
This part describes the hardware.
The hardware is available in shared projects on PCBWay including the BOM, so you can ask for an assembly quote.
- MCU Board
- MotorBoard
- LED Ring Board
- Master tinyK22 Board
- tinyK22 Board, BOM and ordering instruction on GitHub.
Because of an error in the layout, the B3-B4 and A3-A4 pins on the connector are swapped and not in the right order. With this, the motors are turning with some extra noise. This can be solved with a workaround: When wiring the Motor PCB with the MCU PCB, swap the x3-x4 pins in the cable, as shown in the image below. Do this for both connections (Motor 3o and Motor 2i).
You need a master to control all the clocks. It is possible to use the NXP LPC845-BRK with breadboard components, but this one will quickly run out of FLASH and RAM. The tinyK22 Master board is recommended as it has more FLASH and RAM. It is compatible with the NXP FRDM-K22F Board.
There is optional support for push buttons. This allows to configure the system without USB or wireless connction.
On the LPC845-BRK there is a 'user button'. See white button on the image below:
See Unboxing the NXP LPC845-BRK Board for details about the board.
This button can be used if the PL_CONFIG_HAS_BUTTONS
is enabled:
- short press: toggles the clock on or off
- long press: toggles the clock parking (on or off)
The firmware supports a '7-way' navigation switch with up
, down
, left
, right
, middle
, set
and reset
.
Such breakout boards are available on Alixpress and other vendors.
To support the navigation switch both PL_CONFIG_HAS_BUTTONS
and PL_CONFIG_HAS_SWITCH_7WAY
needs to be enabled.
Below is the default connection of the pins. See the file buttons_config.h
for the actual pin assignments.
The switch is used to set the time on the clock:
-
RST
: enter change mode and disables clock. Cursor is on the minute (right-most digit) -
LFT
: move cursor to the digit on the left, will wrap-around -
RHT
: move cursor to the digit on the right, will wrap-around -
UP
: increase digit -
DWN
: decrease digit -
MID
: no functionality -
SET
: store time and enable clock
To keep the time/date a battery buffered RTC breakout board can be used.
The Sparkfun RS-485 Breakout board needs to be modified with resitors, see Behind the Canvas: Making of “60 Billion Lights.