Medication Reminder
Target Audience/主要使用者
Old Elderies, People who has amnesia and often forgets (English/英文)
年紀較大的長輩,常常會失意的人 (Chinese/中文)
Inspirations of this Topic/作品的啟發
My grandparents have been getting older throughout the years. The medications they need to take have increased as well. Their memories have weaken as they aged, so they would sometimes forget to take their medications for breakfast, lunch, dinner. My Arduino device would help my grandparents to remember to take their daily pills! (English/英文)
當歲月慢過,我阿公阿嬤逐漸的變老。他們所需要食用的藥也變多,但是他們的記憶力衰退,所以他們會有時候忘記要吃早,中,晚的藥。我所研發的機器會使用Arduino來提醒長輩記得吃藥!(Chinese/中文)
How would my device function/我的作品會如何運作
My device would mainly need 4 LEDS and also a button. The different led lights would be placed in front of the pill capsules. Whenever you press the button, the light will switch to another capsule position. Hence, the user of this machine would know which capsule of pills they would need to take at that time. (English/英文)
我的機器主要會使用四幾顆LED燈泡。不同顏色的LED會擺放在藥丸盒格子前面。當使用者按下旁邊的按鈕,LED燈泡亮的位置會改變。所以長輩們會知道當下要選擇那顆做為食用。(Chinese/中文)
Why simple?/為什麼作品簡單?
My machine is simple and only uses the functions of button and 4 LEDS because it will be simple for elderly's to understand. My goal was to let the elderly's to easily understand the function of the machine, and also to let elderly's to easy assemble the machine if they need it! (English/英文)
這台機器很基本,只需用到5顆LEDS燈與一個按鈕,方便老人家操作!整個機器的目標就是要讓功能好理解,且讓老人家好組裝。(Chinese/中文)
Bonus/LED 最後閃爍
The machine will blink after the day is over, this is a function which I added so the elderies will know whether they have took their medications for dinner (English/英文)
當吃完整天的藥之後,機器會自己閃爍,告知年長的長輩他已經吃完要了,不用再吃。(Chinese/中文)
Step 1: Materials/材料
- Cardboard
- 4 Yellow Resistor
- 1 Blue Resistor
- 4 LED
- 1 Button
- Arduino UNO
- Wires
- Pill Case
- 厚紙板
- 4顆黃色電阻
- 1顆藍色電阻
- 4顆LED
- 1顆按鈕
- Arduino UNO
- 線
- 藥丸收納盒
Arduino UNO: https://www.amazon.com/Arduino-A000066-ARDUINO-UNO...
Yellow Resistor: https://www.amazon.com/AUSTOR-Resistors-Assortment...
Blue Resistors: https://www.amazon.com/Resistor-Assorted-Resistors...
Button: https://www.amazon.com/CO-RODE-Tact-Button-Switch-...
LED: https://www.amazon.com/DiCUNO-450pcs-Colors-Emitti...
Wires: https://www.amazon.com/TUOFENG-Wire-Solid-differen...
Pill Case: https://www.amazon.com/Weekly-Organizer-Sukuos-Vit...
Step 2: Wiring/電路圖
Connect 3 LED on the breadboard, I've used Dpin 10, 9 ,8m=, but it's optional so you can change it to anything you want. This same goes for the button Dpin I've set my button as 7, but you can changed it into any other dpin later on. Make sure you've connected the positive piece on your breadboard with 5V, and connected the negative part of the breadboard with GMD. For each button you will need to put a yellow resistor, for the button you will need to put a blue resistor. The wiring mappings are on the pictures, so I would not be instructing the paths of each wire.
連結3顆LED到您的麵包板上,我使用了Dpin 10,9 ,和8 做為LED的Dpin,但是您之後可以改他,不需要遵照我的路線。按鈕也是,我使用Dpin7,但使用者可以自己做變動!記得麵包板的正極需要接5V而負極需要接GMD!LED的部分,您需要為每一顆LED放置一顆黃色電阻,按鈕需要放置藍色電阻。電路圖在圖片供應,所以不會再多說明連結的路線。
Step 3: Coding/程式
This step is the code for my machine. As I said in the previous step. You do not need to connect the same exact dpin as I did on the LED and button. If you decide to change the dpin, don't forget to change the numbers where I've stated "dpins for *OBJECT*". Change the dpin which you have connected your device with. You can also change the time of delay of millisecond, you would need to change the number of the time. A greater number means that the wait time would be longer. I've set the wait time to be 100ms. You can change the time by changing "100" where it says delay in my code! Here is the link for my Medication Reminder Device: Medication Reminder Code
這個步驟解釋和供應機器的程式。如同我上一部所說,您不需要按照我所有的步伐。如果您在機器上改LED燈的dpin,您要記得也要在程式裡面改他的dpin,否則LED不會亮起。改的地方為"dpins for LED",前面會有從一到十三的數字。您要改跟你在Arduino所連結的Dpin一樣。按鈕的部分也一樣,在 "Delay NUMBER millisecond(毫秒)"那邊,把數字改成你要的。越大的數字代表等待的時間越久,舉一反三,越小的數字等候時間則更短。這是我的程式碼:吃藥提醒機程式碼
Step 4: Decoration/裝飾
Since I'm making this project as simple as possible for elders to understand and make, I've used cardboards as my decoration. Cardboards are easy to find, easy to do, and also cheap because they are free! Just make sure, you've poked in the LED holes outside of the box, and you've glued the pill case on the box. The LEDs would be in front of one of the slots of the pill case. The button should also be outside of the box, on the top of the box to be exact.
我的作品使用了厚紙板做為裝飾,因為我要讓我作品好理解,好操作,簡單地組裝,且價格需要很便宜。厚紙板全部的項目都又符合到,便宜嗎?他是免費的!做裝飾之後,記得要把LED燈搓出盒子外,藥丸和的格子前面需要有一顆LED燈。按鈕要在盒子的外面,或者是您可以把按鈕裝在盒子上,這樣會使用是比較方便。
Step 5: Problems/問題
- My LED does not turn on
This may be caused because you have placed the LED on the wrong position, you would need to put the long leg of the LED on the same path of the breadboard where it connects the Dpin, if you have placed them oppositely, it might cause your LED to burn!
You might also have changed the dpin on the arduino, but have forgotten to change the code where it says dpin! - My button does not work
This might been caused because you have connect the button with the yellow resistor instead of the blue one. - MY LED keeps on flashing
This is because you have completed your daily routine of eating pills, if you want to redo it again. You can simply unplug your energy source to your Arduino and replug. This will reset the whole code again, so you your LED would turn on from the start.
- 我的LED燈不會開啟
您有可能把LED的腳放錯位置了,長的那邊要對到接dpin的同條線,如果您疏忽了,有機會把您的LED燒壞。
您有可能有把Arduino上的dpin位置改變,但是沒有在程式碼裡面做變動。 - 我的按鈕不能運作
您有可能把按鈕所連結的電阻使用了黃色的,而不是藍色電阻。 - 我的LED燈一直不停的閃
不停閃是因為您今天所要吃的藥都已經吃完了。如果您明天還想要用這個裝置,您可以把Arduino的電源拔開,再把它插回去。這樣程式碼都會重置,讓您能在做使用!