Answered step by step
Verified Expert Solution
Question
1 Approved Answer
code c++ Our project is an automated pillbox: It has arduino uno wifi, LCD I2C, keypad 4*4, buzzer (alarm), 2 IR sensors, 2 micro servo
code c++
Our project is an automated pillbox:
It has arduino uno wifi, LCD I2C, keypad 4*4, buzzer (alarm), 2 IR sensors, 2 micro servo motors.
we need code in c++, for this process:
1- the patient will set the pillbox he will enter date/time.
2- he will choose number of medications (1 or 2).
3- he will enter the time and number of pills for each medication.
4- when its time to take medication 1 alarm will go on until the patient press the button on the keypad.
5- the door of medication 1 will open using micro servo motor.
6- there is IR sensor inside the compartment of medication 1 to sense the medication has moved or not.
7- the patient has to conform taking the medication if yes number of pills for medication 1 will reduce by 1 and upload to the cloud.
8- after conforming the door of the compartment will close using micro servo motor.
9- the same goes with medication 2.
If you have any adjustments feel free to do them :).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started