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