Goal: Create a medicine delivery system
Electrical Engineering is the studies and application of electricity, electronics, electromagnetism. As well as the construction and design of electrical circuits and systems. Electrical engineers work on many different system and devices from the size of a tiny microchip to a huge generating power plant. We applied electrical engineering when building our schematics for the logic circuits using wires and breadboards.
Biomedical Engineering is combining biology, medicine, and health care with engineering principles. Mainly focusing on the improvement of human health and health care. We used these ideas of biomedical engineering when creating our logic circuit to correctly dispense medication without overdosing the patient.
To begin this project we needed understand some concepts. We learned AND gates and OR gates. To fully understand gates we created series circuits for the AND gates and the parallel circuits for the OR gates.
Below are the images from our series and parallel circuits: (from left to right) two series circuits and two parallel circuits
We reviewed the logic gates. Then we took the data from the logic gates to create truth tables, and then review how to go from a truth table to a logic gate, vise versa. We also learned about binary numbers, Boolean algebra, and how to create a circuit from logic equation.
We took all the information we learned and created a logic circuit, a timer and an alarm. We used breadboards, AND/ OR gates, resistors, capacitors, and many, many wires.
Building our Medicine Delivery system consisted of 4 main steps and many small processes. The 4 steps are:
1.Creating the Timer
Before placing wires on a breadboard, we used the program 555 timer on the computer to calculate which resistors and capacitors were needed to make the timer work correctly. The online program also showed how long the timer would be on and off.
Once we got the 555 flip flop, resistors, capacitors and wires on the breadboard. We tested it by using a LED (it turned on when the timer was on and turned off when the timer is off). The first time we tested the timer, it didn't work, the light only came on when we would mess with the batteries. The connections were all correct but we used the wrong type of resistors, causing us to go back to the program and find different resistors.
We placed the new resistors on the breadboard, connected them. The second times the charm for us, our timer worked, creating the LED to switch on and off.
Timer before connecting to flip flop.
2. Creating the Alarm
To create the alarm we read and understood the instructions that were given to us, as well as looked at the schematic of the alarm. We took a breadboard and added all the resistors, capacitors, and wires needed to create an alarm. When we tested the alarm it didn't go off, the problem was we had a shortage and a resistor heated up.
We fixed it by getting a new resistor and checked if the wires were in the correct location. When connecting the alarm to a battery pack the alarm went off.
Below is the alarm before connecting to the flip flop
3. Creating the logic circuit
In order to create our logic circuit we had to first start with a truth table. After all possible combinations were written down, we isolated the important inputs and their respective outputs while ridding of the non-care inputs and outputs. Now having obtained the necessary inputs and outputs, we created equations and their coordinating schematics for each of the four alerting systems on the Medicine Delivery System and then combined those schematics into one. Finally, after creating wire layouts and online simulations for testing, we created our logic circuit.
4. Connecting everything to the Flip- Flop
We took the alarm, timer, and logic circuit and connected it to the Flip Flop on a separate breadboard. From the logic circuit we take two wires for each input and output and connect them to the corresponding places on the flip flop breadboard. Then we connected the input and output of the timer to the flip flop. Finally connecting the input of the alarm circuit to the flip flop, the output doesn't need to be connected to the flip flop because the sound of the alarm itself was the output.
Problems within the Project- We were unable to get the timer to connect with the logic circuit after the flip flop was attached. The wires were stripped too far up, causing many shortages when two different wires touched. However, the LED light flashed on the timer without the flip flop as seen above.
Even though we had many problems, the circuit was successful in the end.
Scratch: https://scratch.mit.edu/projects/230044708/
Testing Timer Video: https://youtu.be/5yHGQFveniU
Video of Final Testing: https://youtu.be/90YQ0mDezOU
Links: