TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139254 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 301 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

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]

I Heart mikroC - Custom LCD Character Example

5

This is a source code example that shows how to create a custom LCD character in mikroC Pro for PIC.

[Learn More]

Andrew Hazelden's Mikromedia Gaming Shield Library

5

This is an input library for the MikroElektronika Mikromedia Gaming Shield. It is compatible with the Mikromedia dsPIC33 and PIC32 boards. The library is designed to get you started with the Gaming Shield and provides control over the 4 LEDs on the Gaming Shield and reads the inputs from the buttons.

[Learn More]