Project name: MedButton_2.0
Semester project of Principles of Computer Organization course
Project aim:
In the battlefield, nearly one fifth of combatants die because of abscence of medical help. Two main causes of death are bleeding (is lethal for half of the wounded soldiers) and pneumothorax. Both these causes could be eliminated or at least minimized if there was a way to provide in-time help to soldiers in the field. Medical Button 2.0 is the second version of MedButton project - a device which allows combat medics to see where they are needed on the battlefield and help the wounded in a more secure and faster way.
General requirements
Key requirements to the device are as follows:
- secure data transfer
- minor power consumption of the device
- a fuse (does not allow a soldier to activate the device accidentally)
- secure wounded soldier identification (to minimize the call of medics by enemies)
- convenient device location
Project Architecture:

First Prototype


What's inside

Modules:
Currently, MedButton is based on LoRaWAN Onethinx Core Module
microcontroller:

Data is gathered with the help of Ublox NEO-6M GPS module:

A message, composed of the processed data and timestamps, is transferred to an operator PC using LoRaWAN Onethinx Core Module. In case of any interruptions in a communication line, we are using also GSM/GPRS SIM900A:


If, after switching to GSM module, the transfer is still unsuccessful, the device tries to send the message via LoRa again. The switching continues until the message is sent to the medic's PC.
As a button, we use Joystick for Arduino:

Working progress:
- Connected GPS and receive data in raw NMEA (National Marine Electronics Association) format;
- Extracting GPGGA sentences: latitude / longitude and time;
- Parsing data in appropriate format;
- Implemented AES encryption/decryption of the message transmitted via GPRS;
- Implemented the algorithms of waking up GPRS and LoRa tasks accorrding to their priority using Free RTOS;
- Connected LoRa Onethink module to transfer data with it.
Future plans
Future developments can be done is several main spheres:
Security & reliability
- Add a security cap to the button's box to prevent accidental activation + replace joystick with comfortable and safe button;
- Fix all movable modules and wires inside the box to prevent disassembly while the soldier is moving.
Power supply
To power GPRS with 5V, we use a separate PSoC 6 MCU. Apparently, it needs to be replaced with another source of power (e.g. a battery).
Interface
- Write a convenient application to decrypt all incoming messages on the medics' PC (those coming from LoRa and from GPRS).
New funcitonality & features
- Connect temperature and/or pulse sensor(s) to transfer additional data about a soldier's condition.
Future development
- Perform first tests on the poligons;
- Think of collaboration with existing initiatives for combat support in Ukraine.
Repository structure
The project's main code for programming and debugging can be found in the firmware/MedButton folder.
Contributors:
- Bohdan Yaremkiv
- Maksym Maystrenko
- Oleg Farenyuk
- Anna Korabliova
- Diana Hromyak
- Natalia Romanyshyn
- Alina Muliak
- Oleksandra Stasiuk
- Vira Saliieva