Raspberry Pi Car Cam – GPS Data & Map @RaspberryPi #piday #raspberrypi

Martin O’Hanlon shares his Raspberry Pi Car Cam – GPS Data & Map:

Ever since I made my car cam which recorded video and overlaid OBD data, I’ve continued to work on the project and in particular on overlaying GPS data. I wanted to create something which was similar to the mini map you get on car racing games which shows you where the car is on the track as its going round.

carcamgps

This has been a pretty intense project, probably the most complex I’ve done with the raspberry pi and has involved several steps:

  1. I needed a better way of syncing data gathered by the Pi with video taken on the camera, with my first OBD overlay it was ‘VERY’ difficult to get it lined up. To acheive this I made a custom version of Raspivid to allow me to read, in real time, what frame it was on
  2. I had to create a python class to control raspivid
  3. I had to set up a GPS receiver and create a python class to control it

I then wrote a program which would start up my custom raspivid program, read the frame number alongside the GPS data and create a separate movie which would be the map and the data. I could then overlay the data video on top of the camera video and bingo, mini map on the side of my car video.

Read more.


Featured Adafruit Products

746_MED

Adafruit Ultimate GPS Breakout – 66 channel w/10 Hz updates – Version 3 – We carry a few different GPS modules here in the Adafruit shop, but none that satisfied our every desire – that’s why we designed this little GPS breakout board. We believe this is the Ultimate GPS module, so we named it that. (read more)


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro”? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.