After making sure you are connected to the internet and Adafruit IO on your TFT display, throw a few air punches to trigger the collision detection.

If you are not able to activate the collision detection, try lowering the threshold in the file shown below in the code:

threshold = 25 # set threshold value here

When a punch is thrown, and collision(s) are detected, you should see the accelerometer data along with the battery percentage shown on the TFT display.

After receiving confirmation that you are connected to Adafruit IO, you should see new data points saved and added to a line graph on your feed.

Be sure to customize this project however you'd like! 

This guide was first published on Feb 14, 2023. It was last updated on Apr 12, 2024.

This page (Use) was last updated on Mar 08, 2024.

Text editor powered by tinymce.