Week 3: Potentiometers, Accelerometers and Bluetooth Update

agcoprag 2015-2016 IoToys

These past couple weeks, my team has been working on getting the potentiometers, to work with Unity and also enabling the accelerometer and bluetooth to function. In terms of the potentiometer, two team members have gotten one potentiometer to work in Unity. They made this possible by interacting with codes in Arduino where it would convert the analog changes of the variable resistor into digital integers for the computer to read. Once the numbers are collected they are read into a program of C Sharp code that is connected to Unity. It allows an object, such as a cube to be altered in the game interphase. The team members accomplished the scale of the cube to be altered (increase and decrease) from cube to rectangle when the potentiometer is rotated,. There have been some roadblocks that have come in the way of progressing, such as finding a way to integrate multiple potentiometers to work at the same time, for example the cube to increase in size in all x, y, and z planes.

The other two team members have completed soldering the pins to the accelerometer and the bluetooth chip. They have successfully connected the bluetooth in the computer and they are now trying to integrate it with the Arduino Uno. They were also able to obtain digital values from the accelerometer when it has changed its position. The next steps is to get both the accelerometer and the bluetooth to work together with Unity and then integrate the potentiometers also. We are planning to finish these obstacles by the middle half of this quarter.