Single-device gift card management circuit
By designing a single-device gift card management circuit, adopting a single-card mode and performing electromagnetic isolation filtering and driving, the existing gift card circuit has solved the problems of poor anti-interference performance and low communication quality, and has achieved higher anti-interference performance and communication quality, which is suitable for scenarios with strong electromagnetic interference.
Patent Information
- Application Number
- CN202421944046.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2034-08-12
AI Technical Summary
The existing gift management card circuits have problems with poor anti-interference performance and low communication quality in practical applications, especially in scenarios with strong electromagnetic interference.
A single-device gift card management circuit is designed, adopting a single-card mode, and isolating through a 2-stage inverter and then entering the π-type resistor capacitor network filtering, and then driving the series price digital tube display, which enhances the communication quality and provides anti-interference ability in scenarios with strong electromagnetic interference.
It improves the anti-interference performance and communication quality of the gift card circuit, ensures that it can still work normally in an environment with strong electromagnetic interference, lowers the threshold for technical requirements, and makes the product more popular.
Smart Images

Figure CN222952693U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of gift card circuits, in particular to a single-device gift card management circuit. Background Art
[0002] Gift cards are usually used for employee benefits, business gifts, holiday gifts, etc.; some gift redemption devices are also placed in some large shopping malls, supermarkets, schools and other places for the redemption of gift cards or points cards.
[0003] Patent (CN220455835U) discloses a gift management card circuit, which relates to the technical field of gift card circuits; in order to shorten the waiting time for customers to purchase gifts, the 14 gift rods of this card are driven in parallel by MOS tube arrays and can work at the same time; the gift rod motor travel switch signal and the gift selection button signal are applied to the input logic chip after being protected by resistors, and then interact with the CPU through serial communication, reducing IO occupancy; this card can support up to 4 external devices at the same time, time-sharing these 14 gift rods, and purchase gifts; 4 external devices can provide the card with the amount input in the form of pulses at the same time, and the amounts are recorded, displayed, and displayed in different digital tube areas; this card has a memory function, and the power is cut off when the amount is input, returned, or the gift is issued. After restarting the system, it will automatically resume the work at the breakpoint, and there will be no error problem.
[0004] The gift management card circuit in the above patent document adopts a dual-card mode and has poor anti-interference performance. In actual applications, merchants usually install the price display digital tube far away from the main board, resulting in poor communication quality. Utility Model Content
[0005] The purpose of the utility model is to provide a single-device gift card management circuit to solve the problems raised in the above background technology.
[0006] In order to solve the above technical problems, the utility model provides the following technical solutions:
[0007] A single-device gift card management circuit includes an MCU module, a gift rod drive module, a motor travel switch-gift selection button-external device input switching module, an onboard digital display module, a serial digital tube drive module, an external T-type module, a user device line gathering and branching module, an onboard button and external communication, a memory module, and a power supply module.
[0008] The gift bar drive module, motor travel switch-gift selection button-external device input switching module, onboard digital display module, serial digital tube drive module, peripheral T-type module, user equipment line gathering and branching module, onboard button and external communication, memory module, and power supply module are all electrically connected to the MCU module respectively;
[0009] The gift rod drive module, motor travel switch-gift selection button-external device input switching module, onboard digital display module, serial digital tube drive module, peripheral T-type module, user equipment line gathering and distribution module, onboard buttons and external communication and memory module are all electrically connected to the power supply module respectively.
[0010] Preferably, the MCU module includes a chip U100, a capacitor C101, and an electrolytic capacitor C102;
[0011] The AVREF end of the chip U100, the capacitor C101, and the GND end of the chip U100 are connected in series in sequence; the AGND end of the chip U100 is electrically connected between the capacitor C101 and the GND end of the chip U100, the connection line of the GND end of the chip U100 is grounded, the electrolytic capacitor C102 is connected in parallel to the outside of the capacitor C101, the AVREF end of the chip U100 is connected in series with the VCC end of the chip U100, the AVCC end of the chip U100 is electrically connected between the AVREF end of the chip U100 and the VCC end of the chip U100, and the connection line between the AVCC end of the chip U100 and the AVREF end of the chip U100 is externally connected to the MCU-5V end;
[0012] The chip U100 is externally connected to an O[0..1] interface, a DIO[0..6] interface, an IIC[0..1] interface, an AP[0..5] interface, a TK[0..2] interface, and a BK[0..3] interface;
[0013] The connection line between the chip U100 and the DIO[0..6] interface is electrically connected between the resistor RDIO[0..6] and the capacitor CDIO[0..6]. One end of the resistor RDIO[0..6] is externally connected to the MCU-5V terminal, and one end of the capacitor CDIO[0..6] is grounded.
[0014] Preferably, the gift bar driving module comprises a socket J1, a chip U200 and a chip U300, wherein the chip U200 has serial input and parallel output;
[0015] The DIO[0..6] interface is electrically connected to the input end of chip U200, the output end of chip U200 is electrically connected to the input end of chip U300, and the 8 interfaces of chip U300 are connected to the 8 interfaces of socket J1 in sequence through C[0..7], MOS tube array Q[0..7], and M[0..7];
[0016] One end of the MOS transistor array Q[0..7] is connected via the COM end of the chip U300, the MOS transistor array Q[0..7] and the COM end of the chip U300 are connected to the external M-12V end and the resistor RP[0..7], and the resistor RP[0..7] is electrically connected between C[0..7] and the MOS transistor array Q[0..7];
[0017] Interfaces 1 and 2 of the socket J1 are grounded, the GND end of the chip U300 is grounded, the chip U200 is externally connected to the MCU-5V end, and a capacitor DC0 is connected between the MCU-5V end and the GND end of the chip U300.
[0018] Preferably, the motor travel switch-gift selection button-external device input switching module includes a socket J2, a socket J3, a socket J4 and two chips U500,
[0019] The DIO[0..6] interface is electrically connected to the input end of the chip U500, and two tube-level inverters are connected between the DIO[0..6] interface and the input end of the chip U500.
[0020] The 18 interfaces of the two chips U500 are connected to the 18 interfaces of sockets J2, socket J3 and socket J4 in sequence through resistors RK[0..17] and U[0..17]. Interfaces 1 and 2 of sockets J2 and J3 are grounded respectively, and interface 1 of socket J4 is grounded; an external resistor RU[0..17] is connected between the resistors RK[0..17] and U[0..17], and the resistor RU[0..17] is externally connected to the MCU-5V end. The chip U500 is grounded through the capacitor KC[0..1], and the connection between the resistor RU[0..17] and the MCU-5V end is connected to the connection between the chip U500 and the capacitor KC[0..1].
[0021] Preferably, the onboard digital display module includes an LED array processing chip U400 and a digital digital tube.
[0022] The DIO[0..6] interface is electrically connected to the LED array processing chip U400, and the LED array processing chip U400 is connected to the digital digital tube through Q[0..7] and S[0..7]. The VDD end of the LED array processing chip U400 is externally connected to the MCU-5V end, and the two VSS ends of the LED array processing chip U400 are connected to the MCU-5V end through the capacitor C103. The connection between the VSS end of the LED array processing chip U400 and the capacitor C103 is grounded;
[0023] The memory module includes a chip U600, the IIC[0..1] interface is connected to the chip U600, the GND end of the chip U600 is electrically connected to the connection between the chip U600 and the IIC[0..1] interface through the capacitor C104 and the resistor RIIC[0..1], the MCU-5V end is externally connected between the capacitor C104 and the resistor RIIC[0..1], the VCC end of the chip U600 is electrically connected between the MCU-5V end and the resistor RIIC[0..1], the other interfaces of the chip U600 are electrically connected between the GND end of the chip U600 and the capacitor C104, and the GND end of the chip U600 is grounded;
[0024] The serial digital tube drive module includes a socket J5 and a socket J6, wherein the interface 1 of the socket J5 and the interface 1 of the socket J6 are connected in series, the interface 1 of the socket J5 and the interface 1 of the socket J6 are externally connected to the DPY-5V terminal, the interface 3 of the socket J5 and the interface 3 of the socket J6 are connected in series, and the connection between the interface 3 of the socket J5 and the interface 3 of the socket J6 is grounded; the interface 2 of the socket J5, the resistor R1, the tube secondary inverter A1, the resistor R3, the resistor R4, the tube secondary inverter A2, the resistor R2, and the interface 2 of the socket J6 are connected in series in sequence; the O One end of the [0..1] interface is electrically connected between the tube-level inverter A1 and the resistor R3, and the other end of the O[0..1] interface is electrically connected between the resistor R4 and the tube-level inverter A2. An external capacitor C105 is connected between the connection line between the resistor R1 and the tube-level inverter A1, and an external capacitor C106 is connected between the connection line between the tube-level inverter A2 and the resistor R2. The capacitor C105 and the capacitor C106 are both electrically connected between the resistor R3 and the resistor R4, and the capacitor C105 and the capacitor C106 are both electrically connected to the 3 interface of the socket J5 and the 3 interface of the socket J6;
[0025] The onboard button and external communication include a socket J7, the two interfaces of the BK[0..3] interface are respectively connected to the two interfaces of the socket J7 through resistors R5 and R6, the BK[0..3] interface is connected to the button SW[0..3], and the button SW[0..3] is grounded.
[0026] Preferably, the peripheral T-type module includes a socket J8 and two optical coupling isolation chips U700;
[0027] The TK[0..2] interface is connected to the optocoupler isolation chip U700, the socket J8 is connected to the optocoupler isolation chip U700 through KT[0..2], and the MCU-5V end is connected to the optocoupler isolation chip U700 through RTK[0..2];
[0028] The user equipment line gathering and distribution module includes socket J9, socket J10, socket J11, socket J12, socket J13, socket J14 and six optocoupler isolation chips U800. The socket J14 is connected to the socket J9, socket J10, socket J11, socket J12, socket J13 and six optocoupler isolation chips U800 through PA[0..7] respectively, and the AP[0..5] interface is connected to the four optocoupler isolation chips U800.
[0029] Preferably, the power supply module includes a socket J15, the MCU-5V end, the resistor R7, the 6 interface of the socket J15, the 4 interface of the socket J15, the resistor R8 and the DPY-5V end are connected in series in sequence, the connection between the MCU-5V end and the resistor R7 is externally connected to the capacitor C107 and the capacitor C108, the capacitor C107 and the capacitor C108 are connected in parallel, the capacitor C107 and the capacitor C108 are electrically connected between the 4 interface of the socket J15 and the resistor R8, the resistor R8 and D The connection line of the PY-5V terminal is externally connected to capacitor C109 and capacitor C110, the capacitor C109 and capacitor C110 are connected in parallel, the capacitor C109 and capacitor C1108 are electrically connected between the 4th interface of the socket J15 and the resistor R8, the connection line of the 4th interface of the socket J15 and the resistor R8 is grounded, the connection line of the 4th interface of the socket J15 and the resistor R8 is electrically connected between the resistor R7 and the 6th interface of the socket J15, and the connection line of the resistor R8 and the resistor R7 is externally connected to the +5V terminal;
[0030] The 5th interface of the socket J15 is electrically connected between the resistor R7 and the 6th interface of the socket J15, the 3rd interface of the socket J15 is electrically connected between the resistor R8 and the 4th interface of the socket J15, and the 2nd interface of the socket J15 is externally connected to the PA2 port;
[0031] The 1st interface of the socket J15 is connected to the +12V terminal.
[0032] A resistor R9 and a resistor R10 are externally connected between the 1 interface and the +12V terminal of the socket J15, the resistor R9 and the resistor R10 are connected in parallel, the resistor R9 is externally connected to the SYS-12V terminal, and the resistor R10 is externally connected to the M-12V terminal;
[0033] An external capacitor C111 and a diode D1 are connected between the 1 interface and the +12V terminal of the socket J15. The capacitor C111 and the diode D1 are connected in parallel. The capacitor C111 and the diode D1 are electrically connected between the 4 interface of the socket J15 and the resistor R8.
[0034] Compared with the prior art, the beneficial effects achieved by the utility model are:
[0035] In this utility model, only one device is supported, and 8 gift rods are exclusively used for gift pendant selection; the branch line slot is to correspond the electrical terminals of various external devices used by the user to the electrical terminals in the branch line slot, and make physical connections one by one according to the rules, so that the user can unify and tidy up the lines, unify the messy signal lines in an orderly manner, and reduce catastrophic failures caused by various interferences; an independent external system setting window and setting physical key expansion board are provided, which can easily move the setting system to the outside for operation, eliminating the shortcomings of this gift management card when used in some small spaces, and increasing the application flexibility; the single card is used after a 2-stage inverter 74HC 04 After the drive is isolated, it enters the π-type resistor-capacitor network filter and then drives 2 sets of serial price digital tube displays; in actual applications, merchants usually install the price display digital tubes far away from the mainboard (about 8M to 10M), so the single card is designed to insert an inverter to drive isolation to strengthen the communication quality, and it can also play an anti-interference role in scenarios with strong electromagnetic interference; the single card is connected in an independent manner, the pulse input is an independent connector, the pulse output is an independent connector, the signal response is also an independent connector, and interlocking, handshake, etc. are all independent connectors. The single card has the advantage of being more concise and clear in the connection line, which reduces the threshold for technical requirements and is more popular. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0037] Figure 1 It is a circuit diagram of the utility model as a whole;
[0038] Figure 2 It is a circuit diagram of the MCU module of the utility model;
[0039] Figure 3 This is a circuit diagram of the gift bar drive module of the utility model;
[0040] Figure 4 This is a circuit diagram of the motor travel switch-gift selection button-external device input switching module of the utility model;
[0041] Figure 5 It is a circuit diagram of the onboard digital display module of the utility model;
[0042] Figure 6 It is a circuit diagram of the memory module of the utility model;
[0043] Figure 7 This is a circuit diagram of the serial digital tube drive module of the utility model;
[0044] Figure 8 It is a circuit diagram of the onboard buttons and external communication of the utility model;
[0045] Fig. 9 It is a circuit diagram of the T-type module of the utility model peripheral;
[0046] Fig.10 It is a circuit diagram of the line gathering and line splitting module of the user equipment of the utility model;
[0047] Fig.11 It is a circuit diagram of the power supply module of the utility model. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0049] refer to Figure 1-Figure 11 The utility model provides a technical solution: a single-device gift card management circuit, including an MCU module, a gift rod driving module, a motor travel switch-gift selection button-external device input switching module, an onboard digital display module, a serial digital tube driving module, an external T-type module, a user device line gathering and branching module, an onboard key and external communication, a memory module, and a power supply module. The gift rod driving module, the motor travel switch-gift selection button-external device input switching module, the onboard digital display module, the serial digital tube driving module, the external T-type module, the user device line gathering and branching module, the onboard key and external communication, the memory module, and the power supply module are electrically connected to the MCU module respectively; the gift rod driving module, the motor travel switch-gift selection button-external device input switching module, the onboard digital display module, the serial digital tube driving module, the external T-type module, the user device line gathering and branching module, the onboard key and external communication, and the memory module are electrically connected to the power supply module respectively.
[0050] The MCU module includes a chip U100, a capacitor C101, and an electrolytic capacitor C102; the AVREF end of the chip U100, the capacitor C101, and the GND end of the chip U100 are connected in series in sequence; the AGND end of the chip U100 is electrically connected between the capacitor C101 and the GND end of the chip U100, the GND end of the chip U100 is grounded, the electrolytic capacitor C102 is connected in parallel to the outside of the capacitor C101, the AVREF end of the chip U100 is connected in series with the VCC end of the chip U100, and the AVCC end of the chip U100 is electrically connected between the AVREF end of the chip U100 and the V CC terminals, the connection between the AVCC terminal of the chip U100 and the AVREF terminal of the chip U100 is externally connected to the MCU-5V terminal; the chip U100 is externally connected to the O[0..1] interface, DIO[0..6] interface, IIC[0..1] interface, AP[0..5] interface, TK[0..2] interface, and BK[0..3] interface; the connection between the chip U100 and the DIO[0..6] interface is electrically connected between the resistor RDIO[0..6] and the capacitor CDIO[0..6], one end of the resistor RDIO[0..6] is externally connected to the MCU-5V terminal, and one end of the capacitor CDIO[0..6] is grounded.
[0051] The gift bar drive module includes a socket J1, a chip U200 and a chip U300. The chip U200 has serial input and parallel output. The DIO [0..6] interface is electrically connected to the input end of the chip U200. The output end of the chip U200 is electrically connected to the input end of the chip U300. The 8 interfaces of the chip U300 are connected to the 8 interfaces of the socket J1 in sequence through C [0..7], MOS tube array Q [0..7], and M [0..7]. One end of the MOS tube array Q [0..7] is connected to the C of the chip U300. The OM end is connected, the MOS tube array Q[0..7] is connected to the COM end of the chip U300, and the external M-12V end and the resistor RP[0..7] are connected, and the resistor RP[0..7] is electrically connected between C[0..7] and the MOS tube array Q[0..7]; the 1st interface and the 2nd interface of the socket J1 are grounded, the GND end of the chip U300 is grounded, the chip U200 is externally connected to the MCU-5V end, and a capacitor DC0 is connected between the MCU-5V end and the GND end of the chip U300.
[0052] The motor travel switch-gift selection button-external device input switching module includes a socket J2, a socket J3, a socket J4 and two chips U500. The DIO[0..6] interface is electrically connected to the input end of the chip U500. Two tube secondary inverters are connected between the DIO[0..6] interface and the input end of the chip U500. The 18 interfaces of the two chips U500 are connected to the 18 interfaces of the socket J2, the socket J3 and the socket J4 in turn through resistors RK[0..17] and U[0..17]. , interfaces 1 and 2 of the sockets J2 and J3 are grounded respectively, and interface 1 of the socket J4 is grounded; an external resistor RU[0..17] is connected between the resistors RK[0..17] and U[0..17], and the resistor RU[0..17] is externally connected to the MCU-5V terminal. The chip U500 is grounded through the capacitor KC[0..1], and the connection between the resistor RU[0..17] and the MCU-5V terminal is connected to the connection between the chip U500 and the capacitor KC[0..1].
[0053] The onboard digital display module includes an LED array processing chip U400 and a digital digital tube. The DIO[0..6] interface is electrically connected to the LED array processing chip U400. The LED array processing chip U400 is connected to the digital digital tube through Q[0..7] and S[0..7]. The VDD end of the LED array processing chip U400 is externally connected to the MCU-5V end. The two VSS ends of the LED array processing chip U400 are both connected to the MCU-5V end through capacitor C103. The connection between the VSS end of the LED array processing chip U400 and the capacitor C103 is grounded. The memory module includes a chip U600, and the IIC [0..1] interface is connected to the chip U600, the GND end of the chip U600 is electrically connected to the connection line between the chip U600 and the IIC[0..1] interface through the capacitor C104 and the resistor RIIC[0..1], the MCU-5V end is externally connected between the capacitor C104 and the resistor RIIC[0..1], the VCC end of the chip U600 is electrically connected between the MCU-5V end and the resistor RIIC[0..1], the other interfaces of the chip U600 are electrically connected between the GND end of the chip U600 and the capacitor C104, and the GND end of the chip U600 is grounded; the serial digital tube drive module includes a socket J5 and a socket J6, the The 1 interface of the socket J5 and the 1 interface of the socket J6 are connected in series, and the DPY-5V terminal is externally connected between the 1 interface of the socket J5 and the 1 interface of the socket J6. The 3 interface of the socket J5 and the 3 interface of the socket J6 are connected in series, and the connection between the 3 interface of the socket J5 and the 3 interface of the socket J6 is grounded; the 2 interface of the socket J5, the resistor R1, the tube secondary inverter A1, the resistor R3, the resistor R4, the tube secondary inverter A2, the resistor R2, and the 2 interface of the socket J6 are connected in series in sequence; one end of the O[0..1] interface is electrically connected between the tube secondary inverter A1 and the resistor R3, and the other end of the O[0..1] interface is electrically connected between the resistor R4 and the tube secondary inverter A2 , an external capacitor C105 is connected between the connection line of the resistor R1 and the tube-level inverter A1, and an external capacitor C106 is connected between the connection line of the tube-level inverter A2 and the resistor R2. The capacitor C105 and the capacitor C106 are both electrically connected between the resistor R3 and the resistor R4, and the capacitor C105 and the capacitor C106 are both electrically connected to the 3 interfaces of the socket J5 and the 3 interfaces of the socket J6; the onboard button and external communication include a socket J7, the two interfaces of the BK[0..3] interface are respectively connected to the two interfaces of the socket J7 through the resistor R5 and the resistor R6, the BK[0..3] interface is connected to the button SW[0..3], and the button SW[0..3] is grounded.
[0054] The peripheral T-type module includes a socket J8 and two optocoupler isolation chips U700; the TK[0..2] interface is connected to the optocoupler isolation chip U700, the socket J8 is connected to the optocoupler isolation chip U700 through KT[0..2], and the MCU-5V end is connected to the optocoupler isolation chip U700 through RTK[0..2]; the user equipment line gathering and branching module includes a socket J9, a socket J10, a socket J11, a socket J12, a socket J13, a socket J14 and six optocoupler isolation chips U800, the socket J14 is respectively connected to the socket J9, the socket J10, the socket J11, the socket J12, the socket J13 and the six optocoupler isolation chips U800 through PA[0..7], and the AP[0..5] interface is connected to the four optocoupler isolation chips U800.
[0055] The power supply module includes a socket J15, the MCU-5V end, the resistor R7, the 6-port of the socket J15, the 4-port of the socket J15, the resistor R8 and the DPY-5V end are connected in series in sequence, the connection between the MCU-5V end and the resistor R7 is externally connected to a capacitor C107 and a capacitor C108, the capacitor C107 and the capacitor C108 are connected in parallel, the capacitor C107 and the capacitor C108 are electrically connected between the 4-port of the socket J15 and the resistor R8, the connection between the 4-port of the socket J15 and the resistor R8 is grounded, the connection between the 4-port of the socket J15 and the resistor R8 is electrically connected to the resistor R7 and the socket J 15, the connection between the resistor R8 and the resistor R7 is externally connected to the +5V terminal; the 5th interface of the socket J15 is electrically connected between the resistor R7 and the 6th interface of the socket J15, the 3rd interface of the socket J15 is electrically connected between the resistor R8 and the 4th interface of the socket J15, and the 2nd interface of the socket J15 is externally connected to the PA2 port; the 1st interface of the socket J15 is externally connected to the +12V terminal, and the resistor R9 and the resistor R10 are externally connected between the 1st interface of the socket J15 and the +12V terminal, the resistor R9 and the resistor R10 are connected in parallel, the resistor R9 is externally connected to the SYS-12V terminal, and the resistor R10 is externally connected to the M-12V terminal; the capacitor C111 and the diode D1 are externally connected between the 1st interface of the socket J15 and the +12V terminal, the capacitor C111 and the diode D1 are connected in parallel, and the capacitor C111 and the diode D1 are both electrically connected between the 4th interface of the socket J15 and the resistor R8.
[0056] Specific working principle: The chip U100 in the MCU module of the utility model is developed with 8051 single-chip microcomputer, written in traditional assembly language, and compiled and debugged using Weifu V series simulator integrated debugging software to achieve perfect expected results. The overall circuit is powered by 5V and 12V dual power supplies, and a high-power MOS tube is used to provide driving current for the gift rod motor. A reverse protection diode and a current-limiting resistor are used to reduce the occurrence of motor reversal accidents; 5V is powered by two groups of RC filter networks to respectively power the digital chip and the CPU, which improves the anti-interference ability of the circuit and ensures the reliable operation of the logic chip; in order to shorten the waiting time when customers choose gifts, the 8 gift rods of this card are driven in parallel by a MOS tube array and can work at the same time; the logic chip passes through a high-voltage shaping circuit and then flexibly drives the MOS tube, which reduces the switch stress of the MOS tube and extends the service life of the switch MOS tube; the gift rod motor travel switch signal and the gift selection button signal are applied to the input logic chip after being protected by a resistor, and then interact with the CPU through a serial communication method, reducing IO occupancy; this card uses 2 strings of digital tubes with return-to-zero code communication as a display device, one of which is a string of It is used to display the amount input by the external device, and the other string displays the value of the gift hung on each gift bar set by the user; this card can receive the amount input by the external device in the form of pulses, and the amount record is displayed in the fixed digital tube display area; when the digital tube in this area flashes, it means that the device has obtained the right to use the gift bar, and can choose gifts at any time; when the amount is insufficient or there is a balance after purchasing gifts, the amount will be returned in the original way in the form of pulses; in addition, this card also supports card payment systems, making the amount input more flexible; the amount input and return systems of this card all adopt photoelectric isolation technology, which ensures that the external device and this system are completely isolated, and the devices can be installed separately, and finally interconnected through the branching slot to improve their respective safety; this card is equipped with on-board debugging and adjustment information display digital tubes and physical buttons; the display part uses a dedicated chip as a driver, which does not occupy the MCU time efficiency, and the MCU has higher real-time requirements for pulse management More accurate; this card has a memory function, when the amount is input, returned, and the power is cut off when the gift is issued, the work at the breakpoint will be automatically resumed after the system is restarted, and there will be no error problems; at the same time, the number of gifts issued, the total amount and other data can be queried;
[0057] The motor drive of the present invention is different from that of the reference document: the reference document adopts a dual card with two 74HC595s connected in series to output a bit value, which then drives a MOS tube as a switch to manage whether the motor works or not after passing through ULN2003A; while the present application adopts a single card with only one shifter 74HC595 to output a bit value, so the working speed is faster, and the output value is driven by a ULN2803A chip and then used as a MOS tube switch signal source, and ULN2803A is a high-specification Darlington drive array, so driving the MOS tube is safer and more reliable;
[0058] Compared with the comparative document, the digital tube drive of the present invention is different: the comparative document adopts a dual card for 2-way serial digital tubes, which drives 2 groups of price digital tube displays after filtering through a π-type resistor-capacitor network; while the present invention adopts a single card, which drives and isolates after a 2-stage inverter 74HC04, then enters a π-type resistor-capacitor network filter, and then drives 2 groups of serial price digital tube displays; in actual applications, merchants usually install the price display digital tube far away from the mainboard (about 8M to 10M), so the inverter drive isolation is inserted into the single card during design to strengthen the communication quality, and it can also play an anti-interference role in the scene with strong electromagnetic interference;
[0059] Compared with the reference document, the present invention has a different line-gathering interface: the reference document adopts a dual card to expand around the 26P bull horn pin, and the pulse input, pulse output, signal response, etc. are all connected across the 26P bull horn; while the present invention adopts a single card to access in an independent manner, the pulse input is an independent plug-in, the pulse output is an independent plug-in, the signal response is also an independent plug-in, and the interlocking, handshake, etc. are all independent plug-ins, so there is an essential difference; the single card has the advantage of being more concise and clear in the connection line, reduces the threshold for technical requirements, and is more popular;
[0060] The utility model has a different power module from the reference document: the reference document uses a dual card for single 12V power supply, and generates 5V voltage for the mainboard through two linear regulators LM7805CT, while the utility model uses a single card and must use a dual voltage power supply box for power supply, one for 5V and the other for 12V, 5V for all digital ICs and digital tubes on the mainboard, and the other 12V for the power supply machine; in terms of the power supply module, the single card is not as stable as the dual card, and is easily disturbed, causing the power supply box to burn; however, the dual voltage power supply box market is sufficient and cheap, so there is no need to design a linear regulator on the single card;
[0061] This single-device gift card management circuit only supports the use of one device, and has 8 exclusive gift rods for the purchase of gift pendants; the branching slot is to correspond the electrical terminals of various external devices used by the user to the electrical terminals in the branching slot, and make physical connections one-to-one according to the rules, so that the user can unify and tidy up the lines, unify the messy signal lines in an orderly manner, and reduce catastrophic failures caused by various interferences; an independent external system setting window and setting physical key expansion board are provided, which can easily move the setting system to the outside for operation, eliminating the shortcomings of this gift management card when used in some small spaces and increasing application flexibility.
[0062] Finally, it should be noted that the above description is only a preferred embodiment of the utility model and is not intended to limit the utility model. Although the utility model is described in detail with reference to the above embodiments, those skilled in the art can still modify the technical solutions recorded in the above embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the utility model shall be included in the protection scope of the utility model.
Claims
1. A single-device gift card management circuit, including an MCU module, a gift rod drive module, a motor travel switch-gift selection button-external device input switching module, an onboard digital display module, a serial digital tube drive module, an external T-type module, a user device line gathering and branching module, an onboard button and external communication, a memory module, and a power supply module, characterized in that: The gift bar drive module, motor travel switch-gift selection button-external device input switching module, onboard digital display module, serial digital tube drive module, peripheral T-type module, user equipment line gathering and branching module, onboard button and external communication, memory module, and power supply module are all electrically connected to the MCU module respectively; The gift rod drive module, motor travel switch-gift selection button-external device input switching module, onboard digital display module, serial digital tube drive module, peripheral T-type module, user equipment line gathering and distribution module, onboard buttons and external communication and memory module are all electrically connected to the power supply module respectively.
2. A single-device gift card management circuit according to claim 1, characterized in that: The MCU module includes a chip U100, a capacitor C101, and an electrolytic capacitor C102; The AVREF end of the chip U100, the capacitor C101, and the GND end of the chip U100 are connected in series in sequence; the AGND end of the chip U100 is electrically connected between the capacitor C101 and the GND end of the chip U100, the connection line of the GND end of the chip U100 is grounded, the electrolytic capacitor C102 is connected in parallel to the outside of the capacitor C101, the AVREF end of the chip U100 is connected in series with the VCC end of the chip U100, the AVCC end of the chip U100 is electrically connected between the AVREF end of the chip U100 and the VCC end of the chip U100, and the connection line between the AVCC end of the chip U100 and the AVREF end of the chip U100 is externally connected to the MCU-5V end; The chip U100 is externally connected to an O[0..1] interface, a DIO[0..6] interface, an IIC[0..1] interface, an AP[0..5] interface, a TK[0..2] interface, and a BK[0..3] interface; The connection line between the chip U100 and the DIO[0..6] interface is electrically connected between the resistor RDIO[0..6] and the capacitor CDIO[0..6]. One end of the resistor RDIO[0..6] is externally connected to the MCU-5V terminal, and one end of the capacitor CDIO[0..6] is grounded.
3. A single-device gift card management circuit according to claim 2, characterized in that: The gift bar driving module includes a socket J1, a chip U200 and a chip U300, wherein the chip U200 has serial input and parallel output; The DIO[0..6] interface is electrically connected to the input end of chip U200, the output end of chip U200 is electrically connected to the input end of chip U300, and the 8 interfaces of chip U300 are connected to the 8 interfaces of socket J1 in sequence through C[0..7], MOS tube array Q[0..7], and M[0..7]; One end of the MOS transistor array Q[0..7] is connected via the COM end of the chip U300, the MOS transistor array Q[0..7] and the COM end of the chip U300 are connected to the external M-12V end and the resistor RP[0..7], and the resistor RP[0..7] is electrically connected between C[0..7] and the MOS transistor array Q[0..7]; Interfaces 1 and 2 of the socket J1 are grounded, the GND end of the chip U300 is grounded, the chip U200 is externally connected to the MCU-5V end, and a capacitor DC0 is connected between the MCU-5V end and the GND end of the chip U300.
4. A single-device gift card management circuit according to claim 3, characterized in that: The motor travel switch-gift selection button-external device input switching module includes a socket J2, a socket J3, a socket J4 and two chips U500. The DIO[0..6] interface is electrically connected to the input end of the chip U500, and two tube-level inverters are connected between the DIO[0..6] interface and the input end of the chip U500. The 18 interfaces of the two chips U500 are connected to the 18 interfaces of sockets J2, socket J3 and socket J4 in sequence through resistors RK[0..17] and U[0..17]. Interfaces 1 and 2 of sockets J2 and J3 are grounded respectively, and interface 1 of socket J4 is grounded; an external resistor RU[0..17] is connected between the resistors RK[0..17] and U[0..17], and the resistor RU[0..17] is externally connected to the MCU-5V end. The chip U500 is grounded through the capacitor KC[0..1], and the connection between the resistor RU[0..17] and the MCU-5V end is connected to the connection between the chip U500 and the capacitor KC[0..1].
5. A single-device gift card management circuit according to claim 4, characterized in that: The onboard digital display module includes an LED array processing chip U400 and a digital digital tube. The DIO[0..6] interface is electrically connected to the LED array processing chip U400, and the LED array processing chip U400 is connected to the digital digital tube through Q[0..7] and S[0..7]. The VDD end of the LED array processing chip U400 is externally connected to the MCU-5V end, and the two VSS ends of the LED array processing chip U400 are connected to the MCU-5V end through the capacitor C103. The connection between the VSS end of the LED array processing chip U400 and the capacitor C103 is grounded; The memory module includes a chip U600, the IIC[0..1] interface is connected to the chip U600, the GND end of the chip U600 is electrically connected to the connection between the chip U600 and the IIC[0..1] interface through the capacitor C104 and the resistor RIIC[0..1], the MCU-5V end is externally connected between the capacitor C104 and the resistor RIIC[0..1], the VCC end of the chip U600 is electrically connected between the MCU-5V end and the resistor RIIC[0..1], the other interfaces of the chip U600 are electrically connected between the GND end of the chip U600 and the capacitor C104, and the GND end of the chip U600 is grounded; The serial digital tube drive module includes a socket J5 and a socket J6, wherein the interface 1 of the socket J5 and the interface 1 of the socket J6 are connected in series, the interface 1 of the socket J5 and the interface 1 of the socket J6 are externally connected to the DPY-5V terminal, the interface 3 of the socket J5 and the interface 3 of the socket J6 are connected in series, and the connection between the interface 3 of the socket J5 and the interface 3 of the socket J6 is grounded; the interface 2 of the socket J5, the resistor R1, the tube secondary inverter A1, the resistor R3, the resistor R4, the tube secondary inverter A2, the resistor R2, and the interface 2 of the socket J6 are connected in series in sequence; the O One end of the [0..1] interface is electrically connected between the tube-level inverter A1 and the resistor R3, and the other end of the O[0..1] interface is electrically connected between the resistor R4 and the tube-level inverter A2. An external capacitor C105 is connected between the connection line between the resistor R1 and the tube-level inverter A1, and an external capacitor C106 is connected between the connection line between the tube-level inverter A2 and the resistor R2. The capacitor C105 and the capacitor C106 are both electrically connected between the resistor R3 and the resistor R4, and the capacitor C105 and the capacitor C106 are both electrically connected to the 3 interface of the socket J5 and the 3 interface of the socket J6; The onboard button and external communication include a socket J7, the two interfaces of the BK[0..3] interface are respectively connected to the two interfaces of the socket J7 through resistors R5 and R6, the BK[0..3] interface is connected to the button SW[0..3], and the button SW[0..3] is grounded.
6. A single-device gift card management circuit according to claim 5, characterized in that: The peripheral T-type module includes a socket J8 and two optical coupling isolation chips U700; The TK[0..2] interface is connected to the optocoupler isolation chip U700, the socket J8 is connected to the optocoupler isolation chip U700 through KT[0..2], and the MCU-5V end is connected to the optocoupler isolation chip U700 through RTK[0..2]; The user equipment line gathering and distribution module includes socket J9, socket J10, socket J11, socket J12, socket J13, socket J14 and six optocoupler isolation chips U800. The socket J14 is connected to the socket J9, socket J10, socket J11, socket J12, socket J13 and six optocoupler isolation chips U800 through PA[0..7] respectively, and the AP[0..5] interface is connected to the four optocoupler isolation chips U800.
7. A single-device gift card management circuit according to claim 6, characterized in that: The power supply module includes a socket J15, the MCU-5V end, the resistor R7, the 6-port of the socket J15, the 4-port of the socket J15, the resistor R8 and the DPY-5V end are connected in series in sequence, the connection between the MCU-5V end and the resistor R7 is externally connected to the capacitor C107 and the capacitor C108, the capacitor C107 and the capacitor C108 are connected in parallel, the capacitor C107 and the capacitor C108 are electrically connected between the 4-port of the socket J15 and the resistor R8, the resistor R8 and the DPY The connection line of the -5V end is externally connected to capacitor C109 and capacitor C110, the capacitor C109 and capacitor C110 are connected in parallel, the capacitor C109 and capacitor C1108 are electrically connected between the 4th interface of the socket J15 and the resistor R8, the connection line of the 4th interface of the socket J15 and the resistor R8 is grounded, the connection line of the 4th interface of the socket J15 and the resistor R8 is electrically connected between the resistor R7 and the 6th interface of the socket J15, and the connection line of the resistor R8 and the resistor R7 is externally connected to the +5V end; The 5th interface of the socket J15 is electrically connected between the resistor R7 and the 6th interface of the socket J15, the 3rd interface of the socket J15 is electrically connected between the resistor R8 and the 4th interface of the socket J15, and the 2nd interface of the socket J15 is externally connected to the PA2 port; The 1st interface of the socket J15 is connected to the +12V terminal. A resistor R9 and a resistor R10 are externally connected between the 1 interface and the +12V terminal of the socket J15, the resistor R9 and the resistor R10 are connected in parallel, the resistor R9 is externally connected to the SYS-12V terminal, and the resistor R10 is externally connected to the M-12V terminal; An external capacitor C111 and a diode D1 are connected between the 1 interface and the +12V terminal of the socket J15. The capacitor C111 and the diode D1 are connected in parallel. The capacitor C111 and the diode D1 are electrically connected between the 4 interface of the socket J15 and the resistor R8.
Citation Information
Patent Citations
Gift management card circuit
CN220455835U