TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139559 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 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: 303 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

Andrew Hazelden's Mikromedia Stereo3D Viewer

0

This is a simple example that shows a stereo image on a pair of mikromedia PIC32 boards. If you tap the displays you can switch between parallel vs crosseyed stereo views. The included stereo 3D image is of a carved piece of scrimshaw.

[Learn More]

Midnight Blue Color Scheme for mikroC Pro

0

The Midnight Blue color scheme is used to customize the syntax highlighting in mikroC Pro. I created this color scheme to make the mikroC programming experience even better. The scheme is designed to work with all of the MikroElektronika MikroC Pro compilers.

[Learn More]

Cozy Fire Example for the Mikromedia Board

5

The Cozy Fire example creates an animated fireplace for the both Mikromedia PIC32 and dsPIC33 boards. The Cozy Fire example was created to show how the VisualTFT resource collection feature can be used to create animated sprites. The code was written using VisualTFT and MikroC Pro.

[Learn More]