Competition design tasks
Design an intelligent component cabinet management system.
Competition topic requirements
1.Basic requirements
(1) Storage function, the administrator inputs the type and quantity of components to be stored, and the corresponding component library pops up
Only then can the components be put into storage.
(2) With the warehouse out function, the user inputs the type and quantity of the components to be taken out, and the corresponding component library pops up.
(3) The type and number of remaining components can be viewed and searched, and the data can be saved when power is turned off.
(4) Good human-computer interaction, human-computer interaction can be achieved through buttons, touch screens, etc.
2. Play part
(1) Multi-user management can be realized, adding and deleting users and administrators
(2) Low power consumption design, it will enter low power consumption mode if no one uses it for a long time.
(3) Multiple login methods
Option 1: Use 89C51 series chips. The advantage is that there are abundant source codes for reference. The disadvantages are that the system and functions are simple, the price is expensive, and the memory and processing speed are not high;
Option 2: Use STM8 series chips. The advantage is that it has powerful clock and AD interfaces, contains EEPROM, which can save data when power is turned off. It has IIC and SPI interfaces. It is cheap, but it also has the disadvantage of low processing speed;
Option 3: Use STM32 series chips. The advantage is that it has the advantages of 89C51 and STM8 series chips, and has larger RAM memory, higher main frequency, faster processing speed, lower power consumption, and rich resources. The disadvantage is that the chip price ratio The 80C51 and STM8 series are higher.
After analysis and comparison, we finally adopted option three, which uses the stm32f103 main control chip, has 64k RAM memory, has a main frequency of up to 72M, an external flash capacity of up to 8M, and can be mounted with the FATFS system to achieve more data storage and cost Extremely low.
Option 1: Use LCD5110 screen. The advantages are simple interface, fast speed, and rich source code for reference. The disadvantage is that it takes up a lot of IO port resources;
Option 2: Use a 0.96-inch OLED12864 screen. The advantages are small size, high visibility, and low IO port usage. The disadvantage is that it requires high working environment and is expensive.
Option 3: Use a 3.2-inch LCD screen, which has the advantages of large viewing area, high display quality, and low power consumption, but the disadvantage is that it is relatively expensive.
After analysis and comparison, we finally chose option three and used a 240*320 LCD screen.
Option 1: Use a capacitive screen. Its advantage is that it only requires touch, not pressure to generate a signal. It has a longer lifespan, supports multi-touch, and has faster response, but the cost is higher.
Option 2: Use resistive screen. Its advantages are high accuracy, wear resistance, and low price. Its disadvantage is that it is easier to damage the touch part of the screen due to scratches.
After analysis and comparison, due to the cost of funding, option two was finally selected.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet