
Note that a diode normally has a voltage drop generally of 0.7 volts, this means if you have 5V and connect a diode, you’ll only really have 5.3V travelling in that circuit.


Reverse voltage just means how much voltage the diode can take when it’s blocking the flow of electricity from the reverse direction. The important thing to remember is different components require different amounts of current.Ī microcontroller could only require 40mA, LEDs normally require 20mA, motors are a special case because of how motors are constructed they already have a resistance which means you can connect a motor directly to a battery and it won’t short circuit the battery as the motor has a resistance (though it’s quite low).Īlso take note that resistors don’t affect the voltage passing through the wire (there is an exception if you have two in a row, in between them there will be different voltage but we don’t need to cover that here).ĭiodes allow the voltage and current to only travel one way, there are various diodes with different ratings as to how much reverse voltage that diode can handle and the current that can flow through it. Resistors are important because if we didn’t use them a few things would happen, firstly the battery would send all it’s current through the wire which would almost guarantee any component that connected to it would be damaged/fry, another reason is the battery could actually explode because it will would be like short circuiting the battery which you should know to never do that. Below is our example, you can see the battery, the current being carried in the wire and the resistor value. For example, we have 5 volts input and a 200 Ohm resistor, we do 5/.200 which gives us 25mA of current flowing. Resistors are measured in Ohms and by knowing the input voltage and Ohms we can calculate the current that the resistor will allow. Resistors are used to limit the amount of current (milliamps mA or amps A) that flows through the circuit. So just a quick re-cap of resistors and diodes below.
#L298n motor driver frys simulator
How do I know which components we need? I’ve done it all through testing various configurations using the circuit simulator program as above. Also we will be using a easy to use circuit simulator program called Analog Circuit Simulator Applet which will speed up our design and make it easy to test our circuit. If you haven’t already, it would be a good idea to take a look at Building a Small Robot: Part 2 – Moving Forward as I explain the use of transistors.
#L298n motor driver frys free
This is quite a long post and do remember that I’m also new to understanding all of these concepts so do feel free to correct me if I’m doing something wrong! I’ve spent a good month checking all this out, posting on an electronics forum and trying to grasp the concepts I’ll be explaining you.

#L298n motor driver frys plus
Another on the plus our motor controller will have is about 1/2 the Vce of the L298N which is an advantage when dealing with low voltage motors and low voltage power supplies as well as back EMF protection (both will be explained). First we’ll start off with our design which shows how our components will be connected and our reasoning, we could of just bought a motor controller chip like the L298N but we will rather learn something from our build and it should be easier to use than the L298N chip. So here we are, we’re going to build us a motor controller to control 2 motors in both directions.
