Facebook Instagram

Author: halj

Playing MP3 files with Arduino UNO

The Sparkfun mp3 player shield, is the AIR LAB default infrastructure for enabling the Arduino UNO's to play mp3 files. This guide is focusing on the exact steps you need to take, to make it work with our hardware, and the ressources we have tested are working together. This guide assumes a basic knowledge of Arduino (how to upload and run a program etc.)  DISCLAIMER: Working with mp3 files on an Arduino is often a bit of a struggle, which is why we always suggest to use something more suitable for playing sound. Our goto platform for this is a laptop running Processing code, if…

Read more

Reading RFID tags in Processing

Reading RFID tags in Processing with the OLIMEX MOD-RFID125 scanner This example shows how to read RFID tags from the Processing coding environment, using the OLIMEX MOD-RFID125 scanner. The scanner emulates a USB keyboard, making this a very easy thing get started with. Needed to run this example 1 x OLIMEX MOD-RFID125 scanner (link) A laptop with Processing installed (processing.org/download/) 4 x RFID (125 kHz) cards/tags NB: One card/tag is enough to make it work, but you wont be able to see the full code work Trying it out Download and unzip the Processing example code MOD_RFID125_reader from the OLIMEX_RFID_scanner folder in our Tutorials repository.…

Read more

Orientation and position tracking

This tutorial shows a way of doing position and orientation tracking of a person using a Kinect sensor (IR webcam) and three IR LEDs. The code example used here was developed for an interactive sound installation with the need to track a personfrom above, getting both position and orientation. Normally getting the position of a person is pretty straight forward using a Kinect, but also getting the orientation of the person is a bit more tricky. In order to do this we developed the code resources included in this tutorial, and a headgear that could be mounted on a set of over-ear headphones. The headgear…

Read more

Scheduling Processing sketches on Raspberry PI

In this short tutorial you can see how we schedule the running of Processing sketches (code) on a Raspberry Pi. In part 1 you can see how to set up a processing sketch to run on a schedule using CRON scheduling. In part 2 you can see how to set it up so the sketch runs when the Pi boots up, and make scheduled reboots using LXSessions and CRON. What you need A Raspberry PI with Raspberry Pi OS, or Rasbian. Basic knowledge of Raspberry PI and Processing. The Processing sketch For this tutorial we are using a simple Processing sketch that writes three random…

Read more

Unity development for Oculus Quest & Go

Utilizing Unity with the Oculus Quest 2 allows you to create your own VR experience for your project. Similarly, you can use the Quest 3 with Unity to develop AR experiences, unlocking even more possibilities for your projects. You will need experience with Unity to utilize this. Here are links to the guides we currently find most useful for setting up the development environments for Oculus Quest & Oculus Go. NB: We try to keep these updated, as this frequently changes, so please let us know if you encounter any problems with these links or the guides they reference. Setting up Unity for Oculus Quest…

Read more

Web-based content display 

In this tutorial we will show how to make a content display running a webpage with dynamic content, getting updated, at a given interval. We assume you already have a website you wish to show and gives all the instructions on how to set up a Raspberry Pi to show the website, and refresh the site, to account for dynamic content.   The idea is of course that you, with a bit of web skills, can design your own content page (webpage), pulling in dynamic content from various sources and showing an always updated view of this on a display. Hopefully you will find interesting use cases for this.   Some background on our use case (optional read) We used it to solve the boring problem of having a display…

Read more