28809033_RESEARCH_NOTEBOOK

Week 5

Raspberry PI

Raspberry PI Model 3 is a very intersting device for a few reasons. The device features inbuilt Bluetooth and Wi-Fi modules. The PI has Bluetooth Low Energy capability that can be used in the project.

alt text

The indended usage of the PI is as follows:

alt text

The Bluetooth will be transmitting the touch sensor pressed. Each index on the touch sensor will map to a point on the 3D Model. The phone can decode the touch sensor pressed and will run an apprioprate action mapped to the touch on the model.

OS and Setup

Raspberry PI has an offical OS (Raspbian). The OS was installed by running the following command:

sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn conv=sync

The OS was written to the SD card and plugged in. The PI booted up alright but SSH connection failed initally and there way no way to connect to the PI.

After looking around, an empty file called ‘ssh’ had to be added to the root directory of the SD card to enable SSH. After that, the following command was used to connect to PI.

ssh pi@__ip__
password: raspberry

After connecting to the PI, the following command scans for the nearby BLE (Bluetooth Low Energy) devices.

sudo hcitool lescan

Transmitting Data

After a simple exploration there are a few options to transmit the data to the phone.

The above options will be explored in further detail next week.