Designing An MCU Based Digital Safe Locker

From BlokCity


Electronic lockers are generally used for house safety purposes. Traditionally, the design is consists of an MCU system that receives the input from a mechanical keypad, drives a motor to open and close the door, and outputs the results on an LCD or also speaker/Buzzer for tone. MCUs with highly effective IDE instruments help developers to design their applications shortly and with ease. MCUs with totally different programming interfaces and compilers help designers to build an industrial ecosystem. MCUs with Fingerprint, wireless connectivity and Capacitive and/or Inductive sensing applied sciences enable designers to design more strong and advanced solutions. This text discusses design techniques, design challenges and future enhancement for MCU based Electronic Safe Locker. Digital lockers have gotten more advanced with the boom of the IoT (Internet of Issues) Period. Historically, 8bit/16bit/32bit MCUs are used to control your complete system. The MCU receives the person code through a mechanical keypad (consumer code), Fingerprint sensor or SD card (by means of SPI interface). The MCU stores the users’ code into inner or exterior EEPROM by way of I2C/SPI interface. Once the user code (6 digit numbers) matches, the door will open. In such cases, the electronic locker will lock up attributable to a number of wrong entries or as a result of malfunctioning of batteries; customers may have to make use of a master key to unlock the secure. The buzzer provides the tone for each Keypress, MCU drives Buzzer with PWM (Pulse width modulator) output. IDE software supporting configurable PWM frequency helps the engineer to provide completely different choices in the final software. PWM based mostly management mechanism used for driving solenoid Driver for opening and shutting of the door. Normally, fireproof secure is recommended to protect essential doc paper valuables protected from hearth. This can be a battery-operated system, therefore MCUs with low energy consumption is a should for the design. Re-chargeable batteries are preferred on this utility, the place customers can change the battery from the again-aspect compartment. In addition, MCUs with battery charging and monitoring functionality and working on decrease voltages suits in this application. It reads battery voltage by internal/external ADCs and gives indication with "Low Battery" and "Charging" LEDs. The MCU ought to help sleep, hibernate mode with minimal energy consumption and displays the status of keypress on using LED indication or on LCD show. Most frequently, LCD shows with out backlight are used for this application as a result of much less energy consumption. For the more advanced designs, a Graphical Thin Movie Transistor (TFT) show is used, where the MCU uses exterior buffers, and level translators to drives the external displays. Along with the hardware points, growing display algorithm software and supporting display software program libraries additionally plays an necessary position within the design. MCUs paired with pre-certified WiFi-BT modules allows users to ship authentication code and unlock the safe using a smartphone (iOS or Android). It additionally helps to store user’s data to a cloud-based system. Door cameras (I2C/SPI primarily based) assist in monitoring and recording whereas users are utilizing the protected. MCUs that may interface with digital and Analog Mic with speaker interface will help in audio authentication based security system. MCU supporting security options like one time programming (OTP) will assist developer to load remaining code into the MCU at production stage which cannot be hacked by any other developer. MCU supporting Non-volatile memory prevents password erasure, when the battery is low. Mechanical Keypads will be changed with CapSense (capacitive-sensing) or MagSense (inductive sensing) keypads with different varieties and measurement of CapSense pattern that will deliver down the price of the general resolution, developer can present CapSense detection, Proximity (Keypad will get activated as soon as user’s hands come near). CapSense helps water proofing and water tolerance algorithm, it helps to guard the secure in case of emergency water scenario. IDE supporting CapSense and Inductive sensing application helps customers to develop your complete application in fast turnaround. PSoC MCU is a mixture of a MCU with programmable logic and excessive-performance analog to digital conversions and commonly used mounted-perform peripherals. The PSoC MCU family is made up of 8bit (PSoC 1 and PSoC 3), and 32 bit MCUs (PSoC4, PSoC5 and PSoC6). They've flash reminiscence up to 2MB, SRAM up to 1MB and internal EEPROM as much as 2KB (flash can be used to emulate EEPROM). PSoC works on ultra-low energy mode.


https://coub.com/safelock