The Kynix Components
Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips
Nowadays, production activities are concerned with automation, labor saving and high efficiency. And steppers are widely used in some occasions where flexible control is needed because they can adapt to the requirements of high efficiency and labor saving in production.In this post, we will introduce how to design a miniature stepper motor controller using STM32F103T8U6 of STM32 series and A4988 as the main modules.In addition, we will also introduce you how to use this stepper controller in order to achieve the function of closed-loop precise control of the stepping angle of the miniature stepper motor. Further, we will also analyze in depth the working principle of A4988 as well as the micro stepper motor speed control and stepping angle precise control strategy from various aspects.Catalog1 Features and working principle of A49881.1 Features of A49881.2 Working principle of A49881.3 A4988 logic control strategy2 Controller circuit design2.1 Hardware circuit design2.2 Functional design3 Software design3.1 Serial communication command design3.2 Controller control strategy4 ConclusionComponent DatasheetFAQ1 Features and working principle of A49881.1 Features of A4988A4988 is a complete micro-stepping motor driver with built-in converter for easy operation. This product can operate bipolar stepping motors in full, half, 1/4, 1/8 and 1/16 stepping modes, and the output drive performance can reach 35V and ±2A. The A4988 includes a fixed off-time current regulator that can operate in slow or mixed decay mode. The converter is the key to easy implementation of A4988. Just input a pulse in the "step" input to drive the motor to generate microsteps. No need for phase sequence table, high frequency control line or complicated interface programming. The A4988 interface is very suitable for applications where complex microprocessors are unavailable or overloaded.During micro-step operation, the chopper control in A4988 can automatically select the current decay mode (slow or mixed). In the mixed decay mode, the device is initially set to decay quickly during part of the fixed downtime, and then slowly decay during the rest of the downtime. The mixed decay current control scheme can reduce audible motor noise, increase step accuracy and reduce power consumption. Provide internal synchronous rectification control circuit to improve power consumption during pulse width modulation (PWM) operation. Internal circuit protection includes: thermal shutdown with hysteresis, under-voltage lockout (UVLO) and cross-current protection, no special power-on sequencing is required.1.2 Working principle of A4988To better analyze the working principle of A4988, let us first analyze the internal structure of A4988 in detail. Figure 1 shows the A4988's internal structure diagram and typical external circuit connection diagram.Figure 1. A4988 internal function modules diagramAs shown in Figure 1, A4988 has a translator, which is mainly responsible for the information interaction between the microcontroller and the drive circuit.The DA signal can be generated by the compiler, and the comparator assists the PWM latch to repair the attenuation signal. And, the compiler can generate logic level control logic controllers. Then, the logic controller cooperates with the current regulator and the N-type MOS tube driving voltage to drive the two full-bridge circuits together.The marked capacitor in the circuit must be strictly the same as that given in the technical document. Rosc mainly changes and repairs the attenuation mode. Connecting to VDD automatically repairs the attenuation, and connecting to GND, the current attenuation is set to increase or decrease the current and repair at the same time.SENSE1 and SENSE2 detect the drive output voltage, in fact, it detects the output current in real time, and the current regulator adjusts the output current signal to form a closed loop control. Therefore, the resistor connected to the SENSE1 and SENSE2 pins is very critical. Generally, the resistance of this resistor is about a few tenths of an ohm.1.3 A4988 logic control strategyThe A4988 has simple control logic and is mainly divided into the following control modes: sleep mode, forward and reverse mode, reset mode, enable mode, subdivision mode, etc.(1) Sleep mode: Set the Sleep pin level to 0, enter the sleep mode, and the driver outputs standby mode; Set the Sleep pin to 1, the driver is in normal working state;(2) Forward and reverse mode: Set the DIR pin to 0 or 1 in the forward mode and 1 or 0 in the reverse mode;(3) Reset mode: It is easy to consume energy in the reset mode, and the impact current generated is relatively large. Set the RESET pin directly to 1, and reset the RESET pin to 0 when the system is not affected. Once the driver chip is reset, the system will return to the original A4988 I/O port control state;(4) Enable mode: The enable mode controls whether the system starts to work, ENBALBE pin is set to 0 to start working, and to 1 to stop working;(5) Subdivision mode: The subdivision coefficient is controlled by MS1, MS2, and MS3. A4988 is subdivided into 1/16 subdivision as the smallest. By calculating the angle value, the minimum subdivision angle can be obtained as 1/16 of the full step angle.A4988 drive logic control is shown in Table 1.2 Controller circuit designAccording to the working principle of the A4988 chip, the controller circuit is mainly divided into the upper computer serial port module, the STM32 minimum system board module and the A4988 micro stepper motor drive module. Receive the control instruction of the upper computer through the STM32F103T8 microcontroller, and execute the stepping motor control operation after identification and analysis. The overall design block diagram of the internal stepping motor drive controller is shown in Figure 2.Figure 2. Stepper motor drive controller block diagram2.1 Hardware circuit design(1) Serial communication module: Mainly responsible for the communication between the upper computer and the lower computer. The upper computer sends corresponding functional instructions to the lower computer through the serial communication module, and the lower computer executes the instructions of the upper computer and controls the A4988 driver module to drive the stepper motor. The hardware circuit design is shown as in Fig. 3.Figure 3. Serial communication module(2) STM32 controller module: the main control module of the micro stepper motor controller, which receives instructions from the upper computer and executes stepper motor control instructions. This module mainly controls stepper motor subdivision operation, speed control, and rotation angle control. The STM32 control module is shown in Figure 4.Figure 4. STM32 controller module(3) A4988 micro stepping motor driver module: as shown in Figure 5, it mainly controls and drives the micro stepping motor and performs various driving operations of the main controller.Figure 5. A4988 stepper motor driver2.2 Functional designThe design requirements of the micro stepper motor controller:(1) Able to realize stepper motor subdivision controlThe subdivision control only needs to control the three pins MS1, MS2 and MS3 to get the corresponding subdivision result. The subdivision angle value is equal to the step angle multiplied by the subdivision coefficient. The subdivision coefficient is obtained by sending a command from the host computer, and the initial subdivision value is 1, which means it runs in full step mode.(2) Able to realize stepper motor speed controlThrough the test, the main factors affecting the speed of the stepper motor are the stepping pulse frequency and the subdivision coefficient. If the stepping pulse frequency is too high, it will cause the stepping motor to lose step. The stepping motor will not lose step after the test is 400Hz, and after the stepping motor rotates after the subdivision, there will be no strong vibration and sound.When the subdivision factor becomes smaller and smaller, the rotation speed of the stepper motor will also become smaller and smaller. There are two reasons.One of the reasons is that when the subdivision coefficient is constant, each pulse takes one step, the higher the pulse frequency, the faster the stepper motor rotation speed;Another reason is that when the input pulse frequency of the stepper motor remains unchanged, the advance angle of the stepper motor per 1/2 subdivision becomes the original 1/2 degree, so the number of pulses doubles, the natural speed It is reduced to 1/2 of the original.(3) Realize the rotation control of stepper motor at any angleThe arbitrary angle rotation control of the stepper motor is relative to the minimum angle (0.1125 degrees) of the A4988 drive rotation. And A4988 drives the stepping motor by pulse, and the rotation angle value can be obtained by multiplying the number of pulses by the subdivision angle. The number of A4988 input pulses can be obtained by calculating the number of PWM waves through the external interrupt I/O port of the microcontroller.3 Software designSTM32F103T8U6 is a 32bit microcontroller that can generate independent PWM waves. The PWM pulse width and frequency are adjustable, which is convenient for stepping motor drive and debugging speed.It can provide an external interrupt to detect the number of PWM output pulses for counting, and provide accurate data for realizing the rotation angle control of the rotating stepper motor, thus forming an angle closed loop control;It can provide serial communication for information exchange between host computer equipment and microcontroller;Its I/O port is small and cheap, and it can completely replace 16bit single-chip microcomputer for complex logic operations.STM32 control method:(1) Receive the host computer control command and return the receiving command, indicating that the reception is successful, otherwise the reception fails;(2) Through the received host computer control instructions, they are respectively transformed into control stepping motor instructions to control the stepping motor working mode.3.1 Serial communication command designThe commands sent by the serial communication host computer are:(1) Start mode;(2) Sleep mode;(3) Reset mode;(4) Speed setting mode;(5) Subdivision mode. The sending protocol uses "{" as the start code and "}" as the end code. For example, {+0.1125°C} means forward rotation by 0.1125 degrees. When the lower computer finishes executing the upper computer command, it returns to receive the command, otherwise it does not return. The specific sending method is shown in Table 2.3.2 Controller control strategyThe STM32 software is responsible for the main controller of the module.First, let the startup mode be in the inactive state (DISABLE), and the external interrupt is also in the off state. Once the start mode is turned on, the LED will light up.Secondly, set the speed, subdivision coefficient and rotation angle. The LED blinks slowly in sleep mode. The specific software design flow chart of the drive controller is shown in Figure 6.Figure 6. Stepper motor driver software flow chart4 ConclusionThrough system debugging of software and hardware, the controller realizes the setting of stepper motor speed, subdivision coefficient, and arbitrary angle, and achieves the expected set goal.This controller can be used in relatively fine project control to speed up the project development cycle. The main defect of this module is that the output drive current is not large enough to be used in applications with relatively large torque.Therefore, through the above analysis of the A4988 module, the A4988 chip can be further improved, and the MOS tube with small on-resistance and large drive current can be replaced to realize the design of the motor driver.Component DatasheetA4988 DatasheetFAQHow does A4988 work?The A4988 is a microstepping driver for controlling bipolar stepper motors which has built-in translator for easy operation. This means that we can control the stepper motor with just 2 pins from our controller, or one for controlling the rotation direction and the other for controlling the steps.What is A4988 driver?The A4988 is a complete Microstepping Motor Driver with built-in translator for easy operation. The driver has a maximum output capacity of 35 V and ± 2 A. It can operate bipolar stepper motors in full-, half-, quarter-, eighth-, and sixteenth-step modes.How do I know if A4988 is working?disconnect the motors.connect pin 7 (STEP) and pin 8 (DIR) to pin 9 (GND)connect a voltage to pin 10 (VDD) of 3 - 5.5v.ensure pin 9 is connected to Ground. 5 test for voltage between pins 11 and 12 (1A-1B) 6 test for voltage between pins 13 and 14 ( 2A-2B)What is the difference between DRV8825 and A4988?The DRV8825 has a greater maximum supply voltage than the A4988 (45 V vs. 35 V), allowing it to be utilized safely at higher voltages and reducing the risk of LC voltage spike damage.What is stepper motor driver module?A stepper motor driver is the driver circuit that controls how the stepper motor operates.
kynix On 2022-03-29
CatalogFeaturesApplicationsDescriptionApprovalsPin ConfigurationAbsolute Maximum RatingsElectrical CharacteristicsPERFORMANCE DATAMechanical DimensionsXAA117STR Tape & ReelDatasheet PDF DownloadXAA117 FAQFeaturesLow Input Control Current:1mA3750Vrms Input/OutputIsolationLow Drive Power Requirements(TTL/CMOS Compatible)Arc-Free With No SnubbingCircuitsFCCCompatibleVDECompatibleNo EMI/RFIGenerationMachine Insertable, WaveSolderableSurface Mount Tape & Reel VersionAvailable Applications●Security ●Passive Infrared Detectors (PIR) ●Data Signaling ●Sensor Circuitry●Instrumentation ●Multiplexers ●Data Acquisition ●Electronic Switching ●I/O Subsystems●Meters (Watt-Hour, Water, Gas)●Medical Equipment-Patient/Equipment Isolation●Security●Aerospace●Industrial ControlsDescriptionThe XAA117 is a dual, single-pole, normally open (1-Form-A) Solid State Relay with two independently controlled, optically coupled MOSFET switches that feature 3750Vrms of input to output isolation. The optically coupled outputs, which use the patented OptoMOS architecture, are controlled by a highly efficient GaAIAs infrared LED. This dual single-pole OptoMOS relay provides a more compact design solution than discrete single-pole relays in a variety of applications, and saves board space by incorporating both switches in a single 8-Pin package. ApprovalsUL Recognized Component: FileE76270CSA Certified Component: Certificate1175739EN/IEC 60950-1Compliant Pin ConfigurationAbsolute Maximum RatingsParameterRatingsUnitsBlocking Voltage60VPReverse Input Voltage5VInput Control CurrentPeak (10ms)50mA1AInput Power Dissipation 1150mWTotal Power Dissipation 2800mWIsolation Voltage, Input to Output3750VrmsOperational Temperature-40 to +85°CStorage Temperature-40 to +125°CElectrical CharacteristicsParameterConditionsSymbolMinTypMaxUnitsOutput CharacteristicsLoad Current Continuous 1Peak - IL - - 150 mArms / mADCt =10msILPK--±400mAPOn-ResistanceIL=150mARON-716WOff-State Leakage CurrentVL=60VPILEAK--1µASwitching Speeds Turn-OnTurn-Off IF=5mA, VL=10V ton - 0.1 5 mstoff-0.55Output CapacitanceVL=50V, f=1MHzCOUT-25-pFInput CharacteristicsInput Control Current to ActivateIL=150mAIF--1mAInput Control Current to Deactivate--0.05--mAInput Voltage DropIF=5mAVF0.91.21.4VReverse Input CurrentVR=5VIR--10µACommon CharacteristicsInput to Output Capacitance-CI/O-3-pFPERFORMANCE DATA Mechanical DimensionsXAA117STR Tape & Reel Datasheet PDF DownloadYou can download the datasheet from the link given below.XAA117-Datasheet XAA117 FAQCan relays be normally open?Normally open relay: Normally open relays default in the open position, meaning that when they're not in use, there is no contact between the circuits. When power is introduced, an electromagnet pulls the first circuit into contact with the second, thereby closing the circuit and allowing power to flow through.What is the difference between SSR and relay?Difference between Solid State Relay (SSRs) and Mechanical Relays. Solid state relay, commonly known as SSR, are a type of relay found everywhere in the world. The main difference between solid state relays and general relays is that there is no movable contacts in solid state relay (SSR).What is the difference between SSR and relay?Difference between Solid State Relay (SSRs) and Mechanical Relays. Solid state relay, commonly known as SSR, are a type of relay found everywhere in the world. The main difference between solid state relays and general relays is that there is no movable contacts in solid state relay (SSR).Which is an advantage of an electromechanical relay over a solid state relay?Thus the main advantages solid state relays have over conventional electro-mechanical relays is that they have no moving parts to wear out, and therefore no contact bounce issues, are able to switch both “ON” and “OFF” much faster than a mechanical relays armature can move.How many amps before you need a relay?You will often see circuits carrying less than 20 amps switched directly, while circuits of 30-40 amps can sometimes be directly switched but will often be controlled by relays. Anything above 40 amps is pretty much always on a relay.
kynix On 2022-03-29
PL2303 UART module integrated with PL2303 IC from Prolific Technology, a single-chip USB to UART bridge IC. This USB-to-UART bridge controller provides a simple solution for updating the RS-232 design using minimal components and PCB space. Royalty-free Virtual COM Port (VCP) allows device drivers to be used as a COM port in PC applications. This module enables an asynchronous serial data bus (UART) with USB 2.0 full-speed controller, USB transceiver, and full-mode control signal. How to fix PL2303 error code 10, Windows 8, Windows 10CatalogPL2303 Module OverviewPL2303 Module PinoutPL2303 Module FeaturesPL2303 Interfacing DiagramPL2303 Module ApplicationsPL2303 Module DimensionsComponent DatasheetFAQPL2303 Module OverviewThis PL2303 UART module is a USB to TTL UART Converter module based on PL2303 Bridge by Prolific Technology. This PL2303 UART module is compatible with USB2.0 full-speed devices with an integrated transceiver. It has real-time LEDs on data lines that provide real-time data transfer status. A 500 mA self-recovery fuse is used for protection purposes.PL2303 Module Overview This module can be used as a standard serial port with laptops that do not have a standard serial port. This module creates a virtual COM port using a USB port on your computer that can support various standard baud rates (300 bps to 1 Mbps) for serial communication. This module includes both TX (transmit) and RX (receive) data signals.PL2303 Module PinoutPL2303 ModulePL2303 Module Pinout Pin NameDescription3.3V3.3V VCC pin5.0V5.0V VCC pinTxDAsynchronous data output (UART Transmit)RxDAsynchronous data input (UART Receive)GNDGround PL2303 Module Features3.3V & 5.0V operations for DDWRT support on different voltage systemStandard USB type A male and TTL 6pin connector.500mA self-recovery fuse for protection.Two data transmission indicator can monitor data transfer status in real-timeWorks with existing COM port PC applications. Ready for Windows 8/7/Vista/Server 2003/XP/2000/CEPlastic coating protection from standard wear and tear.Size: 52mm X 15.5mm x 6.5mm (L x W x H). PL2303 Interfacing DiagramThe interface of the PL2303 UART module is quite easy. Follow the image below to connect to the module. The UART module can be interfaced with any microcontroller that has a UART interface. PL2303 Interfacing DiagramPL2303 Module ApplicationsDebug purpose in the developmentMicrocontroller to PC communicationProgramming related purposesPL2303 Module DimensionsComponent DatasheetPL2303 DatasheetFAQWhat is the PL2303 UART module compatible with?USB2.0 What is USB to TTL?The USB TTL Serial cables are a range of USB to serial converter cables which provide connectivity between USB and serial UART interfaces. What is UART Arduino?UART, which stands for Universal Asynchronous Reception and Transmission, is a simple serial communication protocol that allows the host (Arduino) to communicate with serial devices. How do I test my USB to TTL converter?Use a jumper wire and connect the RXD pin to the TXD pin of your USB-to-TTL adapter and plug it in to one of the USB ports of your Windows PC.Press Win+R to open the Run dialog, type devmgmt.In the Device Manager, expand Ports (COM & LPT) and check the port number assigned to your USB-to-TTL adapter.
kynix On 2022-03-29
PC817 is a photocoupler. PC817 consists of a diode emitting LED and a phototransistor. They're optically coupled together. The electrical signal is transmitted optically between the input and the output side without any physical connection between the two sides. The IR circuit can be designed by hand, but we have a fully pre-designed and small built-in IC circuit known as the PC817 Optocoupler. The PC817 Optocoupler is small and comes in multiple packages. This video is about how to test photocoupler PC817.CatalogPC817 PinoutPC817 FeaturesPC817 EquivalentWhere to Use PC817 ICHow to Use PC817 IC PC817 ApplicationsPC817 PackageComponent DatasheetFAQPC817 PinoutPC817PC817 Pinout Pin NameDescriptionAnodeAnode pin of the IR LED. Connected to logic inputCathodeCathode pin of the IR LED. Connected to groundEmitterEmitter pin of transistor. Connected to GroundCollectorCollector pin of the Transistor. Provides logical outputPC817 FeaturesInput Diode Forward Voltage: 1.25VCollector-Emitter Voltage: 80V (max)Collector Current: 50mA (max)Cut-off frequency: 80 kHzRise Time: 18usFall Time: 18usAvailable as 4-pin DIP through hole and also as SMT package.PC817 EquivalentTLP321Alternatives Opto-couplers: MOC3021 (Zero Cross TRIAC) , MOC3041 (Non-Zero Cross TRIAC), FOD3180 (High-Speed MOSFET), MCT2E, 4N25Where to Use PC817 ICPC817 Photocoupler has a transistor which is controlled based on light (photon). So this IC basically has an IR (infrared) LED and a phototransistor inside it. When the IR LED is powered, the light from it falls on the transistor and it conducts. The arrangement and pinouts of the IR LED and the photo-transistor is shown above. This IC is used to provide electrical insulation between two circuits, one part of the circuit is connected to the IR LED and the other part to the Photo Transistor. The digital signal to the IR LED will be reflected on the transistor, but there will be no hard electrical connection between the two. This comes in handy when you're trying to isolate a noisy signal from your digital electronics, so if you're looking for an IC to provide optical insulation in your circuit design, this IC might be the right choice for you.How to Use PC817 ICUsing the PC817 IC is pretty straight forward, we just need to connect the a node pin of the IR LED (pin 1) to the logic input to be isolated and the cathode (pin 2) of the IR to the ground. Then pull the collector pin out of the transistor using the resistor (here I used 1K) and connect the collector pin to the output of your desired logic circuit. The emitter (pin 4) has been grounded. Note: The ground line of the IR LED (pin 2) and the ground line of the transistor (pin 4) are not connected together. This is where isolation is taking place.PC817 Circuit Diagram Now, when the Logic input is low, the IR LED will not be running and therefore the transistor will also be off-state. As a result, the Logic output will remain high, this high voltage can be set anywhere up to-30V (Collector-Emitter Voltage) where I used +5V. The pull-up resistor 1K acts as a load resistor. But when the Logic input is high, this high voltage should be at least 1.25V (Diode Forward voltage) of the IR LED, so that the phototransistor is also switched on. This will shorten the collector and emitter, and therefore the Logic Output voltage will become zero. This way, the logic input will be reflected in the logic output and still provide and insulate between the two. The complete working of the GIF file above can also be understood. Another important parameter to consider while using the Optocoupler is the time of increase (tr) and fall time (tf). The output will not be high as soon as the input logic is low and vice versa. The waveform below shows the time taken for the output to transit from one state to another. The increase time (TPDHL) and fall time (TPDLH) for PC817 is 18us. PC817 ApplicationsElectrical Isolation circuitsMicrocontroller I/O switching circuitsSignal isolationNoise coupling circuitsIsolation digital from analog circuitsAc/DC Power controlPC817 PackageComponent DatasheetPC817 DatasheetFAQWhat does PC817 consist of?Diode emitting LED and a phototransistor How are the LED and phototransistor connected to the PC817?Optically coupled together. What is the use of PC817?Embedded project for isolation purposes. What is the output voltage of optocoupler?At potentials up to 5,000 volts, the optocoupler is utilized to communicate analog or digital information between circuits while retaining electrical isolation. When the potential difference between two circuits exceeds 5,000 volts, an optoisolator is utilized to transmit analog or digital data.
kynix On 2022-03-29
I DescriptionThis blog uses LM386 integrated block as the core device to make a simple sound amplifier. Its production cost is relatively low. This blog is suitable for beginners to learn about power tubes, integrated operational amplifiers, speakers, language chips and other components. So we can master the principles, characteristics and usage of the basic amplifier circuit and power amplifier circuit.Figure 1. LM386CatalogI DescriptionII Introduction to LM3862.1 Features2.2 Internal StructureIII Working Principle of LM386 Sound AmplifierIV LM386 Sound Amplifier DebuggingV ConclusionFAQOrdering & QuantityII Introduction to LM3862.1 FeaturesLM386 is a kind of audio integrated amplifier. It has the advantages of low power consumption, adjustable internal chain gain adjustment, large power supply voltage range, few external components and low total harmonic distortion. Therefore, LM386 is widely used in recorders and radios, mainly in low-voltage consumer products. LM386 features are: Battery Operation Minimum External Parts Wide Supply Voltage Range: 4 V–12 V or 5 V–18 V Low Quiescent Current Drain: 4 mA Voltage Gains from 20 to 200 Ground-Referenced Input Self-Centering Output Quiescent Voltage Low Distortion: 0.2% (AV = 20, VS = 6 V, RL = 8 Ω, PO = 125 mW, f = 1 kHz) Available in 8-Pin MSOP PackageBased on the characteristics shown above, lm386 components are widely used in communication equipment, small radios, and walkie-talkie circuits. It is also called "universal power amplifier circuit" by the majority of electronic enthusiasts.2.2 Internal Structure LM386 adopts 8-pin dual in-line package. See Figure 2 for the pin arrangement diagram.Figure 2. LM386 Pin Arrangement Pin 6 is connected to the positive pole of the power supply; Pin 4 are grounded; Pin 2 inverting input terminal; Pin 3 non-inverting input terminal; Pin 5 is the output terminal; Pins 1, 7, and 8 are used to improve the performance of the circuit. The external component ends, and the internal circuit is a three-stage amplifier circuit:The 1st stage consists of VT1~VT6 to form a differential amplifier circuit,The 2nd stage is composed of VT7 voltage amplifier circuit,The 3rd stage is composed of VT8~VT10 to form a complementary symmetrical OTL output circuit that can eliminate crossover distortion.R5, R6, and R7 form a negative feedback network.III Working Principle of LM386 Sound AmplifierThe core of the LM386 sound amplifier is the LM386 power amplifier integrated circuit. As shown in Figure 3.The electret microphone B1 converts sound signals into electrical signals. This signal is very weak, how to amplify it? We can add the coupling capacitor C1 to the base of VT1, and VT1 forms a common emitter amplifier circuit to amplify the signal. Also, the signal is output from the collector of VT1, and added to the inverting input terminal of LM386 via coupling capacitor C2 to pin 2 and pin 3 is grounded. After the signal is amplified by the internal three stages of LM386, the signal is output from pin 5, and then passes through the coupling capacitor. C3 is sent to the speakers. After going through these processes, it can make a sound. Figure 3. LM386 Sound AmplifierFigure 4. LM386 Audio Amplifier CircuitThen how to adjust the signal magnification of LM386? Here, we can connect an adjustable resistor R5 and capacitor C6 to pin 1 and pin 8 to form a series RC network. When R5=0, the voltage magnification is 200.Pin 7 is connected to capacitor C5 to prevent LM386 from generating self-excitation. In addition, pin 5 is grounded through R4 and C4 to make the speaker sound softer.IV LM386 Sound Amplifier DebuggingAfter the circuit is assembled, we should carefully check for errors or false soldering. If there is no abnormality after the inspection, turn on the 6V power supply for debugging:Step 1: Don't pick up the microphone first. When there is no input signal, test the quiescent current of the whole machine, which is about 7mA.Step 2: Test the static voltage value of each pin of LM386, as shown in Figure 2.Step 3: After the voltage and current are normal, place the RP volume regulator in the middle and touch the base of VT1 with a screwdriver. The speaker will emit a "click————click——" sound, indicating that the circuit is normal.Step 4: Connect the microphone B1, and then fine-tune the RP. If nothing goes wrong, speak into the microphone, the speaker should have amplified sound. If there is no sound, check whether the microphone cable is connected incorrectly or the quality of the microphone is defective.Step 5: When using a sound amplifier, do not place the microphone and speaker too close together. If they are unfortunately too close, the speakers will make a harsh sound. Therefore, it is best to use shielded wire for the microphone lead-out.Figure 5. LM386V ConclusionThrough the design of this blog, we have an essential understanding of the working principle of LM386. We have mastered the pin function, internal structure circuit and working principle of LM386. In addition, the sound amplifier made by LM386 has the characteristics of simple circuit, convenient debugging, and complete functions. After reading this blog, have you better understand LM386?FAQHow does an LM386 work?The Lm386 integrated chip is a low power audio frequency amplifier, which uses low level power supply like batteries in electronic circuits. It is designed as 8 pin mini DIP package. This provides voltage amplification of 20. By using external parts voltage gain can be raised up to 200.Is lm386 an op amp?The LM386 is a type of operational amplifier (Op-Amp). ... In an amplifier circuit, the LM386 takes an audio input signal and increases its potential anywhere from 20 to 200 times. That amplification is what's known as the voltage gain.What is lm386 IC?The LM386 is an integrated circuit containing a low voltage audio power amplifier. It is suitable for battery-powered devices such as radios, guitar amplifiers, and hobby electronics projects.How do you calculate lm386 gain?Voltage Gain Analysis:Without any external components, it has a gain of Gv = 2x15K/(150+1350) = 20 (26 dB).With a capacitor (or shortcutting) between pins 1 and 8 , it has a gain of Gv = 2x15K/150 =200 (46dB).Which IC is used in audio amplifier?The IC LM386 is a low-power audio amplifier, and it utilizes low power supply like batteries in electrical and electronic circuits. This IC is available in the package of mini 8-pin DIP.What are some projects that use the LM386 audio amplifier circuit?LM 386 is an integrated class AB amp and is good for beginners small audio amplifier applications…for example in a RF receiver,small Stereo system,cheap low voltage amplifier etc…drawbacks is that it cannot handle much power and hence creates distortion when you crank up the volume too much.. So other ICs are used in practical.How to make an LM386 audio amplifier circuit?
kynix On 2022-03-29
Product Overview The SN6501DBVT is a monolithic Oscillator/Power Driver, specifically designed for small form factor, isolated power supplies in isolated interface applications. The device drives a low-profile, centre-tapped transformer primary from a 3.3 or 5VDC power supply. The secondary can be wound to provide any isolated voltage based on transformer turns ratio. It consists of an oscillator followed by a gate drive circuit that provides the complementary output signals to drive the ground referenced N-channel power switches. The internal logic ensures break-before-make action between the two switches. This blog will introduce SN6501DBVT systematically from its features, pinout to its specifications, applications, also including SN6501DBVT datasheet and so much more. Catalog Product Overview SN6501DBVT Features SN6501DBVT Pinout SN6501DBVT Applications SN6501DBVT CAD Models SN6501DBVT Circuit Diagram SN6501DBVT Block Diagram SN6501DBVT Package SN6501DBVT Specification SN6501DBVT Manufacturer SN6501DBVT Datasheet Using Warnings SN6501DBVT FAQ SN6501DBVT Features Push-pull driver for small transformersSingle 3.3-V or 5-V supplyHigh primary-side current drive: – 5-V Supply: 350 mA (Max) – 3.3-V Supply: 150 mA (Max) Low ripple on rectified output permits small output capacitors Small 5-Pin SOT-23 Package SN6501DBVT Pinout The following figure is the diagram of SN6501DBVT pinout. SN6501DBVT Pinout SN6501DBVT Applications Isolated interface power supply for CAN, RS-485,RS-422, RS-232, SPI, I2C , Low-Power LANIndustrial automationProcess controlMedical equipment SN6501DBVT CAD Models The following are SN6501DBVT Symbol, Footprint, and 3D Model. SN6501DBVT Symbol SN6501DBVT Footprint SN6501DBVT 3D Model SN6501DBVT Circuit Diagram The following is the circuit diagram of SN6501DBVT. SN6501 Block Diagram And Output Timing With Break-Before-Make Action Typical Application Schematic SN6501DBVT Block Diagram The following figure shows the block diagram of SN6501DBVT. SN6501DBVT Block Diagram SN6501DBVT Package The following diagram shows the SN6501DBVT package. SN6501DBVT Package SN6501DBVT Specification Product AttributeAttribute ValueManufacturer:Texas InstrumentsProduct Category:Power Management Specialised - PMICSeries:SN6501Type:ConvertersMounting Style:SMD/SMTPackage/Case:SOT-23-5Output Current:500 mAInput Voltage Range:3 V to 5.5 VOutput Voltage Range:0 V to 11 VMinimum Operating Temperature:- 40 CMaximum Operating Temperature:+ 125 CInput Current:300 uABrand:Texas Instruments SN6501DBVT Manufacturer Texas Instruments Incorporated (TI) is a global semiconductor design and manufacturing company that develops analog ICs and embedded processors. By employing the world's brightest minds, TI creates innovations that shape the future of technology. TI is helping more than 100,000 customers transform the future, today. SN6501DBVT Datasheet You can download SN6501DBVT datasheet from the link given below: SN6501DBVT Datasheet Using Warnings Note: Please check their parameters and pin configuration before replacing them in your circuit. SN6501DBVT FAQ What is the SN6501DBVT? Monolithic Oscillator/Power Driver. What does the SN6501DBVT consist of? Gate drive circuit. What type of power supply does the SN6501DBVT drive? 3.3 or 5VDC. What is a transformer used for? A transformer is a device that transfers electric energy from one alternating-current circuit to one or more other circuits, either increasing (stepping up) or reducing (stepping down) the voltage. What is transformer and how it works? A transformer is an electrical apparatus designed to convert alternating current from one voltage to another. It can be designed to "step up" or "step down" voltages and works on the magnetic induction principle.
Kynix On 2022-03-29
Join our mailing list!
Be the first to know about new products, special offers, and more.
Feature Posts
ENC624J600-I/PT microcontroller: Datasheet, Features, Application[FAQ]2023-03-07
ATMEGA1280-16AU microcontroller: Datasheet, Features, Application[FAQ]2023-03-07
STM8S207CBT6 Microcontroller: Datasheet, Features, Application[FAQ]2023-03-06
2N7002P Mosfet: Datasheet, Pinout, Features [FAQ]2021-10-21
L298N Motor Driver: Datasheet, Arduino, Circuit [Video&FAQ]2021-10-21














