In this project I’ll show you how to control a car using Grove mini track ball through Bluetooth.
Grove - Mini Track ball will give an easy access to prototyping a practical motion-tracking function module for your applications. It has implanted 360° detection and click detection with high accuracy and quick response. With chip STM32F103C8T6 (datasheet) and AN48841B (datasheet) inside, you can turn plenty of your ideas into tangible things. It is also standardized with Grove interface which will save you a lot of work in the prototyping process.
If you want you want to know more info about this mini track ball please click here.
By the time you’re done with the project you will reap the following experience:
Now, let’s get started.
As the video shows, there’re two Arduinos/Seeeduinos in the project, one is connected to the Grove Mini Track Ball, we call it the
remote control part, and another is connected to the car, we call it the car part.
And now, we should connect the Grove modules.
The remote control part.
Grove – Mini Track Ball ---- I2C Port
Grove – Serial Bluetooth v3.0 ---- D6 Port
Connect Seeeduino lotus to the bottom ofthe shield bot and Grove Serial Bluetooth v3 to the D6 port.
There’re two Arduinos/Seeeduinos need to be programmed.Take the car part for example.
We assume you have connected your Arduino\Seeeduino board and computer well with USB.
Download demo code from the Github.
Congratulations, you have already completed the most of the work.
The remote control part is the same as the car part.
This project is made as an Open Source Project. It's a starting point. Let your creativity go wild with the mechanical, electrical and software design. Make the demo your own. Decorate it. Improve the work. No matter what, write a recipe about it.
To share and progress together.