Adai Pai 51 MCU Coursework Board

This semester, our school teaches MCU courses. The project homework is to solder this green perforated board. After I soldered the running lights and traffic lights, I really didn't want to bother with the wiring. Imagine that after soldering, connecting a large number of Dupont wires is easy to cause problems and it is difficult to find errors. I just put all the circuits on Jiali Chuang EDA. The 3D effect

of the PCB circuit is


really good. I put my personal logo and put some cute elements on it. I explain that my last name is Lu (I guess you don't know how to read it), and my nickname is Adai, so I hastily named this board Adai Pai! ! ! The

front effect picture after soldering is exquisite!

The back effect picture after soldering is exquisite +1.

I soldered 3 pieces at school to prevent problems. I took the holiday early due to the epidemic and took them home to write code.
Soldering is really tiring!


When I was learning digital tubes, I mainly used these two materials. I thought it would be very simple to choose CD4511 chip to drive digital tubes. In the end, I adjusted it and I think it is indeed simple.
When I was drawing the PCB, I didn't know that the latch terminal of pin 5 should be grounded, so that the LE latch controller = 0 can be decoded and output normally. I always thought that there was something wrong with the code, and I spent two days adjusting the code.

I checked the data sheet, looked at the code, and eliminated the errors step by step. When I used tweezers to ground pin 5, it finally displayed normally. I almost gave up on the digital tube, and then I turned it over and added soldering, which was a good remedy .
After solving this big problem, the following projects were debugged smoothly, and all functions can run normally.
The code is attached! ! ! ! ! ! !
The demonstration video is too big to be posted on Bilibili.
Bilibili video address: https://www.bilibili.com/video/BV1wR4y1U7k4/?vd_source=efc8351bbf5e855ebbaee0f1e0636727