MY SCHOOL PROJECT: AUTOMATIC HAND SANITIZER DISPENSER

in #hive-1635212 years ago

I happen to be the group leader of ten people working on this project, so getting the materials and finishing it before the deadline would be simple. Having to build this project reinforced my learning and taught me a lot of new things.

B7E3DF1B-F08F-4EFB-9A94-B62DD0603FC8.jpeg

The truth is that not many people contributed to the project; they were only concerned with the money required to obtain the components. Many of my group members did not show up from the start of this assignment to the end.

F15ADB06-F444-4592-B86C-C5BB07267368.jpeg

The project is simple, but because it is something I don't do often, I had a lot of problems with the sensor and the battery. Initially, I attempted to use an IR Sensor for this project, but discovered that when exposed to light, the IR Sensor always turns HIGH, which was not what I desired. The sensor was supposed to turn HIGH only if there was an obstacle or an object in close proximity to it.

IMG_20230206_142557.jpg

0001927F-5ABD-4212-B95A-0D454EB64924.jpeg

AEE7841C-9332-4DE3-90B7-014E65EA5B73.jpeg

Using an IR Sensor meant writing fewer lines of code in my Arduino, which was why it was my first choice, and it was also less expensive than the Ultrasonic Sensor. I was using a 5v Submersive Pump, which cost about $8, to pump the liquid out. It seemed quite pricey, but because I was getting it locally, they raised the price.

Except for the light issue, the IR Sensor performed admirably, even better than the Ultrasonic Sensor. I went ahead and used the Ultrasonic sensor because a friend of mine who is more knowledgeable in this area advised me to.

The components and Items eventually used for this Project are:

  • Arduino Uno
  • Jumper Wires (Male and Female)
  • Pipe
  • 5v Submersive Pump
  • Relay Module
  • Container to hold the liquid

Below is the Block and Circuit Diagram for this project:

IMG-20230209-WA0001.jpg

IMG-20230209-WA0000.jpg

This diagram was made using the Fritzing Software...

Below is the Arduino Code used:


int trig = 3;
int echo = 4;
int relay = 8;
int a,distance;

void setup()
{
  Serial.begin(9600);
  pinMode(trig, OUTPUT);
  pinMode(relay, OUTPUT);
  pinMode(echo, INPUT);
}

void loop()
{
   digitalWrite(trig, LOW); 
  delayMicroseconds(5);
  digitalWrite(trig, HIGH); 
  delayMicroseconds(10);
  digitalWrite(trig, LOW);
  a = pulseIn(echo, HIGH); 
  distance= a*0.034/2;
  Serial.println(distance);
  if (distance <10)
  {
    digitalWrite(relay, HIGH);
    delay(3000);
    digitalWrite(relay, LOW);
    delay(3000);
    
    
  }
  else 
  {
    digitalWrite(relay,LOW);
  }
 
}

Yesterday was the submission of this project, and I face serious issues with powering the project. The 9-volt battery I got for the project was not really functioning well or was not enough to power the pump. I noticed that if I disconnected the pump from the battery, the whole circuit worked very well and the relay would trigger.

At some point, the pump worked, but when I called my lecturer to check out my project, the whole thing stopped working all of a sudden. I didn't bring extra batteries and didn't have the cash to get new ones. The lecturer told me to come finish up the project on Monday.

So I would have to build a battery pack that would be powerful enough to power the pump and Arduino. Hopefully, I will get to do that before next week so I can get full grades for this project.


WHO IS STARSTRINGS01


image.png
Designed by @ grisvisa

Starstrings01, also known as Giftedhands, attends the Federal University of Agriculture in Abeokuta to study Mechatronics Engineering. He is a lover of the hive, a guitarist from Nigeria, and a student.

His ambition on Hive is to be more than just an ordinary blogger; he wants to be someone with a purpose. That's why he started the newbies initiative @newbies-hive to help guide and support newbies. Please follow the @newbies-hive curation trail by clicking here.

He tries to juggle education with being active on the chain, but his love and passion for Hive keep him on track..


All images are mine except indicated otherwise
All gifs included are powered by Tenor


54TLbcUcnRm3sWQK3AJf6fuxkTxiKXRNCarffscTjF9JnBqLzj89NH5s1rKH2Cga4QvMPvvEcb4koTvuCHZXnviw8k7xAcqd9HsbFKjw6hj1Y72M87h86FHy9hno4Dmynf1K26XEe.png

IF YOU LOVE THIS POST, YOU CAN KINDLY SUPPORT IT WITH YOUR COMMENTS, REBLOG AND UPVOTE. IT WOULD BE MUCH APPRECIATED

54TLbcUcnRm3sWQK3AJf6fuxkTxiKXRNCarffscTjF9JnBqLzj89NH5s1rKH2Cga4QvMPvvEcb4koTvuCHZXnviw8k7xAcqd9HsbFKjw6hj1Y72M87h86FHy9hno4Dmynf1K26XEe.png

THANKS FOR VISITING MY BLOG 😇💕

Sort:  

I have always wanted to get into Arduino and make DIY gadgets like this one, Im waiting on a 3d printer and would be nice to make something simple like an RC car with the basics, although I bought the 3d printer i hope to get the time to use it 😁🤣 and not be another thing i bought and rarely use because of lack of time, same reason i havent got into Arduino , thx for sharing ✌️

Wow.. interesting. I'm sure your project partners would be so glad they have you in their team, even though their attitude is appalling.

Well done.

Definitely... A friend of mine said the same thing.

i'm interested as to what liquid you will use inside the sanitiser.

Sat Nam

Some free Hive-engine tokens for you:
!PGM !PIZZA
!LUV

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS tokens to @atma.love

remaining commands 14

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


@starstrings01, @atma.love(1/3) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

🍕 PIZZA !

I gifted $PIZZA slices here:
atma.love tipped starstrings01 (x1)
@jacuzzi(4/15) tipped @starstrings01 (x1)

Please vote for pizza.witness!

Wow, this is really an interesting project. The members in your group who aren't showing interest in getting this project done are missing out on the knowledge involved. Everything is not all about money but unfortunately, they are just interested in contributing and getting their grades without getting involved in the practical aspect.

One thing is sure, you are learning new things from this project. Whatever little problems you are encountering now will surely make you better while approaching a similar project in the future. I really hope that you will get it fixed by next week to get ur full grades.

Anything Engineering course always comes with lots of Practicals. You are doing well star 👍
Weldon!

One thing is sure, you are learning new things from this project. Whatever little problems you are encountering now will surely make you better while approaching a similar project in the future

This is the exact point and the reason why I put my all into this project. I want to start building personal projects to get myself familiarized with my department and also make money from them in the future.

Engineering is not easy; I chose it in the beginning, so I have to bear it.

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. 
 


The rewards earned on this comment will go directly to the people( @starstrings01 ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

This is a great project that consists of a great task.
It's normal in Nigeria University to be in a project group and contribute only money to the project.

This set of people will find their project defence challenging.
I wish you all the best in your project defence man!!

This is looking good. I don’t know if it is me but it kinda look hard. Automatic hand sanitizer dispenser, sounds helpful.

Heheh.. group members can be really annoying. I remember when I did my physics project.. everything was on me,I almost cried that day.

I am sure you will do well.. you are a good leader tho.. truly. Success in your project.

Jumper Wires (Male and Female)

Weird.. seeing male and female.. I had to read it twice.

Well done ma Bro

Perhaps it's with the background, but it looks like one wild photo of some strange technology. Congratulations on it by the way I hope it gets picked up by bigger businesses

Lol.. I made it for a school project, I think there are many products using this type of technology already...

NICE!!! 👍 Dropping you some hot !PIZZA and !LUV on this post!

@starstrings01, @jacuzzi(4/4) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

It is sad that there are always people I cal faffers in every of such group who won't show up at all and yet would benefit from the groups grading.

The truth is your effort in this will somehow be rewarded in life beyond just school grades, I m really proud you re doing such cool project and yes, it does apply to health, we still need hand sanitization, COVID or no COVID. There as series of disease that can still be prevented just by healthy hand hygiene.

Kudos to you Bro 👍, and I hope the battery works out well and you get your good grades.

Yes, that is correct. There are people like that and it's because they don't have much interest in knowing it that's why.

I hope the battery works out well too bro!

This totally looks like an amazing project, I wish I could see a video of it dispensing the sanitizer. I wish you success on your project.