813 views|2 replies

650

Posts

8

Resources
The OP
 

[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

  • introduction

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.

  • System Block Diagram

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.

  • Work source code

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)

总结文档.doc (419 KB, downloads: 2)

This post is from DigiKey Technology Zone

Latest reply

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. We will continue to improve them in the future. We look forward to the open source works after they are improved.   Details Published on 2024-1-15 14:04
 
 

1w

Posts

204

Resources
2
 

Great! This is very applicable~

This post is from DigiKey Technology Zone
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 
 

6824

Posts

11

Resources
3
 

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. We will continue to improve them in the future. We look forward to the open source works after they are improved.

This post is from DigiKey Technology Zone
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list