Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Gabriel Alejandro Giraldo Santiago
Published © LGPL

Intelligent Biomedical Monitor with MAX32620FTHR

Design and build a portable biomedical monitor that allows obtaining a diagnosis in real-time and capable of determining possible diseases.

IntermediateFull instructions provided10 hours16,768

Things used in this project

Hardware components

Arduino Mini 05
Arduino Mini 05
×1
MAX32620FTHR
Maxim Integrated MAX32620FTHR
×1
Transistor LM35
×1
Heart Rate Sensor
×1
Peltier cell
×1
Ferrite Core Round Cable
Ferrite Core Round Cable
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Wire Cable - By the Foot
OpenBuilds Wire Cable - By the Foot
×1
HC-06 Bluetooth Module
×1

Software apps and online services

Fritzing
Arduino IDE
Arduino IDE
MIT App Inventor
MIT App Inventor

Hand tools and fabrication machines

Computer
Welder
Tools
Smartphone

Story

Read more

Schematics

Schematic MAX32620FTHR

Energy oscillator scheme

Obtained energy by peltier

Code

PROGRAMMING PLATE MAX32620FTHR

C/C++
#include <SoftwareSerial.h>

SoftwareSerial blue (TX, RX);   //Create bluetooth connection - TX TX to TX PIN and RxPIN to RX
char NOMBRE[21]  = "MONITOR MEDICAL"; // Maximum 20 character name
char BPS         = '4';     // 1=1200 , 2=2400, 3=4800, 4=9600, 5=19200, 6=38400, 7=57600, 8=115200
char PASS[5]    = "1651";   // PIN OR KEY of 4 numeric characters
float tempC;
int PulseSensorPurplePin = A2; //We define the entry in pin AIN2
int Signal;                // holds the incoming raw data. Signal value can range from 0-1024
int Threshold = 550;            // Determine which Signal to "count as a beat", and which to ingore
int tempPin = A1; // We define the entry in pin AIN1
int select = 3; // 
void setup()
{
 //Open serial port and set it to 9600 bps
 blue.begin(9600);
 blue.println("Conect");
 blue.println("WELCOME TO YOUR PERSONAL MEDICAL ASSISTANT");
}
void loop()
{
 if (blue.available() > 0) // If there is no serial script, it does not enter the cycle
 {
   // It saves in the variable "select" what is written in the serial port
   select = blue.read();
   //According to the case of what is written in the LabView will be the information that we see
   switch (select)
   {
     case 'a':    //If you write "a" you will send us the temperature of the LM35
        // Read the value from the sensor
       tempC = analogRead(tempPin);
       tempC = (tempC * 5.0 * 100) / 970;
       // Send the data to the serial port, formula created based on the maximum record obtained
       blue.println(tempC);
       blue.print(" °C");
       delay(1000);
       break;
     case 'b':    // If "b" is written, it will send us the heart rate
       Signal = analogRead(PulseSensorPurplePin);
       blue.println(Signal);
       blue.print(" RPM");                    // Send the Signal value to Serial Plotter.
       delay(1000);
       break;
     default:   //Typing "any other character" will send us an error
       blue.println("error");
       delay(1500); //Retardo de 0.5 segundos
   }
 }
}

Credits

Gabriel Alejandro Giraldo Santiago
13 projects • 86 followers
Seeed Ranger, AI and Computer Vision expert for key industries. Mentor and speaker on AI, startups, and no-code. Maker enthusiast.

Comments