Servo Angle from PWM
Convert a servo motor's PWM pulse width into the corresponding angle, angle = (pulse − 1000)/1000 · 180°, in the hobby standard where 1000 µs ≈ 0°, 1500 µs ≈ 90° (center) and 2000 µs ≈ 180°. Hobby and robotics servos are commanded by this pulse width, typically at 50 Hz. Knowing the relation helps to calibrate and program movements. Enter the pulse width in microseconds.
Result
—
Servo angle from PWM pulse width
Hobby and robotics servomotors are not commanded by voltage or current, but by the width of a pulse. The de facto standard is a pulse repeated at roughly 50 Hz whose duration sets the angle — 1000 µs ≈ 0°, 1500 µs ≈ 90° (center) and 2000 µs ≈ 180°. The conversion is angle = (pulse − 1000)/1000 · 180°. Inside the servo, a circuit compares that pulse width against the position read by a potentiometer on the output shaft and drives the motor until the difference goes to zero — a small closed control loop inside every servo. (The exact end points vary from model to model; some use 500–2500 µs for the 0–180° span.) Knowing this relationship is essential when calibrating robotic arms, gimbals and flight controllers, since it is what turns a target angle into the timer value your firmware has to write. Enter the pulse width in microseconds.
Related Tools
Servo Torque for Arm
Calculate the static torque a servomotor needs to hold a horizontal arm, T = m·g·L, from the tip mass m, gravity g (9.81 m/s²) and the arm length L. The result, in N·m, is the minimum torque the servo must provide to keep the arm horizontal against the load weight — the most unfavorable position. It is essential in designing robotic arms, grippers and servo-driven mechanisms, sizing the motor with a safety margin over this value. For arms with their own mass, the center of mass is used. Enter the mass and the arm length.
Trapezoidal Profile Time
Compute the total time of a motion with a trapezoidal velocity profile, t = d/Vmax + Vmax/a, adding the cruise-velocity time to the acceleration and deceleration phases. It is the most common motion profile in motors and robots: accelerate to maximum speed, hold constant and decelerate. Enter the distance, the maximum velocity and the acceleration (assuming equal acceleration and deceleration).
Grain Conical Pile Volume
Calculate the volume of a conical pile of granular material formed by free pouring, V = (π/3)·r³·tan(θ), from the pile base radius r (m) and the material's angle of repose θ (degrees). When granular material is freely poured onto a surface, it naturally forms a CONE whose side slope is the angle of repose — a characteristic property of each material (dry sand ~30-35°, grain ~25-30°, crushed stone ~37-40°) reflecting inter-particle friction. Since the cone height is h = r·tan(θ), the cone volume (1/3·π·r²·h) becomes (π/3)·r³·tan(θ), a function of radius and angle of repose only. This is widely used in practice to estimate, from a survey or base-radius measurement, the volume (and with density, the mass) of open stockpiles — piles of grain, sand, crushed stone, coal, ore, fertilizer in yards and warehouses. It is the basis of bulk-material inventory in piles, a quick alternative to weighing. It also guides stockyard area and height sizing and bulk-warehouse design. For elongated piles (prismatic with conical ends), add the central part. Enter the base radius and the angle of repose.
Accessible Corridor Width Brazil
Checks corridor width against NBR 9050 accessibility standard.
Extrusion Width Calculator
Calculate the ideal extrusion width for your FDM 3D printer nozzle, in millimeters. Tune your slicer for stronger parts and a cleaner finish.
Forward Kinematics (2 DOF)
Compute the (x, y) position of the end of a planar 2-degree-of-freedom robotic arm from the joint angles: x = L1·cos(θ1) + L2·cos(θ1+θ2) and y = L1·sin(θ1) + L2·sin(θ1+θ2). This is forward kinematics — given the joint angles, find where the tool is. Fundamental in manipulator control and robot simulation. Enter the link lengths (L1, L2) and the joint angles (θ1, θ2) in degrees.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.