This small PCB replaces the original board inside your AFTONSPARV Planet lamp. It connects to your smart home setup via a common ESP32 firmware like esphome.io or WLED.
And the best thing, it’s all OSHW certified: DE000140
Remove the bottom cover from the AFTONSPARV lamp, there is no need to open the top cover. Open the marked screws, there’s one under the sticker.
Carefully de-solder all wires from the old board, it is not needed anymore.
Carefully solder the wires to the Caffeinated AFTONSPARV as shown below:
IKEA Lamp | PCB |
---|---|
LED, black |
LED R |
LED, green |
LED G |
LED, transparent |
LED B |
LED, white |
LED + |
Plug, white |
POWER + |
Plug, black |
POWER - |
See PinOut for more details
Connect the power and test the PCB. If nothing gets hot, you can measure 3.3V at the USB Port continue with the firmware installation
Connect the ESP to your computer using the TagConnect or USB interface and install the firmware of your choosing. The button on the front is connected to IO9
, the boot-mode selector[1].
Important
|
The board must be powered with 24V to install firmware. |
Note
|
The diagram on the PCB v0.1 shows IO8 - it is connected to IO9 !
|
To upload software you can use the standard workflow using esptool.py
[2] just like any other ESP32 board. The UART interface is exposed on the TagConnect port:
It is recommended to use this programmer from @Jana-Marie
In addition, the USB interface is exposed as well. It is located on the edge next to the 24V input. Please remember that the ESP32 uses 3.3V and not the usual 5V.
Installing the WLED firmware is easies with their web installer: install.wled.me
When installing with esptool
[2] follow this guide and use the ESP32-C3 binary: kno.wled.ge/basics/install-binary
Important: Install this ESP32-C3 bootloader not the ESP32 bootlader.
Important
|
It is not possible to hand-solder this project, it requires a hot-air station or reflow oven. It is recommended to use a stencil for solder paste. |
Reference | Value | Qty | LCSC |
---|---|---|---|
C1, C4, C7, C11 |
100nF |
4 |
C14663 |
C2 |
100µF 35V |
1 |
C2831717 |
C3, C6, C9, C10 |
4.7uF |
4 |
C560882 |
C5 |
22pF |
1 |
C105620 |
L1 |
10uH |
1 |
C38117 |
Q1-Q3 |
AO3400A |
3 |
C347475 |
R1-R3, R7-R10, R14 |
10kΩ |
8 |
C98220 |
R4-R6 |
20Ω |
3 |
C22950 |
R11 |
1Ω |
1 |
C22936 |
R12 |
100kΩ |
1 |
C25803 |
R13 |
22.1kΩ |
1 |
C25961 |
SW1 |
SW_Push |
1 |
C2910748 |
U1 |
ESP32-C3-MINI-1-[H/N]4 |
1 |
C2934569 / C2838502 |
U2 |
SY8201ABC |
1 |
C108052 |