Search models, users, collections, and posts

LED Lamp A Great Beginner Project in ESP Control

GIF
GIF
GIF

Print Profile(1)

All
X1 Carbon
P1S
P1P
X1
X1E
A1
A1 mini
H2D
H2D Pro
H2S
P2S
H2C
X2D
A2L

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
4.3 h
2 plates
5.0(1)

Open in Bambu Studio
Boost
3
3
2
0
2
1
Released 

Description

Content has been automatically translated.
Show original

A minimalist LED matrix lamp with an interchangeable front panel.

 

An ideal project for gaining initial experience with an ESP32.

Simple to replicate.

Create your own front covers and effects.


Bill of Materials:

1x ESP32

1x Adapter for ESP32 (for screw terminals)

1x 8x8 LED Matrix (2812b LEDs)

1x Power supply (I use a USB-C connector)

 

ESP32 + Adapter

https://de.aliexpress.com/item/1005005762385554.html?spm=a2g0o.productlist.main.39.37d434Ue34Ue60&algo_pvid=c7a5b4ef-e3ef-4604-8c1a-ea28741ff3e4&algo_exp_id=c7a5b4ef-e3ef-4604-8c1a-ea28741ff3e4-19&pdp_ext_f=%7B%22order%22%3A%22223%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21EUR%213.20%210.99%21%21%2123.70%217.35%21%40%2112000034261967999%21sea%21DE%210%21ABX&curPageLogUid=VRObYAnqznb9&utparam-url=scene%3Asearch%7Cquery_from%3A

 

 

8x8 LED Matrix

https://de.aliexpress.com/item/4001296811800.html?spm=a2g0o.productlist.main.5.24584fe6jSjFWb&algo_pvid=aaadb974-d1bf-4cb1-b7ec-9fd7746d8482&algo_exp_id=aaadb974-d1bf-4cb1-b7ec-9fd7746d8482-2&pdp_ext_f=%7B%22order%22%3A%222630%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21EUR%213.38%210.99%21%21%2125.01%217.32%21%40%2112000038259642159%21sea%21DE%210%21ABX&curPageLogUid=sque56ozO1fU&utparam-url=scene%3Asearch%7Cquery_from%3A

 

USB Connector

https://de.aliexpress.com/item/1005007469691687.html?spm=a2g0o.productlist.main.5.7d175c62I4xPWE&algo_pvid=7e46a7f1-3166-409d-a703-349b5e020d2f&algo_exp_id=7e46a7f1-3166-409d-a703-349b5e020d2f-2&pdp_ext_f=%7B%22order%22%3A%222125%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21EUR%211.65%210.99%21%21%2112.19%217.31%21%40%2112000040884443896%21sea%21DE%210%21ABX&curPageLogUid=R3ZX2szs2WhV&utparam-url=scene%3Asearch%7Cquery_from%3A

 

 

Connection is quite straightforward.

 

 

(+) of the supply and (V+) of the LEDs connect to the VIN pin

(−) of the supply and (V−) of the LEDs connect to the GND pin

In the following sketch, I use pin D27 for the signal, so (LED) DIN connects to pin D27

 

That's it for the connections.

 

Once everything is connected, the ESP must be flashed with the sketch. I use the free Arduino IDE: https://www.arduino.cc/en/software

 

Select the board and port and install the "Adafruit NeoPixel" library.

Then copy and upload the sketch.

The sketch includes approximately 60 effects. The one specified in the loop function is played.

 The name of the desired function must be specified there.

 

 

The sketch is, of course, customizable and allows for many variations. For instance, my lamp operates via a dedicated app and Bluetooth connection. In this sketch, the lamp starts with the effect mentioned in the sketch as soon as it is connected.

A small tip for creating your own effects: ChatGPT is a great help when it comes to creating a sketch. Copy this sketch as a prompt into ChatGPT and describe your desired effect. Specify that it should be integrated into the sketch. This should work without problems even with the free version of ChatGPT.

 

 

Making your own covers:

The dimensions for the covers are, depending on the printer and tolerance: 77.8 x 77.8 x 3 or 77.9 x 77.9 x 3

I create them in Fusion 360 by creating a cuboid with dimensions 77.9 x 77.9 x 2. I then create a sketch on it and insert an SVG file. I scale it to fit my cuboid and then extrude the desired areas by 1 mm.

I then print the first two mm (layers 1-10) in transparent and the rest (layers 11-15) in black.

 

Boost Me (for free)

Boost for more such ESP beginner projects


Documentation (1)

Other Files (1)
Sketch - alle Effekte.pdf

Comment & Rating (2)

(0/1000)

Print Profile
0.2mm layer, 2 walls, 15% infill
Great design thanks
The profile uploader has replied
Show original
profile
1
Reply
Thanks for your review. I always appreciate photos. (:
Show original
0
Reply
No more

License

This user content is licensed under a Standard Digital File License.

You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.