My company car that I normally drive tends to have a āsmallā problems from time to time, the speedometer fall to 0 Km/h when driving (after some time it resumes again).
Normally this is not a big issue since if you know how to drive a car, you are not, I hope, always looking to the speedometer. You now more or less the speed that you are driving. The problem present it self when you need to decrease speed to the road limit that you are entering and you notice that āthe speedometer is downā.
This presented like a good opportunity to build a new project, āThe GPS Speedometerā. Of course the ideal solution would be, really repair the car or use a normal GPS or use an app with this function but what would be the fun in this š
Step 1: Components
Microcontroller
I selected theDFRobot Dreamer Nano V4.1Ā because it has a usb plug that I can use for power and a compatible breadboard pinout.
Check DFRobot wiki page for more info regarding this microcontroller
GPS
Iām using theĀ UBX-G7020-KT, that comes with an integrated antenna and allows to change the refresh rate until 10Hz(for this project this featuring can came in hand).
On the DFRobot wiki page you will find more info regarding it.
Display
I wanted to have a good display without āblowingā the budget, my choose was theĀ OLED 2828 Display Module. Check again the wiki page for some more info.
Power
The power for the system will be provided by the car cigarette lighter socket.
Casing
This time I when for designing a casing and 3D printing it.
Step 2: Connect the Components
The design with the LEDās was not my first choice. So initially I designed the schematic without LEDās
But in the end I added 10 LEDās (7 Green and 3 Redās).
I forgot to take some pictures of the assembly process, so what I can say is that everything is assembled in the prefboard, in one side is the oled display and in the other the microcontroller and connections. In order to make this easy leave the oled display for last since some of the connections will be done on its back.
Source: GPS based speedometer using pic microcontroller