uc: Arduino Uno - Page 20 of 40

398 articles found.

30A Brushless ESC Library for Proteus V1.0 (BLDC Motor, Arduino)

30A Brushless ESC Library for Proteus: the ESC with its battery leads on 11.1 V, the servo lead on D9 and the A2212 prop spinning

Hello friends, I hope you all are doing great. Today, I am going to share the new 30A Brushless ESC Library for Proteus V1.0. If you have ever built a quadcopter, an RC plane or a hovercraft, you know the little blue box with two thick battery leads on one side, three motor wires on the other and a servo lead in between. That is the ESC, the electronic speed controller, and without it a brushless motor does not turn at all. Now you can wire one in Proteus, drive it from an Arduino with the Servo library and watch it arm, start the motor and hold its speed. This is not a speed knob drawn on a box. The model does what a real ESC does: it counts the battery cells, waits for zero throttle before it arms, measures the motor at power-up, starts it without sensors, locks on its back-EMF and drives the three phases with real current from the battery. The motor in the demo is our A2212 drone motor from its own library, and the demo runs on our Arduino UNO V4.0 with a potentiometer as the throttle stick. NOTICE: a brushless motor is only as good as the ESC that drives it, so we built the ESC the hard way: an arming sequence, a motor test at power-up, a sensorless start and a back-EMF lock, all running inside Proteus against a real motor model. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, ...

A2212 Brushless Motor Library for Proteus V1.0 (1000KV, Drone)

A2212 Brushless Motor Library for Proteus: an Arduino UNO V4.0, a 30A ESC on 11.1 V and the A2212 with its prop spinning

Hello friends, I hope you all are doing great. Today, I am going to share the new A2212 Brushless Motor Library for Proteus V1.0. The A2212 1000KV is the motor that put a whole generation of makers in the air: four of them lift the classic F450 quadcopter, one pulls a trainer plane, two push a hovercraft. Now it spins in Proteus too, with its prop turning on the schematic at the simulated speed and a pop-up that tells you the speed, the thrust and the current in each of its three wires. A brushless motor never runs on its own - it needs an ESC that switches its three wires in turn. So the demo drives it the way you would on the bench: an Arduino UNO V4.0 sends servo pulses to our 30A brushless ESC, a separate library, and a potentiometer is the throttle. The motor answers like the real one: about 9,700 RPM and 800 g of thrust with a 1045 prop on a 3S battery. NOTICE: a motor model that just turns a picture would be easy. We wanted the real thing: three windings, the back-EMF of fourteen magnets, a bell and a prop with real inertia and real drag, so the thrust, the current and the speed come out of the physics. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the A2212 Brushless Motor Library for Proteus V1.0: The A2212 is an outrunner brushless motor. In an ...

130 DC Motor Library for Proteus V1.0 (Hobby Motor, 3-6V, PWM)

130 DC Motor Library for Proteus: the L9110S driver running the 130 hobby motor with its orange fan spinning

Hello friends, I hope you all are doing great. Today, I am going to share the new 130 DC Motor Library for Proteus V1.0. The 130 is the little silver motor that hides inside a thousand things: toy cars, hand fans, science-fair windmills, bubble machines and, behind a yellow gearbox, the TT motor of every robot-car kit. It has no gearbox of its own, so it spins fast - more than ten thousand RPM - and it is usually the very first motor anyone connects to a battery or an Arduino. Our model puts that motor into your Proteus circuit as a real analog part. Between its + and - pins it has the resistance of its winding, a back-EMF that grows with the speed, friction, the inertia of the rotor and any load you add, so it works with any driver - an L9110S, an L293D, an L298N, a transistor or a relay - and it draws the current a real 130 would. On the schematic an orange fan sits on its shaft and spins at the simulated speed. The demo runs on our Arduino UNO V4.0 with our L9110S driver and a potentiometer as the speed and direction knob. NOTICE: a fast little motor is easy to draw and hard to simulate well. So we did not draw a spinning icon, we built the physics: the motor spins up in about a tenth of a second, slows down under load, coasts, brakes, stalls and takes its current from your circuit, and the fan on the sheet looks the way a spinning fan looks to your eye. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in ...

FS90R Continuous Servo Library for Proteus V1.0 (360 Degree)

FS90R Continuous Servo Library for Proteus: an Arduino UNO V4.0 driving the FS90R 360 degree servo turning CCW at 108 RPM

Hello friends, I hope you all are doing great. Today, I am going to share the new FS90R Continuous Servo Library for Proteus V1.0. The FS90R looks exactly like a micro servo, but it never stops at an angle: it turns round and round like a small gear motor. That makes it the favourite wheel motor of tiny robot cars, line followers and turntables - two of them, a pair of wheels and an Arduino make a complete robot without a motor driver. The catch is that its pulse means something different. For a normal servo the pulse width is an angle; for the FS90R it is a speed and a direction, and 1500 us means stop. Our model reads the pulses exactly like that, turns the horn on your schematic at the simulated speed and draws the real current from your supply. It even reproduces the trap every FS90R owner falls into sooner or later: write(90) does not stop it. The demo runs on our Arduino UNO V4.0 with the standard Servo.h library and a potentiometer as the speed knob. NOTICE: a continuous servo is a speed controller in a servo case, so a picture that spins at a fixed rate is not enough. We built the pulse decoder, the speed curve, the motor and the gearbox, and the model creeps, slows under load and stalls like the real one. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started ...

JGA25-370 Encoder Gear Motor Library for Proteus V1.0 (12V, Hall)

JGA25-370 Encoder Gear Motor Library for Proteus: the JGA25-370 turning at 121 RPM, driven by the L9110S on 12 V

Hello friends, I hope you all are doing great. Today, I am going to share the new JGA25-370 Encoder Gear Motor Library for Proteus V1.0. If the N20 is the motor of small robots, the JGA25-370 is the motor of the next size up: robot cars that carry a battery pack, two-wheel balancing robots, small conveyors and camera sliders. A 370-size motor behind a round 25 mm metal gearbox, 12 V, and on its back a Hall encoder that tells your Arduino exactly how far and how fast the shaft has turned. This library gives you the motor and its encoder as one part. The motor is analog and takes its real current from any driver; the encoder is digital and puts out its two square waves with every edge at the moment the shaft really reaches it. The demo runs on our Arduino UNO V4.0, drives the motor from 12 V through our separate L9110S library, and turns the shaft to the angle of a potentiometer with a PD loop - or holds a speed with a PI loop, with the encoder as its speed sensor. NOTICE: an encoder motor in a simulator is only useful if its pulses come at the right moments and its current is what a driver really has to deliver. So we built the motor and its gearbox, and worked out the time of every encoder edge from the shaft's real motion. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get ...

N20 Encoder Gear Motor Library for Proteus V1.0 (Hall Encoder, PID)

N20 Encoder Gear Motor Library for Proteus: the N20 with its dial at 144 degrees and the C1 and C2 LEDs lit, driven by the L9110S

Hello friends, I hope you all are doing great. Today, I am going to share the new N20 Encoder Gear Motor Library for Proteus V1.0. The N20 is the tiny metal gear motor of line followers, small robot arms and balancing toys: a motor no bigger than a sugar cube with a gearbox in front and, in the version everybody wants for projects, a small encoder board on its back. That encoder is what turns a plain motor into something your Arduino can steer to an exact angle or hold at an exact speed, and it is the part that matters most in this library. The motor is analog: it takes real current from any driver, speeds up, slows down under load and stalls like the real one. The encoder is digital: it sends its two square waves on C1 and C2, and every edge comes at the moment the shaft really reaches it, so interrupts, encoder libraries and PID loops see exactly what they would see on the bench. The demo runs on our Arduino UNO V4.0, drives the motor through our separate L9110S library and turns the shaft to the angle of a potentiometer. NOTICE: an encoder motor in a simulator is only useful if its pulses come at the right moments. So we did not fake a pulse train, we built the motor and worked out the time of every single edge from the shaft's real motion. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a ...

MG996R Servo Motor Library for Proteus V1.0 (Metal Gear Servo)

MG996R Servo Motor Library for Proteus: an Arduino UNO V4.0 driving the MG996R metal gear servo with its horn at 135 degrees

Hello friends, I hope you all are doing great. Today, I am going to share the new MG996R Servo Motor Library for Proteus V1.0. When a little SG90 is not strong enough - a robot arm that lifts something, the steering of an RC car, a pan-tilt head with a camera on it - makers reach for the black MG996R. It is a standard-size servo with metal gears and about five times the torque of a micro servo, and it is probably the most used servo in hobby robotics after the SG90. Now it has a Proteus library of its own. The model reads the pulses on its signal wire, runs the position loop of an analog servo and drives a strong motor through a metal gearbox, so the horn moves at the speed of a real MG996R and holds against the same loads. Above all, it draws its real current from the supply in your circuit: a few milliamps at rest, more than an amp when it starts a move and two amps when it stalls. The demo runs on our Arduino UNO V4.0 with the standard Servo.h library and a potentiometer as the knob. NOTICE: a strong servo is a hungry servo, and that is exactly the part a simulator usually hides. So we built the MG996R from its physics - the pulse decoder, the position loop, the motor, the metal gears and the current it takes from V+ - and it took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's ...

NEMA 17 Stepper Motor Library for Proteus V1.0 (17HS4401, A4988)

NEMA 17 Stepper Motor Library for Proteus: the 42 mm stepper on an A4988 driver with its dial turned and both coil LEDs lit

Hello friends, I hope you all are doing great. Today, I am going to share the new NEMA 17 Stepper Motor Library for Proteus V1.0. The NEMA 17 is the black square stepper that moves almost every hobby 3D printer, laser engraver, CNC router and camera slider. It turns in exact 1.8 degree steps, holds its position with real force and, with a modern driver, moves in microsteps so fine that it glides. This library gives the NEMA 17 a part of its own in Proteus. Its two coils sit in your circuit with their resistance, inductance and back-EMF, so any driver runs it: a current-chopping A4988 or DRV8825, a voltage H-bridge like the L298N, L293D or TB6612, even plain transistors. The motor reads its own coil currents and tells you what the driver does - full steps, half steps or microsteps - and, like the real one, it cannot start at full speed and it loses steps when it is overloaded. A dial on the shaft turns on your schematic and a pop-up window draws the coil currents live. The demo runs on our Arduino UNO V4.0 with our A4988 driver. NOTICE: a stepper motor is only half of a motion system; the other half is how it is driven. So we built a motor that does not care which driver you use, solves its coils together with the driver in the circuit and slips when it should. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, ...

28BYJ-48 Stepper Motor Library for Proteus V1.0 (Any Driver, ULN2003)

28BYJ-48 Stepper Motor Library for Proteus: the stepper on a ULN2003A with its dial turned and coils A and B lit

Hello friends, I hope you all are doing great. Today, I am going to share the new 28BYJ-48 Stepper Motor Library for Proteus V1.0. The 28BYJ-48 is the little silver stepper with the blue cable that comes in almost every Arduino starter kit. It costs less than a coffee, runs from 5 V and turns its shaft in tiny, exact steps, which makes it the first motor most of us use for a pointer, a clock hand, a camera turntable or a smart blind. This library gives the 28BYJ-48 a part of its own in Proteus. The model is analog: its four half-coils are 50 ohm windings in your circuit, so any driver that pulls the wires low runs it - Proteus's own ULN2003A chip in the demo, transistors, MOSFETs or an L293D. Inside it has the real gearbox of 63.68: 1, the detent torque, the inertia and the friction, so it turns at the real speed, stalls when it is driven too fast and loses steps when the load is too heavy. A dial on the shaft turns on your schematic, and a pop-up window shows the coils, the angle and every lost step. The demo runs on our Arduino UNO V4.0 with the standard Stepper.h library. NOTICE: a stepper in a simulator is only honest if it can fail like a real one. So we built the coils, the magnetic steps, the gears and the load, and the motor slips when it should. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can ...

TT Gear Motor Library for Proteus V1.0 (Yellow DC Motor, Robot Car)

TT Gear Motor Library for Proteus: the L9110S driver turning the yellow TT gear motor and its wheel forward

Hello friends, I hope you all are doing great. Today, I am going to share the new TT Gear Motor Library for Proteus V1.0. If you have ever built a robot car from a kit, you know this motor: the yellow plastic gearbox with a small silver motor at its back and a shaft sticking out of both sides for a fat 65 mm wheel. It is cheap, it is everywhere, and it is the first motor most students ever drive from an Arduino. Until now it only came along with our L9110S driver library; from today it is a library of its own, with a wheel that turns on your schematic and a pop-up window that shows what the motor gets and what it does. The model is a real motor inside your circuit, not an animation. It sits between its + and - pins as an analog part, with the resistance of its winding, the back-EMF that grows with the speed, the friction of the gears, the inertia of the wheel and any load you put on it. So it works with any driver - an L9110S, an L293D, an L298N, a transistor or a relay - it slows down under load, and it stalls when the load is too much. The demo runs on our Arduino UNO V4.0 with our L9110S driver and a potentiometer as the speed and direction knob. NOTICE: a motor in a simulator is only useful if it behaves like a motor. So we did not draw a spinning icon, we built the physics: the wheel speeds up, slows down under load, coasts, brakes and stalls like the real one, and it takes its current from your circuit. It took our team a lot of hard work. Your feedback is the fuel that ...