### What has been completed so far includes ultrasonic obstacle avoidance, PWM speed regulation, and button control of LED lights and speed
#### The appearance of the ultrasonic obstacle avoidance part
: It adopts a unique swan neck design, which is simple yet elegant. (Actually, I didn’t know what I was thinking about when I was drawing the board. I drew it wrong, and I cried.)
Function: General obstacle avoidance function. In the video demonstration, a power bank is used for power supply and is placed on the bed. Due to the influence of wires, it occasionally goes a little crooked.
#### PWM speed regulation part
function: conventional speed regulation output speed. Change the speed according to the incoming parameters
#### Button control LED and speed control part of
the function: Normally use buttons to control the car lights and speed, but suddenly I found that I can’t press the buttons while running, (thinking...) Need Press in advance or stand up and press. It is recommended to use external interrupts to write. The code I wrote is too simple and crude, not elegant at all, and the triggering is not stable (see the video for details, it is really unstable, and some crazy pressing actions have been deleted from the video). (Mainly because it’s too late)
###### Summary: It’s really an ordinary car.
####
I gained a little car of my own. I had a lot of fun making the car and learned a lot. There is a lot of knowledge that you would not be able to understand without actually doing it yourself. I feel that I have even developed some intuition for finding bugs. Although when I don’t have any intuition, I really think of myself going bald. I’m super grateful for Lichuang’s training camp activities, which cured some of my laziness (er, facepalm)! (A big heart)! ! I feel that Lichuang is really a conscientious enterprise that is expanding in the industry! ! ! love you!
###### Put it at the end
(quietly) I can’t complete all the ideas within the specified time (sad). I have too many things recently and I haven’t been able to grow into a time management leader (mistake), but I will try my best in the future. Perfect. ball bal, little sister Xu, don’t put me in a dark room.