This solution simulates the design of a real car, using a microcontroller to connect to the steering wheel, clutch, brake and accelerator to capture operation feedback. The USB2.0 endpoint of the microcontroller is used to implement a USB composite device, which is suitable for simulated driving systems and game controllers.
The advantage of using NUC123 is the built-in 1T multiplier, which has powerful computing power and fast instruction processing speed, and the operating speed can reach up to 72MHz. And USB can support 8 endpoints to realize multiple applications of USB composite devices, and has passed USB professional certification.
This USB car simulation driving system includes a steering wheel, accelerator, brake, clutch pedal and gear lever. The USB is connected to the computer host; PWM capture captures the pulse wave of the steering wheel and controls the steering wheel motor to perform forced feedback of forward or reverse rotation. Through the software Controls the output and display of results on the screen. GPIO is used to control the car lights and read the gear position, and the 10-bit ADC is used to read the pedal simulation signal.
The advantage of NUC123 is that it has built-in UCID company code and UID chip unique code, which can effectively protect the system design from being stolen and cracked.
This solution has successful experience in mass production by customers, and solutions or reference designs are available for selection.
Program features
The built-in USB of NUC123 can support 8 endpoints to realize the diverse applications of USB composite devices.
The built-in USB of NUC123 has passed USB professional certification and is compatible with other applications.
Using NUC123's built-in UCID company code and UID chip unique code, the system design can be effectively protected from being stolen and cracked.
Any set of driving software that supports USB can be used in racing games.
Blockdiagram
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet