/images/avatar_square.jpg

Getting TinyOS to work on Linux using TelosB

Introduction This guide is mainly written for myself to remember it and as a help for CpE 664 students at WVU. This guide is based on TinyOS - Automatic Installation and Eric Decker’s installation guide. Installation First download Virtual Box (Mac/Win), Parallels (Mac) or VMware Fusion (Mac) and install Ubuntu or any other Debian based Linux distro. Parallels has an automatic download of Ubuntu, so I chose that. After the installation is finished open the Terminal and download tinyos.

3D Printed RGB Lamp

It is way overdue for me to write a little bit about this project. After getting access to a couple of 3D printers I wanted make something with the MicroView Arduino. I went on Thingiverse and downloaded the stl for a lamp (link) and printed it using a Makerbot (the shade) and an ultimaker 2 (the stand/rest of the lamp). The result was pretty good. The setup is pretty simple, I used 3 potentiometers to control the LED using analog in and then each potentiomater corresponds to a color in the RGB LED.

A Day with the Myo

I’ve been playing around with the Myo armband from Thalmic Labs for some time, so I decided to use it for a day to see how it was with continued use. Morning After a run I took it on around 9am and started to use it for music control. The controls works very nice when just sitting at your desk, but as soon as you do stuff like cooking the controls really mess up.

Playing with the Point Cloud Library

Introduction Point Cloud Library, often abbreviated PCL, is an open source library for converting point clouds into meshes. I’ve been working with this library for the past six months in order to reconstruct structures based on drone footage. It hasn’t been the easiest thing to setup PCL on my MacBook but when I got it working it has been fantastic. Here is a small introduction to installing PCL and making your first program.

Expanding the Simulink patch

In the last post we used Unity to send a `1` to Simulink. In Simulink this was received as the number 49. In this post we are going to expand the Simulink patch to make the number (49) more useful in our dataset and prepare for the use of EEG to measure P300. We are going to use g.tec’s `gBSanalyze` to analyze P300 data and to do that we need a dataset.

Simulink

Introduction As I’ve been starting to work with EEG/BCI and especially P300, I’ve gone back to using trusty old MATLAB for programming. Previously I’ve only been using matlab for calculation and simple statistics but now I’m starting to use it for Simulink. So this will be an intro to Simulink and a guide in how to use Simulink with Unity. Implementation First let’s create a new Simulink window in Matlab and add a few objects.