<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.3" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="publisher-id">jcse</journal-id><journal-title-group><journal-title>Journal of Computational Science and Engineering</journal-title></journal-title-group><issn>1710-4068</issn><publisher><publisher-name>Advancersin</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">jcse-v30-a02</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title>A Design for a Intelligent Drawer System</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Xie</surname><given-names>Dong</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Li</surname><given-names>Shilin</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Xiao</surname><given-names>Qinqin</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wei</surname><given-names>Shengxiong</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>LI</surname><given-names>Yaxi</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Tong</surname><given-names>Jian</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff id="aff-1">Information School, Hunan University of Humanities, Science and Technology, Loudi, China</aff><pub-date publication-format="electronic" date-type="pub" iso-8601-date="2017-07-25"><day>25</day><month>07</month><year>2017</year></pub-date><volume>30</volume><fpage>847</fpage><lpage>849</lpage><permissions><copyright-statement>2017 © The American Computational Science Society.</copyright-statement><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/" start_date="2021-11-26">https://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is licensed under the Creative Commons Attribution 4.0 International license (CC BY 4.0), which permits sharing and adaptation, including commercial reuse, subject to attribution, a link to the license and an indication of changes. Third-party material separately credited with different terms is governed by the license or rights notice stated for that material.</license-p></license></permissions><self-uri content-type="fulltext" xlink:href="https://www.advancersin.org/jcse/articles/jcse-v30-a02/index.html"/><self-uri content-type="pdf" xlink:href="https://www.advancersin.org/jcse/articles/jcse-v30-a02/jcse-v30-a02.pdf"/><abstract><p>This design adopts single chip microcontroller (STM32F103) as the minimum system. The independent keystroke and single chip are the control module of the fingerprint. Fingerprint identification module and WIFI module constitute information acquisition module. The dc motor and the lock - clasp physical components constitute the electric locking module. Three LED lights constitute a status indicator module. The system is powered by a battery. The system has the advantages of simple structure, low production cost, high control accuracy and strong anti-interference ability.</p></abstract><kwd-group><kwd>Intelligent drawer</kwd><kwd>Fingerprint identification</kwd><kwd>STM32F103</kwd></kwd-group></article-meta></front><body>
    <sec>
      <title>1. Introduction</title>
      <p>New times give people new pursuits. People in the past sought cheap and durable, and now people are more apt to be smart and practical. Many designers like to re-create existing objects[1]. This allows for more powerful and practical items. We also hope to create a more attractive and more human smart drawer by creating the innovation in the drawer[2].</p>
    </sec>
    <sec>
      <title>2. Selection and Demonstration of the the System</title>
      <p>Scheme The main control center of the system is divided into two categories: Scheme 1: the system adopts 51 series single-chip microcomputer. Single chip microcomputer is a more commonly used 8-bit microcontroller. The advantages of the McS-51 system include the typical structure and the centralized management of the perfect bus special registers, numerous logical bit operation functions and the rich instruction system oriented to control[3].</p>
      <p>Figure 1. The Scheme Structure.</p>
      <p>It also has advantages including simple development, cheap price, good generic type and so on. And it has a single-chip kernel based on complex instructions (CISC). But 51 microphones didn't react fast enough. It takes 12 oscillations to execute a single cycle command[4]. So it's more suitable for devices that control simple bits of information. Because it is slow,</p>
    </sec>
    <sec>
      <title>51 MCU is not the best choice for a high speed area. In</title>
      <p>addition, 51 MCU USES a lot of power. Scheme 2: the system ado rich set of timers and I/O ports. And it has low power consumption, stable performance, reliable and other advantages. It has up to 64K bytes of built-in SRAM, so it can achieve multifunctional control of the system. It can also carry out high-speed data acquisition and processing. This series of single chip is exactly in line with our requirements.</p>
      <p>Figure 2. The Actual Diagram of the Façade.</p>
      <p>The system theory scheme architecture is shown in Figure 1. The stereo rectangle is the box body of the whole experiment. The upper part of the box is the main idea implementation module. The locations of different modules are marked in different colors.</p>
      <p>The actual scheme architecture is shown in the figures below. Figure 2 is the actual architecture diagram. Figure 3 shows the fingerprint identification module from left to right, the electric locking module and the minimum system and the independent key.</p>
      <p>Figure 3. The Interior of the Actual Architecture Diagram.</p>
      <p>The red square： Fingerprint identification module The blue rectangle：Lock the physical original module, main control board module and WIFI node module</p>
    </sec>
    <sec>
      <title>3. Design and Construction of the Hardware</title>
      <p>Circuit</p>
      <sec>
        <title>3.1. Selection of motor</title>
        <p>Plan 1: stepping motor. For ordinary motor, the stepping motor can realize open loop control. It is to realize the angle and speed control of the stepping motor through the number and frequency of the input of the input of the driver signal, and no feedback signal is needed. However, stepping motor is not suitable for using in the same direction for a long time. Because it is easy to burn the product, and the stepping motor cost is high[5].</p>
        <p>Scheme 2: dc motor. Its transmission ratio is more detailed than classification, and has the advantages of wide selection and wide range of rotation speed. Range I=2-28800. It can precisely control the lock switch. Dc decelerator motor is compact, small in size, beautiful in shape and strong in overload. And it has low energy consumption and superior performance, and the speed reduction is up to 96 percent. It also has the advantages of small vibration and low noise. Its versatility is strong, so it is more convenient to maintain and the cost of maintenance is low. Especially in the production line, we can guarantee the normal production maintenance of the whole line by only a few transmission parts. It also adopts a new type of sealing device, so the protection performance is good and the environment is adaptable. It can work continuously in bad environment such as corrosion and humidity.</p>
        <p>To sum up, we chose the scheme 2.</p>
      </sec>
      <sec>
        <title>3.2. Information Acquisition System</title>
        <p>The information acquisition system USES Arduino pcDuino fingerprint module and WiFi module to collect password data. The data processing will be collected by STM32F103. After the data is processed, the dc motor is operated, and then the lock is turned on or off. Its schematic diagram is shown in Figure 4.</p>
        <p>Figure 4. Schematic Diagram.</p>
      </sec>
      <sec>
        <title>3.3. The Fingerprint Version Control Module and</title>
        <p>Indicator Light Module In Figure 5, KEY1 is to delete the current fingerprint.KEY2 is the input fingerprint. LED1 indicates the state of the lock switch. Indicates the color is red. LED2 indicates that the fingerprint function is deleted, indicating that the color is blue.LED3 indicates the status of the fingerprint function, indicating that the color is green.</p>
        <p>Figure 5. fingerprint version control and indicator light module.</p>
      </sec>
      <sec>
        <title>3.4. The Structure of the Hardware System</title>
        <p>The data collection and processing part of the system structure diagram is shown in Figure 6:</p>
        <p>Figure 6. Data Collection and Processing Part of the System Structure Diagram.</p>
        <p>The structure diagram of the master control system is shown in Figure 7:</p>
      </sec>
    </sec>
    <sec>
      <title>4. The Oretical Analysis and Design</title>
      <p>There are two ways to "solve=lock": fingerprint unlocking, phone App to unlock. Fingerprint unlock as the main method of unlocking should be fast and</p>
      <p>accurate. If a particular situation occurs, the fingerprint identification is broken or damaged, and the mobile App unlock should be robust and responsive.</p>
      <p>Figure 7. The Structure of the Main Control System.</p>
    </sec>
    <sec>
      <title>5. Conclusions</title>
      <p>This design adopts single chip microcontroller (STM32F103) as the minimum system. The independent keystroke and single chip are the control module of the fingerprint. Fingerprint identification module and WIFI module constitute information acquisition module. The dc motor and the lock - clasp physical components constitute the electric locking module. Three LED lights constitute a status indicator module. The syclstem is powered by a battery.</p>
      <p>Working process of opening and locking: Case 1: the fingerprint entry module collects the fingerprint information and then processes it through STM32F103, and then checks whether the input fingerprint matches the specified fingerprint. If the match is made through the rotation of the dc motor (5 seconds off the lock) and with a hint, if the input error is only returned to the prompt. The fingerprint unlocking will be banned more than 10 times in a row, and the alarm message will be sent to the mobile APP terminal, and the fingerprint opening will be banned after the alarm. The lock can only be used on the App side of the mobile phone, when the phone App is unlocked, the fingerprint identification will be removed.</p>
      <p>Case 2: send the open lock information directly through the mobile App terminal to the WIFI reception module, and after the single-chip STM32F103 confirms the open lock information, the system will be unlocked (5 seconds off the lock) by rotating the dc motor.</p>
      <p>Special case: when the battery is abnormal, it will be powered by the external power supply to ensure the normal operation of the system.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref-001">
        <mixed-citation>[1] C. Sarkar, N.S.N.A. Uttama, R.V. Prasad. IEEE Internet of Things Journal, 2 (2015):230-239.</mixed-citation>
      </ref>
      <ref id="ref-002">
        <mixed-citation>[2] D.H. Park, H.C. Bang, C.S. Pyo. Seou, Korea. New Jersey: IEEE Press, 2014:85-88.</mixed-citation>
      </ref>
      <ref id="ref-003">
        <mixed-citation>[3] S. Cirani, M. Picone, L. Veltri. IEEE Sensors Journal, 15 (2015):1224-1234.</mixed-citation>
      </ref>
      <ref id="ref-004">
        <mixed-citation>[4] L. Richardson, S. Ruby. Cambridge:O’Reilly Media, 2007:199-204.</mixed-citation>
      </ref>
      <ref id="ref-005">
        <mixed-citation>[5] S. Allamaraju. RESTFUL Web Services Cookbook: Solutions for Improving Scalability and Simplicity[M]. Sunnyvale:Yahoo Press, 2010:131-145.</mixed-citation>
      </ref>
    </ref-list>
  </back>
  <floats-group>
    <fig id="fig-001" position="float">
      <graphic xlink:href="figures/fig-001.png"/>
    </fig>
    <fig id="fig-002" position="float">
      <graphic xlink:href="figures/fig-002.jpg"/>
    </fig>
    <fig id="fig-003" position="float">
      <graphic xlink:href="figures/fig-003.jpg"/>
    </fig>
    <fig id="fig-004" position="float">
      <graphic xlink:href="figures/fig-004.jpg"/>
    </fig>
    <fig id="fig-005" position="float">
      <graphic xlink:href="figures/fig-005.png"/>
    </fig>
    <fig id="fig-006" position="float">
      <graphic xlink:href="figures/fig-006.png"/>
    </fig>
    <fig id="fig-007" position="float">
      <graphic xlink:href="figures/fig-007.png"/>
    </fig>
  </floats-group>
</article>
