r/ArduinoHelp • u/Sea-Class2401 • 3d ago
NEED HELP โผ๏ธ๐โโ๏ธ๐โโ๏ธ๐ฅน
Hello! I am a Grade 12 STEM-Allied Health student. I am reaching out for some guidance/help on behalf of our research group leader regarding our scaled down prototype: an Low-Cost Arduino-based Patient Bed-Exit Monitoring and Alert System! ๐โโ๏ธ For our research project ^
We are specifically looking for advice; please note that we do not have a budget to pay anyone for their assistance. Thank you! ๐โโ๏ธ
Hypothetically, if our setup consists of:
- Arduino Uno
- HX711 sensors
- 4 load cells (bar-type) in a Wheatstone bridge configurationโplaced under the bed to detect when a patient exitsโ
a buzzer, an LED, and an ESP32 Wi-Fi/Bluetooth module
What kind of power source should we use, or what would be the most suitable power source for a prototype with this configuration?
Also, do you have any tips regarding the wiring and coding for beginners? Since we are in the Allied Health strand, we donโt really have any prior knowledge about this! ๐ฅน๐ฅน๐โโ๏ธ๐โโ๏ธ
(Our entire Grade 12 batch was assigned an Arduino-based developmental research project, which is why weโre in this situation! ๐)
2
u/imseakin 3d ago
Look up the Ralph S Bacon channel on YouTube. EXCELLENT tutorials on Arduino, ESP32 and Load Cells (he made a coffee mug scale to remind him when to refill his mug).
Take your time.
Get ONE part of your project working then move on to the next.
Then get all the successful sub-parts working together.
If you like, go to:
Www.hausofpayne.weebly.com/Arduino to see my projects, including Arduino, ESP32 and ATTiny85 microcontrollers.
If you scroll down past the projects youโll see my Introduction to Arduino course that you can download.
Other great resources:
The DroneBot Workshop - great website and YouTube channel with lots of tutorials and projects.
Random Nerd Tutorials website is Fantastic. Lots of great tutorials.
Good luck with your project!
1
2
u/Odd-Jello5577 3d ago
Use a camera with motion sensing. Pixel counting frame overlooking the bed. Far easier setup. They have cameras for automation that fit this application.
1
2
u/Upstairs_Brain_2576 3d ago
Does your group have a plan or idea of what the bed will look like? What scale are you going with? Are there guidelines or requirement outlines for the project (or maybe a checklist)? What's the deadline for the project?
Do you have the parts already?
You can google some basic electronics on the YouTube. There are tons of tutorials for that stuff, and free PDFs. Or even in this chat if you have a basic idea of components, make a diagram of the components and then people can help connect to dots.
This will be a great experience for your group, especially if you work as a team.
Maybe a tip, you may already know this, but if you start with the "big picture" and work your way to the finer details, in sections, it's easier for organization. As some have mentioned in this chat, get one thing working, then move to the next.
Also, as others mentioned, photo detection or some kind of IR sensor, in lieu of the bar sensors would probably be better. But, that also depends on your design.
1
u/Sea-Class2401 3d ago
Thank you so much! To answer some of the questions you've asked, we've already started planning how the bed will look likeโas for the scale, we're still working on it as well! And for the guidelines, there were a lot mostly for the actual research but for the development they kind of just left us to figure it out all on our own which is why we're definitely struggling as we have no prior knowledge on this at allโand they didn't even provide proper lessons on it which is madly infuriating ๐
2
u/Upstairs_Brain_2576 3d ago
Woof. Sounds like an empty handed project they gave you. "Here's the product, make it".
Welp, thats good for the imagination at least! If its scaled down as a model (assuming thats what you meant for scaling), then that makes it way easier. Most likely be able to keep the system voltage at 5 volts, instead of needing 120/240 volts for a plug in bed supply.
Sounds like the group is off to a good start, just need guidance on electronics side. Maybe have a quick outline of requirements and diagrams to visualize whats needed. That way you get figure power requirements and what sensors with work. Maybe a backup power system as a fail safe. There are some pretty sweet arduino electronics kits on amazon for cheap that would help the cause. Good luck! Keep us posted. Feel free to reach out with questions.
1
2
u/gm310509 3d ago
Also, do you have any tips regarding the wiring and coding for beginners?
My advice to you would be to learn some of the basics first. It will answer many of your questions - including what you are proposing to do.
You can use the equipment in the starter kit to simulate what you are planning to do and get it working. then if you are comfortable with it add in the load sensors. In the meantime if you get a starter kit with a buzzer, you can learn how to use that along with the LEDs that it will also include. You can use a button to simulate activating the alarm.
You also mentioned WiFi - but to do what? You will need to provide some code that will communicate with something somewhere else - e.g. a web server or an Message Queue or something.
As for power, you could probably just power it from the USB port on the Arduino/ESP32.
Our entire Grade 12 batch was assigned an Arduino-based developmental research project, which is why weโre in this situation!
Did they not provide you with any lessons on how to program it and wire things up?
2
u/Sea-Class2401 3d ago
For the latter question, they did not provide any lessons regarding the programming at all which is very infuriating because we have to result to asking either people here in other socmed platforms or AI ๐๐ข But thank you so much for taking the time to reply, we appreciate it a lot! ๐โโ๏ธ
1
2
u/AncientDamage7674 3d ago
What about a sensor mat? They're used in hospitals & dementia care units so they work & aren't too difficult to make. You can literally use any kind of firm mat eg shower slip mat, stick them to the bottom. You can use a piezo/ led or something else for an alarm & a button to turn it off. Wiring is basic so you really don't need help with that but power is easy. Run it to a wall adapter.
1
2
u/Rayzwave 3d ago
How many people will work on the project?
Sketch out 2 or 3 project ideas. Draw system level block diagrams with descriptions of each block. Write down pros and cons of each idea. Brainstorm as a team in a completely open minded fashion. Document your brainstorming session write down all comments and ideas even the most ridiculous ones. Ask lots of questions and research fir answers.
Only move forward with an idea that meets your high level requirements specification for the project. Simplify all the requirements so that the design scope becomes obvious.
Donโt rush the design preparation stage that way you give yourself the best chance of success but be realistic with your timescales.
2
u/excelblue 3d ago
Use one of those AC/DC power adapters or cell phone charger plugged into the bed. No plug? You can get away with a coin cell battery
0
3d ago
[deleted]
1
u/Sea-Class2401 3d ago edited 3d ago
I apologize if the title of this post offended you, but that wasn't my intention at all. I also used all caps for the purpose of emphasizing how desperate I am because this project is a major task in helping us graduate, that's all, thank you anyway.
3
u/SeaFaringPig 3d ago
You should be using the bed. It should not be separate. The bed should be moveable by unplugging a single plug. If not, it should be a wall wart style. Not a separate cord and supply. If potential interference is an issue due to small switch mode supplies, then a mounting bracket or assembly that holds all the cords, unit, and supply will be necessary. If this is patient care then simplicity and safety is your number one concern.