Circuit design of ultrasonic monitoring and early warning system based on ARM single chip

Publisher:光子梦境Latest update time:2015-02-04 Source: dzscKeywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

    With the development of informatization, intelligence and networking, embedded system technology has gained a broad space for development, and the field of industrial control is also undergoing a huge change. Real-time embedded software and hardware technology based on 32-bit high-end processors will be applied in every corner of industrial control. Embedded controllers have been applied to various fields such as industry, agriculture, education, national defense, scientific research and daily life due to their many advantages such as small size, high reliability, strong functions, flexibility and convenience, and have played an extremely important role in promoting technological transformation, product upgrading, accelerating the automation process and improving productivity in various industries.

    Design of obstacle distance detection circuit

    In this system, the ultrasonic distance measurement circuit is designed by MICROCHIP's PIC16C57, and the ultrasonic sensor selected is the T/R40-16 piezoelectric ceramic sensor. During operation, the main controller PIC16C57 sends a signal to make the ultrasonic transducer at the transmitting end send out voltage excitation. After being excited, it emits ultrasonic waves in the form of pulses. When the ultrasonic receiver receives the echo signal, it is transmitted back to the main controller. The timer in the main controller starts timing when the pulse signal starts to be emitted, and stops timing when the echo signal is received. The time interval multiplied by the speed of sound is twice the distance value. Thus, the distance from the obstacle to the transmitting point is calculated. Its circuit diagram is shown in Figure 2.

    The distance value is serially output through the 10th pin of PIC16C57 and connected to the serial port of ARM through the MAX232 chip. The chip MAX232 is an interface circuit designed for the RS232 standard serial port, which completes the conversion between TTL level and RS232 level.

    Design of sound and light alarm circuit

    This system requires a three-level alarm for dangerous conditions based on the critical value of the distance of obstacles that affect the stability of the loader. When in a low-risk situation, only the green indicator light is lit to remind the driver to pay attention; when the danger level increases, the yellow indicator light is lit, accompanied by a soothing buzzer, reminding the driver to take measures; when the highest danger level is reached, the red indicator light is lit, and the buzzer sound changes from soothing to urgent, reminding the driver to brake quickly. In the design, P2.20 (GPIOA4) of LPC2290 is used to drive the green LED, P2.21 (GPIOA5) drives the yellow LED, P2.22 (GPIOA6) drives the red LED, and P2.23 (GPIOA7) drives the buzzer. The designed alarm circuit is shown in Figure 3.

    Through test verification, the system has met the required functional requirements, with a maximum measurement value of 9.99m and an error of ≤0.01m. It is very convenient to install and easy to use. However, there is one shortcoming of the system, that is, when using ultrasonic sensors to detect road information in front of the vehicle, if it is a raised obstacle, it can be effectively detected, but if there is a pit in front, it cannot be detected, so further research is needed .

Keywords:ARM Reference address:Circuit design of ultrasonic monitoring and early warning system based on ARM single chip

Previous article:Implementation of Ad Hoc Network Platform Based on ARM
Next article:Design of rotary encoder acquisition module based on ARM

Recommended ReadingLatest update time:2024-11-16 13:55

ARM Basic Learning-SWI Exception Interrupt Processing
In ARM processors, we often use the SWI instruction to generate a soft interrupt. The soft interrupt instruction SWI instruction contains a 24-bit immediate value, which indicates the specific SWI function requested by the user, that is, this immediate value represents the interrupt number that the SWI instruction wan
[Microcontroller]
ARM basics: correspondence between Linux operating state and ARM operating mode
ask: From a certain perspective, kernel state is similar to soft interrupt. The system usually runs in user state. It switches to kernel state only after a specific operation occurs. There is always an idle process (user state) running. This idle process ensures that the system usually runs in user state. The process
[Microcontroller]
Configure arm linux Qt development environment
The process of configuring the arm linux Qt development environment is relatively complicated, so it is necessary to record the steps. Version: Ubuntu10.04 LTS / Qt SDK 4.7.3 / arm-linux-gcc 4.4.3   1. Install arm-linux-gcc compiler 1. Download arm-linux-gcc-4.4.3, http://ishare.iask.sina.com.cn/f/13836544.html 2. Af
[Microcontroller]
Design Technology of Embedded Web Server Based on ARM7
1 Overview With the development of embedded technology and network technology, it has gradually become a development trend for embedded devices to access LAN or Internet through the network. Embedded Web server technology provides network interfaces for embedded devices with its good versatility and interactivit
[Microcontroller]
Design Technology of Embedded Web Server Based on ARM7
ARM_S3C2440 interrupt analysis
1. What is an interrupt? An interrupt is when the CPU is running a program normally and, due to internal/external events or events pre-arranged by the program, it interrupts the running program and switches to the interrupt program that serves the internal/external events or pre-arranged events. After the service is c
[Microcontroller]
ARM Processing Registers and User Mode
The ARM processor has a total of 37 registers, which are divided into several groups (BANK). These registers include: ● 31 general-purpose registers, including the program counter (PC pointer), are 32-bit registers. ● 6 status registers, used to identify the CPU working status and the program running status, all are 3
[Microcontroller]
ARM Processing Registers and User Mode
Linux-ARM Interrupt GIC Analysis
  1. “Stand high and pee far”   GIC is an interrupt controller. Don't confuse it with the ARM core interrupts. These interrupts are connected to the ARM core's IRQ or FIQ.   To understand the ARM interrupt system, GIC is definitely not to be missed. Here is a picture that everyone can find on Baidu.       Don't co
[Microcontroller]
Linux-ARM Interrupt GIC Analysis
ARM Nand Flash Getting Started Manual (Taking K9F2G08X0M as an example)
1. Organizational Structure: The memory chip has several important units: device block page. 1 Device = 2048 block = 2k block 1 block = 64 page 1 page = (2048 + 64) Byte in: Block is the basic/minimum unit of Nand Flash erase operation. Page is the basic unit/minimum unit of Nand Flash read and write operations. A t
[Microcontroller]
ARM Nand Flash Getting Started Manual (Taking K9F2G08X0M as an example)
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号