1 Introduction to the Intelligent Water Meter Reading System
At present, water meters are all mechanical, and most of them are installed indoors, which brings great trouble to water meter readers. When reading the meter, the meter reader must read the water meter readings from door to door with the naked eye, and then record them in a small notebook he carries with him. After returning home, a special computer input operator must input the water meter readings into the database in the computer, calculate the water consumption for this month, and then print out the water fee that each user should pay for this month. This process is not only labor-intensive, but also prone to errors. Now Deli Shanghai Electronics Co., Ltd. has developed an intelligent water meter that counts the number of turns of the pointer in the mechanical water meter and sends the water meter readings through the serial port RS422. This lays the foundation for the intelligent water meter reading system. The block diagram of the intelligent water meter reading system is shown in Figure 1. |
|
After the user's mechanical water meter is converted into an intelligent water meter, it is connected to the collector installed at the bottom of the building. The collector collects data from the intelligent water meter at a certain time (the specific time can be set) and saves it in the memory. If the number of users of the staircase is greater than 16 or the connection exceeds 500m, a repeater needs to be added between the intelligent water meter and the collector to increase the driving capacity. The core part of the intelligent meter reading system is the portable meter reading mobile phone. Its main task is to interpret and run the Foxpro program compiled by the host computer with its own instructions; collect data from the collector or intelligent water meter and update the content in the database; and compare it with the data of the previous month, calculate the water consumption and print the bill on the spot, and the meter reader will put the bill of each user in the user mailbox at the staircase; the data can be transferred to the computer through the USB interface on the mobile phone, and the computer will process and archive it. Thus, the automatic data collection, transmission, processing, printing and other tasks from the water meter to the computer are realized, which eliminates a lot of manual labor and greatly improves labor efficiency.
|
2 Application of 32-bit S3C44B0X in Intelligent Meter Reading System
S3C44B0X CPU is a 32-bit high-speed processor based on the RISC core of ARM7TDMI launched by SAMSUNG. Its operating voltage is 3.3V, and the operating voltage of the core ARM7TDMI is only 2.5V, which greatly reduces the power consumption of the chip. S3C44B0X has: ①8 MEMORY BANKS for managing external memory, with a maximum storage capacity of 256MB. It can be expanded with EPROM SDRAM FLASH RAM USB LCD. Each Bank supports 8/18/32-bit data format and can address 32MB (except BANK0, the following 4MB is reserved for internal registers). BANK0 is dedicated to system startup, so its memory must be linearly addressed and have memory function; BANK8 and 7 are dedicated to SRAM, FP/EDO/SDRAM, etc.; ② LCD controller supports monochrome, 4, 16 grayscale LCD modules; supports 4-bit single and double line scan, 8-bit single line scan display type; supports the main display dot matrix: 640×480 320×240 160×160, etc.; ③ Two UART ports, the highest baud rate is 115200baud, support IrDA 1.0, can be used for infrared communication; ④ 5-way PWM modulation output, can be used to control the buzzer to output different sounds, prompting various types of system information; ⑤ 71 I/O ports, including 8 external interrupt sources, can be used for keyboard, LCD backlight, lighting control, etc.; ⑥ 8-way 10-bit A/D converter, can be used for system battery detection; ⑦ System real-time clock with calendar function, can be used to record meter reading time; ⑧ Built-in PLL phase-locked loop can set the system operating frequency, up to 73MHz; ⑨ 4 system working modes: normal, slow, idle and stop mode. Setting different working modes according to needs can reduce system power consumption. The hardware connection diagram of using S3C44B0X to realize the function of smart meter reading mobile phone is shown in Figure 2. |
|
2.1 Connection between S3C44B0X and SDRAM HY57V161610D
|
Since FLASH KM29U128T is not linearly addressed, it cannot be used for system startup. Therefore, a linearly addressed EEPROM such as 29EE010 is required for system initialization. Its main task is to initialize the system and transfer the operating system stored in FLASH to SDRAM for operation. Therefore, the capacity of EEPROM does not need to be very large. When connecting the hardware, please note that the chip select signal of EEPROM should be connected to BANK0 (NGCS0) of S3C44B0X.
|
References
1 SUMSUNG Co., Ltd. S3C44B0X USER MANUAL 2 SUMSUNG Co., Ltd. SPECIFICATION KM29U128T 3 EPSON Co., Ltd. SPECIFICATION TCM-A0902-10 4 NATIONAL Co., Ltd. SPECIFICATION USBN9603.2000 5 HYUNDAL Co., Ltd. SPECIFICATION HY57V161610D 1999 6. S3C44B0X datasheet http://www.dzsc.com/datasheet/S3C44B0X_589522.html. 7. RS232 datasheet http://www.dzsc.com/datasheet/RS232_585128.html. 8. USBN9603 datasheet http://www.dzsc.com/datasheet/USBN9603_675540 .html. 9. MAX232 datasheet http://www.dzsc.com/datasheet/MAX232_1074207.html. 10. 29EE010 datasheet http://www.dzsc.com/datasheet/29EE010_1134769.html |
Previous article:Design of a new network digital camera system
Next article:Design of smart home controller based on multimedia processor VG2
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Show off the Sony headphones I got from EEWORLD
- Single tube amplifier
- TMS320F28335 SVPWM source program
- 【RPi PICO】CircuitPython Firmware
- Microwave Circuit Appreciation
- Microcontroller learning notes, teach you how to learn in three steps!
- msp430f5529 uart pwm adc
- WiFi NeoPixel Cube
- [Help] In the design of lithium battery power modules, why is every 1V of lithium battery voltage very valuable?
- [DIY Bing Dun Dun] + Limited Edition Homemade Dun Dun is here