A simple multi-functional tricycle based on Lichuang Liangshan School.
Under the Lichuang winter vacation training camp, this ordinary and simple intelligent Liangshan style tricycle was born.
## Project Plan
! [WeChat Screenshot_20230227205749.png]

## Device Selection
This project uses Lichuang’s Liangshan School development board. The main control chip is gd32f450zgt6, which has powerful performance.
![WeChat screenshot_20230214220847.png]

12V to 5V step-down chip
![WeChat picture_20230227210409.png]

Motor driver chip
![WeChat picture_20230227210409.png]

The power supply is powered by a 12V lithium battery.
![WeChat screenshot_20230214220533.png]

The ranging module uses HC-SR04, which captures through timer input and measures the distance to the left and rear of the car.
![WeChat screenshot_20230214220657.png]

The Bluetooth module uses HC06, which communicates with STM32 through serial port + DMA
! [WeChat screenshot_20230227195434.png]

The color screen uses a 1.3-inch TFT color screen LCD module, which simulates spi through the software IO port (convenient transplant), display information such as measurement distance, voltage value, light status, speed value, etc.
![WeChat screenshot_20230214220313.png]

The RGB light uses ws2812B-5050 phantom LED light, driven by spi+dma, and can switch any light.
![WeChat screenshot_20230214220747.png]

## PCB3D rendering (the 3D effect of Lichuang eda is really great)
Front: ![WeChat picture_20230227211047.png]

Back: ![WeChat picture_20230227211050.png]

## The 3D model
is very simple. It only has a base plate connected to the PCB to assemble the motor and other parts.
![WeChat screenshot_20230227211329.png]

## The Bluetooth APP
developed the Bluetooth app with the functions it wanted by learning from the video of Smart Car Making Bluetooth App released by Lichuang EDA at Station B, thereby realizing Bluetooth control of the car.
![WeChat picture_20230227201542.jpg]

## The physical picture of the small three wheel
shows the startup animation after powering on:
![WeChat picture_20230214213753.jpg]

Then it starts to automatically display the distance measured by the ultrasonic wave, the size of the voltage value, the light and the direction.
![WeChat picture_20230214213728.jpg]

Front view of the car:
![WeChat picture_20230214213724.jpg]

Side view of the car:
![WeChat picture_20230214214020.jpg]

_**Thank you very much to Lichuang for giving me a chance to do it with everyone. Smart car opportunity! Let everyone experience the joy of making a car, haha. **_