TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140168 times)
  2. FAT32 Library (72622 times)
  3. Network Ethernet Library (57644 times)
  4. USB Device Library (47957 times)
  5. Network WiFi Library (43554 times)
  6. FT800 Library (42942 times)
  7. GSM click (30140 times)
  8. mikroSDK (28670 times)
  9. PID Library (27057 times)
  10. microSD click (26552 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Mikromedia VR Head Tilt Demo

Rating:

0

Author: Andrew Hazelden

Last Updated: 2016-02-22

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Gaming and Fun

Downloaded: 310 times

Followed by: 2 users

License: MIT license  

The demo uses a pair of Mikromedia boards and a Google Cardboard head mounted display to create a PIC32 microcontroller driven stereoscopic 3D view that responds interactively to the accelerometer sensor's tilt input. The code was written using MikroC Pro for PIC32 and VisualTFT.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Mikromedia VR Head Tilt Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Mikromedia VR Head Tilt Demo" changes.

Do you want to report abuse regarding "Mikromedia VR Head Tilt Demo".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Two Mikromedia Displays in a Google Cardboard

Two Mikromedia Displays in a Google Cardboard

This is a screenshot of the two Mikromedia PIC32 displays mounted in a Google Cardboard head mounted display

View full image
Accelerometer Sensing

Accelerometer Sensing

The firmware reads the Mikromedia onboard accelerometer and then drives the display of a left or right rendered stereoscopic MikroE logo. As you tip your head up and down the logo will rotate in front of you. Click the View Full image link below to watch

View full image

Installation

  1. Install Firmware on a pair of Mikromedia PIC32 boards: Flash the left display firmware file tilt_left.hex to the left mounted Mikromedia, and the right display firmware file tilt_right.hex to the right mounted Mikromedia.
  2. Copy the tilt_res.RES resource files to the root folder of the MicroSD cards in the Mikromedia dev boards.
  3. Power up both of the Mikromedia boards and place them in the Google Cardboard display so they are aligned next to each other, centered at the left and right eye cardboard divider.
  4. Close up the Google Cardboard and start enjoying the PIC32 MCU powered VR experience. The Mikromedia board's accelerometer measures the forward tilt angle as you tip your head. Try looking down towards your feet and up to the sky to watch the iconic MikroE logo move in stereoscopic 3D.

Hardware Required

 

Two MikroMMB_for_PIC32_hw_rev_1.10
http://www.mikroe.com/mikromedia/pic32/

 

Google Cardboard Head Mounted Display
http://www.google.com/get/cardboard/    

 

ALSO FROM THIS AUTHOR

mikroBirthday

5

Celebrate a birthday by blowing out a virtual candle. This example was created in celebration of MikroElektronika's 10th Birthday! You get to blow out the candle on a cupcake by tapping the touch screen on a mikromedia dsPIC 33 board. After two seconds the candle lights itself up again and you can repeat the process.

[Learn More]

Snowburst Game

0

Tap to the screen to melt the falling snowflakes before you get snowed in. If you miss a snow flake the snowbank gets higher. Every 500 points the snowbank starts to melt a bit. You can play with two fingers but be sure to tap only one snowflake at a time. If you tap the status bar at the bottom of the screen you can mute the background music.

[Learn More]

mikroMMB PIC32 3D Accelerometer Demo

5

This firmware is a 3D demo for the accelerometer built into the mikromedia PIC32 board from MikroElektronika. The numbers onscreen are the tilt in degrees. The 3D axis view compass shows the orientation of the X, Y, and Z axes. The red line is the X axis, the green line is for the Y axis, and the blue line is the Z axis.

[Learn More]