[DigiKey "Smart Creation, Non-stop Happiness" Creative Competition] In-car Entertainment Cube - Work Submission
[Copy link]
This post was last edited by 29447945 on 2024-1-19 10:57
Car Entertainment Cube
Author: 29447945
Nowadays, many cars have various smart devices, but compared with older cars, they do not have many intelligent functions. This project is to provide an intelligent function for older cars. First, it can read vehicle information from CAN data, such as simple information such as speed and rotation speed. Secondly, it can read tire pressure sensors to display tire pressure and other safety information. Finally, it can also provide entertainment functions, such as playing music, playing videos, etc.
The system hardware includes: STM32H7B3 development board as the main control, external ELM327 module to read OBD data, GPS module to obtain GPS data, complete the collection and storage of vehicle driving data and location data, the software uses TouchGFX+FreeRTOS architecture, TouchGFX is the display UI, and FreeRTOS is divided into modules to process tasks.
3. Functional description of each part (combined with pictures and text)
1. ELM327 module: The ELM327 module is an automotive diagnostic tool used for vehicle diagnosis and troubleshooting. It is a device based on the OBD-II (On-Board Diagnostics II) standard, used to read and parse the vehicle's fault codes and real-time data. The ELM327 module is usually connected to a computer or mobile device via Bluetooth, Wi-Fi or USB, and used in conjunction with the corresponding diagnostic software.
The ELM327 module supports multiple OBD-II communication protocols, including ISO15765-4 (CAN), ISO9141-2, J1850 VPW and J1850 PWM. It can read the vehicle's fault codes, clear fault codes, monitor vehicle sensor data (such as vehicle speed, engine speed, coolant temperature, etc.) and perform some specific diagnostic functions.
The advantages of the ELM327 module are ease of use and portability. It is compatible with a variety of devices and can provide detailed vehicle diagnostic reports and real-time data through the corresponding diagnostic software. Many vehicle enthusiasts and professional technicians use the ELM327 module for vehicle troubleshooting and performance optimization.
Please note that the functionality and compatibility of the ELM327 module may vary depending on the specific model and diagnostic software used. When purchasing and using an ELM327 module, please ensure compatibility with your vehicle and equipment and follow the appropriate operating instructions.
2. GPS module: A GPS module is a device used for positioning and navigation that uses the Global Positioning System (GPS) satellite network to determine the exact location of the device. A GPS module usually consists of a receiver and related circuits that can receive signals from multiple GPS satellites and calculate the device's location information such as longitude, latitude, and altitude.
The working principle of the GPS module is to receive signals from GPS satellites, calculate the distance between the receiver and the satellite, and then use the principle of triangulation to determine the location of the device. The GPS module needs to receive signals from at least 3 satellites to perform positioning, and receiving signals from more satellites can improve the accuracy of positioning.
GPS modules usually have the following features and functions:
1. High-precision positioning: The GPS module can provide high-precision location information, usually within a range of several meters to tens of meters.
2. Real-time positioning: The GPS module can update the device's location information in real time for navigation and positioning services.
3. Multi-function: In addition to providing location information, some GPS modules can also provide speed, heading, time and other related data.
4. Easy to integrate: GPS modules usually come in small and compact form factors and can be easily integrated into a variety of devices such as in-vehicle navigation systems, smartphones, handheld devices, etc.
5. Multiple interfaces: GPS modules usually support multiple communication interfaces, such as serial port (UART), USB, SPI, etc., to facilitate data exchange with other devices.
3. STM32H7B3-DK development board: The STM32H7B3i-DK development board uses the STM32H7B3IIT6 microcontroller, which is based on the ARM Cortex-M7 core, has a main frequency of up to 480MHz, and has rich peripherals and interface resources. The development board integrates a wealth of peripherals, including multiple UART, SPI, I2C, USB, Ethernet and other interfaces, as well as LCD display interface, SD card slot, etc.
https://download.eeworld.com.cn/detail/29447945/630785
5. Demonstration video of the work’s functions
https://training.eeworld.com.cn/course/68390/learn?preview=1#lesson/38974
1月14日
6. Project Summary
The basic functions of this project have been realized. The UI interface is relatively simple, and there are still many extended functions that are still under design. They will be improved in the future. The STM32H7B3-DK development board used this time has powerful performance and rich interfaces, which is suitable for many smart home, Internet of Things and other applications. Finally, I would like to thank Digi-Key Electronics and EE Forum for hosting this event.
VII. Others
None
Attachment code: (cannot be added if it exceeds 100M, please download from the link above)
|