CN212009690U - Bus coin box based on microcontroller control - Google Patents

Bus coin box based on microcontroller control Download PDF

Info

Publication number
CN212009690U
CN212009690U CN202020536823.7U CN202020536823U CN212009690U CN 212009690 U CN212009690 U CN 212009690U CN 202020536823 U CN202020536823 U CN 202020536823U CN 212009690 U CN212009690 U CN 212009690U
Authority
CN
China
Prior art keywords
circuit
main control
control circuit
coin box
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202020536823.7U
Other languages
Chinese (zh)
Inventor
卢俊毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Zhengxin Electronic Co ltd
Original Assignee
Hangzhou Zhengxin Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Zhengxin Electronic Co ltd filed Critical Hangzhou Zhengxin Electronic Co ltd
Priority to CN202020536823.7U priority Critical patent/CN212009690U/en
Application granted granted Critical
Publication of CN212009690U publication Critical patent/CN212009690U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The utility model provides a bus coin box based on microcontroller control, includes master control circuit, master control circuit be used for controlling the bus coin box work open stop and the transmission storage of data, master control circuit be connected with serial communication circuit, communication converting circuit, drive circuit, RFID reset circuit, anti high pulse interference circuit and memory circuit, serial communication circuit be used for data signal's exchange, communication converting circuit be used for carrying out serial port debugging and communication protocol's conversion. The utility model discloses a set up RFID reset circuit and can realize contactless initial data that resumes the public transit coin box to throw coin box's main control chip to the public transit and reset the processing, make things convenient for staff's inspection. The coin information of the user can be transmitted to the main control circuit through the serial port communication circuit, and then the coin information of the user is stored through the storage circuit, so that the public transport company can conveniently carry out statistics and check on the amount of money and the number of people.

Description

Bus coin box based on microcontroller control
Technical Field
The utility model belongs to the technical field of the controller technique of inserting coins and specifically relates to a bus coin box based on microcontroller control.
Background
The bus coin box is the more equipment instrument of daily life trip contact, the purpose that the ticket was taken a bus is realized mainly to the utilization card swiping or coin feeding, present most bus coin box when throwing in the coin, because the sensitive slow and slow of coin box can cause the inaccurate of user's coin quantity, cause the unnecessary misuse, extravagant public time, and most bus coin box when resuming initial data, all need will throw the coin box off and insert the data line and just can implement, it is inconvenient to use.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to overcome prior art not enough, provide one kind and can adopt RFID technique contactless information transmission and coin the sensitive public transit of precision and throw coin box.
The utility model provides a its technical problem take following technical scheme to realize:
a microcontroller-controlled bus coin box comprises:
the main control circuit is used for controlling the starting and stopping of the work of the bus coin box;
the serial communication circuit is used for exchanging data signals;
the communication conversion circuit is used for carrying out serial port debugging and conversion of a communication protocol;
the driving circuit is used for controlling the starting of the bus coin box motor;
the RFID reset circuit is used for restoring data of the bus coin box and restoring factory settings;
the serial communication circuit, the communication conversion circuit, the driving circuit and the RFID reset circuit are all connected with the master control circuit, and instructions are given to the master control circuit through the serial communication circuit, so that the driving circuit drives the motor of the bus coin box to start and stop.
Preferably, the bus coin box based on microcontroller control still include:
the high-pulse interference resisting circuit is connected with the main control circuit and is used for maintaining the pulse width of a main control circuit chip and preventing signal interference to the main control chip caused by high pulse;
the storage circuit is connected with the main control circuit and is used for storing the coin inserting data information of the main control circuit;
the buzzer circuit is connected with the main control circuit and used for giving an alarm to prompt after a user inserts coins.
Preferably, the main control circuit is further connected with a charging circuit, the charging circuit is connected with a voltage reduction and voltage stabilization circuit, the voltage reduction and voltage stabilization circuit is connected with an external power supply, the voltage reduction and voltage stabilization circuit reduces the high voltage of the external power supply to the low voltage used by the main control circuit, and then the main control circuit is supplied with power through the charging circuit.
Preferably, the pins of the MCU RX1, the MCU TX1, the MCU RX2 and the MCU TX2 of the serial communication circuit are connected to the U5 chip of the main control circuit.
Preferably, the TERM ON pin of the communication conversion circuit is connected to the PA6 pin of the U5 chip of the main control circuit.
Preferably, the RC522PWR pin of the RFID reset circuit is connected to the PC0 pin of the U5 chip of the main control circuit.
Preferably, the anode of the diode D1 of the anti-high-pulse interference circuit is connected to the resistor R20 of the main control circuit.
Preferably, the MCU MISO pin of the memory circuit is connected to the PC6 pin of the main control circuit, the FLASH WR pin of the memory circuit is connected to the PC2 pin of the main control circuit, and the MCU SCK pin of the memory circuit is connected to the PC7 pin of the main control circuit.
Preferably, the model of the control chip of the main control circuit is ATXMEGA.
The utility model has the advantages that:
the utility model discloses a set up RFID reset circuit and can realize contactless initial data that resumes the public transit coin box to throw coin box's main control chip to the public transit and reset the processing, make things convenient for staff's inspection. The coin information of the user can be transmitted to the main control circuit through the serial port communication circuit, and then the coin information of the user is stored through the storage circuit, so that the counting and checking of the amount of money and the number of people flow of a public transport company are facilitated, and the data are accurate.
Drawings
Fig. 1 is a schematic block diagram of the connection of the various circuit modules of the present invention;
fig. 2 is a schematic circuit connection diagram of the main control circuit of the present invention;
fig. 3 is a schematic circuit connection diagram of the serial port communication circuit of the present invention;
fig. 4 is a schematic circuit connection diagram of the communication conversion circuit of the present invention;
fig. 5 is a schematic circuit connection diagram of the driving circuit of the present invention;
fig. 6 is a schematic circuit connection diagram of the RFID reset circuit of the present invention;
fig. 7 is a schematic circuit diagram of the anti-high-pulse interference circuit of the present invention;
fig. 8 is a schematic circuit diagram of a memory circuit according to the present invention;
fig. 9 is a schematic circuit connection diagram of the buzzer circuit of the present invention;
fig. 10 is a schematic circuit diagram of the charging circuit of the present invention;
fig. 11 is a schematic diagram of the circuit connection of the voltage reduction and stabilization circuit of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When a component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When a component is referred to as being "disposed on" another component, it can be directly on the other component or intervening components may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The embodiments of the present invention will be described in detail with reference to the accompanying drawings:
as shown in fig. 1 and fig. 2, the utility model discloses a bus coin box based on microcontroller control, including the master control circuit, the master control circuit be used for controlling the start and stop of bus coin box work and the transmission storage of data, the model of master control chip U5 of master control circuit be ATXMEGA, the master control circuit be connected with serial communication circuit, communication converting circuit, drive circuit, RFID reset circuit, anti high pulse interference circuit and memory circuit, the serial communication circuit be used for data signal's exchange, the communication converting circuit be used for carrying out serial debugging and communication protocol's conversion, the drive circuit be used for controlling the start-up of bus coin box motor, anti high pulse interference circuit be used for maintaining the pulse width of master control circuit chip, prevent to cause signal interference because of high pulse to master control chip, the memory circuit be used for storing the coin data information of throwing of master control circuit, the RFID reset circuit is used for restoring data of the bus coin box and restoring factory settings, and gives instructions to the main control circuit through the serial communication circuit, so that the driving circuit drives the motor of the bus coin box to start and stop.
Furthermore, the main control circuit is also connected with a buzzer circuit, and the buzzer circuit is used for giving an alarm to prompt after the user inserts coins. The main control circuit is also connected with a charging circuit, the charging circuit is connected with a voltage reduction and voltage stabilization circuit, the voltage reduction and voltage stabilization circuit is connected with an external power supply, the high voltage of the external power supply is reduced to be the low voltage used by the main control circuit through the voltage reduction and voltage stabilization circuit, and then the main control circuit is supplied with power through the charging circuit.
As shown in fig. 3, which is a schematic connection diagram of a serial communication circuit, pins of the MCU RX1, the MCU TX1, the MCU RX2 and the MCU TX2 of the serial communication circuit are connected to a U5 chip of the main control circuit, a control chip of the serial communication circuit is of a model SP3232, and serial ports COM1 and COM2 led out of the serial communication circuit can be connected to a slot of a bus slot box or a contactor of a bus card.
As shown IN fig. 4, a connection diagram of the communication conversion circuit is shown, a connection board of the communication conversion circuit is DF12E-50DP, a TERM ON pin of the communication conversion circuit is connected to a PA6 pin of a U5 chip of the main control circuit, a TXD-IN pin of the communication conversion circuit is connected to a PE3 pin of a U5 chip of the main control circuit, an RXD-OUT pin of the communication conversion circuit is connected to a PE2 pin of a U5 chip of the main control circuit, and a U10 chip of the communication conversion circuit is USR-TCP232, which is used for converting a communication protocol of the main control chip.
As shown in fig. 5, the connection diagram of the driving circuit is shown, the model of the control chip of the driving circuit is L9110S, the OB pin and the OA pin of the driving circuit are connected with the starting motor of the bus coin box, the 1A pin of the driving circuit is connected with the PD5 pin of the main control circuit, and the 1B pin of the driving circuit is connected with the PD4 pin of the main control circuit, and is used for driving the motor of the bus coin box.
As shown in fig. 6, a connection diagram of the RFID reset circuit is shown, and the RC522PWR pin of the RFID reset circuit is connected to the PC0 pin of the U5 chip of the main control circuit for RFID non-contact reset.
As shown in fig. 7, a connection diagram of the anti-glitch circuit is shown, a control chip of the anti-glitch circuit is LM2596, a Vin pin of the control chip is connected to an inductor L, two ends of the inductor L are connected to a rectifier bridge chip DB107 through a transistor TIP1 and a diode D1, and AC1 and AC2 pins of the rectifier bridge chip DB107 are connected to a dc 24V power supply.
As shown in fig. 8, the connection diagram of the memory circuit is shown, the model of the control chip of the memory circuit is AT45DB081D, the MCU MISO pin of the memory circuit is connected to the PC6 pin of the main control circuit, the FLASH WR pin of the memory circuit is connected to the PC2 pin of the main control circuit, and the MCU SCK pin of the memory circuit is connected to the PC7 pin of the main control circuit, for storing the coin amount data information of the bus coin box.
As shown in fig. 9, which is a schematic connection diagram of the buzzer circuit, one electrode of the buzzer LS1 of the buzzer circuit is connected to the collector of the transistor Y1, and the base of the transistor Y1 is connected to the PD1 pin of the main control circuit through the resistor R30.
As shown in fig. 10, a connection diagram of the charging circuit is shown, where a model of a control chip of the charging circuit is TP4065, a BAT pin of the charging circuit is connected to a serial port XH2 through a transistor Q5, and a pin of the serial port XH2 is connected to a PR0 pin of the main control circuit through a transistor Q7, so as to supply power to the main control circuit.
As shown in fig. 11, the model of the control chip of the voltage reduction and stabilization circuit is MP1583DN, the input terminal of the voltage reduction and stabilization circuit is connected to the dc 12V power voltage, and the output terminal outputs the dc 5V voltage.
When the bus coin box is specifically implemented, a coin slot or a card swiping device of the bus coin box is connected with an input end of a serial communication circuit, a starting motor of the bus coin box is connected with an output end of a driving circuit, when a user puts coins into the coin slot or swipes a bus card on the card swiping device, the serial communication circuit transmits signals to a main control circuit, the main control circuit controls the starting motor of the driving circuit of the bus coin box, a buzzer of the buzzer rings to prompt that the user has thrown coins, a display screen can also be connected at a spare port on the main control circuit, and the coin amount of the user is displayed through a program control display screen of a main control circuit single chip.
The utility model discloses a set up RFID reset circuit and can realize contactless initial data that resumes the public transit coin box to throw coin box's main control chip to the public transit and reset the processing, make things convenient for staff's inspection. The coin information of the user can be transmitted to the main control circuit through the serial port communication circuit, and then the coin information of the user is stored through the storage circuit, so that the counting and checking of the amount of money and the number of people flow of a public transport company are facilitated, and the data are accurate.
It should be emphasized that the embodiments described herein are illustrative and not restrictive, and thus the present invention is not limited to the embodiments described in the detailed description, but also falls within the scope of the present invention, in any other embodiments derived by those skilled in the art according to the technical solutions of the present invention.

Claims (9)

1. The utility model provides a coin box is thrown in bus based on microcontroller control which characterized in that includes:
the main control circuit is used for controlling the starting and stopping of the work of the bus coin box;
the serial communication circuit is used for exchanging data signals;
the communication conversion circuit is used for carrying out serial port debugging and conversion of a communication protocol;
the driving circuit is used for controlling the starting of the bus coin box motor;
the RFID reset circuit is used for restoring data of the bus coin box and restoring factory settings;
the serial communication circuit, the communication conversion circuit, the driving circuit and the RFID reset circuit are all connected with the master control circuit, and instructions are given to the master control circuit through the serial communication circuit, so that the driving circuit drives the motor of the bus coin box to start and stop.
2. The microcontroller-controlled bus coin box as set forth in claim 1, further comprising:
the high-pulse interference resisting circuit is connected with the main control circuit and is used for maintaining the pulse width of a main control circuit chip and preventing signal interference to the main control chip caused by high pulse;
the storage circuit is connected with the main control circuit and is used for storing the coin inserting data information of the main control circuit;
the buzzer circuit is connected with the main control circuit and used for giving an alarm to prompt after a user inserts coins.
3. The microcontroller-controlled bus coin box as set forth in claim 1, wherein: the main control circuit is also connected with a charging circuit, the charging circuit is connected with a voltage reduction and voltage stabilization circuit, the voltage reduction and voltage stabilization circuit is connected with an external power supply, the high voltage of the external power supply is reduced to be the low voltage used by the main control circuit through the voltage reduction and voltage stabilization circuit, and then the main control circuit is supplied with power through the charging circuit.
4. The microcontroller-controlled bus coin box as set forth in claim 1, wherein: pins of the MCU RX1, the MCU TX1, the MCU RX2 and the MCU TX2 of the serial port communication circuit are connected with a U5 chip of the main control circuit.
5. The microcontroller-controlled bus coin box as set forth in claim 1, wherein: the TERM ON pin of the communication conversion circuit is connected with the PA6 pin of the U5 chip of the main control circuit.
6. The microcontroller-controlled bus coin box as set forth in claim 1, wherein: the RC522PWR pin of the RFID reset circuit is connected with the PC0 pin of the U5 chip of the main control circuit.
7. A microcontroller controlled bus coin box as set forth in claim 2, wherein: the anode of the diode D1 of the high pulse interference resisting circuit is connected with the resistor R20 of the main control circuit.
8. A microcontroller controlled bus coin box as set forth in claim 2, wherein: the MCU MISO pin of the storage circuit is connected with the PC6 pin of the main control circuit, the FLASH WR pin of the storage circuit is connected with the PC2 pin of the main control circuit, and the MCU SCK pin of the storage circuit is connected with the PC7 pin of the main control circuit.
9. The microcontroller-controlled bus coin box as set forth in claim 1, wherein: the model of the control chip of the main control circuit is ATXMEGA.
CN202020536823.7U 2020-04-13 2020-04-13 Bus coin box based on microcontroller control Active CN212009690U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020536823.7U CN212009690U (en) 2020-04-13 2020-04-13 Bus coin box based on microcontroller control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020536823.7U CN212009690U (en) 2020-04-13 2020-04-13 Bus coin box based on microcontroller control

Publications (1)

Publication Number Publication Date
CN212009690U true CN212009690U (en) 2020-11-24

Family

ID=73413230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020536823.7U Active CN212009690U (en) 2020-04-13 2020-04-13 Bus coin box based on microcontroller control

Country Status (1)

Country Link
CN (1) CN212009690U (en)

Similar Documents

Publication Publication Date Title
CN106230484A (en) Wisdom electric energy terminal and control method thereof
CN101520919B (en) Public electricity utilization management system
CN104502649B (en) Low-power consumption single-phase intelligent power meter
CN106781054A (en) A kind of low power-consumption intelligent IC Card Water-Instrument system
CN206283302U (en) A kind of control device for exchanging continuation of the journey for battery of electric vehicle and charging
CN101968904A (en) Intelligent charging device of charger
CN212009690U (en) Bus coin box based on microcontroller control
CN103313365A (en) Remote control metering system
CN113437990B (en) Chip detector
CN201302731Y (en) Attendance checking access control machine
CN201218959Y (en) CAN bus data-logging equipment
CN205787003U (en) A kind of PCB intelligent detection device
CN202524142U (en) Coin-in-slot card swiping charging system for electrombile
CN204330838U (en) A kind of low-power consumption single-phase intelligent electric energy meter
CN106683280A (en) Control device for switching and charging electric vehicle battery
CN203415042U (en) Intelligent IC (integrated circuit) card prepayment water meter
CN114995255A (en) Electric energy source low-loss comprehensive control management system for underwater unattended equipment
CN208673444U (en) A kind of intelligent charging spot charge system
CN105425029A (en) Low-power-consumption single-phase smart electric energy meter
CN204904443U (en) Water, electricity, gas, heat energy table intelligent management system
CN201212725Y (en) Integrated intelligent charging type water heater
CN204256842U (en) A kind of multi-user's electric charge payment device
CN207672466U (en) A kind of Intelligent remote control parking spot lock with ultrasound detection and ground magnetic indicator loop
CN2473053Y (en) Non-contact IC card electronic time controling automatic charging meter for parking
CN206194029U (en) IC -card wireless remote -transmitting fuel gas meter controller module

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant