Week 19: Project Development(JUNE 8-20)

Assignment

complete your final project, tracking your progress:

1.what tasks have been completed, and what tasks remain?


Almost all tasks have completed,finalized final product design-An electronic pill box(portable ,handy,can include in consumer electronics category,,electronics part has completed,Designed the board using kokopelli,Programmed the board,so programming portion is completed also.Designing of Pill box case completed using Autocad.Remaining portion is 3d printing of desired model and Assembling,test working.

2.what has worked? what hasn't?
Iam very happy i this week because Aurduino clone which i designed worked after all trouble shooting,added LED,Buzzer,Display,programmed the board .

3.what questions need to be resolved? Assembling of parts after 3D Printing,Laser cutting ,Vedio presentation,slide preperation.

4.what will happen when?
By june 20 i hope every steps will be compeletd.

5.what have i learned?
I have learned a lot of nice things during fab academy course.by doing this final project i learned. HOW TO MAKE ANYTHING BASED ON OUR REQUIRMENT USING OUR OWN LOGIC AND WORK.

6.documentation during development
Folllowing session shows the documentation

7.demand- vs supply-side time management This time i am not thinking about a bulky production or sales.

Do you have a loved one with Alzheimers? Are you a full time carer for them? How are you and your family affected by it? Or do you know some else who is/has been affected by the disease?

My grandma has been suffering alzhiemers disease,she she suffering alot of problems,one of them was she always forget to take her medication on time, common reason people who suffer Alziemers desease don’t take their medication is because they simply forget. For instance, taking medication can become so reflexive that they will be unsure whether they took their pill or not.

Technology can help us see, hear and communicate better. Applying innovations in technology to the specific needs of Alzheimer’s patients, scientists are giving many seniors a safer and more independent life.

My final project -Fab Pill box for alzheimers patients!!!!

As my final project i would like to design and make a wearable watch or portable electronic pill box which can alert the patient to take their medication on time,and whether they have got sufficient amount of medication.

I am making this product or implementing my random idea to help my grandma,she is 63 now and sufffering alot of problems due to alzhiemer's disease,one of them is she always forget to take her medication on time, common reason people who suffer Alziemers desease don’t take their medication is because they simply forget. For instance, taking medication can become so reflexive that they will be unsure whether they took their pill or not.

Step 1: What does it do?

Poor medication management is one of the major causes of treatment failure in case of Alzhiemer's patients,The Pill Reminder is a very simple to use device to remind someone to take their medications(pills). This version of the Pill Reminder supports 3 times medication. The Pill Reminder should be placed wherever a User usually takes their pills; generally either on a night stand or near a bathroom sink. The unit is moderately water tolerant but should not be submersed nor left wet for any period of time.

How my product works?

The assembled Pill Reminder project has 3 pill cups; one for morning and 2nd one for noon and last one for night,. The device has a desplay to notify which pill should take on time and the time ,Each pill cup has an LED associated with it , also buzzer will beep on time . Display,buzzer and LEDs are controlled by an Arduino clone which i designed. Only one LED is ever lit at a time. Our hope is that the user can be easily trained to only take pills when one of the LEDs is lit up. The LED that is on will tell them which pill cup to empty; if that cup is already empty, then they should not take more pills.

The care giver is responsible for assuring the correct operation of the Pill Reminder and for loading the pill cups as appropriate.

There are two “people” roles associated with the Pill Reminder: 1.User 2.Caregiver These two roles may be filled by one person or two different persons. An individual who can understand and execute all of the instructions in this document, but is “forgetful” about taking their pills can fulfill both roles. For more impaired people, the User and Caregiver roles should be assigned to separate people.

User Role.

The “User” is the person who takes the pills. The User’s responsibilities are to: 1.Observe the LEDs and buzzer If an LED is on and buzzer beeps, open (and keep open) that pill dispenser slot directly below the lit LED.Take any pills in the open dispenser slot. The User must be capable of being trained in these responsibilities,If the User is not capable of being trained in these responsibilities, then the PillReminder is not appropriate for them.

Rough plan and Designing


Rough design

Pill box rough design

Pill box rough design 2



Pill box with band design


Final design of pill Box

Buzzer and display design

Materials and components will be required

  • Watch strap -Molding and casting -silicon rubber
  • pill box-3d printing.-White PLA
  • Pill compartment seperator-3d Printing
  • Laser cutter-Acrylic
  • Electronics part:-PCB ,LEDs,Buzzer,Attiny44,Battery 5v,Battery holder,LCD display,Capacitors,2x3 jumper,(2x2 jumper),Resonator,Male and female pins.

Dropped the plan to make a wearable watch strap plus pill box,because during molding and casting session didnot work well.

Mechanical

Designing

Main aim before this designing is to make a portable handy device,so the design should be handy,but no compromise on qulity and usage, First measured LCD Diamensions,so that first i can design a structure which is compactable,which should be compctable with lcd,board,buzzer,battery and all.

First i thought about pcb board,then finaly reached an idea pcb should be same diamension as LCD,so that i can fit Lcd with pcb board,next was about battery,here i cant use square battery so decided to go on with button battery,for that used bautton holder, to program and serial communication i want serial pin and isp pin outside. design in autocard,frst i designed using assumed diamensions


this pic is top view of my assumed produc prototype ,this is the top view


Divide deffrent section-prototype then tried to design seperately

converted this 2d design to 3d design usign extrude tools(union,substract,trim,copy,move etc),extruded as single component then joined finaly using move command ,did check wheher the design looks as my imagined prototype.

3D printing to make pill Box case

3D printing Files



Arsh Project Divd by arsheena on Sketchfab



Electronic

I had to design my own boards(exactly an arduino clone with LCD and Buzzer) and board for blinking 3 LED's.,used microcontroller attiny 44 and reffered Niel's LCD Board.

  • PCB Designing

Used Kokopelli to design,first offall i need a USB mini control but Attiny 44 is not suitable,so i decided to drop that plan and decided to use FTDI only.And i needed a battery holder too.


Final pcb design


Traces


solder mask


interior



holes


Milling



Final pcb



Components list



LED Board



LED traces



holes


LED board

Errors and solutions



  • soldered pcb , but forgot to add crystel,during programming it wasn't easy because to bootload mc need 20 mhz crystaland programmed (test program) but progrm didnt work,when i cross checked ,found out the problm ,problem was first jumper vcc and ground wasn't connectd to attiny 44 vcc n ground pins.then used a jumbper to connect vcc and ground,then burned bootloader


  • interchange r2 n r3 interchange,again nt wrking solder inspection-again not wrking,than i desolderd lcdagain soldered still the desplay is not working ,so that i ahd to use new display,this time soldered the female with display afterfixing all these copper at board lost,so i had to milll new board
  • Electronic part assembling

  • Final circuit

Electronics part files

Laser cutting

Did laser cut the cover portion of the device,Designed 2 top layers,door and engraved the name and Pill time.

Laser Cutting Files

  • Design Files

File 1

File 2

Programming

/Program starts //

#include <LiquidCrystal.h>

#include <SimpleTimer.h>


LiquidCrystal lcd(5,4,3,2,1,0);

int h=12;

int m;

int s;

int flag;

int TIME;

const int hs=8;

const int ms=9;

int state1;

int state2;



void setup()

{

  lcd.begin(16,2);
  lcd.setCursor(0,1);
  pinMode(6, OUTPUT);

}

void loop()

{

if ( (flag==9) && (m==0) ) {
  lcd.print("Morning pill");
   digitalWrite(6, HIGH);   
   delay(50);              
   digitalWrite(6, LOW);    
  delay(50);
  }



  if ( (flag==12) && (m==1) ) {
  lcd.print("Noon pill");
   digitalWrite(6, HIGH);   
   delay(50);              
   digitalWrite(6, LOW);    
  delay(50 );
  }


  if ( (flag==20) && (m==0) ) {
  lcd.print("Night pill");
   digitalWrite(6, HIGH);   
   delay(500);              
   digitalWrite(6 , LOW);    
  delay(500);
  }


  lcd.setCursor(0,0);

  s=s+1;

  lcd.print("TIME:" );

  lcd.print(h);

  lcd.print(":");

  lcd.print(m);

  lcd.print(":");

  lcd.print(s);

  if(flag<12) lcd.print(" AM");

  if(flag==12) lcd.print(" PM");

  if(flag>12) lcd.print(" PM");

  if(flag==24) flag=0;

  delay(1000);

  lcd.clear();

  if(s==60) 
    {

      s=0;

      m=m+1;

    }

  if(m==60)

    {

      m=0;

      h=h+1;

      flag=flag+1;

     }

  if(h==13)

    {

      h=1;

    }




//-----------Time setting----------//

state1=digitalRead(hs);

if(state1==1)

{

h=h+1;

flag=flag+1;

if(flag<12) lcd.print(" AM");

if(flag==12) lcd.print(" PM");

if(flag>12) lcd.print(" PM");

if(flag==24) flag=0;

if(h==13) h=1;

}

state2=digitalRead(ms);

if(state2==1) {

s=0;

m=m+1;

}


}

Files

Program

Alarm setting and code explanation

This product is working based on alarm we are setting to alert the patient according to their medication time by beeping bzzer,blinking led ,and display message to take medication.

here,declared 3 variables(3 integers)h(for hour),m(for minut),s(second).when s=60 sec delay,m value chenged to m+1,when m=60 minuts h value will change to h+1,to set alaram i did put an 'if loope' condition,for example if h=8 and m=20 alarm beeps,Led corresponding to morning pill compartment blinks,and display message. here is an example to display message code.

  if ( (flag==8) && (m==20) ) {
  lcd.print("Morning pill");
   digitalWrite(6, HIGH);   
   delay(500);              
   digitalWrite(6 , LOW);    
  delay(500);
  }

Assembling



PCB +Dislpay Assembling

Final Assembling process

Final product

Summary of Slide and Vedio

Slide

The slide must contain background watermark image of my final product, Processes about during project development,and electronics part production,Features for product.

Vedio

  • Introduction myself
  • about the project
  • its working
  • working steps
  • its output
  • small demo animation
  • Messege.

What i have learned

How to make almost anything we want in a simple way,this fab academy was a great experaince for me,learned to develop a product.