CN206432920U - A kind of a variety of motor drivers based on L298N - Google Patents

A kind of a variety of motor drivers based on L298N Download PDF

Info

Publication number
CN206432920U
CN206432920U CN201621396035.2U CN201621396035U CN206432920U CN 206432920 U CN206432920 U CN 206432920U CN 201621396035 U CN201621396035 U CN 201621396035U CN 206432920 U CN206432920 U CN 206432920U
Authority
CN
China
Prior art keywords
pin
motor
chip microcomputer
pnp8550
button
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.)
Expired - Fee Related
Application number
CN201621396035.2U
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.)
Yulin University
Original Assignee
Yulin University
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 Yulin University filed Critical Yulin University
Priority to CN201621396035.2U priority Critical patent/CN206432920U/en
Application granted granted Critical
Publication of CN206432920U publication Critical patent/CN206432920U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

The utility model discloses a kind of a variety of motor drivers based on L298N, including STC89C52RC single-chip microcomputers, single-chip microcomputer is connected with crystal oscillating circuit module, reset circuit module, key circuit module, motor drive ic L298N circuit modules, 1K exclusions RP and liquid crystal display, single-chip microcomputer connects microcontroller power supply interface P2, microcontroller power supply interface P2 connection single-chip microcomputer external power interfaces P1;Motor drive ic L298N circuit modules include four output interfaces, motor drive ic L298N circuit modules connect direct current generator, two-phase stepping motor or three line steering wheels by output interface, add signal power amplification special chip L298N, the motor of a variety of different capacities can be driven, add the crystal display among electronic measurement technique, it can be also easier to directly adjust motor running condition by external key circuit with more intuitive understanding motor real-time operating conditions.

Description

A kind of a variety of motor drivers based on L298N
Technical field
The utility model belongs to motor-drive technique field, and in particular to a kind of a variety of motors driving dress based on L298N Put.
Background technology
Motor drives field, particularly in direct current generator, stepper motor and steering wheel combination drive module circuit, not yet goes out It is now a kind of directly to apply L298N a variety of motor driving integrated circuit modules, a variety of motors driving costs are added, it is also unfavorable In the integrated development of motor-drive circuit.Further, since motor runs at high speed, it is difficult to intuitively learn its operation conditions, lack A kind of energy directly applying electronic e measurement technology solves the Intelligent driving module for electric motor of the drawback.
Utility model content
The purpose of this utility model is to overcome above-mentioned deficiency there is provided a kind of a variety of motor drivers based on L298N, The apparatus structure is reasonable in design, and module integrated level is high, and solving a variety of motors can not be while the problem driven, and passes through electronic, horological Amount technology can intuitively observe the operation conditions of motor so that whole device seems more intelligent.
In order to achieve the above object, the utility model includes STC89C52RC single-chip microcomputers, and single-chip microcomputer is connected with crystal oscillating circuit Module, reset circuit module, key circuit module, motor drive ic L298N circuit modules, 1K exclusions RP and liquid crystal display, it is single Piece machine connects microcontroller power supply interface P2, microcontroller power supply interface P2 connection single-chip microcomputer external power interfaces P1;
The motor drive ic L298N circuit modules include four output interfaces, motor drive ic L298N circuit moulds Block connects direct current generator, two-phase stepping motor or three line steering wheels by output interface.
Single-chip microcomputer connects the SCLK pin of liquid crystal display by P1.0 pin, and the P1.1 pin of single-chip microcomputer connect the SID pin of liquid crystal display, liquid Crystalline substance screen is also connected with VCC ends and GND ends.
The XTAL1 pin and XTAL2 pin of single-chip microcomputer connect the 12M crystal oscillators two ends in crystal oscillating circuit module respectively, 12M crystal oscillators Two ends are connected to two 22pF ceramic condenser respectively, two 22pF ceramic condenser other end short circuit.
Single-chip microcomputer pin RST meets the one of 0.1uF ceramic condenser CRST one end, inching button ST one end and 10K resistance RST End, 10K resistance RST other end microcontroller power supply interface GND, the 0.1uF ceramic condenser CRST other end connects microcontroller power supply Interface VCC and inching button the ST other end.
Single-chip microcomputer pin P0.0, P0.1, P0.2, P0.3, P0.4, P0.5, P0.6 and P0.7 connect drawing for 1K exclusions RP respectively Pin P00, P01, P02, P03, P04, P05, P06 and P07,1K exclusion RP other end pin short circuit microcontroller power supply interfaces VCC;
1K exclusions RP pin P00, P01, P02 and P03 connects the pin of motor drive ic L298N circuit modules respectively IN1, IN2, IN3 and IN4, pin EA and the EB short circuit of motor drive ic L298N circuit modules meet VCC, motor drive ic Pin SEA and the SEB short circuit of L298N circuit modules meets GND, the pin VCC splicers of motor drive ic L298N circuit modules Power interface VCC, the pin VS of motor drive ic L298N circuit modules connects external power source, GND pin ground connection.
Single-chip microcomputer pin P2.0, P2.1, P2.2, P2.3 and P2.4 connect respectively the first button S1, the second button S2, the 3rd by Key S3, the 4th button S4 and the 5th button S5, single-chip microcomputer pin P20, P21, P22, P23 and P24, represent accelerator key/deceleration key/ Positive turn key/reverse key/stop key, the first button S1, the second button S2, the 3rd button S3, the 4th S4 and the 5th button S5 it is another Shorted on one end is grounded.
Single-chip microcomputer pin VCC and GND meet power interface pin 5.0V and GND respectively.
Driving interface the pin VS and GND of direct current generator connect external electrical source and ground terminal respectively, pin OUT1, OUT2, OUT3 and OUT4 meet first resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 of 10K adjustable potentiometers respectively; First resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 of 10K adjustable potentiometers meet four PNP8550 respectively The b poles of triode;First PNP8550 triodes Q1 and the 2nd PNP8550 triodes Q2 e poles connect power interface pin respectively VS;3rd PNP8550 triodes Q3 and the 4th PNP8550 triodes Q4 c poles meet external power source pin GND, the first PNP8550 Triode Q1 and the 4th PNP8550 triodes Q4 c poles and e is extremely short connects, the 2nd PNP8550 triodes Q2 and the 3rd PNP8550 Triode Q3 c poles and e is extremely short connects, direct current generator one terminates the first PNP8550 triodes Q1 c poles, another termination second PNP8550 triodes Q2 c poles.
Driving interface pin OUT1, OUT2, OUT3 and OUT4 of two-phase stepping motor connect two-phase stepping motor winding respectively Pin A+, A- and B+, B-.
Driving interface pin OUT1, OUT2, OUT3 and OUT4 of four phase step motor connect four phase step motor winding respectively Pin A, B and C, D, four phase step motor driving interface pin VS connect four phase step motor winding common port.
The driving interface pin OUT1 of three line steering wheels connects three line steering wheel signal wires, and three line servo driving interface pin VS connect three Line steering wheel positive source pin, three line servo driving interface pin GND with connecing three line steering wheel power supplys pins.
Compared with prior art, added can be while drive the circuit mould of direct current generator, stepper motor, steering wheel for the utility model Block, adds the control core by the use of single-chip microcomputer as drive signal, compared to directly using external clock circuit or using specially With hardware circuit of the chip as motor control signal, software adaptation more facilitates, and drive signal is more diversified, adds letter Number power amplification special chip L298N, can drive the motor of a variety of different capacities, add the liquid among electronic measurement technique Brilliant display function, can be also easier to directly adjust by external key circuit with more intuitive understanding motor real-time operating conditions Whole motor running condition.
Brief description of the drawings
Fig. 1 is circuit diagram of the present utility model;
Fig. 2 is the circuit diagram of direct current generator in the utility model;
Fig. 3 is the circuit diagram of DC motor Driver interface in the utility model;
Fig. 4 is the circuit diagram of two-phase stepping motor in the utility model;
Fig. 5 is the circuit diagram of four phase step motor in the utility model;
Fig. 6 is the circuit diagram of three line steering wheels in the utility model;
Wherein, 1, single-chip microcomputer, 2, crystal oscillating circuit module, 3, reset circuit module, 4, key circuit module, 5, motor driving Chip L298N circuit modules, 6,1K exclusions RP, 7, LCDs, 8, microcontroller power supply interface P2,9, the external electricity of single-chip microcomputer Source interface P1,10, direct current generator;12nd, two-phase stepping motor;14th, four phase step motor;16th, three line steering wheel.
Embodiment
The utility model is described further below in conjunction with the accompanying drawings.
Referring to Fig. 1 to Fig. 6, the utility model includes STC89C52RC single-chip microcomputers 1, and single-chip microcomputer 1 is connected with crystal oscillating circuit mould Block 2, reset circuit module 3, key circuit module 4, motor drive ic L298N circuit modules 5,1K exclusions RP6 and liquid crystal display 7, the connection of single-chip microcomputer 1 microcontroller power supply interface P28, microcontroller power supply interface P28 connection single-chip microcomputer external power interfaces P19;Electricity Machine driving chip L298N circuit modules 5 include four output interfaces, and motor drive ic L298N circuit modules 5 are connect by output Mouth connection direct current generator 12, the line steering wheel 16 of two-phase stepping motor 14 or three.
Single-chip microcomputer 1 connects the SCLK pin of liquid crystal display 7 by P1.0 pin, and the P1.1 pin of single-chip microcomputer 1 connect the SID of liquid crystal display 7 Pin, liquid crystal display 7 is also connected with VCC ends and GND ends.
The XTAL1 pin and XTAL2 pin of single-chip microcomputer 1 connect the 12M crystal oscillators two ends in crystal oscillating circuit module 2,12M crystal oscillators respectively Two ends be connected to two 22pF ceramic condenser respectively, two 22pF ceramic condenser other end short circuit.
The pin RST of single-chip microcomputer 1 connects 0.1uF ceramic condenser CRST one end, inching button ST one end and 10K resistance RST's One end, 10K resistance RST other end microcontroller power supply interface GND, 0.1uF ceramic condenser CRST other end order piece is electromechanical Source interface VCC and inching button the ST other end.
Single-chip microcomputer 1 pin P0.0, P0.1, P0.2, P0.3, P0.4, P0.5, P0.6 and P0.7 connect 1K exclusions RP6's respectively Pin P00, P01, P02, P03, P04, P05, P06 and P07,1K exclusion RP6 other end pin short circuit microcontroller power supply interfaces VCC;
1K exclusions RP6 pin P00, P01, P02 and P03 connects the pin of motor drive ic L298N circuit modules 5 respectively IN1, IN2, IN3 and IN4, pin EA and the EB short circuit of motor drive ic L298N circuit modules 5 meet VCC, motor drive ic Pin SEA and the SEB short circuit of L298N circuit modules 5 meets GND, the pin VCC contact pin of motor drive ic L298N circuit modules 5 The pin VS of electromechanical source interface VCC, motor drive ic L298N circuit module 5 connects external power source, GND pin ground connection.
Single-chip microcomputer 1 pin P2.0, P2.1, P2.2, P2.3 and P2.4 meet the first button S1, the second button S2, the 3rd respectively Button S3, the 4th button S4 and the 5th button S5, single-chip microcomputer pin P20, P21, P22, P23 and P24, represent accelerator key/deceleration Key/positive turn key/reverse key/stop key, the first button S1, the second button S2, the 3rd button S3, the 4th S4 and the 5th button S5 Other end short circuit is grounded.
Single-chip microcomputer 1 pin VCC and GND meet power interface pin 5.0V and GND respectively.
Driving interface the pin VS and GND of direct current generator 10 connect external electrical source and ground terminal respectively, pin OUT1, OUT2, OUT3 and OUT4 meet first resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 of 10K adjustable potentiometers respectively; First resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 of 10K adjustable potentiometers meet four PNP8550 respectively The b poles of triode;First PNP8550 triodes Q1 and the 2nd PNP8550 triodes Q2 e poles connect power interface pin respectively VS;3rd PNP8550 triodes Q3 and the 4th PNP8550 triodes Q4 c poles meet external power source pin GND, the first PNP8550 Triode Q1 and the 4th PNP8550 triodes Q4 c poles and e is extremely short connects, the 2nd PNP8550 triodes Q2 and the 3rd PNP8550 Triode Q3 c poles and e is extremely short connects, direct current generator one terminates the first PNP8550 triodes Q1 c poles, another termination second PNP8550 triodes Q2 c poles.
Driving interface pin OUT1, OUT2, OUT3 and OUT4 of two-phase stepping motor 12 connect two-phase stepping motor 12 respectively Winding pin A+, A- and B+, B-.
Driving interface pin OUT1, OUT2, OUT3 and OUT4 of four phase step motor 14 connect respectively four phase step motor around Group pin A, B and C, D, four phase step motor driving interface pin VS connect four phase step motor winding common port.
The driving interface pin OUT1 of three line steering wheels 16 connects three line steering wheel signal wires, and three line servo driving interface pin VS connect Three line steering wheel positive source pins, three line servo driving interface pin GND with connecing three line steering wheel power supplys pins.
When in use:(by taking 12V/4 phase step motors as an example, but this example is not limited only to, direct current generator, 2 phases can also be used Stepper motor, steering wheel etc.)
1st, a kind of 12V/4 phase step motors are selected, single-chip microcomputer are entered into 4 phase step motor driver programmings, as requested Microcontroller power supply interface VCC/GND is connected into 5.0V power supplys;On request by 4 phase step motor driving interface pin VS/OUT1/ OUT2/OUT3/OUT4 accesses 4 phase step motor drive circuits;Motor drive ic L298N pins VCC/GND is accessed into monolithic Electromechanical source;Motor drive ic L298N pins IN1/IN2/IN3/IN4 accesses 1K exclusion RP pin P00/P01/P02/P03, electricity Machine driving chip L298N pins OUT1/OUT2/OUT3/OUT4 meets 4 phase step motor driving interface pin OUT1/OUT2/ respectively OUT3/OUT4, external power source 12.0V connect with motor drive ic L298N pins VS, and external power source GND drives core with motor Piece L298N pins GND connects;
2nd, rotating forward button is pressed, stepper motor is rotated forward, and liquid crystal display 12864 shows rotating forward state;
3rd, reverse button, stepper motor reversion, the reversal displaying state of liquid crystal display 12864 are pressed;
4th, turbo, stepper motor faster rotational speed are pressed;
5th, deceleration button, stepper motor spin down are pressed;
6th, press and stop key, step motor stop, liquid crystal display 12864 shows stop state;
7th, shut-off single-chip microcomputer and outside motor driving power supply, remove 4 phase step motor wiring.

Claims (10)

1. a kind of a variety of motor drivers based on L298N, it is characterised in that including STC89C52RC single-chip microcomputers (1), monolithic Machine (1) is connected with crystal oscillating circuit module (2), reset circuit module (3), key circuit module (4), motor drive ic L298N Circuit module (5), 1K exclusions RP (6) and liquid crystal display (7), single-chip microcomputer (1) connection microcontroller power supply interface P2 (8), monolithic are electromechanical Source interface P2 (8) connection single-chip microcomputer external power interface P1 (9);
The motor drive ic L298N circuit modules (5) include four output interfaces, motor drive ic L298N circuit moulds Block (5) connects direct current generator (12), two-phase stepping motor (14) or three line steering wheels (16) by output interface.
2. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that single-chip microcomputer (1) The SCLK pin of liquid crystal display (7), the SID pin of the P1.1 pin connection liquid crystal display (7) of single-chip microcomputer (1), liquid crystal display are connected by P1.0 pin (7) VCC ends and GND ends are also connected with.
3. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that single-chip microcomputer (1) XTAL1 pin and XTAL2 pin connect 12M crystal oscillators two ends in crystal oscillating circuit module (2) respectively, the two ends of 12M crystal oscillators connect respectively There is a two 22pF ceramic condenser, two 22pF ceramic condenser other end short circuit;
Single-chip microcomputer (1) pin RST meets the one of 0.1uF ceramic condenser CRST one end, inching button ST one end and 10K resistance RST End, 10K resistance RST other end microcontroller power supply interface GND, the 0.1uF ceramic condenser CRST other end connects microcontroller power supply Interface VCC and inching button the ST other end.
4. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that single-chip microcomputer (1) Pin P0.0, P0.1, P0.2, P0.3, P0.4, P0.5, P0.6 and P0.7 connect respectively 1K exclusions RP (6) pin P00, P01, P02, P03, P04, P05, P06 and P07,1K exclusions RP (6) other end pin short circuit microcontroller power supply interface VCC;
1K exclusions RP (6) pin P00, P01, P02 and P03 connects the pin of motor drive ic L298N circuit modules (5) respectively IN1, IN2, IN3 and IN4, pin EA and the EB short circuit of motor drive ic L298N circuit modules (5) meet VCC, motor driving core Pin SEA and the SEB short circuit of piece L298N circuit modules (5) meets GND, the pin of motor drive ic L298N circuit modules (5) The pin VS of VCC splicers power interface VCC, motor drive ic L298N circuit module (5) connects external power source, and GND pin connects Ground.
5. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that single-chip microcomputer (1) Pin P2.0, P2.1, P2.2, P2.3 and P2.4 connect the first button S1, the second button S2, the 3rd button S3, the 4th button respectively S4 and the 5th button S5, single-chip microcomputer pin P20, P21, P22, P23 and P24, represent accelerator key/deceleration key/positive turn key/reversion Key/stop key, the first button S1, the second button S2, the 3rd button S3, the 4th S4 and the 5th button S5 other end short circuit connect Ground.
6. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that single-chip microcomputer (1) Pin VCC and GND meet power interface pin 5.0V and GND respectively.
7. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that direct current generator (10) driving interface pin VS and GND connects external electrical source and ground terminal, pin OUT1, OUT2, OUT3 and OUT4 difference respectively Meet first resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 of 10K adjustable potentiometers;10K adjustable potentiometers First resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 connect the b poles of four PNP8550 triodes respectively;First PNP8550 triodes Q1 and the 2nd PNP8550 triodes Q2 e poles meet power interface pin VS respectively;The poles of 3rd PNP8550 tri- Pipe Q3 and the 4th PNP8550 triodes Q4 c poles meet external power source pin GND, the first PNP8550 triodes Q1 and the 4th PNP8550 triodes Q4 c poles and e is extremely short connects, the 2nd PNP8550 triodes Q2 and the 3rd PNP8550 triodes Q3 c poles and E is extremely short to be connect, and direct current generator one terminates the first PNP8550 triodes Q1 c poles, another PNP8550 triodes Q2 of termination the 2nd c Pole.
8. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that two-phase stepping Driving interface pin OUT1, OUT2, OUT3 and OUT4 of motor (12) meet two-phase stepping motor (12) winding pin A+, A- respectively With B+, B-.
9. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that four phase steppings Driving interface pin OUT1, OUT2, OUT3 and OUT4 of motor (14) meet four phase step motor winding pin A, B and C, D respectively, Four phase step motor driving interface pin VS connects four phase step motor winding common port.
10. a kind of a variety of motor drivers based on L298N according to claim 1, it is characterised in that three line steering wheels (16) driving interface pin OUT1 connects three line steering wheel signal wires, and three line servo driving interface pin VS are connecing three line steering wheel power supplys just Pole pin, three line servo driving interface pin GND with connecing three line steering wheel power supplys pins.
CN201621396035.2U 2016-12-19 2016-12-19 A kind of a variety of motor drivers based on L298N Expired - Fee Related CN206432920U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621396035.2U CN206432920U (en) 2016-12-19 2016-12-19 A kind of a variety of motor drivers based on L298N

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621396035.2U CN206432920U (en) 2016-12-19 2016-12-19 A kind of a variety of motor drivers based on L298N

Publications (1)

Publication Number Publication Date
CN206432920U true CN206432920U (en) 2017-08-22

Family

ID=59587601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621396035.2U Expired - Fee Related CN206432920U (en) 2016-12-19 2016-12-19 A kind of a variety of motor drivers based on L298N

Country Status (1)

Country Link
CN (1) CN206432920U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108638077A (en) * 2018-06-27 2018-10-12 天津商业大学 A kind of robot teaching handle
CN108964539A (en) * 2018-07-24 2018-12-07 中国石油集团渤海钻探工程有限公司 A kind of motor-drive circuit and method for bottom drill tool powered actuation mechanism

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108638077A (en) * 2018-06-27 2018-10-12 天津商业大学 A kind of robot teaching handle
CN108964539A (en) * 2018-07-24 2018-12-07 中国石油集团渤海钻探工程有限公司 A kind of motor-drive circuit and method for bottom drill tool powered actuation mechanism

Similar Documents

Publication Publication Date Title
CN206432920U (en) A kind of a variety of motor drivers based on L298N
CN207518498U (en) DC motor controller with WIFI function
CN202471751U (en) Signal-generator simulating vehicle speed and engine rotating speed
CN206135675U (en) Digital steering engine
CN107891413A (en) Laminated, compact type Two-wheeled intelligent carriage
CN207557745U (en) A kind of bus marco board based on PC digital control systems
CN102305999A (en) Online debugging system for electric power-assisted steering control parameter
CN202126594U (en) Online debugging system for power-assisted steering control parameters
CN201604528U (en) Tractor intelligent combination instrument with control function
CN106527399B (en) SCM Based automobile electric control system fault injection system
CN208271442U (en) A kind of direct current generator digital PID speed regulation experiment case of teaching
CN201816465U (en) Motormeter based on high-speed eight-bit single-chip microcomputer
CN206926717U (en) A kind of EPS of changeable power steering pattern
CN203894966U (en) History event review device
CN113824360B (en) PWM speed regulation system and method for DC motor
CN204480299U (en) A kind of imictron interconnection system and adopt the neuron chip of this system
CN204695105U (en) A kind of windsurfing experimental system
CN2847690Y (en) Step motor driver of automobile instrument
CN205876513U (en) Automatic solidification equipment of tractor electron throttle data
CN214474558U (en) Soybean variable seed manure is with exerting controlling means
CN205430101U (en) Brushless DC motor control system
CN219499245U (en) Motor driving device and motor monitoring equipment
CN219477865U (en) Practical miniature direct current motor driver
CN204967679U (en) Direct current servo motor control system based on DSP
CN208781547U (en) Bus platform scrolling billboard control system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170822

Termination date: 20171219