mgevpp

Death Stranding Odradek Desk Lamp

 
Overview

A smart desk lamp based on the Odradek device in Death Stranding. The desk lamp is composed of 5 separate light-emitting blades, each with 3 degrees of freedom, and you can adjust the required angle at any time; the desk lamp integrates the XIAO nRF52840 Sense Bluetooth main control board and the WS2812 colorful light strip, which means you can control it to display different colors and brightness through the mobile phone APP.
 
Preface
A monotonous and messy desktop always makes people unable to maintain a good mood, especially after a failed game in the game. I always attribute the reason to my mouse, keyboard, cat or light. In order to make the desktop look less monotonous, I decided to do something and happened to see the Death Stranding Desk Lamp shared by Nils Kal. This is a great model with a full sense of mechanics and perfectly restores the Odradek device in the Death Stranding game. There is no reason for us to refuse to make such a cool desk lamp. After carefully observing Nils' description and photos, I found that he only connected an ordinary monochrome light strip and controlled it with a toggle switch, which seemed too monotonous for me. So I decided to copy the Death Stranding Desk Lamp and improve it to add more functions and effects so that it can be used in different scenes and atmospheres. Demo video: View link First, I will choose a programmable color light strip to achieve different colors and display effects. WS2812 is a good choice. Since the project is relatively easy and there is no need to draw the PCB file yourself, you only need to buy a WS2812 light strip. For the main controller, I chose Seeed Studio XIAO nRF52840 Sense development board, which is a development board with Bluetooth and onboard IMU and MIC. It is small and powerful (not)...
I can train my own voice model through TinyML to make it recognize specific keywords, so that I can control the switch of the light and different display effects by voice. The light strip and the main control board are the core electronic components. Of course, the main body of the desk lamp cannot be separated from 3D printing. I used PLA material to print the overall structure. If you don’t have a printer, you can also seek help from the nearby Work Shorp.
 
Prepare parts
The following is a detailed list of parts for preliminary preparation: 3D printing parts (common materials such as PLA, ABS, etc. can be used) WS2812 light strip * 2 meters XIAO nRF52840 Sense * 110mm boat-type toggle switch * 1 DC female socket * 1 Wire * 3.5m (Wires with a cross-sectional area greater than 0.3mm² should be used, otherwise there will be safety risks of heating and melting when large current passes through) TTP223 chip * 15mm 5v monochrome LED light * 15v 2.5A power adapter * 1 welding tools Hot melt adhesive 10* M3x4 screws 15* M3x12 screws 5* M3x20 screws 21* M3 Nuts 5* M4x20 screws 5* M4 First, we print out all the 3D parts
according to the drawings. If you use the same programmable colored lights as me, each blade will have 3 wires (VCC, GND, SIG). The original author's parts only reserve connection holes for 2 wires. At this time, you need to download my optimized parts to ensure that all 3 wires can pass through the connection holes smoothly. Of course, you can also choose a non-programmable monochrome light strip, which only needs power to drive.
  
Hardware principle
 
After you have prepared all the parts, let's take a look at the working logic and hardware connection of the entire work, which can help you debug and maintain later.
First, the power Pin of the light strip is connected in parallel to the power Pin of the main control board, and the signal Pin is connected to D0-D4 respectively. Since XIAO nRF52840 Sense has a multi-channel pin multiplexing function, we can define D0-D4 as PWM, and then connect TTP223 to the D5 pin, and then read the analog value of the changed pin to determine whether the touch input is pressed.
The TTP223 chip needs to connect a 100nF capacitor between GND and VCC to adjust the sensitivity. I use 0.1mm enameled wire for welding, and then use hot melt glue to protect and fix it, so that the occupied volume can be very small.
The TTP223 circuit comes from the open source author of LiChuang: https://oshwhub.com/gameboy96/ttp223
 
Then according to the size of the 3D printed parts, re-cut and weld the light strips to meet the maximum display area. After welding 5 light strips respectively, test all the light strips to ensure that all lights are normal. Note that the reserved wire of the light strip should be greater than 20cm at this time.
Test demonstration: Check the link and then combine them in the order of the pictures.
Here I connect the input pin of the TTP223 touch module to the front through a 0.2mm brass wire, and then connect the output pin to the D5 pin of the main control board, so that the touch signal can be input by touching the "stamen" to complete the different function switching.
 
Software
 
After the hardware circuit is connected, we need to start writing software to inject soul into it, otherwise it will not perform any function. Let's start from the simple place. We use the EDGE IMPUSE platform to train our own TinyML speech recognition model. Please register an EDGE IMPUSE account and refer to Marcelo Rovai's excellent tutorial to train your own recognition keywords. I use "Bling Bling" and two consecutive finger snaps and ordinary indoor background sounds as keyword recognition to train my own artificial intelligence model. The effect of the first training is not very good, with only 60% recognition success rate. This is because I only entered 10 data for each tag, and because it was recorded late at night, my voice must be very small, so the model effect is not good. Later I will spend some time entering more data in appropriate scenes to improve the accuracy of speech recognition keywords. (This part will be updated later, right?)
It should be noted that in this project, I use 19+19+17+17+14=86 lamp beads, and the normal current consumption of each lamp bead is 20mA, so please prepare at least 5v 2A power adapter, otherwise after uploading the program, the display effect of the desk lamp may not be normal. After uploading the code, please conduct further tests to ensure that the function is normal and available. The functions of
 
the test
 
program are: when turned on, the desk lamp will change to rainbow colors once, and then keep the cold white color on; when the touch switch is touched, the desk lamp will continue to display rainbow colors (very suitable for disco dancing),
view link Then for the Bluetooth remote control function, you can download the Bluefruit Connect mobile software for Bluetooth pairing and connection,
and then select neopixel to control the color of a single lamp bead, and in the nodepad you can control the color of all lamp beads. The color picker is assembled
in the controller option. When the verification function is normal, we can combine them and use m3*20mm screws and nuts to fix the base. For detailed assembly files, please refer to the files provided at the end of the article. Then fix the lamp post to the main body of the desk lamp, and correctly weld the DC socket. After completing the above steps, you can fix the desk lamp on your desktop and start playing! The above content is all open source download address: view link This download link uses Amazon Cloud and may require
 

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-17 12:35:04
  • ADuCM360/361 Evaluation Kit
  • Help with power supply problem! ! Urgent! !
  • Circuit diagram and circuit analysis of sound and light controlled delay switch
  • Since the peripheral driver under WInCE runs in user mode, then...
  • Are there any PIC related reference designs?
  • SSD1963 initialization parameter discussion

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号