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 |
No comments:
Post a Comment