Repository navigation
Home
Article number: 906.204.68
DA1 βββββββββββ
CLK1 βββββββββββ
βββββββββΌβΌβββββββββββββββββββββββββ
βββ΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β U1 R31 ββ΄ββ
βββ¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β ββ¬ββ
β βββΌβ Buzzer
β U2 β
β βββ B1 βΌ B1
β β€ β B2 βΌ B2
β β€ β B3 βΌ B3
β β€ β B4 βΌ B4
β β€ β B5 βΌ B5
β β€ β β
β β€ β U3 1 β€
DA2 ββΌββ€ β βββ 2 β€
CLK2 ββΌββ€ β β€ β 3 β€
β β€ β β€ β U6 4 βΌβ BAT+
β β€ β β€ β βββ β
β β€ β β€ β β€ β VDD βΌβ +5.0 V DC
β β€ β β€ β β€ β Q2 D43 GND βΌβ 0 V DC
β β€ β β€ β β€ β βββ΄ββββ΄β CC βΌβ USB CC
β β€ β β€ β β€ β ββ¬ββ¬βββ¬β β
β βββ β€ β β€ β ββββ΄βββββββββΌβ +4.7 V DC
β β€ β β€ β β
β K1 β€ β β€ βββββββββββββββββββΌβ PDM
β K2 β€ β β€ βββββββββββββββββββΌβ Enable
β K3 β€ β βββ R32 βββ β
β βββ ββ€ ββ¬βββββββββΌβ Wake
DA3 ββΌβββββββββ ββββ β
CLK3 ββΌβββββββββ R33 ββββ Q3 βββββΌβ CdS
βββ΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β΄β ββ€ ββ βββ΄ββ β
βββ¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬βU4 βββ ββ¬ββ¬β β
βββββββββββββββββββββββββββββββββββ
βββββ
β 1 βΌβ 0 V DC [white]
β 2 βΌβ Buttons [red]
β 3 βΌβ +3.3 V DC [black]
βββββ
βββββ
β 1 βΌβ +3.3 V DC [blue]
β 2 βΌβ Buttons [black]
β 3 βΌβ 0 V DC [red]
β 4 βΌβ BAT+ [white]
βββββ
ββββββ
β B1 βΌβ B1 [white]
β B2 βΌβ B2 [red]
β B3 βΌβ B3 [black]
β B4 βΌβ B4 [blue]
β B5 βΌβ B5 [yellow]
ββββββ
βββββββ
White βΌβ +5.0 V DC
Black βΌβ 0 V DC
Green βΌβ USB CC
βββββββ
ββββββββ
β VBUS ββ +5.0 V DC
β VSYS ββ +4.7 V DC
β 3V3 ββ +3.3 V DC
β GND ββ 0 V DC
β β
β ADC ββ Buttons top
β ADC ββ Buttons rear
β β
β GP ββ CLK1
β GP ββ CLK2
β GP ββ CLK3
β GP ββ DA1
β GP ββ DA2
β GP ββ DA3
β GP ββ CdS
β GP ββ Enable
β GP ββ PDM
β GP ββ Wake
β β
β PWM ββ Buzzer
ββββββββ
The back cover is held in place by 5 screws under the battery cover and two clips on the right side, which can be pried open with a flathead screwdriver or similar tool. Once the clips are released, the back cover can be removed to access the internal components.
It is recommended to desolder the various wiring harnesses from the main PCB to get better access, as thereβs a lot of fine pitch soldering to be done.
The U3 chip handles display outputs, buzzer output, button inputs, and CdS input. It is necessary to remove this chip as the RP2350 will be taking over these functions. The U3 chip can be removed by heating the pins with a soldering iron and gently prying it off the PCB.
For RP2350 boards with both VBUS and VSYS pins, offline battery backup is possible. The AAA batteries keep internal time through power cuts and reboots without needing Wi-Fi. Simpler wiring is also possible, but bypasses the battery circuit and the device will need to resync time on every boot.
For simplified wiring without battery backup, these deviations take place:
- Connect 5 V to
VDD - Do not connect power to
Q2/D43 - Skip the Wake line to
R32/R33
Wire up everything in accordance with diagrams. The CdS ambient light sensor and buzzer are optional, and itβs advised to defer the USB cable, buttons and environmental sensors to the end.
| Label | Type | Constant |
|---|---|---|
CLK1 |
Digital output | PIN_CLK1 |
CLK2 |
Digital output | PIN_CLK2 |
CLK3 |
Digital output | PIN_CLK3 |
DA1 |
Digital output | PIN_DA1 |
DA2 |
Digital output | PIN_DA2 |
DA3 |
Digital output | PIN_DA3 |
| Enable | Digital output | PIN_EN |
| Buzzer | PWM output | PIN_BUZ |
| CdS | Digital input | PIN_CDS |
| Wake | Digital input | PIN_WAKE |
PDM |
Digital input | PIN_PDM |
| Buttons top | Analog input | PIN_TOP |
| Buttons rear | Analog input | PIN_REAR |
- Connect 5.0 V
VBUStoVDD - Connect
VSYS(after Scchottky diode) toQ2(source) and/orD43(left side).
Caution
To prevent backfeeding, ensure only one power source is connected at a time.
Any 5 V tolerant GPIO pin can be used for the VK1640 SCLK clock lines.
Configure in secrets.h:
#define PIN_CLK1 1
#define PIN_CLK2 2
#define PIN_CLK3 3Any 5 V tolerant GPIO pin can be used for the VK1640 DIN data lines.
Configure in secrets.h:
#define PIN_DA1 4
#define PIN_DA2 5
#define PIN_DA3 6Any GPIO pin can be used to activate the U6 chip.
Configure in secrets.h:
#define PIN_EN 7Optional to connect. Any PWM pin can be used for control signals to the buzzer.
Configure in secrets.h:
#define PIN_BUZ 8Optional to connect. Any 5 V tolerant GPIO pin can be used to detect ambient light presence.
Configure in secrets.h:
#define PIN_CDS 9-
R32andR33are interconnected on the right side, attach a wire to either of them.
Used to wake up the RP2350 from sleep when USB power is applied, and to put it back to sleep when switching to battery backup power.
Any 5 V tolerant GPIO pin can be used to detect the presence of USB power.
Configure in secrets.h:
#define PIN_WAKE 10Any 5 V tolerant GPIO pin can be used to read temperature and humidity data from the U6 chip.
Configure in secrets.h:
#define PIN_PDM 11Any analog input pin can be used to detect button presses.
Configure in secrets.h:
#define PIN_TOP 12Any analog input pin can be used to detect button presses.
Configure in secrets.h:
#define PIN_REAR 13A collection of external links for deeper exploration β provided for reference only and with no formal connection to this project.