software: Arduino IDE - Page 29 of 51

503 articles found.

DS3218 Servo Motor Library for Proteus V1.0 (20kg Digital Servo)

DS3218 Servo Motor Library for Proteus: an Arduino UNO V4.0 driving the DS3218 20 kg digital servo with its horn at 135 degrees

Hello friends, I hope you all are doing great. Today, I am going to share the new DS3218 Servo Motor Library for Proteus V1.0. The DS3218 is the servo people reach for when a robot arm has to lift something real: a standard-size 20 kg digital servo with metal gears, used in robot arms, walking robots, camera rigs and large RC models. It is also the servo behind one of the most common questions on our forum: "why does my servo never reach 0 or 180 degrees?" This library brings the DS3218 into Proteus with the answer built in. Its horn turns on your schematic at the real speed, its torque follows the supply - 19 kg.cm at 5 V, 21.5 kg.cm at 6.8 V - and its range is the real one: 500 to 2500 us for 0 to 180 degrees, wider than the Arduino Servo library's default. The demo runs on our Arduino UNO V4.0 with Servo.h and a potentiometer, and one command switches between the library's default and the right range so you can see the difference. NOTICE: a big servo is not just a small servo with a bigger number on the label. It needs a different pulse range, a different supply and respect for its current - several amps when it starts or stalls. We put all of that into the 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, let's get started with the DS3218 Servo Motor Library for Proteus ...

MG90S Servo Motor Library for Proteus V1.0 (Metal Gear, Arduino)

MG90S Servo Motor Library for Proteus: an Arduino UNO V4.0 driving the black MG90S 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 MG90S Servo Motor Library for Proteus V1.0. The MG90S is the servo people buy when the little SG90 is no longer enough. It has the same size, the same mounting ears and the same three wires, so it drops into the same place - but inside it has a metal gear train and a stronger motor. It is the usual choice for small robot arms, pan-tilt heads, RC planes and any joint that may get knocked. This library brings the MG90S into Proteus as a part of its own. Its horn turns on your schematic at the real speed, it reads the pulses of the Arduino Servo library, it draws its current from the supply in your circuit, and its torque follows that supply: 1.8 kg.cm at 4.8 V, 2.2 kg.cm at 6 V. Load it beyond that and it stalls; load it a little less and it holds a few degrees short, exactly as a real analog servo does. The demo runs on our Arduino UNO V4.0 with Servo.h and a potentiometer as the knob. NOTICE: two servos that look alike on paper behave differently on the bench, and the difference is in the gears, the motor and the current. We modelled each of them, so the MG90S in your simulation is not an SG90 painted black. 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 MG90S Servo Motor ...

LM393 Speed Sensor Library for Proteus V1.0 (Arduino RPM Counter)

LM393 Speed Sensor Library for Proteus: an Arduino UNO V4.0 and the LM393 speed sensor with its encoder disc turning at 300 RPM

Hello friends, I hope you all are doing great. Today, I am going to share the new LM393 Speed Sensor Library for Proteus V1.0. If you have ever built a robot car, you have met this little module: a black U-shaped slot on a blue board, with a slotted encoder disc on the motor shaft turning through it. Every slot that passes the beam gives one pulse, and an Arduino counts the pulses to get the wheel's speed. It is the cheapest speed sensor there is, and one of the most popular. It is also famous for a problem: at slow speeds the count comes out far too high. This library brings the module into Proteus with that problem included. The disc belongs to the machine and you set its speed on the pop-up; the D0 output pulses once a slot, and below about 200 RPM its comparator chatters - extra short pulses on every edge - just like the real board. The demo runs on our Arduino UNO V4.0: it counts the pulses twice, once raw and once with a short lockout, so you can watch the chatter appear and the cure work. NOTICE: a speed sensor that simply gave perfect pulses would teach you nothing you would not learn on the bench the hard way. So we modelled the part that confuses everybody: the comparator without hysteresis. 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 LM393 ...

DC Tachogenerator Library for Proteus V1.0 (Arduino RPM Sensor)

DC Tachogenerator Library for Proteus: an Arduino UNO V4.0 and the tachogenerator at 1500 RPM with its coupling blurred

Hello friends, I hope you all are doing great. Today, I am going to share the new DC Tachogenerator Library for Proteus V1.0. Every speed-controlled machine needs to know how fast it really turns: the spindle of a lathe, the drum of a conveyor, the reel of a winder, the shaft of an old servo motor. For decades the answer was a tachogenerator - a small DC generator on the shaft whose output voltage is simply proportional to the speed. Read the volts, and you have the RPM. This library brings a brushed DC tachogenerator into Proteus. Its output is a real source in your circuit: 7 volts per 1000 RPM behind its armature resistance, so a load makes it sag, with the small commutator ripple a real tacho has, and a sign that tells the direction. The shaft belongs to the machine being measured: you set its speed on the pop-up and it runs up with the machine's inertia. The demo runs on our Arduino UNO V4.0: a potentiometer divides the tacho's up to 21 V down to the Arduino's 5 V, and the sketch averages away the ripple and prints the speed. NOTICE: a tachogenerator is the simplest speed sensor there is, and that is exactly why it is worth getting right: the volts, the load, the ripple and the sign all carry information an engineer reads at a glance. We modelled each of them. 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 ...

Analog Panel Meter Library for Proteus V1.0 (85C1 Voltmeter)

Analog Panel Meter Library for Proteus: an Arduino UNO V4.0 drives the 0 - 5 V panel meter from D9, the needle at 3.30 V

Hello friends, I hope you all are doing great. Today, I am going to share the new Analog Panel Meter Library for Proteus V1.0. Before digital displays took over, every power supply, battery charger and test bench showed its volts and amps with a needle. Those meters are still everywhere in the maker world: they are cheap, they need no code to read, and a needle swinging across a scale tells you at a glance what a row of digits cannot - whether a value is rising, falling or trembling. This library adds the classic 85C1-style moving-coil panel meter to Proteus. It is not a probe with a picture: its terminals are the real meter's resistance in your circuit, and its needle is a small motor turning against a spring, with inertia and damping. So it does what a real meter does with an Arduino: it averages a PWM, swings a little past the value and settles, shakes when the PWM is too slow, pegs on its end stop when you go over the range and pushes the wrong way when the wires are swapped. The demo runs on our Arduino UNO V4.0, with a potentiometer that sets the needle. NOTICE: a needle meter looks like the simplest part on any bench, yet the way it moves - the swing, the overshoot, the calm average of a buzzing PWM - is pure physics. We wanted that physics in Proteus, not just a number. 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 ...

X27.168 Speedometer Gauge Library for Proteus V1.0 (Switec X25)

X27.168 Speedometer Gauge Library for Proteus: an Arduino UNO V4.0 drives the gauge on D4 - D7, the needle at 180 km/h

Hello friends, I hope you all are doing great. Today, I am going to share the new X27.168 Speedometer Gauge Library for Proteus V1.0. Look at the dashboard of almost any car built in the last twenty years: behind each needle of the speedometer, the rev counter, the fuel gauge and the temperature gauge sits a tiny stepper motor the size of a coin. The X27.168 is the version of that motor makers sell to the rest of us, and it has become the favourite way to put a real needle on an Arduino project. This library brings the X27.168 into Proteus with a speedometer dial on top. Its two coils sit in your circuit with their resistance, inductance and back-EMF, so four Arduino pins drive it directly, just like on the bench. The needle turns to the simulated angle on your schematic, it stops at its real end stops, it needs the zeroing every gauge sketch does at power-up, and, if you step it too fast or hold the needle with a finger, it loses steps and shows the wrong speed. A pop-up window explains everything it sees. The demo runs on our Arduino UNO V4.0 with a potentiometer as the speed of the car. NOTICE: a gauge looks simple - a needle that points at a number - but the motor behind it has no idea where its needle is. We built a model that knows only what the real one knows: the currents in its two coils. Everything else, from the zeroing to the lost steps, follows from that. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what ...

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 ...