In an earlier article, we designed the Smartwatch with IndusBoard COIN that shows us the time and we also added a few more functions to it.
Moving forward, we will design the dashboard and incorporate movement tracking into the watch. This feature will assist in tracking the movements of kids, pets, and elderly individuals, along with monitoring their surroundings.
We will develop a smart IoT dashboard utilizing IndusBoard Coin’s built-in sensor data to track movement, the direction of facing, motion, surrounding temperature, and other relevant data.
Bill of Materials
Components | Description | Quantity | Price |
IndusBoard | Dev Board | 1 | 1500 |
USB Type C | Adapter | 1 | 100 |
Round Touch Display | GC9A01 Driver And CST816S Capacitive Touch Driver | 1 | 1000 |
The Smartwatch Code
In the code, the initial step is to configure the SSID and password to connect with our WiFi network. Following this, we’ll implement logic to obtain the direction using the movement in the magnetic field relative to the Earth’s magnetic field. Subsequently, we’ll determine the angle from the north direction and send it to the web server.
Next, we’ll create the logic to detect the movement and falls of pets, kids, patients, and elderly individuals using acceleration data. Here, we’ll monitor and compare the current acceleration with the previous one. If the acceleration data fluctuates at a very high rate, we’ll detect motion or falls based on this rate.
IoT Smartwatch – Circuit Connection
Testing the IoT Smartwatch
Now, power the watch with a 3.3V battery and wait until the watch is connected to the WiFi network. Once connected, search for the IP address on your phone or laptop in a web browser. You’ll be directed to a webpage displaying data such as acceleration, magnetometer readings, motion detection status, temperature, direction, angle, and more.
Other IndusBoard Coin-based Projects
- Touch Switch Board
- IndusBoard OTA Programming
- Interfacing OLED Display with IndusBoard
- Smallest Pulse Oximeter
- RFID Hacking Cloning RFID Tags