Skip to content

Final Project

In this week, I am going to work on my new final project — A Night Lamp With Chinese Traditional Pane (remotely control & data visualization)

A Slide of my project

alt text My Presentation Poster
I am a 2024 Fab Academy student, the Node is at Shenzhen, Chaihuo Maker Space.

A Photo of my project

alt text alt text

Brief Introduction:
A Night Lamp With Chinese Traditional Pane (remotely control & data visualization)

This is a work that allows remote switching, remote color adjustment, and provides visualization of the temperature and humidity values ​​of the space where the night lamp is located. Users only need to perform corresponding operations on the interface. The appearance of the desk lamp is a design that resembles the Chinese character - “中”.

Video of my project

You can watch the high-resolution video via my bilibili page.

Here is a compressed video:

BOM of my project

Component Amount Price Notice
LED strip 1 34.9 ¥
XIAO ESP32C3 1 4.99 $
Grove DHT11 1 5 $
CONN HEADER SMD 10POS 1.27MM 1 0.88$
CONN HEADER SMD R/A 4POS 2.54MM 1 0.93 $ It’s a 6POS component, you need to adjust it to 4POS manually
CONN HEADER SMD R/A 3POS 2.54MM 1 0.93 $ It’s a 6POS component, you need to adjust it to 3POS manually
Tactile Switch SPST-NO Top Actuated Surface Mount 1 1.08 $
LED BLUE CLEAR 1206 SMD 1 0.23 $
RES 1K OHM 1% 1/4W 1206 1 0.1$
RES 499K OHM 1% 1/4W 1206 1 0.10$
JUMPER WIRE F/F 6” 20PCS 1 2.10$
Dupont Cable 1 8.99 $

To Implement System Integration in my final project

alt text

All original design files

LampShape - 3D Printing - STL files

LampShape 3D Printing - STL

Wooden frame - LaserCutting - DXF files

Wooden frame

Find the above desin files in Fusion 360: Link1; Link2;

Embedded Programming

myLampControlLogic Since it shows a warning while I share this Arduino file , for source code , you can check week17 Assignment week17

License I choose for my project

This file is part of MyProject.
Copyright (c) 2024 DionTsang
Licensed under the MIT License.
See LICENSE file in the project root for full license information.

Acknowledged work done by others

Outlook Idea originate

Night Lamp With Asian Traditional Pane by wuguigui on Thingiverse:

After I download the designed file and 3D print it, I was impressived by the outlook of the lamp, the pattern and event the spiral-design of those supports for the LampBase! This encourages me to learn to 3D design of spiral- component with Fusuion 360!

For Technology Implementation

As I was a new beginner at the begging, I know nothing about remote control, so I check some video on bilibi site, and find out these:

超详细教程 – ESP8266+继电器+MQTT+VUE 实现远程开关灯;

This project encourages me to think of my PCB design, user interface design.

However, almost at the end of this training, when I start to work on Interface week, I find out another useful tutorial: Use MQTT Dash to Control a Lamp Over the Internet;

This is very helpful! Love and Peace! 😘🤩🎉🤖🤖🤖

Issue marked again

Although this maybe the last page I ever edit, I still encouter a new issue and wanna mark it down:

After I create a table using Markdown syntax, the VS Code workspace seems to change my original code to the way it wants it, and then the preview view displays the table in garbled text.

So, I check the Extensions, and disable Prettier - Code formatter , problem solved!

alt text

About Prettier:
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.