We created this project for MSReva as an assignment from school.
Supplies
Laser or print all parts (see githup):
4x: 22.1 mounting brackets instead of bolts
4x 23 mounting brackets 3 sides
3x: 26.2 hinge 0.2mm clearance or 26 hinge 0.2mm clearance
(If your printer is very accurate the 0.2mm would not be a problem, if you want to be sure use the 0.3mm.)
Lasered parts(3mm thickness plate):
20 tray partition: you can choose how many times you lazer it, it comes between the trays as a partition, you can lazer a total of 7×5(35).
parts:
1X: rfid-RC522 + batch/card
1X: arduino uno
1X: Servo SG90
1X: 1602 LCD I2C
1X: buzzor
4X buttons (14×20 round hole 12mm)
1x ac/dc adapter (6v)
Cables
1x breadboard (You can also make it without, but only makes it easier.)
Step 1: The Start of the Built
Make sure you arrange the inside back plate and inner side plate as on the picture above.
Step 2:
Build the plates together as shown above and search the bottom plate.
Step 3:
Put the construction on the base plate and search the cover plates.
Step 4:
Connect the cover plates as shown above and search the top plate.
Step 5:
Connect now the top plate and search the back plate LCD.
Step 6:
Put the plate on top of the construction and search the side plate and the side plate with RFID.
Step 7:
You connect the cables from the RFID(on the IRQ comes no cable) to the Arduino, through the provided hole. You can find the electrical diagram here and above, you screw it on with m3 nuts on the inside and bolts on the outside and place the RFID inside.
Step 8:
Place the side plates as shown below. Make sure the plate with the logo is placed on the right.
Search the front plate.
Step 9: Starting With the Door
Place the 4 buttons (14x20mm, hole 12mm), You can adapt the size of the holes if you want to use your own (github.) and solder the wires to the buttons and place it into the front plate.
Step 10: LCD
Take the LCD and bend the headers as shown in the picture above.
Place the LCD in the rectangle (fix it with the M3 nuts and bolts and spacers so that the lcd is straight and flush with the front plate).
Step 11: Lock
Build the construction as showen above with the servo, servo arm, servo slot holder and pin. First screw the arm to the servo, then insert the pin into the holder and place the servo with the arm through the protruding loop. Fix the servo with screws.
This will be used as lock. Make sure the servo is at 90 degrees.
Step 12:
Place the lock on the 4 holes of the front plate and fix it with 4 M4 bolts and nuts.
Step 13:
Now find the door plate, door handle, pin sleeve small/large, shooter pin and a spring. Mount the small pin sleeve and the doorknob to the outer holes, but on opposite sides (make sure the slanted side of the sleeve is on the outside, with M4 bolts and nuts). Insert the spring into the large sleeve and then the striker pin with the beveled side out and the protruding cylinder into the slot of the sleeve. Mount the large sleeve to the middle 2 of the door on the same side as the small sleeve (put the shooter into the small sleeve as well, also with M4 bolts and nuts).
Step 14:
Find the hinges and mount them to the door with M4 bolts and nuts (place the hinges on the outside of the door (make sure the button of the hinge is pointing outwards).
Step 15:
Now mount the remaining mounting points of the hinges to the front plate also with M4 bolts and nuts.
Source: Medicine Safe