Make sure that R12 and R13 are populated.
R12 and R13 are 2.2K Ohm resistors for the I2C bus. This is needed for the accelerometer to work. We mistakenly had DNP (do not place) on the BoM (Bill of Materials) for R12 and R13.
It is possible that some badges were not reworked. Please email [email protected] if they are missing from your badge.
This photo shows what is will look like when R12 and R13 are missing:
Start the FTP server and connect to the SSID listed on the badge:
After the transfer completes, power cycle the badge by removing the batteries and reinserting.
Press the left application button (with the paintbrush and pencil icons) to enter the menu. accelerometer.py should then be listed under Available Apps menu. Press the down cursor until accelerometer.py is selected and then press the application button again.
The KX122-1037 Accelerometer datasheet describes the 3 different axis:
Here are examples of the X, Y and Z axis of the accelerometer for reference:
- Visit this gallery for more photos and screenshots
- Try Magic 8-Ball demo MicroPython app using FTP
- Try the Python REPL using this adapter board for FTDI cable
- Join this project on Hackaday.io if you are interested in participating in the developmen