Tuesday, January 31, 2017

It Works! and Voltage Regulation

     Using the diagram of the teensy's pin layout I was able to correctly connect the accelerometer and now it works. To test and perfect its accuracy I want to be able to put it on my wrist and walk with it. This was hard to do because the teensy was getting power from my laptop so I needed a way to power the teensy with a 9V battery. The teensy takes 5V so plugging in a 9V battery would fry it. So I used this guide to make a regulator. Its input is 9V and its output is 5V.  After making sure the regulator was outputting 5V with a voltmeter, I plugged into the teensy and everything seems to be working.
     I also found a smaller display. It should connect the same way as the current display but I am sure it will not be as easy as switching them out.


     For next week I will test the pedometer. I'll try to condense it as much as possible by using a smaller breadboard and shorter wires then secure it to my wrist.

Voltage Regulator 
9V battery powering the pedometer

Tuesday, January 24, 2017

Getting to Know the Teensy 2.0

     Teensy is a USB microcontroller similar to the Arduino Uno. It is smaller than an Arduino Uno which is why I am using it. It uses the same software and code as the Arduino. The pin layouts are different which means I have to convert my Arduino Uno codes for it to work on the Teensy which is cause my some difficulties. I got the display to work but have not gotten the accelerometer to work yet. The accelerometer has 7 pins as opposed to the display's 3. I need to go through my Arduino code and match up the output pins. Also wiring the accelerometer will be different than on the Arduino. On the Arduino, the power, ground and digital pins were all right next to each other making it so I could just plug in the accelerometer. With the Teensy, the power, ground and digital pins are separated so I will need to use wires to connect them.

     For next week I will have a working pedometer. I will also look for a smaller display and start thinking about how I will attach this to the Enable arm.

Teensy 2.0
Teensy 2.0 with a Display

Wednesday, January 18, 2017

Advance Lab Summary

My plan is to design and build new accessories that can add functionalities to existing e-NABLE designs. I am going to start by building a pedometer consisting of an accelerometer, a simple display and a battery. I will use a CAD software to add my pedometer to an existing e-NABLE arm. I can then share the finished design with others in the e-NABLE community. I hope this projects inspires other people to design and build their own accessories so to improve the experience for the recipient.