GPS bus automatic stop announcement system based on 51 single chip microcomputer

Publisher:EnigmaticSoulLatest update time:2021-09-30 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Hardware Solution

This design is mainly to produce a GPS automatic bus stop announcement based on 51 single-chip microcomputer. According to the design requirements, the hardware part should have the functions of GPS positioning, voice broadcast, LCD display, key operation and corresponding indicator light prompts. Therefore, this design uses STC89C58RC single-chip microcomputer as the main control chip, GPS module uses VK2828U7G5LF, LCD display part uses LCD12864 liquid crystal, audio playback part uses Miniplay module, and key circuit, indicator light prompt circuit also adds clock display circuit. The overall hardware block diagram is shown in the figure:

insert image description here

2. Design function

(1) There are two main ways of announcement in this design. One is that when arriving at the announcement station, the driver presses the corresponding button to make an announcement; the other is a fully automatic voice announcement method. When arriving at the announcement station, the design will automatically make an announcement.


(2) It has a built-in clock display and a GPS automatic time calibration switch. When the calibration button is pressed, the current time data will be automatically calibrated once each time the power is turned on if valid GPS data is received. Pressing the button again will turn off the automatic GPS time calibration function, but the manual debugging function is supported.


(3) The clock chip is equipped with a button battery. When the system loses power, the button battery continues to work; after powering on again, the time does not need to be reset;


(4) The volume of the voice broadcast can be adjusted by pressing the button.


(5) There are two ways to modify the latitude and longitude data during automatic broadcasting. One is to fix the program and cannot be modified. The other is to customize the latitude and longitude data. The user can stand at the location where the broadcast is desired with the device, select the corresponding menu, and press the corresponding button when the GPS data is stable to enter the latitude and longitude data of the station name.


3. Design Schematic

(1) The schematic diagram is mainly designed using AD software, as shown in the figure:

insert image description here

(2) The PCB diagram is as follows:

insert image description here

4. Software Design

(1) Program flow chart

insert image description here

(2) Main program source code


void main()

 {

   TimeInt();

   LCD12864_init();      //Call display function

// Send_Appoint_Music(1);


   read_memory();

Mode=0;

   if(Mode) 

    {

  read_GPS();

}



   while(1) 

    {  

  read_time1(); //Read time function, GPS_Write is equal to 1, indicating that the GPS to be acquired is assigned to the time

  GPS_Route_Dispose();

  Display(); //Display function

  key_dispose(); //Key processing function

  memory();

  memory_GPS();

  led_dispose();


  if(Busy == 0) 

   {

     if(Sound_flag)

  {  

    Sound_flag=0;

    Send_Appoint_Sound(Sound); 

  }

   }

}

 }

Reference address:GPS bus automatic stop announcement system based on 51 single chip microcomputer

Previous article:Infrared drip infusion detection system based on 51 single chip microcomputer
Next article:Design of intelligent wiper based on 51 single chip microcomputer

Recommended ReadingLatest update time:2024-11-17 02:53

Narrow frequency shift digital discriminator circuit detects differential GPS correction signals
The differential correction signal is sent to the GPS signal (DGPS) through a low-frequency (285~325kHz) transmitter, and the transmission data rate is 100bps or 200bps. This modulation is minimum shift keying (MSK), which produces a pseudo frequency shift keying (FSK) with a carrier offset of half the bit rate. For
[Analog Electronics]
Design of GPS Positioning System Based on 51 Single Chip Microcomputer
1. Hardware Solution This design is mainly to produce a GPS locator based on 51 single-chip microcomputer. According to the design requirements, the hardware part is mainly designed by 51 single-chip microcomputer + GPS positioning module + LCD12864 liquid crystal + LED indicator light + 3.3V voltage regulator circuit
[Microcontroller]
Design of GPS Positioning System Based on 51 Single Chip Microcomputer
GPS module (G28U7FTTL) (1) - communicating with the microcontroller
The reason why we designed this module is that we want to conduct a practical training for students, which originated from a practical project of a colleague: an automatic speed-controlled seeder. The principle is to install the GPS module on the seeder, and then adjust the sowing speed of the seeder according to the
[Microcontroller]
GPS module (G28U7FTTL) (1) - communicating with the microcontroller
Car anti-theft system based on GPS and GSM network
0 Introduction     With the advent of the new era, cars have developed rapidly as an important means of transportation. At the same time, the number of car thefts has also increased. However, most of the car anti-theft systems on the market have certain limitations. Therefore, network anti-theft systems with high rel
[Microcontroller]
Car anti-theft system based on GPS and GSM network
Design of portable navigation system using TU-30 GPS module and MSP430 series microcontroller
1  Introduction to GPS System GPS is the abbreviation of Global Positioning System . Its purpose is to accurately locate and monitor ground and air targets on a global scale. With the increasing application of global spatial positioning information, the full-time, all-weather, high-precision positioning services p
[Automotive Electronics]
Design of portable navigation system using TU-30 GPS module and MSP430 series microcontroller
Design of vehicle-mounted GPS system based on ARM processor
1 Introduction Vehicle-mounted GPS positioning terminals have become the focus of the development of the automotive industry in the past decade. In Europe, the United States and Japan, vehicle-mounted GPS positioning terminals have been widely used in recent years. Vehicle-mounted GPS positioning terminals are
[Microcontroller]
Design of vehicle-mounted GPS system based on ARM processor
51 single chip GPS + sim800c GSM positioning SMS LCD1602 LCD display program
sim800c+GPS chip is a small design for practice, a little ugly. Attached is the program and the principle PCB diagram. It is   my first post, please forgive me if it is not good. Button function: one button alarms, buzzer sounds, another button sends a text message to the specified mobile phone, the mobile phone num
[Microcontroller]
51 single chip GPS + sim800c GSM positioning SMS LCD1602 LCD display program
Vehicle GPS Positioning Information Collection System Based on ARM9 and WindowsCE
GPS can provide continuous, high-precision, real-time time reference, three-dimensional position, three-dimensional velocity, integer ambiguity and other data. It has the characteristics of good performance and high accuracy. Therefore, it is widely used in military and civilian fields such as GPS carrier phase atti
[Microcontroller]
Vehicle GPS Positioning Information Collection System Based on ARM9 and WindowsCE
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号