Arduino hardware and programming
Budget: $15 – $25 CAD
Sleep Apnea Monitor
I have developed a mask/monitor, using an Arduino Uno. When I'm sleeping and I stop breathing, a buzzer alerts me to start breathing again.
Due to power requirements and the weight of the Arduino, only the wind sensor and buzzer are mounted on the mask. These are connected by five-foot wires to the Arduino, which in turn is connected to a 110-volt outlet.
The goal of this project is to eliminate the wires and create a wearable mask with all components on the mask. This means reducing the weight, powering it with a rechargeable battery and transferring data wirelessly.
The Current Approach
I have a wind -sensor mounted on a mask. When the user stops breathing, the number of minutes they've been breathing properly, when they stopped, and how long they stopped is recorded on a micro-SD. This SD card is later physically transferred and read on a PC.
Decisions/Advice.
To reduce weight and power and to utilize Bluetooth I assume we should use something like an Arduino Nano 33 BLE.
What is the best way to provide 5 volts for the wind sensor and 3.3 volts for the Nano.
Is a micro-SD the best way to record data?
I would like a program to transfer data wirelessly to a smartphone (or PC).
Smartphone (or PC) program to send back settings to the monitor.
1. Microphone on or off.
2. Buzzer on or off
3. Vibrator on or off
Inputs
- Wind sensor – Breath wind speed.
- Microphone - Used to sense snoring.
- Push button or switch to start and stop the monitor
Outputs
- Buzzer.
- Vibrator.
What I need
Advice on which Arduino is best suited. .
Since I'll still need to be able to tweak the program, I'd prefer the Arduino IDE.
What battery and charger will it require?
If an SD card is not the best storage solution, I need you to write a program for whatever you recommend.
I need code to wirelessly transfer the recorded data.
Ideally this data would be sent to a smartphone. If there isn't an easy (inexpensive) way to transfer to a smartphone, for now we could interface with a PC/Laptop.
I can order whatever hardware you recommend and do the wiring.
First Phase
1. Determine what hardware we need i.e., Arduino and battery configuration.
2. How will we store the data if not a micro-SD card.
3. Need a program to transfer data to a smartphone or PC
4. Display the data in text format.
5. Need smartphone (or PC) program to toggle the microphone, buzzer and vibrator. I assume this would be stored in EEPROM.
6. Do we need a separate battery powered clock? If not, I need the programming to get the time wirelessly from a PC or Smartphone.
In Conclusion
I have already done programming to create a working version and if I spent enough time, I could add the additional features I'm looking for. What I'm looking for is a faster implementation, someone that is familiar with Arduino hardware and may already have plug-and-play code for programs like wirelessly transferring data to a smartphone.
Please contact me if you feel you could help.
Thanks
Wayne Thomas
I have developed a mask/monitor, using an Arduino Uno. When I'm sleeping and I stop breathing, a buzzer alerts me to start breathing again.
Due to power requirements and the weight of the Arduino, only the wind sensor and buzzer are mounted on the mask. These are connected by five-foot wires to the Arduino, which in turn is connected to a 110-volt outlet.
The goal of this project is to eliminate the wires and create a wearable mask with all components on the mask. This means reducing the weight, powering it with a rechargeable battery and transferring data wirelessly.
The Current Approach
I have a wind -sensor mounted on a mask. When the user stops breathing, the number of minutes they've been breathing properly, when they stopped, and how long they stopped is recorded on a micro-SD. This SD card is later physically transferred and read on a PC.
Decisions/Advice.
To reduce weight and power and to utilize Bluetooth I assume we should use something like an Arduino Nano 33 BLE.
What is the best way to provide 5 volts for the wind sensor and 3.3 volts for the Nano.
Is a micro-SD the best way to record data?
I would like a program to transfer data wirelessly to a smartphone (or PC).
Smartphone (or PC) program to send back settings to the monitor.
1. Microphone on or off.
2. Buzzer on or off
3. Vibrator on or off
Inputs
- Wind sensor – Breath wind speed.
- Microphone - Used to sense snoring.
- Push button or switch to start and stop the monitor
Outputs
- Buzzer.
- Vibrator.
What I need
Advice on which Arduino is best suited. .
Since I'll still need to be able to tweak the program, I'd prefer the Arduino IDE.
What battery and charger will it require?
If an SD card is not the best storage solution, I need you to write a program for whatever you recommend.
I need code to wirelessly transfer the recorded data.
Ideally this data would be sent to a smartphone. If there isn't an easy (inexpensive) way to transfer to a smartphone, for now we could interface with a PC/Laptop.
I can order whatever hardware you recommend and do the wiring.
First Phase
1. Determine what hardware we need i.e., Arduino and battery configuration.
2. How will we store the data if not a micro-SD card.
3. Need a program to transfer data to a smartphone or PC
4. Display the data in text format.
5. Need smartphone (or PC) program to toggle the microphone, buzzer and vibrator. I assume this would be stored in EEPROM.
6. Do we need a separate battery powered clock? If not, I need the programming to get the time wirelessly from a PC or Smartphone.
In Conclusion
I have already done programming to create a working version and if I spent enough time, I could add the additional features I'm looking for. What I'm looking for is a faster implementation, someone that is familiar with Arduino hardware and may already have plug-and-play code for programs like wirelessly transferring data to a smartphone.
Please contact me if you feel you could help.
Thanks
Wayne Thomas