Instructables
loading
loading
Picture of Car Digital Compass & Thermometer
20130410_174041.jpg
I'm not really good at finding places and direction but at least I'm able to read maps and compass. These days, GPS navigation systems are getting more popular, so probably some people would say why I need a  compass. Well, first off, I like gadgets and if I can make one, that will be much better to enjoy it.  So, I decided to make a digital compass for my car. 

I started with very basic function, showing bearing and heading angle from a digital magnetometer on an LCD, but there are a number of digital and analog pins are left unused on the microcontroller (Arduino compatible, JeonLab mini) so I added a digital temperature sensor and a phototransistor to adjust the brightness of the backlight (single LED) of the LCD.

I still have more than a few pins available and have a plan to add more sensors such as an exterior thermometer, anti-theft device, etc. (any suggestion would be appreciated!)

The picture shown in this Intro page is the fully assembled and mounted on top of the interior mirror of my car showing the bearing, angle and current interior temperature. Unfortunately I didn't take a lot of pictures when I assembled the electronic parts, but I'm sure someone who are interested in making one of these will be able to follow easily the schematic diagram I will show in a couple of steps later.
 
Remove these adsRemove these ads by Signing Up
linkage1341 month ago

2 questions, how much of a hassle is this to program and what would be needed to display a clock?

JeonLab (author)  linkage13425 days ago

I haven't used it before, but there is a real time clock module. Check this site (

http://playground.arduino.cc/Main/DS1302) for more information.

Really cheap real-time clock from dipmicro.com (and other cheap parts)

http://www.dipmicro.com/store/DS1307BAT-MOD

It's intended for use with a rechargeable battery, but easy to modify for a normal battery.

If anyone needs help with using an Arduino and a real-time clock I'm willing to share some stuff... just reply!

vaycon1 month ago

pro work , now you need to make cover around your device and its will be perfect , also hide the sensor some where else .

good job

SonnyA14 months ago

Silly Question - I would make this for my dad but all I would need is a larger screen for the compass - could you suggest one and I can just take away from YOUR design to make it work?

JeonLab (author)  SonnyA14 months ago

I have used only two LCDs for my projects: the one in this Instructable (16x2) and Nokia 5110. I don't know how big LCD your are looking for, but I just quickly googled and found one at Sparkfun store:

https://www.sparkfun.com/products/710. Take a look at it and see if it is big enough. You also need to modify the Arduino sketch to display numbers and letters for the LCD you choose.

Good luck and have fun!

How much money does this cost to make?

JeonLab (author)  ThatMexicanKidd5 months ago

Well, I used many of the parts that I already had before, so I cannot say exactly how much it took, but my rough guess is around $30 if you have to buy everything.

efoo8 months ago
any problems with magnetic interference from your car?
JeonLab (author)  efoo8 months ago

That's why I put the sensor on the wind shield close to the interior mirror where the magnetic field interference is minimal. It works fine.

efoo JeonLab8 months ago

cool, thanks

dmwatkins1 year ago
Well done! I may add some of your features to my arduino MPG display. I would suggest adding MPG info to your display... by following the "MPGuino" schematics available online, it only requires a few resistors and diodes, 2 additional Arduino pins, and tapping into a fuel injector lead and the wheel speed sensor. From those 2 inputs, as well as looking up the specs for both those sensors for your vehicle, you can then display mpg, engine rpm, vehicle speed, and a custom odometer.
JeonLab (author)  dmwatkins1 year ago

Oh, that's interesting stuff to add. Thanks for the information. I wish I had more time to make things. :-)

BowMan8311 year ago

This is pretty impressive. Have you played around with any raspi stuff? Seems like you could have even more fun.

JeonLab (author)  BowMan8311 year ago
Thanks!
I'm thinking to get one of those soon.
UOS1 year ago
Very useful! Thanks!
JeonLab (author)  UOS1 year ago
I'm glad someone found this useful.
Thank you.
kebmoore2 years ago
Nicely done. I have been planning to build my own digital compass since my new truck didn't have one installed. I want to start with the compass and an OLED display, then add temperature/humidity and maybe even GPS logging.
JeonLab (author)  kebmoore2 years ago
Thank you. I also think about adding a GPS module. Good luck!
mcsxr22 years ago
How about Tilt and Inclinometer for the 4x4 guys
JeonLab (author)  mcsxr22 years ago
That's good idea. I'll think about it. Thanks!