LED

The final code for controlling the LED is complete. Adjustments will be made only in Deliverable 6.

video_notion.mp4

blinkerV3.py

Crank Arm Bluetooth configuration

Starting the Bluetooth code. A simple algorithm was created for the Arduino as shown below:

main.cpp

The Raspberry Pi Bluetooth algorithm is still under development due to difficulties understanding the asyncio library. However, we have already completed a test code that successfully sends JSON data from the Arduino Nano to the Raspberry Pi.

bluetooth.py

bluetooth.py

Re-installation of strain gauge

Two sensors broke during installation or during shipping which required swapping them with new units.

Testing of amp-op circuit on the protoboard

As mentioned previously two strain gauges were problematic in the sense that they did not work correctly. This was found out during testing with the amp-op circuit which wielded unsavory results. What we found is that background noise is not substantial if there is no physical movement in the cables, however, when a cable moves we get up to 0.3 volts of variation, which is similar to what should be measured when a 10kg force is applied to the pedals (provided the crank flex is what is expected from similar metal beams). While this is not a great result, we expect that a universal board circuit using shielded cables should have considerably less noise

Electronic schematics and PCB design

The electronic schematics of the Arduino Nano shield and Raspberry Pi shield with recharging modules are done along with the PCB design’s 3D view, Gerber files and photoliths.

Electronic Design