bk49lpKYC

#The 7th Lichuang Electronic Competition# Posture Display

 
Overview

This project makes the PCB board into a disc shape. N32G430 is used as the main control chip, and the MPU6050 attitude sensor obtains the current attitude of the PCBS board. There is an OLED screen on the front of the PCB board, which displays the current state in the form of a cube. On the other side of the PCB board, 8 three-color LED lights are evenly distributed around the perimeter, reflecting the current attitude in different positions with color or flashing changes. There are no other components on this disc surface, and pictures can be pasted on it as a display screen (originally planned to cooperate with Jiali Chuang's color silk screen, but unfortunately it was not in time).
MPU6050 and OLED communicate with N32G430 through IIC. 4 GPIOs are used, connected to GND through jumpers, which can be used as the mode selection of LED lighting. In this way, there can be 16 modes, and the specific modes can be defined in the program. In addition, 24 GPIOs are connected to 8 LED lights, just using up all GPIOs.
The program is downloaded using the serial port, and no other simulation interface is used.
In addition, the VIN and 3.3V pins are also connected for easy inspection and other uses.
Schematic diagram description:
100uF capacitor should be added to each 3.3V of the chip, and 4.7uF capacitor should be added to pin 1 to eliminate interference. The SCL/SDA of MPU6050 is connected to the IIC pin of PB13/PB14. The SCL/SDA of OLED is connected to the IIC pin of PA4/PA5. PA9/PA10 is TX/RX.
This power supply system introduces external power (battery) through the DC socket, and can also use the H10 pin header to power it with USB through the downloader. The
reset circuit and BOOT circuit, as well as the external crystal oscillator, are all in accordance with the product information requirements.
8 three-color LEDs and LED mode selection, 4 M_SELECT are pulled high with 10K resistors, and by grounding different pins, there are a total of 16 combinations.
PCB design description:
There are only 8 LEDs on the back. Pictures can be posted in the middle. When the PCB is placed in different positions, the LED will show different colors or flash. Display pictures can be posted in the middle.
 
Due to time constraints, the display function of the LED light has not been realized yet, and will be updated later.
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-06 04:13:30

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号