r/ArduinoHelp • • 19h 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! ๐Ÿ’”)

1 Upvotes

19 comments sorted by

3

u/SeaFaringPig 18h 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.

1

u/Sea-Class2401 17h ago

Oh yes, I also forgot to mention this project will be a scaled down prototype as we're gonna be evaluating if our specific setup is good or naur

1

u/Sea-Class2401 17h ago

But thank you!!

3

u/phirzcolru 18h ago

also washable, id switch the load cells for presence detectors. also the 4 cells will not always trigger, ie people with no or lesser lower torso weight. good luck

2

u/imseakin 17h 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

u/Sea-Class2401 17h ago

Thank you so much!!

2

u/Odd-Jello5577 16h 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

u/Sea-Class2401 16h ago

Thank you! We'll consider that ^

2

u/Upstairs_Brain_2576 15h 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 6h 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 4h 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

u/Sea-Class2401 4h ago

Thank you so much!! ๐Ÿ™๐Ÿ™

2

u/gm310509 10h 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?

1

u/Sea-Class2401 6h 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! ๐Ÿ™‡โ€โ™‚๏ธ

2

u/AncientDamage7674 8h 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

u/Sea-Class2401 6h ago

Thank you so much!! We'll consider that!

2

u/Rayzwave 12h 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 10h 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

u/[deleted] 19h ago

[deleted] โ€” view deleted comment

1

u/Sea-Class2401 17h ago edited 17h 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.