An ordinary desk lamp with adjustable brightness, there is an ESP32... I use the mouse wheel to adjust the brightness (very low cost performance)
(Rendering of a rudimentary version)
Copper pillars are used to connect the layers. To prevent foolproofing, only the central copper pillar is powered, and the surrounding ones are grounded.
Because each light panel is connected in parallel, the number of light panels can be adjusted arbitrarily, and light panels of different colors can be freely replaced to create different atmospheres, such as the green one in the picture below:
It can also be combined in fancy ways, like this:
The SY7201 constant current boost LED driver is used, which supports up to 30V. The driving current is limited, so it is best not to add too many lights. Three layers will be very hot. The inductors and resistors corresponding to the light boards with different layers are as follows:
The lamp board is modified based on the "5V imitation incandescent table lamp" of "Xingxue Iris" . I would like to thank you for the documentation and creativity (inexplicable void post).
The switch and dimming on the bottom motherboard use the scroll wheel on the mouse and the mouse encoder. The motherboard is not slotted, so the length of the encoder needs to be more than 13mm; the scroll wheel is from Microsoft, and the length is wrong and needs to be cut manually. .
When designing, I wanted to add wifi or Bluetooth wireless control, so I used ESP32 as the main control. I don't know Arduino, so I wrote the program using ESP-IDF (the wifi function has not been finished yet).
In addition, in order to prevent the roller from accidentally pressing on the LED filament, I also designed a partition, which looks like this:
(I designed it with AD. There was a big problem with this partition when exporting AD to LCEDA, so I didn’t put it there. (The silk screen of the other two files will change due to conversion, so it’s not a big problem))
The hardware has been designed, but the code is still incomplete. The first three attachments are AD projects, and LAMP.zip is not yet complete. Currently, only PCNT and LEDC are written, and the UDP and TCP parts are all semi-finished products (I don’t know about hass and the like). , so I write it myself).
MTF is a disease of old age, and I get sick from time to time, so I have a perfect code~~Gu Gu Gu, raise pigeons
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet