|
Arduino Nano BLE 33 SenseArduino
|
x 1 | |
|
Raspberry Pi 3Raspberry
|
x 1 | |
|
Tp 4056 charger |
x 1 | |
|
3.7 v battery |
x 1 |
|
arduino IDEArduino
|
|
|
Autodesk Fusion 360Autodesk
|
Fall Detection client-server system with Machine Learning
Falls could be dangerous in any situation but for certain working scenarios, consequences are definitely worst, therefore came the idea of developing a Machine Learning fall detection/report system. Each worker has a small TinyML device in charge of detecting falls with accelerometer data and reporting to a server through Bluetooth. The server is a Raspberry Pi running a Python script that scans specific BT announcements, parse fall information and store it into a SQL Lite database for reports and alerts.
Client
Connect the battery to the Tp4056 and the Tp4056 to the Arduino Nano BLE 33 Sense.
Download the machine learning model
Install as a zip library into the Arduino IDE
Upload the client code to the Arduino
3d print .gcode files attached to this tutorial
Server
Download Raspberry Pi Imager from https://www.raspberrypi.com/software/
Burn the Image of Raspberry PI OS Lite – no desktop is required - to a microSD card
Insert the microSD to a Raspberry Pi 3 and completed the setup (entering user and password)
Run
$ sudo raspi-config
and enable SSH and enter WiFi Credentials.
Install requisites
$ sudo apt install bluetooth libbluetooth-dev $ sudo apt-get install python3-pip $ pip3 install pybluez $ sudo apt-get install libbluetooth-dev bluez bluez-hcidump libboost-python-dev libboost-thread-dev libglib2.0-dev $ sudo pip3 install gattlib $ sudo apt-get install bluetooth libbluetooth-dev $ sudo python3 -m pip install pybluez $ sudo pip3 install termcolor
Upload to the Raspby Python scripts
Run the database structure setup
$ sudo python3 databaseSetup.py
Run the scan script
$ sudo python3 scan6.py
Fall Detection client-server system with Machine Learning
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- Engineer Sep 29,2024
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Roni Bandini
- Swatch Retro Internet Time Clock with Xiao TFT Round Display Internet Time is a decimal time concept released in 1998 by the Swatch corporation. Instead of hours...
- Joule Thief Components:Ferrite torroid (You can make one with an old low consumption Lamp and 2 copper wires)1k ...
- Fall Detection client-server system with Machine Learning Falls could be dangerous in any situation but for certain working scenarios, consequences are defini...
- Bhopal 84, detect harmful gases with machine learning and Arduino Industries working with chemicals are always subject to leaks that could harm workers. Sometimes tho...
- Ibarrola, anti facial recognition servo glasses These are simple servo glasses designed to fool facial recognition software with manual and automati...
- Bitcoin ring with Attiny85 I’ve started to think about a project that could take advantage of DigiSpark board features (reduced...
- Dry Martini WiFi operated neon led sign English CC captions availableI like Dry Martinis. Maybe due to the cocktail glass design or to the f...
- Vespa Diorama ESP32 NTP clock I love Italian motorcycles. I have a Ducati, I’ve rided a Guzzi to travel around Europe and I even f...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
112 0 0 -
DIY Laser Power Meter with Arduino
162 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
156 0 2 -
-
A DIY Soldering Station Perfect for Learning (Floppy Soldering Station 3.0)
558 0 2