{"product_id":"servo-for-micro-bit","title":"Servo for micro:bit","description":"\u003cp\u003eThe MonkMakes Servo for micro:bit board provides a really easy way to attach up to three servomotors to a BBC micro:bit. The board requires a power supply or battery pack to provide 5 or 6V to the servomotors. It includes a voltage regulator that will supply 3V back to the micro:bit, so that you don’t have to power it separately.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHeader pins for three servo motors\u003c\/li\u003e\n\u003cli\u003eUp to 2A total can be supplied to the servo motors\u003c\/li\u003e\n\u003cli\u003eRegulated 3V output to power your micro:bit\u003c\/li\u003e\n\u003cli\u003ePolarity protection for the servomotors\u003c\/li\u003e\n\u003cli\u003eElectrolytic reservoir capacitor for the servomotors\u003c\/li\u003e\n\u003cli\u003e1kΩ series resistors to the control signals to prevent accidental sort-circuits of the micro:bit’s output pins.\u003c\/li\u003e\n\u003cli\u003eOrange LED to indicate that the Servo for micro:bit board has power.\u003c\/li\u003e\n\u003cli\u003eCompatible with micro:bit v1 and v2!\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eConnections\u003c\/h2\u003e\n\u003cp\u003eThe picture below shows a typical setup using the Servo for micro:bit board.\u003c\/p\u003e\n\u003cp style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/kit_in_action-web-1024x950_large.jpg?v=1544195133\" style=\"float: none;\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe following connections have been made:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e3 x servomotors plugged into header pins. These need to be the right way around, with the control signal (yellow or orange wire) to the left (pins marked c).\u003c\/li\u003e\n\u003cli\u003eAlligator clip lead from GND on the micro:bit to GND on the Servo for micro:bit board.\u003c\/li\u003e\n\u003cli\u003eOptional alligator clip lead from 3V on the micro:bit to 3V on the Servo for micro:bit board. You only need this if you want to power the micro:bit from the same battery pack as the servomotors. If you want to power the micro:bit over USB or the JST battery connector then you do not need this connection.\u003c\/li\u003e\n\u003cli\u003eAlligator clip leads between P0, P1, P2 on the micro:bit to the Servo for micro:bit board. These need to match up with the servomotors you are using, so if you only need the board for one servomotor, then just connect P0 on the micro:bit to P0 on the Servo for micro:bit and make sure that there is a servomotor attached to the header pins marked 0.\u003c\/li\u003e\n\u003cli\u003ePower to the screw terminal on the Servo for micro:bit. Typically this will be a 4xAA battery pack or other power supply. Make sure that the positive lead goes to the screw terminal marked with a +\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eTest Software\u003c\/h2\u003e\n\u003cp\u003eTo check that everything is working, \u003ca href=\"https:\/\/makecode.microbit.org\/_86KWdwTs9VRo\" target=\"_blank\"\u003ethis Blocks code project\u003c\/a\u003e will get you started. Flash it onto your Servo for micro:bit and the servo arms should all start waggling in a random manner. You can \u003ca href=\"https:\/\/youtu.be\/OmSaKAFJDIU\" target=\"_blank\"\u003esee a video of this \u003c\/a\u003ein action here.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/microbit-screenshot-1024x705_large.png?v=1544195210\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe servo write pin block allows you to set the angle of the servomotor’s arm between 0 and 180 degrees. Note that servomotors, will not usually travel a full 180 degrees so you may find the actual range is more like 10 to 170 degrees.\u003c\/p\u003e","brand":"Monk Makes","offers":[{"title":"Default Title","offer_id":21228372492371,"sku":"MNK00073","price":9.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/Servo.JPG?v=1549380578","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/servo-for-micro-bit","provider":"Pimoroni Ltd","version":"1.0","type":"link"}