r/ArduinoHelp • • 10h 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

13 comments sorted by

3

u/SeaFaringPig 9h 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 8h 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 8h ago

But thank you!!

3

u/phirzcolru 9h 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 8h 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 8h ago

Thank you so much!!

2

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

Thank you! We'll consider that ^

1

u/Upstairs_Brain_2576 6h 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/Rayzwave 2h 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.

1

u/excelblue 1h 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

1

u/gm310509 57m 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?

0

u/[deleted] 10h ago

[deleted] โ€” view deleted comment

1

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