Open source hardware small project: Anxinke ESP-C3-12F controls WS2812
[Copy link]
Preface
If you still remember, I posted a project about ESP-C3-12F controlling WS2812 before. In case you really forget, I will remind you now: Anxinke ESP-C3-12F module Alibaba Cloud remote control WS2812RGB light bar (based on ESP-IDF SDK).
I didn't show you the hardware part of this project until the end, because I didn't want to show the Syrian style wiring
It was in the debugging stage, and it was so ugly that I didn't post it. Today I finally finished debugging it and made some changes, and the effect is pretty good.
1. Software Description
The entire hardware is designed using EasyEDA Professional Edition . EasyEDA Professional Edition is designed on the web, so it is required that the network of each student remains normal.
Some smart students asked, why don't you use Altium Designer, or some more professional design software is not good? The blogger's explanation is this:
1. Altium Designer is easy to use, and the blogger also uses it personally, but this project is completely open source, and the design software used should of course be genuine and free;
2. LiteEDA Professional Edition is an EDA design platform completely independently developed in China, and some functions are not available in Altium Designer, such as component array distribution and PCB component fast array layout, which is very interesting and supports domestic production.
2. Schematic design
1. Lamp bead array
The blogger used 24 WS282 lamp beads. Each lamp bead has a decoupling capacitor to prevent the lamp beads from interfering with each other. The lamp beads are connected in parallel (this component arrangement can be automatically generated).
2. ESP-C3 peripheral circuit
3. PCB Design
1. Component Layout
For convenience, the blogger arranged the lights in a circular array, and everyone can arrange them in various shapes according to their own aesthetic taste.
2. 2D preview
4. Physical Display
5. Board Instructions
1. Wiring
Power input: USB interface
serial debugging and download port: TX is connected to RXD of USB to serial port module, RX is connected to TX of module, G is connected to GND of module, and V port can be left unconnected when USB is connected.
2. Program download instructions
Make sure the wiring is correct:
(1) USB has power input;
(2) TX, RX and G are correctly connected to the USB to serial port module.
After the board is powered on, press and hold the IO9 key, then press the reset key. After releasing the reset key, the module will enter the download mode, and then the normal burning operation can be performed!
Note: Because the lamp beads are connected in parallel, the marquee effect cannot be achieved for the time being! ! ! !
Corresponding source code address: https://gitee.com/seahi007/ESP32-C3ControuWs2812
Programming related blog post: Anxinke ESP32-C3 module Alibaba Cloud remote control WS2812RGB light strip (based on ESP-IDF SDK)
|