{"product_id":"speaker-for-microbit","title":"Speaker for micro:bit","description":"\u003cp\u003eThe MonkMakes Speaker for micro:bit is a neat little amplified speaker that connects to your micro:bit using alligator clips.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAmplified output\u003c\/li\u003e\n\u003cli\u003eLED ‘power on’ indicator\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eGetting Started\u003c\/h2\u003e\n\u003cp\u003eConnecting to your micro:bit\u003c\/p\u003e\n\u003cp\u003eConnect the Speaker to the micro:bit as shown below. When attaching the alligator clips to the micro:bit, make sure that the clips are perpendicular to the board so that they are not touching any of the neighbouring connectors on the micro:Bit edge connector.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/wiring_speaker.png?v=1512398482\u0026amp;width=700\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHEX File\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe quickest way to try out your speaker is to\u003cspan\u003e \u003c\/span\u003eDOWNLOAD THIS HEX FILE\u003cspan\u003e \u003c\/span\u003eand then copy it onto your micro:bit. Press Button A to hear a tune being played.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eJavaScript Blocks Editor\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eVisit the\u003cspan\u003e \u003c\/span\u003eBlocks Editor\u003cspan\u003e \u003c\/span\u003ein your browser and then from the\u003cspan\u003e \u003c\/span\u003e\u003cem\u003einput\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003esection add an\u003cspan\u003e \u003c\/span\u003e\u003cem\u003eon button A pressed\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003eblock then from the\u003cspan\u003e \u003c\/span\u003e\u003cem\u003emusic\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003esection add a\u003cspan\u003e \u003c\/span\u003e\u003cem\u003estart melody\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003eblock and select the tune you want to play (in this case,\u003cspan\u003e \u003c\/span\u003e\u003cem\u003eentertainer\u003c\/em\u003e).\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/play_tune_block_ed_closeup-1024x186.png?v=1512398631\u0026amp;width=700\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eClick Download and then copy the file onto your micro:bit.\u003c\/p\u003e\n\u003cp\u003eYou can also open the project in the Blocks Editor by clicking on the image below.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/play_tune_block_ed-1024x437.png?v=1512398671\u0026amp;width=700\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eYou can also make a simple musical instrument, using this tutorial: https:\/\/makecode.microbit.org\/projects\/hack-your-headphones\/code\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMicroPython\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003ePaste the following code into the Python window and then Download the file and copy it onto your your micro:bit\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003efrom microbit import *\u003cbr\u003eimport music\u003cbr\u003e\u003cbr\u003ewhile True:\u003cbr\u003e    if button_a.was_pressed():\u003cbr\u003e        music.play(music.ENTERTAINER)\u003c\/code\u003e\u003c\/p\u003e\n\u003cp\u003eWhen you press button A you will hear the tune “The Entertainer” play through the speaker.\u003c\/p\u003e","brand":"Monk Makes","offers":[{"title":"Default Title","offer_id":43493240832077,"sku":"osx1787257933347","price":5.28,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0644\/1182\/8301\/files\/speaker-for-microbit_1.jpg?v=1787257937","url":"https:\/\/www.grandorchard.shop\/products\/speaker-for-microbit","provider":"My Store","version":"1.0","type":"link"}