/PhoneSensors_PC_MCU

Read data from the phone's sensors, display them and communicate with the microcontroller via Wi-Fi

Primary LanguagePython

Read data from the phone's sensors, display them and communicate with the microcontroller

github.com/jazz-2


Demonstration of sensor data reading

phoneSensors.gif

Tested on Arduino NANO 33 IoT, ESP32.


Description

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.

Notes

  • 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.