Go Back   RCCrawler Forums > RCCrawler General Tech > Electronics
Loading

Notices

Thread: STONE HMI ESP32 Line Count and Alarm

Reply
 
LinkBack Thread Tools Display Modes
Old 03-27-2022, 06:40 PM   #1
I joined the Band!
 
Join Date: Jul 2021
Location: Sydney
Posts: 1
Default STONE HMI ESP32 Line Count and Alarm

With the continuous development of a single-chip microcomputer, the counting equipment tends to be automatic. It needs an automatic technical device with real-time, high efficiency, and accuracy to meet the counting requirements of the modern production line. Through the design of esp32 MCU as the core processor to meet the above requirements, in addition to the application of infrared sensor and smoke alarm function, it has the characteristics of small size, strong function, high reliability, and high-cost performance.
The design idea of this application is that the infrared transmitting tube emits infrared rays, and the infrared receiving tube receives the infrared ray. When the infrared receiving tube is irradiated by infrared rays, the resistance will change, and the single-chip microcomputer can collect this change; so is the smoke sensor. When the smoke concentration in the surrounding environment fluctuates, it will produce a level change, and the single-chip microcomputer can also collect it, The system uses a stone TFT LCD serial port screen, which is very convenient to develop. It only needs to complete the communication through the serial port. The MCU naturally adopts esp32.
This application can help the production line to realize the automatic piece counting function, and has the function of fire recording. When there is a fire, the number of occurrences is recorded, and this function can expand the alarm function.

Project Overview
Here we do the production line counting application, after boot, stone TFT The LCD serial port screen will have a start interface. After a short stay, it will jump to the specified page 1 and display the time setting. At this time, it is necessary to set the current time. Another option is to have a record of the number of fires, which will be added one each time, which can be used as the basis for fire control on the production line. After the time setting is completed, it will be displayed on the next interface, and click OK Enter the set production target as the assessment basis. After setting, click OK to enter the counting interface. Here, the data uploaded to esp32 through the sensor, and then transmitted to the stone TFT LCD serial port screen through esp32. One will be added each time. The current output rate will be calculated according to the target quantity, and the data will be updated every time an object is detected.

The communication functions are as follows:

The serial port screen of stone TFT LCD realizes the function of button switching interface;
The serial port screen of stone TFT LCD realizes the function of an automatic jump when starting up;
The serial port screen of stone TFT LCD realizes time setting;
The serial port screen of stone TFT LCD realizes data variable distribution;
STONE TFT LCD serial port screen realizes serial command communication.
Modules required for the project:

STONE TFT LCD;
Arduino ESP32;
Infrared detection module;
④ Smoke detection module.
Block Diagram
ESP32-Line-Count-Alarm-lcd

Hardware Introduction And Principle
STVC101WT-01
10.1 inch 1024×600 industrial grade TFT panel and 4-wire resistance touch screen;
brightness is 300cd / m2, LED backlight;
RGB color is 65K;
visual area is 222.7mm * 125.3mm;
visual angle is 70 / 70 / 50 / 60;
working life is 20000 hours. 32-bit cortex-m4 200Hz CPU;
CPLD epm240 TFT-LCD controller;
128MB (or 1GB) flash memory;
USB port (U disk) download;
toolbox software for GUI design, simple and powerful hex instructions.
Basic Functions


Touch screen control / display image / display text / display curve / read and write data / play video and audio. It is suitable for various industries.
UART interface is RS232 / RS485 / TTL;
voltage is 6v-35v;
power consumption is 3.0w;
working temperature is – 20 ℃ / + 70 ℃;
air humidity is 60 ℃ 90%.
STVC101WT-01 module communicates with MCU through a serial port, which needs to be used in this project. We only need to add the designed UI picture through the upper computer through the menu bar options to buttons, text boxes, background pictures, and page logic, then generate the configuration file, and finally download it to the display screen to run.
In addition to the data manual, there are user manuals, common development tools, drivers, some simple routine demos, video tutorials, and some for testing projects.

HC-SR501 Module
Product Features
It is an automatic control module based on infrared technology. It is designed with a lhi778 probe imported from Germany. It has high sensitivity, strong reliability, and ultra-low voltage working mode. It is widely used in all kinds of automatic induction electrical equipment, especially the automatic control products powered by a dry battery. A high level is an output when an object is detected passing by.

With the continuous development of a single-chip microcomputer, the counting equipment tends to be automatic. It needs an automatic technical device with real-time, high efficiency, and accuracy to meet the counting requirements of the modern production line. Through the design of esp32 MCU as the core processor to meet the above requirements, in addition to the application of infrared sensor and smoke alarm function, it has the characteristics of small size, strong function, high reliability, and high-cost performance. The design idea of this application is that the infrared transmitting tube emits infrared rays, and the infrared receiving tube receives the infrared ray. When the infrared receiving tube is irradiated by infrared rays, the resistance will change, and the single-chip microcomputer can collect this change; so is the smoke sensor. When the smoke concentration in the surrounding environment fluctuates, it will produce a level change, and the single-chip microcomputer can also collect it, The system uses a stone TFT LCD serial port screen, which is very convenient to develop. It only needs to complete the communication through the serial port. The MCU naturally adopts esp32. This application can help the production line to realize the automatic piece counting function, and has the function of fire recording. When there is a fire, the number of occurrences is recorded, and this function can expand the alarm function.

Electrical parameters
Model Number HC–SR501 induction module
Operating voltage range DC voltage 4.5-20V
quiescent current <50uA
Level output High 3.3 V / Low 0V
trigger method L Non-repeatable trigger / H Repeat trigger
Board Outline Dimensions 32mm*24mm
sensory angle <100 degrees cone angle
working temperature -15-+70 degrees
ESP32 EVB
Esp32 is a single-chip scheme integrated with 2.4 GHz Wi-Fi and Bluetooth dual-mode. It adopts TSMC’s ultra-low power consumption 40 nm technology, with ultra-high RF performance, stability, versatility, and reliability, as well as ultra-low power consumption, which meets different power consumption requirements and is suitable for various applications scenarios. At present, the product models of esp32 series include esp32-d0wd-v3, esp32-d0wdq6-v3, esp32-d0wd, esp32-d0wdq6, esp32-d2wd, esp32-s0wd and esp32-u4wdh. Esp32-d0wd-v3, esp32-d0wdq6-v3 and esp32-u4wdh are chip models based on Eco v3.


piconet and scatternet
multi-device connection with traditional Bluetooth and low power Bluetooth
support simultaneous broadcast and scanning
With the continuous development of a single-chip microcomputer, the counting equipment tends to be automatic. It needs an automatic technical device with real-time, high efficiency, and accuracy to meet the counting requirements of the modern production line. Through the design of esp32 MCU as the core processor to meet the above requirements, in addition to the application of infrared sensor and smoke alarm function, it has the characteristics of small size, strong function, high reliability, and high-cost performance. The design idea of this application is that the infrared transmitting tube emits infrared rays, and the infrared receiving tube receives the infrared ray. When the infrared receiving tube is irradiated by infrared rays, the resistance will change, and the single-chip microcomputer can collect this change; so is the smoke sensor. When the smoke concentration in the surrounding environment fluctuates, it will produce a level change, and the single-chip microcomputer can also collect it, The system uses a stone TFT LCD serial port screen, which is very convenient to develop. It only needs to complete the communication through the serial port. The MCU naturally adopts esp32. This application can help the production line to realize the automatic piece counting function, and has the function of fire recording. When there is a fire, the number of occurrences is recorded, and this function can expand the alarm function.

With the continuous development of a single-chip microcomputer, the counting equipment tends to be automatic. It needs an automatic technical device with real-time, high efficiency, and accuracy to meet the counting requirements of the modern production line. Through the design of esp32 MCU as the core processor to meet the above requirements, in addition to the application of infrared sensor and smoke alarm function, it has the characteristics of small size, strong function, high reliability, and high-cost performance. The design idea of this application is that the infrared transmitting tube emits infrared rays, and the infrared receiving tube receives the infrared ray. When the infrared receiving tube is irradiated by infrared rays, the resistance will change, and the single-chip microcomputer can collect this change; so is the smoke sensor. When the smoke concentration in the surrounding environment fluctuates, it will produce a level change, and the single-chip microcomputer can also collect it, The system uses a stone TFT LCD serial port screen, which is very convenient to develop. It only needs to complete the communication through the serial port. The MCU naturally adopts esp32. This application can help the production line to realize the automatic piece counting function, and has the function of fire recording. When there is a fire, the number of occurrences is recorded, and this function can expand the alarm function.



With the continuous development of a single-chip microcomputer, the counting equipment tends to be automatic. It needs an automatic technical device with real-time, high efficiency, and accuracy to meet the counting requirements of the modern production line. Through the design of esp32 MCU as the core processor to meet the above requirements, in addition to the application of infrared sensor and smoke alarm function, it has the characteristics of small size, strong function, high reliability, and high-cost performance. The design idea of this application is that the infrared transmitting tube emits infrared rays, and the infrared receiving tube receives the infrared ray. When the infrared receiving tube is irradiated by infrared rays, the resistance will change, and the single-chip microcomputer can collect this change; so is the smoke sensor. When the smoke concentration in the surrounding environment fluctuates, it will produce a level change, and the single-chip microcomputer can also collect it, The system uses a stone TFT LCD serial port screen, which is very convenient to develop. It only needs to complete the communication through the serial port. The MCU naturally adopts esp32. This application can help the production line to realize the automatic piece counting function, and has the function of fire recording. When there is a fire, the number of occurrences is recorded, and this function can expand the alarm function.





Appendix
caspar is offline   Reply With Quote
Sponsored Links
Reply

Tags
alarm



STONE HMI ESP32 Line Count and Alarm - Similar Threads
Thread Thread Starter Forum Replies Last Post
Lipo alarm b00st3d-vr6 Electronics 5 02-26-2015 09:50 AM
Alarm Clock 2JSC Chit Chat 4 04-29-2010 11:13 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 06:39 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.
Copyright 2004-2014 RCCrawler.com