35etv

Solicitation order | RGB lantern based on ESP-12F

 
Overview

**When I created the project, I originally wanted to make a clock, but when I was drawing the schematic diagram, I took into account my own abilities and the fact that it was my first time to develop a project about the Internet of Things, so I simply made an RGB lamp. **
![a8a5df9001f669c3a9c1deec6005266.jpg]

# **Hardware**
![CH.png] 1. Considering that I personally prefer to solder plug-in components, most of them choose plug-ins. Because I have the CH340G download module, I left a module position on the bottom for easy welding. In the picture, the silk screen TXD is connected to the TXD of the download module, RXD is connected to the RXD of the download module, and VCC is connected to 5 volts.

![6916fd0844d4a06aa45f866b98a4291.jpg] 2. After actual verification, the blue light of LED1 on the outer ring will light up when no data is transmitted. It is currently speculated that this is the problem with TA6932. Therefore, the hardware circuit and software (will be mentioned later) need to be modified, that is, disconnect the 10th pin of TA6932 from the corresponding pad, and then connect a wire to the 16th pin on the 10th pad. The feet are connected.

![Short.png] 3. According to my circuit design, C32 does not need to be soldered, just short-circuit it.

![set.png] 4. For the peripheral circuit of the module, please refer to the design in the picture above.

![flat.png] 5. Refer to the level conversion circuit in the official document.


# Software
![Untitled.png] 1. In this statement in the setup function, you need to enter your WiFi name and password. The first string is the WiFi name, and the second string is the password.

![Haha.png] 2. Outside: outer circle; inside: inner circle. BGR are blue, green and red respectively. What is in the comments is the revised definition, that is, the original "outer B" corresponds to "SEG1", and the "inner G" corresponds to "SEG6". After the change, the above line was moved back one position, and then "Outer B" was placed here "SEG6". Please refer to point 2 of the hardware. There are 63 different combinations of inner and outer ring colors from 00000001 to 00111111. Due to time constraints, the video only demonstrates some of the color combinations.

![时.png] 3. According to the timing diagram of TA6932, there are programs in TA6932.ino for reference. Pay attention to controlling the interval between data transmissions. If the time is too short, data will be lost and the light will not turn on.

![59c59b44e6d530e6d23ec760cdfa4e1.jpg] 4. This web configuration interface refers to the esp8266 mini pixel light program of SMALL_DA, with some modifications.

5. There are also some programs for building network servers that borrow the code from the Taichi Maker website: [http://www.taichi-maker.com/homepage/esp8266-nodemcu-iot/](http://www.taichi- maker.com/homepage/esp8266-nodemcu-iot/)

# Post some pictures of the shell
![3ee0c5e31bd6e077d6bcce7e4eb7b6f.jpg]
![52f7840e055289390a366acfbc2c242.jpg]
![26fbf38420ca858456 07254ad74dac4.jpg]
![624c27d5ed8e7c608313b3bc60d5f3d.jpg]
# Demonstration step
1. Power on;
2. After waiting for the white light to light up clockwise, you can access the web page according to the IP output from the serial port;
3. After the second step is completed, it will first enter the normal mode;
4. You can click the button on the mobile web page to enter the lantern corresponding mode.


# Demo video
[https://www.bilibili.com/video/BV17s4y1A7sS/?spm_id_from=333.999.0.0&vd_source=b079839c34d47d198729e9c178d04249](https://www.bilibili.com/video/BV17s4y1A7sS/?spm_id_from=333. 999.0.0&vd_source =b079839c34d47d198729e9c178d04249)
# Currently there are two problems:
1. It may be due to network speed and code problems that it takes a long time to display the main interface after switching modes.
2. When clicking the buttons on the phone screen to switch modes, sometimes there will be no response. It may be a code problem and you need to click more.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-04 06:53:39
  • Automatic watering system based on esp32s2-work submission
  • How to write technical requirements when drawing schematics?
  • Serial port error
  • Help! Help! Dual buck power input, one of the MOS tubes always burns out!
  • Please help me parse the ucos source code~~~
  • Help

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号