Wristband device for inducing dermal ulcers using a blood pressure pump.
The device induces dermal ulcers using a blood pressure pump and measures the applied force with a Force Sensing Resistor. Data could be send to a Firebase backend through WiFi.
The purpose of this device is to create dermal ulcers in a very initial state, allowing us to take meaningful pictures and using them as input for our machine learning algorithms.
- D1 mini ESP8266 wifi board
- .5 Inch Force Sensing Resistor (FSR)
- Blood pressure pump
- 3.7v Li-ion battery
- 10kΩ resistor
This project uses PlatformIO as a multi-platform build system. The embedded platform for this project is espressif8266
using an Arduino framework, as stated in the platformio.ini configuration file.
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
First, follow PlatformIO IDE installation guide for Atom or VSCode.
Then, follow PlatformIO quick start guide for setting up, building, cleaning, and uploading the project.
In the main loop we perform a calibration of the sensor reading. The calibration values were empirically estimated after many tests using the wristband device.
void loop() {
float rawPressure = constrain(990-analogRead(0), 0, 990);
//0.00263233
float realPressure = (0.00273233*rawPressure + 0.08200484)*735.5591210146755;
//Firebase.setFloat("currentPressureValue", realPressure);
Serial.println(rawPressure);
...
}