User Tools

Site Tools


toollockers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toollockers [2019-05-12 17:47]
alfie [Compartments]
toollockers [2019-05-19 13:24] (current)
tim [To Do]
Line 1: Line 1:
 ====== NFC-enabled Tool Lockers ====== ====== NFC-enabled Tool Lockers ======
 +
 +See also [[https://​roundup.ehlab.uk/​issues/​issue76]]
  
 We have portable tools that require training before use, or which are valuable and at risk of being borrowed or stolen. The proposed solution is to create individual lockable compartments operated by our existing NFC tokens. We have portable tools that require training before use, or which are valuable and at risk of being borrowed or stolen. The proposed solution is to create individual lockable compartments operated by our existing NFC tokens.
Line 5: Line 7:
 ===== Compartments ===== ===== Compartments =====
  
-Option: ​We will use some of the existing wall shelving ​in the workshopVertical dividers ​will be added to create closed compartmentsCompartment doors will be made from clear acrylic.+We will purchase a [[https://​www.ikea.com/​gb/​en/​products/​storage-furniture/​shelving-units-systems/​kallax-shelving-unit-white-art-80275887/​|KALLAX]] shelf from IKEAThis will provide 8 spaces of 33x33x38cmThe back of the cabinet ​will be closed with a sheet of wood.
  
-Option: We will purchase a KALLAX shelf from IKEA, and put wheels on itThe back will be closed ​with a sheet of woodCompartment doors will be made from clear acrylic.+Doors will be laser-cut ​from 5-6mm clear acrylicThey will be mounted to the KALLAX ​with cabinet hinges designed for glass doors (few varieties are available). 
 + 
 +The unit will be placed in the workshop, under the workbench where the small bench grinder/​sander is mounted.
  
 ===== Mechanical ===== ===== Mechanical =====
Line 15: Line 19:
 ===== Electronics ===== ===== Electronics =====
  
-A single controller will operate a group of lockers. ​It's likely that an ESP32 will be usedwith a PN532 NFC module ​and 20x4 LCD.+A single controller will operate a group of lockers. ​The electronics ​will be based on the tool/door controllersusing an ESP8266 microcontroller and PN532 NFC module. ​I2C expanders will be used:
  
-I2C expanders and relays will be mounted on stripboard for the interface to the locks and sensors.+  * to interface to an 8-way relay board to control ​the locks 
 +  * to interface to the touch sensors 
 +  * to interface to the lock closure ​sensors
  
 Addressable RGB LED strip will be installed in each compartment to provide status feedback (tool checked in/out, compartments authorized after an NFC swipe). Addressable RGB LED strip will be installed in each compartment to provide status feedback (tool checked in/out, compartments authorized after an NFC swipe).
 +
 +===== User Interface =====
 +
 +There will be one NFC reader for the group of 8 lockers.
 +
 +  * Present token to the reader
 +  * Lockers that are authorized for the user will light up while others remain dark
 +  * User touches the handle (touch plate) of the locker they wish to open
 +  * Selected locker pops open. Other lockers deactivate (present token again to open another locker).
  
 ===== Use Cases ===== ===== Use Cases =====
Line 29: Line 44:
   * Good quality measurement tools (calipers, micrometers)   * Good quality measurement tools (calipers, micrometers)
   * Hand tool kits with easily lost parts   * Hand tool kits with easily lost parts
 +
 +===== To Do =====
 +
 +  * Cabinet installation
 +    * One existing support leg will need to be removed from the workbench
 +      * Identify how to maintain the strength of the workbench (either a horizonal brace or transfer weight onto the cabinet)
 +  * Doors
 +    * Identify appropriate size for the doors (compartments are 33x33cm so doors should be bigger)
 +    * See if a better source of laser acrylic can be found (Hobarts sizes may be wasteful for this)
 +    * Select hinges
 +    * Design door layout:
 +      * Rounded corners
 +      * Holes for selected hinges
 +      * Holes for mounting lock and touch sensor plate
 +  * Lock assembly
 +    * Create a spacer to mount the lock in the correct (repeatable) position
 +    * Decide how to screw the lock into the KALLAX
 +    * Install wiring
 +      * for lock release, lock sensor, touch sensor and LED strip
 +      * use alarm cable and leave a tail at the back of the cabinet for connection to the electronics
 +  * Electronics
 +    * Relay board and I2C expanders are on order
 +    * ...
 +  * Software
 +    * Will be based on the door/tool controller software
 +    * (plenty of changes required)
 +
 +===== Parts =====
 +
 +| [[https://​www.ikea.com/​gb/​en/​products/​storage-furniture/​shelving-units-systems/​kallax-shelving-unit-white-art-80275887/​|KALLAX]] | |
 +| Acrylic sheets | |
 +| Cabinet hinges | |
 +| Touch plates | |
 +| Pop-rivets (for touch plates/​lock) | |
 +| Locks (DSCK7267) | in stock |
 +| Touch sensors (TTP223) | in stock |
 +| 8-way 12V relay module | ordered |
 +| I2C expanders (PCF8574) | ordered |
 +| Wemos D1 Mini ESP8266 | in stock |
 +| 12V 3A power supply | |
 +| 12V->5V DC-DC converter | |
 +| WS2812 LED strip | |
  
toollockers.1557683270.txt.gz · Last modified: 2019-05-12 17:47 by alfie