{"product_id":"servo-pwm-pi","title":"Servo PWM Pi","description":"\u003cdiv class=\"col span5\"\u003e\n\u003cp\u003eThe Servo PWM Pi is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSoldering required! This product comes unassembled and unsoldered.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V.\u003c\/p\u003e\n\u003cp\u003e220R current-limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eNote: \u003cspan\u003eThe Servo Pi is \u003c\/span\u003eonly compatible with analogue RC servos, digital servos will not work.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ch2\u003eIntroduction:\u003c\/h2\u003e\n\u003cp\u003eThe PCA9685 contains 5 I2C address selection pins which can be configured using solder bridges on the Servo PWM Pi Zero PCB. Using different I2C addresses on your Servo Pi allows you to stack several boards on a single Raspberry Pi, see the data-sheet for more details on I2C address selection.\u003c\/p\u003e\n\u003cp\u003eThe active LOW Output Enable input pin (OE) on the PCA9685 allows asynchronous control of the LED outputs and can be used to set all the outputs to a defined I2C-bus programmable logic state. The OE can also be used to externally ‘pulse width modulate’ the outputs, which is useful when multiple devices need to be dimmed or blinked together using software control.\u003c\/p\u003e\n\u003cp\u003eThe OE pin can be connected to pin 7 (GPIO 4) on the Raspberry Pi GPIO port by bridging the solder pads on the Servo Pi marked OE.\u003c\/p\u003e\n\u003ch2\u003eConnecting RC Servos\u003c\/h2\u003e\n\u003cp\u003eThe Servo Pi is \u003cstrong\u003eonly compatible with analogue RC servos, digital servos will not work.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eWhile the Servo Pi uses a 12 bit (4096 step) controller due to the way RC servos are designed only approximately 200 steps will be available for controlling the servo.\u003c\/p\u003e\n\u003cp\u003eYou can find an example python library for controlling an RC servo athttps:\/\/github.com\/abelectronicsuk\/ABElectronics_Python_Libraries\/tree\/master\/ServoPi\u003c\/p\u003e\n\u003ch2\u003ePowering the Servo PWM Pi Zero\u003c\/h2\u003e\n\u003cp\u003eFor safety reasons the Servo PWM Pi Zero is not connected to the 5V power rail on the Raspberry Pi.\u003c\/p\u003e\n\u003cp\u003eDue to the high currents used on radio control servos and other PWM devices it is recommended that you use an external 5V power supply to power the Servo Pi. External power can be provided through the 5V and GND pads on the Servo PWM Pi Zero. If you use two power supplies, one for the Raspberry Pi and one for the Servo Pi please ensure that the ground wires on the two supplies are joined and do not have any potential difference between them. Any potential difference between the grounds could damage the Raspberry Pi and yourself.\u003c\/p\u003e\n\u003cp\u003eIf you are using the Servo PWM Pi Zero for low current applications, below 300mA, you can power the Servo PWM Pi Zero through the 5V pins on the Raspberry Pi GPIO port by bridging the “PWR Link” pads with a blob of solder.\u003c\/p\u003e\n\u003cp\u003eBridging the “PWR Link” pads will also allow you to power your Raspberry Pi from the Servo Pi power pins using an external 5V power supply but please note this will bypass the internal fuse on the Raspberry Pi leaving it vulnerable to damage from short circuits on any of the GPIO pins.\u003c\/p\u003e\n\u003ch2\u003eDatasheets\u003c\/h2\u003e\n\u003cp\u003eServo Pi Zero Address Selection\u003c\/p\u003e\n\u003cp\u003ePCA9685\u003c\/p\u003e\n\u003ch2\u003eCompatibility Chart\u003c\/h2\u003e\n\u003ctable class=\"compatibility\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi Model A\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityno\"\u003eNo\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi Model B\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityno\"\u003eNo\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi 1 Model A+\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi 1 Model B+\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi 2 Model B\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi 3 Model B\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRaspberry Pi Zero\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eODroid C1\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eODroid C2\u003c\/td\u003e\n\u003ctd\u003e\u003cspan class=\"compatibilityyes\"\u003eYes\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col span5\"\u003e\n\u003ch2\u003eInput Ratings \u0026amp; Specifications\u003c\/h2\u003e\n\u003cp\u003eMaximum input voltage: 5.5V when PWR Link is not bridged.\u003c\/p\u003e\n\u003cp\u003eMaximum current on each PWM pin 22mA\u003c\/p\u003e\n\u003ch2\u003eSchematic\u003c\/h2\u003e\n\u003cp\u003e\u003cimg alt=\"Servo Pi Zero Schematic\" src=\"https:\/\/www.abelectronics.co.uk\/docs\/stock\/raspberrypi\/servopizero\/servopi-zero-schematic.png?width=700\"\u003e\u003c\/p\u003e\n\u003ch2\u003eMechanical Drawings\u003c\/h2\u003e\n\u003cp\u003e\u003cimg alt=\"Mechanical Drawing\" src=\"https:\/\/www.abelectronics.co.uk\/docs\/stock\/raspberrypi\/servopizero\/servopi-zero-mechanical.svg?width=700\"\u003e\u003c\/p\u003e\n\u003cp\u003eClick image to enlarge\u003c\/p\u003e\n\u003ch2\u003eSample Code\u003c\/h2\u003e\n\u003cp\u003eWe have Arduino, Windows 10 IOT, Python 2 and Python 3 libraries available for this expansion board. You can download all of the libraries from github at:\u003c\/p\u003e\n\u003cp\u003ehttps:\/\/github.com\/abelectronicsuk\/\u003c\/p\u003e\n\u003cp\u003eDownload the \u003cstrong\u003eArduino libraries\u003c\/strong\u003efrom: https:\/\/github.com\/abelectronicsuk\/ABElectronics_Arduino_Libraries\u003c\/p\u003e\n\u003cp\u003eTo download the \u003cstrong\u003ePython 2\u003c\/strong\u003e libraries to your Raspberry Pi type in terminal:\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003egit clone https:\/\/github.com\/abelectronicsuk\/ABElectronics_Python_Libraries.git\u003c\/code\u003e\u003c\/p\u003e\n\u003cp\u003eTo download the \u003cstrong\u003ePython 3\u003c\/strong\u003e libraries to your Raspberry Pi type in terminal:\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003egit clone https:\/\/github.com\/abelectronicsuk\/ABElectronics_Python3_Libraries.git\u003c\/code\u003e\u003c\/p\u003e\n\u003cp\u003eDownload the \u003cstrong\u003eWindows 10 IOT libraries\u003c\/strong\u003e from:https:\/\/github.com\/abelectronicsuk\/ABElectronics_Win10IOT_Libraries\/\u003c\/p\u003e\n\u003cp\u003e\u003cimg alt=\"Download Python 2 and 3 code samples\" src=\"https:\/\/www.abelectronics.co.uk\/docs\/pythondownload.svg?width=700\" title=\"Download Python Code Samples\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg alt=\"Download Arduino code samples\" src=\"https:\/\/www.abelectronics.co.uk\/docs\/arduino.svg?width=700\" title=\"Download Arduino Code Samples\"\u003e\u003c\/p\u003e\n\u003ch2\u003ePCB Header Assembly Jig\u003c\/h2\u003e\n\u003cp\u003eDownload and print our PCB Header Assembly Jig to hold your circuit board when soldering the header pins.\u003c\/p\u003e\n\u003cp\u003e\u003cimg alt=\"Use\" src=\"https:\/\/www.abelectronics.co.uk\/docs\/kb\/pcbassemblyjig\/icon-use.png?width=700\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e","brand":"ABelectronics","offers":[{"title":"Default Title","offer_id":44930670297177,"sku":"lxd1789671492996","price":12.29,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0736\/5289\/5833\/files\/servo-pwm-pi_1.jpg?v=1789671498","url":"https:\/\/gymflexfit.shop\/products\/servo-pwm-pi","provider":"My Store","version":"1.0","type":"link"}