This GIGA R1 WiFi-powered wearable detects falls utilizing a Transformer mannequin
April twenty eighth, 2023
—![](https://blog.arduino.cc/wp-content/uploads/2023/04/spaces-EJB5OaeYjM5VSFEKLEFz-uploads-git-blob-83296a1ac4e1309efb3aeb967921069335bbd7df-cover-1.jpeg)
For these aged 65 and over, falls might be some of the severe well being considerations they face both because of decrease mobility or reducing general coordination. Recognizing this situation, Naveen Kumar got down to produce a wearable fall-detecting system that goals to extend the velocity at which this happens by using a Transformer-based mannequin somewhat than a extra conventional recurrent neural community (RNN) mannequin.
As a result of this mission wanted to be each quick and eat solely small quantities of present, Kumar went with the brand new Arduino GIGA R1 WiFi because of its STM32H74XI dual-core Arm CPU, onboard WiFi/Bluetooth®, and skill to interface with all kinds of sensors. After connecting an ADXL345 three-axis accelerometer, he realized that accumulating many hours of samples by hand could be far too time consuming, so as an alternative, he downloaded the SisFall dataset, ran a Python script to parse the pattern information into an Edge Impulse-compatible format, after which uploaded the ensuing JSON information right into a new mission. As soon as accomplished, he used the API to separate every pattern into four-second segments after which used the Keras block edit characteristic to construct a reduced-sized Transformer mannequin.
![](https://blog.arduino.cc/wp-content/uploads/2023/04/spaces-EJB5OaeYjM5VSFEKLEFz-uploads-git-blob-c4a7c2202b09db3b25907a063470a757b57ae935-training_results_quantized-1024x782.png)
The consequence after coaching was a 202KB giant mannequin that would precisely decide if a fall occurred 96% of the time. Deployment was then so simple as utilizing the Arduino library characteristic inside a sketch to run an inference and show the consequence through an LED, although future iterations may leverage the GIGA R1 WiFi’s connectivity to ship out alert notifications if an accident is detected. Extra info might be discovered right here in Kumar’s write-up.
You’ll be able to observe any responses to this entry via the RSS 2.0 feed.
You’ll be able to go away a response, or trackback from your individual web site.