Introduction: DISPENSET (automatic Dispenser)
Purpose- The purpose of the pill dispenser is to assist those with addictions and elders with a regulated system that provides them medication. The pill dispenser will dispense medication to people with addictions at certain times and in certain amounts (for example, the pill dispenser will dispense one or two pills, depending on the amount the person is prescribed to take and when the person is prescribed to receive it). It will also help elders by dispensing pills at a regulated time, in case they have problems with remembering when and which pill to take
Brainstorming- Our original idea was to make a robot that would assist the elders with anything they needed help with but after receiving feedback, we realized that it wouldn't be possible to finish the robot due to the short amount of time and the lack of resources. We wanted to continue the idea of helping someone, so after a bit of discussion and researching, we decided to make a pill dispenser that will assist elders and people with addictions. As we continued the idea of the pill dispenser, we all agreed that we wanted it to be portable, dispense at a certain time, and a certain amount.
Step 1: Materials and Tools Section
- Wood; https://www.homedepot.com/p/11-32-in-x-4-ft-x-8-f...
- Wood glue; https://www.amazon.com/Elmers-Carpenters-Interior...
- Box designer; https://boxdesigner.connectionlab.org/
- Laser cutter
- Arduino Boards; https://www.sparkfun.com/products/13975
- Breadboard; https://www.sparkfun.com/products/12002
- Potentiometers; https://www.sparkfun.com/products/14624
- Servo Motor; https://www.sparkfun.com/products/9065
- LCD; https://www.amazon.com/Arducam-Display-Controller...
- RTC; https://www.amazon.com/Diymore-DS3231-AT24C32-Pre...
- Coin battery; https://www.sparkfun.com/products/337
- Wires; https://www.sparkfun.com/products/11026
Step 2: Patterns and Files Section
3D printing: For the pills that we imitated we used in Tinkercad and we took measurements of an original capsule and with those measurements, we put it in Tinkercad. Then we uploaded the file in a flash drive that then we put in the 3d printer to print. Originally we used candy for the prototype but it didn't work the pills didn't print the right way. Then once we took the measurements of a capsule and we tried printing them since the pills didn't have the support and they were building up they all failed to print. Finally we for the third time we added support and the pills printed without a problem.
Building the Box: For the box, we used Box Designer and we put the measurements and then we saved the pdf on a flash drive so we could then convert the file into an ai file to be able to put it in the laser cutter. Once we were done we put it on the laser cutter and cut the box. We struggled to cut the box because one of the pieces didn't want to cut because the wood was to thick that the laser was able to go through. We tried cutting the piece 3 times when we finally succeeded we didn't need the piece of wood. The bottom, the front, and the side were glued together to see if all the mechanism was going to fit in. For the box, we needed a divider that was hard to make because we redid it 2 times before we got a perfect size because they were all too big.
Step 3: Building and Coding
LCD & Motor: The LCD is used to display the time and date, as well as communicating when the motor should dispense a pill. To display the real-time and date on an LCD connect the LCD, RTC, wires, and potentiometer as shown in the image. Afterward, combine the motor's wiring with the LCD's by connecting one wire to the positive side of the breadboard and one to the negative. Then connect it to the Arduino board.
*note: For the second time we worked on getting the motor to go faster instead of dispensing quicker
Link to assist with coding LCD;https://howtomechatronics.com/tutorials/arduino/ar...
Link to if needed to code the LCD;
Step 4: Conclusion
Conclusion: In conclusion, the final product came out different than we had imagen. Originally it was going to be made out of a tin but we didn't have time to make it so we decided to make it out of wood to work faster. The mechanism is working good but in the beginning, the coding didn't want to work but that was a problem one of my partners fixed by looking up videos to find the right way to set up the breadboard and how to do the coding. The structure has fixed to make it look more professional. In the end, the pill dispenser works the way we wanted it to work.