Tuesday, February 14, 2017
Code Troubles
Now that the pedometer is small enough to fit on my wrist I've been able to test it and it's not really working. Although the Arduino and Teensy are similar there are differences when it comes to coding. My code works for Arduino but not Teensy. So this week I've been learning more about the Teensy and how to code with it and trying to get the code to work. It's taken longer than I thought it would but hopefully, I'll have it done over spring break.
Tuesday, February 7, 2017
New Display
This week the display I had ordered came in the mail. The guide for the display was written for Arduinos not the Teensy. I got it working on an Arduino easily but the Teensy was as easy. After some searching I found the correct pins I had to use and the display works like a charm. The whole device is now small enough that I can jury-rig it to my arm to start testing it. I do not think the accelerometer is currently working. This could be because of the code or the way it is plugged into the Teensy. For next week I hope to troubleshoot the accelerometer and have a working pedometer. I also want to look into using a different battery something that is smaller than a 9V, since the Teensy only needs 5V (or possibly 3V).
![]() |
| Pedometer with the new display |
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.
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.
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.
Subscribe to:
Posts (Atom)




