Tested on Arduino NANO 33 IoT, ESP32.
This project contains Python and C++ code that allows you to read data from your phone's sensors (accelerometer, gyroscope, magnetometer, pressure, etc.) using Android apps such as:
The microcontroller sends information to the computer to start monitoring the sensor data, and then the computer notifies the microcontroller when the sensor exceeds a set threshold sensorTreshold
.
- The computer, microcontroller and phone should be connected to the same WiFi network.
- You can find your computer IP address by running
ipconfig
in Command Prompt.