{"product_id":"yahboom-sg90-servo-blue","title":"Yahboom SG90 Micro Servo Motor, 180°, 3-Wire PWM, Blue Plastic","description":"\u003cp\u003eYahboom's SG90 is a small hobby servo that swings through 180 degrees and holds the angle your program asks for. It needs three connections — VCC, GND and a signal pin — and you set the position by feeding it a pulse signal, which makes it a drop-in part for steering a robot car, driving a sensor bracket or building a simple door mechanism.\u003c\/p\u003e\n\n\u003ch2\u003eKey Features\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e180-degree rotation range, holding position once it reaches the commanded angle\u003c\/li\u003e\n\u003cli\u003eThree-wire connection: VCC, GND and IO (signal)\u003c\/li\u003e\n\u003cli\u003eAngle set by a pulse signal from any board that can generate PWM\u003c\/li\u003e\n\u003cli\u003eLight and compact, so it suits small mechanisms and tight builds\u003c\/li\u003e\n\u003cli\u003eWidely supported — Yahboom publishes example code for six controller platforms\u003c\/li\u003e\n\u003cli\u003eSupplied as a single servo (Yahboom lists this variant as 1PCS)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003cth\u003ePublished in\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eRotation range\u003c\/td\u003e\n\u003ctd\u003e180 degrees\u003c\/td\u003e\n\u003ctd\u003eYahboom product page\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eControl signal\u003c\/td\u003e\n\u003ctd\u003ePulse signal (PWM), angle proportional to pulse width\u003c\/td\u003e\n\u003ctd\u003eYahboom product page and example code\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePWM frame rate\u003c\/td\u003e\n\u003ctd\u003e50 Hz, about a 20 ms period\u003c\/td\u003e\n\u003ctd\u003eYahboom Raspberry Pi Pico example\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePulse width for 0–180 degrees\u003c\/td\u003e\n\u003ctd\u003eRoughly 0.5 ms to 2.5 ms\u003c\/td\u003e\n\u003ctd\u003eYahboom Pico and Arduino examples\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eConnections\u003c\/td\u003e\n\u003ctd\u003eVCC, GND, IO\u003c\/td\u003e\n\u003ctd\u003eYahboom product page\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eWire colours\u003c\/td\u003e\n\u003ctd\u003eBrown negative, red positive, yellow signal\u003c\/td\u003e\n\u003ctd\u003eYahboom micro:bit tutorial\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSupply in Yahboom's micro:bit lesson\u003c\/td\u003e\n\u003ctd\u003eVCC connected to 5 V\u003c\/td\u003e\n\u003ctd\u003eYahboom micro:bit tutorial\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eVersion\u003c\/td\u003e\n\u003ctd\u003eBlue plastic, 1PCS\u003c\/td\u003e\n\u003ctd\u003eYahboom product page, variant name\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eYahboom does not publish numeric figures for torque, speed, weight, dimensions or a supply voltage range for this servo — the product page describes it in words only, as light, small and high torque. Check the manufacturer's product page and the documentation supplied with your unit if you need an exact figure before you commit to a mechanism.\u003c\/p\u003e\n\n\u003ch2\u003eWiring and Signal\u003c\/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eWire colour\u003c\/th\u003e\n\u003cth\u003eConnection\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eBrown\u003c\/td\u003e\n\u003ctd\u003eNegative supply, GND\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRed\u003c\/td\u003e\n\u003ctd\u003ePositive supply, VCC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eYellow\u003c\/td\u003e\n\u003ctd\u003eSignal, IO\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eYahboom's micro:bit lesson connects the servo's VCC to 5 V and puts the yellow signal wire on P2, so it is worth checking the pin you choose against the example you follow. Any pin that can produce a repeating pulse will drive the servo; the two example codes in Yahboom's repository use GP7 on a Raspberry Pi Pico and digital pin 9 on an Arduino.\u003c\/p\u003e\n\n\u003ch2\u003eSetting the Angle\u003c\/h2\u003e\n\u003cp\u003eThe servo reads the width of a pulse rather than a voltage, so the angle comes from how long the signal line stays high. The two Yahboom examples map the range like this:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eRaspberry Pi Pico example:\u003c\/strong\u003e PWM at 50 Hz, with the duty cycle mapped from 0–180 degrees onto 500,000–2,500,000 ns, that is 0.5–2.5 ms.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eArduino example:\u003c\/strong\u003e pulse width calculated as angle × 11 + 500 microseconds, which gives 500–2480 microseconds across the range. It accepts the digits 1 to 9 over the serial port and turns them into 20 to 180 degrees.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eBoth examples sit in the same order of magnitude, so treat 0.5–2.5 ms as the working pulse range and adjust the endpoints if your servo reaches its mechanical stop before the commanded angle.\u003c\/p\u003e\n\n\u003ch2\u003eSupported Platforms and Example Code\u003c\/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003ePlatform\u003c\/th\u003e\n\u003cth\u003eWhat Yahboom provides\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eArduino\u003c\/td\u003e\n\u003ctd\u003eServo control tutorial with code; a second tutorial driving a servo alongside an ultrasonic sensor for obstacle avoidance\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTI MSPM0G3507\u003c\/td\u003e\n\u003ctd\u003eTwo-degree-of-freedom gimbal tutorial and code\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTI MSPM0G3519\u003c\/td\u003e\n\u003ctd\u003eTwo-degree-of-freedom gimbal tutorial and code\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003emicro:bit\u003c\/td\u003e\n\u003ctd\u003eElectronic door project and an ultrasonic automatic-door project, with wiring diagrams and program files\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi Pico\u003c\/td\u003e\n\u003ctd\u003ePWM control tutorial and Python example\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi\u003c\/td\u003e\n\u003ctd\u003eServo control example in C and two Python versions\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhich Version You Are Buying\u003c\/h2\u003e\n\u003cp\u003eYahboom sells the same SG90 body in three versions and in one, two or four packs. This product is the blue plastic version, one piece. The other options are a black plastic HQ version and a black metal version, sold separately.\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cp\u003eYahboom publishes the packing list as a graphic on the official product page rather than as an itemised text list, so no written list is reproduced here. The variant you are buying is a single servo. Mounting hardware, servo horns and cables are not listed for this variant, so check the official page before ordering if your build depends on them.\u003c\/p\u003e\n\n\u003ch2\u003eDocumentation and Resources\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/www.yahboom.net\/study\/SG90-servo\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eYahboom tutorial page, listed as 9G Servo\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/YahboomTechnology\/SG90-Servo\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eYahboom documentation repository with the tutorials and example code for all six platforms\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eFAQ\u003c\/h2\u003e\n\n\u003ch3\u003eHow far can it rotate?\u003c\/h3\u003e\n\u003cp\u003e180 degrees. It is a positional servo, so it drives to the angle you send and holds there rather than spinning continuously.\u003c\/p\u003e\n\n\u003ch3\u003eHow do I connect it?\u003c\/h3\u003e\n\u003cp\u003eThree wires: brown to ground, red to the positive supply and yellow to a signal pin. Yahboom's micro:bit lesson connects VCC to 5 V and uses P2 for the signal.\u003c\/p\u003e\n\n\u003ch3\u003eHow do I control the angle?\u003c\/h3\u003e\n\u003cp\u003eSend a repeating pulse on the signal wire. The pulse width sets the angle, with roughly 0.5 ms to 2.5 ms covering the full 0–180 degree range, refreshed at about 50 Hz.\u003c\/p\u003e\n\n\u003ch3\u003eWhat voltage does it need?\u003c\/h3\u003e\n\u003cp\u003eYahboom's own micro:bit lesson connects the servo's VCC to 5 V. The product page does not state a supply voltage range, so confirm the figure against the datasheet supplied with your unit before using a different supply.\u003c\/p\u003e\n\n\u003ch3\u003eHow much torque does it have?\u003c\/h3\u003e\n\u003cp\u003eYahboom describes it as high torque but does not publish a numeric figure for this variant. If your mechanism depends on a torque value, ask OpenELAB or check the datasheet that ships with the servo.\u003c\/p\u003e\n\n\u003ch3\u003eWhich boards can drive it?\u003c\/h3\u003e\n\u003cp\u003eAnything that can output a PWM pulse. Yahboom publishes example code for Arduino, TI MSPM0G3507 and MSPM0G3519, micro:bit, Raspberry Pi Pico and Raspberry Pi.\u003c\/p\u003e\n\n\u003ch3\u003eIs mounting hardware included?\u003c\/h3\u003e\n\u003cp\u003eThe packing list is published as an image rather than text, and mounting hardware and servo horns are not listed for this variant. Check the official page or ask OpenELAB if you need to know before ordering.\u003c\/p\u003e\n\n\u003ch3\u003eCan I power it from the board's 5 V pin?\u003c\/h3\u003e\n\u003cp\u003eYahboom's lesson does exactly that for a single servo. If you drive several servos at once, plan for the current they draw together rather than assuming one board supply will cover them all.\u003c\/p\u003e","brand":"Yahboom","offers":[{"title":"Default Title","offer_id":47500555059398,"sku":"Yahboom-6000300116","price":7.88,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/07-8_ea6b56b4-130a-4c0b-a374-c97c48051948.jpg?v=1789959386","url":"https:\/\/upenelab.com\/pl\/products\/yahboom-sg90-servo-blue","provider":"OpenELAB Technology Ltd.","version":"1.0","type":"link"}