-
1Step 1
{{instruction.body}}
HOW TO MAKE THE HUD
How does HuD works?
So how does the HuD work? High school physics tells you that light reflects on a mirror, refracts on a semitransparent mirror, and passes through a transparent glass. We will be using exactly that principle here.
HOW TO MAKE THE HUD?
Cut the thick polythene sheet into 5 equal square shaped pieces.
Arrange four pieces as a cube with OLED and glue it together.
Fix the light refractor by placing the sixth piece diagonally inside the cube.
Glue it such that one surface is facing the OLED display and the other is facing the side of your eye.
Finally fix the last piece and seal it.
Tadda!! That is your HuD display. So simple!
-
2Step 2
{{instruction.body}}
OLED Display
I used a Chinese OLED display that works on the SPI bus. It took me almost a day to figure out the data sheet. I found out that the u8lib library is needed to make it work.
Now connect the SPI OLED Display to the SPI pin of the Arduino Nano.
Connect this OLED display with a long wire to fit near your eye for easy view.
Now download the library file and extract it into your Arduino library folder.
Now uncomment the particular OLED driver in the program to enable your OLED Display
Test with different modes in Library Example folder.
-
3Step 3
{{instruction.body}}
OLED and AR Display
Test the OLED with the AR glass by using the sample code and adjust the display for better viewing experience.
The major problem with this AR display is that we are using a mirror to refract the rays so the image to be displayed, has to be inverted. This requires you to build a library with the inverted alphabet and bitmaps to display it properly.
There are many websites, which converts bitmap into HEX code that can be used directory into the OLED library files.
You can use a small concave lens for better Focal length
-
4Step 4
{{instruction.body}}
Hardware interfacing with Ard-G
Now refer to the schematics here and solder it in a pref board.
It will be a bit tricky to solder if you are a NOOB in soldering.
I would recommend that you use as many wires as possible to avoid any mistake while soldering.
Now cut the pref board into two pieces and make it look like an AR glass.
Place some foam between the OLED and the pref board to ensure stability. You can also glue it together.
Here I have made a bare bone shield for the Arduino Nano where any sensor or device can be interfaced.
I have connected accelerometer, light sensor and sound sensor for sensor acquisition and can be used for user's application.
-
6Step 6
{{instruction.body}}
Arduino Code
Click on the attachment to download the code.
For each function I am sending a number followed by “.” which acts as end of one data and reads the next data. It can configure in the ATC Lite Android App.
Check the In-line comment for better Understanding of the code.
As for the Android app part, let me be honest. I am not an Android app developer so I haven't implemented the navigation control to it. I just downloaded the ATC lite app and created a custom layout like forward, backward, message and call notification to it. This sends numbers via Bluetooth to the headset.
https://play.google.com/store/apps/details?id=com.... to download the app and test it.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
This is rad. I didn't realize it could be done so cheap like that, with the reflecting plastic, it's great. Now we'd just need to compute the position of the headset, to change what is displayed accordingly.
Are you sure? yes | no