I2S BUS & SD FOR SOUND, MUSIC & DIGITAL AUDIO DATA
The MKR ZERO brings you the power of a Zero in the smaller format established by the MKR form factor. The MKR ZERO board acts as a great educational tool for learning about 32-bit application development. It has an on-board SD connector with dedicated SPI interfaces (SPI1) that allows you to play with MUSIC files with no extra hardware! The board is powered by Atmel’s SAMD21 MCU, which features a 32-bit ARM® Cortex® M0+ core.
Warning: Unlike most Arduino & Genuino boards, the MKRZero runs at 3.3V. The maximum voltage that the I/O pins can tolerate is 3.3V. Applying voltages higher than 3.3V to any I/O pin could damage the board.
The board contains everything needed to support the microcontroller; simply connect it to a computer with a micro-USB cable or power it by a LiPo battery. The battery voltage can also be monitored since a connection between the battery and the analog converter of the board exists.
You can find here your board warranty informations.
On-board SD: The onboard SD connector allows you to play with files without adding any extra hardware to the board. Furthermore, SD card is driven by a dedicated SPI interface (SPI1) and so any of the pins of the header is busy during SD usage. The SD library automatically recognizes the MKR ZERO and so any modification to the sketch is needed to use it apart from choosing the right SS pin (SDCARD_SS_PIN).
Battery capacity: Li-Po batteries are charged up to 4,2V with a current that is usually half of the nominal capacity (C/2). For Arduino MKR ZERO we use a specialized chip that has a preset charging current of 350mAh. This means that the MINIMUM capacity of the Li-Po battery should be 700 mAh. Smaller cells will be damaged by this current and may overheat, develop internal gasses and explode, setting on fire the surroundings. We strongly recommend that you select a Li-Po battery of at least 700mAh capacity. A bigger cell will take more time to charge, but won't be harmed or overheated. The chip is programmed with 4 hours of charging time, then it goes into automatic sleep mode. This will limit the amount of charge to max 1400 mAh per charging round.
Battery connector: If you want to connect a battery to your MKRZero be sure to search one with female 2 pin JST PHR2 Type connector. Polarity : looking at the board connector pins, polarity is Left = Positive, Right = GND Connector datasheet On the MKRZero, connector is a Male 2pin JST PH Type
Additional I2C Port: The MKRZero has an additional connector meant as an extension of the I2C bus. It's a small form factor 5-pin connector with 1.0mm pitch. The mechanical details of the connector can be found in the connector datasheet. The I2C port in addition to the SDA and SCL signals includes the GND and +5V power rails and a digital pin that might be useful when designing an expansion. The pinout is shown in the following image:
The connector we suggest for this additional I2C Port is the SHR-05V-S-B, also in the picture.
Vin: This pin can be used to power the board with a regulated 5V source. If the power is fed through this pin, the USB power source is disconnected. This is the only way you can supply 5v (range is 5V to maximum 6V) to the board not using USB. This pin is an INPUT.
5V: This pin outputs 5V from the the board when powered from the USB connector or from the VIN pin of the board. It is unregulated and the voltage is taken directly from the inputs. As an OUTPUT, it should not be used as an input pin to power the board.
VCC: This pin outputs 3.3V through the on-board voltage regulator. This voltage is the same regardless the power source used (USB, Vin and Battery).
LED ON: This LED is connected to the 5V input from either USB or VIN. It is not connected to the battery power. This means that it lits up when power is from USB or VIN, but stays off when the board is running on battery power. This maximizes the usage of the energy stored in the battery. It is therefore normal to have the board properly running on battery power without the LED ON being lit.
CHARGE LED: The CHARGE LED on the board is driven by the charger chip that monitors the current drawn by the Li-Po battery while charging. Usually, it will lit up when the board gets 5V from VIN or USB and the chip starts charging the Li-Po battery connected to the JST connector. There are several occasions where this LED will start to blink at a frequency of about 2Hz. This flashing is caused by the following conditions maintained for a long time (from 20 to 70 minutes): - No battery is connected to JST connector. - Overdischarged/damaged battery is connected. It can't be recharged. - A fully charged battery is put through another unnecessary charging cycle. This is done disconnecting and reconnecting either VIN or the battery itself while VIN is connected.
Onboard LED: On MKR ZERO the onboard LED is connected to a dedicated pin (32) and not to 13 as on other boards. It is so suggested to use the LED_BUILTIN define .
(*) Note : DO NOT CONNECT to the male JST connector present on the board anything else than a Li-Po battery whose characteristics are compliant with those indicated above. Please DO NOT POWER VIN with more than 5V.
FAQ
Q: I plugged the board to my PC / MAC but I cannot see the serial port listed on the IDE, I cannot upload sketch to the board! A: The first thing to try is manually put the CPU into bootloader mode, this is accomplished by pressing quickly twice the reset button (you need a pencil to actually push the button). Another try is to change the USB cable: some micro-USB cables are "power only", you'll see the board powered but no data connection to the PC.
Q: I plugged the board, I can see the serial port but I cannot upload sketch A: If still on, remove the conductive foam that protects the pins.
Q: What's the pin number of the onboard LED? Pin 13 seems to not work... A: The LED is connected to a dedicated pin. Use the LED_BUILTIN constant instead of declaring the pin number.
Q: What does the CHRG LED blinking indicate? A: Indicates that the board is charging the LiPo battery connected to the white JST connector. Please note that the charger use a constant current of 350mA, this means that you must use a LiPo battery with a minimum capacity of 700mAh otherwise you risk unpleasant side-effects like flames and/or explosions.
Q: After some time the Charge LED starts blinking even if no battery is attached to the JST connector A: The CHARGE LED on the board is driven by the charger chip. This LED starts to blink at a frequency of about 2Hz (slow blink) if a defective or no battery is connected to the JST connector.
Q: I see that A0 is marked as DAC0. There is a DAC on that pin? is usable? A: Yes, there is a DAC and it's usable, you can control the pin with analogWrite(..).
Q: Which is the VIN range voltage value? A: VIN Nominal voltage value is 5V, range is from 5V to 6V (6V is the Maximum)
Q: Which is the polarity of the battery? A: Looking at the connector pins: Left = Positive, Right = GND
Q: How can I use the on-board SD? A: The on-board is connected to a dedicated SPI interface. The SD library deals with it, so you use the library as usual. Use SD.begin() without specify any pin number, the number will fallback to the right one.
Q: What Vin, 5V and VCC means? A: Vin. This pin can be used to power the board with a regulated 5V source. If the power is fed through this pin, the USB power source is disconnected. This is the only way you can supply 5v (range is 5V to maximum 6V) to the board not using USB. This pin is an INPUT. 5V. This pin outputs 5V from the board when powered from the USB connector or from the VIN pin of the board. It is unregulated and the voltage is taken directly from the inputs. When powered from the battery it supplies around 3.7 V. As an OUTPUT, it should not be used as an input pin to power the board. VCC. This pin outputs 3.3V through the onboard voltage regulator. This voltage is the same regardless the power source used (USB, Vin and Battery).
{"id":8938825646397,"title":"ARDUINO MKR ZERO (I2S BUS \u0026 SD FOR SOUND, MUSIC \u0026 DIGITAL AUDIO DATA)","handle":"arduino-mkr-zero","description":"\u003ch1 data-mce-fragment=\"1\" style=\"text-align: center;\"\u003eARDUINO MKR ZERO\u003c\/h1\u003e\n\u003ch3 style=\"text-align: center;\"\u003eI2S BUS \u0026amp; SD FOR SOUND, MUSIC \u0026amp; DIGITAL AUDIO DATA\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003e \u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe MKR ZERO brings you the power of a Zero in the smaller format established by the MKR form factor. The MKR ZERO board acts as a great educational tool for learning about 32-bit application development. It has an on-board SD connector with dedicated SPI interfaces (SPI1) that allows you to play with MUSIC files with no extra hardware! The board is powered by Atmel’s SAMD21 MCU, which features a 32-bit ARM® Cortex® M0+ core.\u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cspan style=\"color: #c20000;\"\u003eWarning: Unlike most Arduino \u0026amp; Genuino boards, the MKRZero runs at 3.3V. The maximum voltage that the I\/O pins can tolerate is 3.3V. Applying voltages higher than 3.3V to any I\/O pin could damage the board.\u003c\/span\u003e\n\u003c\/blockquote\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe board contains everything needed to support the microcontroller; simply connect it to a computer with a micro-USB cable or power it by a LiPo battery. The battery voltage can also be monitored since a connection between the battery and the analog converter of the board exists.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eYou can find \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/www.arduino.cc\/en\/Main\/warranty\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" target=\"_blank\" data-mce-href=\"https:\/\/www.arduino.cc\/en\/Main\/warranty\" data-mce-tabindex=\"-1\"\u003ehere\u003c\/a\u003e your board warranty informations. \u003c\/p\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003e \u003c\/h3\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eGetting Started\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003eIn the \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/www.arduino.cc\/en\/Guide\/ArduinoMKRZero\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/www.arduino.cc\/en\/Guide\/ArduinoMKRZero\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eGetting Started section\u003c\/a\u003e, you can find all the information you need to configure your board, use the \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eArduino Software (IDE)\u003c\/a\u003e, and start to tinker with coding and electronics. \u003c\/p\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003e \u003c\/h3\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eNeed Help?\u003c\/h3\u003e\n\u003cul data-mce-fragment=\"1\"\u003e\n\u003cli data-mce-fragment=\"1\"\u003eOn the Software \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/forum.arduino.cc\/index.php?board=63.0\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/forum.arduino.cc\/index.php?board=63.0\" data-mce-tabindex=\"-1\"\u003eon the Arduino Forum\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eOn Projects \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/forum.arduino.cc\/index.php?board=3.0\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/forum.arduino.cc\/index.php?board=3.0\" data-mce-tabindex=\"-1\"\u003eon the Arduino Forum\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eOn the Product itself through \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/store.arduino.cc\/store-support\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/store.arduino.cc\/store-support\" data-mce-tabindex=\"-1\"\u003eour Customer Support\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003e \u003c\/h3\u003e\n\u003c\/div\u003e\n\n\n\u003cdiv data-mce-fragment=\"1\" data-pusher=\"sc-pushable-xs\" data-id=\"product-details-information-1\" data-action=\"pushable\" id=\"product-details-information-tab-1\" class=\"product-details-information-tab-content-panel\" role=\"tabpanel\"\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003eTechnical Specifications\u003c\/h2\u003e\n\u003cdiv data-mce-fragment=\"1\" data-type=\"information-content-text\" class=\"product-details-information-tab-content-container\" id=\"product-details-information-tab-content-container-1\"\u003e\n\u003ctable style=\"width: 70%;\"\u003e\n\u003ctbody data-mce-fragment=\"1\"\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd style=\"width: 30%;\"\u003eMicrocontroller\u003c\/td\u003e\n\u003ctd style=\"width: 70%;\"\u003eSAMD21 Cortex-M0+ 32bit low power ARM® MCU\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eBoard Power Supply (USB\/VIN)\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eSupported Battery(*)\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eLi-Po single cell, 3.7V, 700mAh minimum\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDC Current for 3.3V Pin\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e600mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDC Current for 5V Pin\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e600mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eCircuit Operating Voltage\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e3.3V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDigital I\/O Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e22\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003ePWM Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e12 (0, 1, 2, 3, 4, 5, 6, 7, 8, 10, A3 - or 18 -, A4 -or 19)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eUART\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eSPI\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eI2C\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eAnalog Input Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e7 (ADC 8\/10\/12 bit)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eAnalog Output Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1 (DAC 10 bit)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eExternal Interrupts\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e10 (0, 1, 4, 5, 6, 7, 8, A1 -or 16-, A2 - or 17)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDC Current per I\/O Pin\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e7 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eFlash Memory\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e256 KB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eFlash Memory for Bootloader\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e8 KB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eSRAM\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e32 KB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eEEPROM\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eno\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eClock Speed\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e32.768 kHz (RTC), 48 MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eLED_BUILTIN\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e32\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd colspan=\"2\" data-mce-fragment=\"1\"\u003eFull-Speed USB Device and embedded Host\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 data-mce-fragment=\"1\" data-pusher=\"sc-pushable-xs\" data-id=\"product-details-information-2\" data-action=\"pushable\" id=\"product-details-information-tab-2\" class=\"product-details-information-tab-content-panel\" role=\"tabpanel\"\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003e \u003c\/h2\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003eDocumentation\u003c\/h2\u003e\n\u003cdiv data-mce-fragment=\"1\" data-type=\"information-content-text\" class=\"product-details-information-tab-content-container\" id=\"product-details-information-tab-content-container-2\"\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eOSH: Schematics\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe MKR ZERO is open-source hardware! You can build your own board using the following files:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/MKRZero-reference.zip\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" class=\"resource eagle\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/MKRZero-reference.zip\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eEagle Files\u003c\/a\u003e in .ZIP\u003c\/li\u003e\n\u003cli\u003e\n\u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/MKRZero_V5.0_sch.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" class=\"resource schematics\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/MKRZero_V5.0_sch.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eSchematics\u003c\/a\u003e In PDF\u003c\/li\u003e\n\u003cli\u003e\n\u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/Arduino_MKR_WAN_1300.fzpz\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" class=\"resource fritzing\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/Arduino_MKR_WAN_1300.fzpz\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eFritzing\u003c\/a\u003e in .FZPZ\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp data-mce-fragment=\"1\"\u003e \u003c\/p\u003e\n\u003cdiv data-mce-fragment=\"1\" class=\"rectdocumentation yellow\"\u003e\n\u003ch2 style=\"text-align: center;\" data-mce-fragment=\"1\" class=\"textrect\"\u003ePinout Diagram\u003cbr\u003e\n\u003c\/h2\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"text-align: center;\" data-mce-fragment=\"1\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cimg style=\"float: none;\" data-mce-fragment=\"1\" src=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.png\" data-mce-src=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.png\"\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eDownload the full pinout diagram as PDF \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003ehere\u003c\/a\u003e.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv data-mce-fragment=\"1\" class=\"rectdocumentation yellow\"\u003e\n\u003cdiv data-mce-fragment=\"1\" class=\"textrect\"\u003e \u003c\/div\u003e\n\u003c\/div\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eLi-Po batteries, Pins, SD and board LEDs\u003c\/h3\u003e\n\u003cdiv style=\"text-align: left;\" data-mce-fragment=\"1\" id=\"viewer-frame_container\" data-project-src=\"https:\/\/content.arduino.cc\/assets\/Altium_rendering_file-MKRZero.zip.gpg\" data-project-outputs=\"None\" data-hide-project-src=\"\" data-enabled-views=\"3d,pcb,sch\" class=\"altium-ecad-viewer\"\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eOn-board SD: \u003c\/strong\u003eThe onboard SD connector allows you to play with files without adding any extra hardware to the board. Furthermore, SD card is driven by a dedicated SPI interface (SPI1) and so any of the pins of the header is busy during SD usage. The SD library automatically recognizes the MKR ZERO and so any modification to the sketch is needed to use it apart from choosing the right SS pin (SDCARD_SS_PIN). \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eBattery capacity: \u003c\/strong\u003eLi-Po batteries are charged up to 4,2V with a current that is usually half of the nominal capacity (C\/2). For Arduino MKR ZERO we use a specialized chip that has a preset charging current of 350mAh. This means that the MINIMUM capacity of the Li-Po battery should be 700 mAh. Smaller cells will be damaged by this current and may overheat, develop internal gasses and explode, setting on fire the surroundings. We strongly recommend that you select a Li-Po battery of at least 700mAh capacity. A bigger cell will take more time to charge, but won't be harmed or overheated. The chip is programmed with 4 hours of charging time, then it goes into automatic sleep mode. This will limit the amount of charge to max 1400 mAh per charging round. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eBattery connector: \u003c\/strong\u003eIf you want to connect a battery to your MKRZero be sure to search one with female 2 pin JST PHR2 Type connector. Polarity : looking at the board connector pins, polarity is Left = Positive, Right = GND \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/ePH.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/ePH.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eConnector datasheet\u003c\/a\u003e On the MKRZero, connector is a Male 2pin JST PH Type \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eAdditional I2C Port: \u003c\/strong\u003eThe MKRZero has an additional connector meant as an extension of the I2C bus. It's a small form factor 5-pin connector with 1.0mm pitch. The mechanical details of the connector can be found in the \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/eSH.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/eSH.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003econnector datasheet\u003c\/a\u003e. The I2C port in addition to the SDA and SCL signals includes the GND and +5V power rails and a digital pin that might be useful when designing an expansion. The pinout is shown in the following image: \u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cimg style=\"float: none;\" data-mce-fragment=\"1\" src=\"https:\/\/content.arduino.cc\/assets\/Eslov_I2CPort.jpg\" data-mce-src=\"https:\/\/content.arduino.cc\/assets\/Eslov_I2CPort.jpg\"\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe connector we suggest for this additional I2C Port is the SHR-05V-S-B, also in the picture.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eVin:\u003c\/strong\u003e This pin can be used to power the board with a regulated 5V source. If the power is fed through this pin, the USB power source is disconnected. This is the only way you can supply 5v (range is 5V to maximum 6V) to the board not using USB. This pin is an INPUT. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e5V: \u003c\/strong\u003eThis pin outputs 5V from the the board when powered from the USB connector or from the VIN pin of the board. It is unregulated and the voltage is taken directly from the inputs. As an OUTPUT, it should not be used as an input pin to power the board. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eVCC: \u003c\/strong\u003eThis pin outputs 3.3V through the on-board voltage regulator. This voltage is the same regardless the power source used (USB, Vin and Battery). \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eLED ON: \u003c\/strong\u003eThis LED is connected to the 5V input from either USB or VIN. It is not connected to the battery power. This means that it lits up when power is from USB or VIN, but stays off when the board is running on battery power. This maximizes the usage of the energy stored in the battery. It is therefore normal to have the board properly running on battery power without the LED ON being lit. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCHARGE LED: \u003c\/strong\u003eThe CHARGE LED on the board is driven by the charger chip that monitors the current drawn by the Li-Po battery while charging. Usually, it will lit up when the board gets 5V from VIN or USB and the chip starts charging the Li-Po battery connected to the JST connector. There are several occasions where this LED will start to blink at a frequency of about 2Hz. This flashing is caused by the following conditions maintained for a long time (from 20 to 70 minutes): - No battery is connected to JST connector. - Overdischarged\/damaged battery is connected. It can't be recharged. - A fully charged battery is put through another unnecessary charging cycle. This is done disconnecting and reconnecting either VIN or the battery itself while VIN is connected. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eOnboard LED: \u003c\/strong\u003eOn MKR ZERO the onboard LED is connected to a dedicated pin (32) and not to 13 as on other boards. It is so suggested to use the \u003cstrong data-mce-fragment=\"1\"\u003eLED_BUILTIN\u003c\/strong\u003e define . \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #c20001;\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e(*) Note : DO NOT CONNECT to the male JST connector present on the board anything else than a Li-Po battery whose characteristics are compliant with those indicated above. Please DO NOT POWER VIN with more than 5V.\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/blockquote\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv data-mce-fragment=\"1\" data-pusher=\"sc-pushable-xs\" data-id=\"product-details-information-3\" data-action=\"pushable\" id=\"product-details-information-tab-3\" class=\"product-details-information-tab-content-panel\" role=\"tabpanel\"\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003eFAQ\u003c\/h2\u003e\n\u003cdiv data-mce-fragment=\"1\" data-type=\"information-content-text\" class=\"product-details-information-tab-content-container\" id=\"product-details-information-tab-content-container-3\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e I plugged the board to my PC \/ MAC but I cannot see the serial port listed on the IDE, I cannot upload sketch to the board! \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The first thing to try is manually put the CPU into bootloader mode, this is accomplished by pressing quickly twice the reset button (you need a pencil to actually push the button). Another try is to change the USB cable: some micro-USB cables are \"power only\", you'll see the board powered but no data connection to the PC.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e I plugged the board, I can see the serial port but I cannot upload sketch \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e If still on, remove the conductive foam that protects the pins.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e What's the pin number of the onboard LED? Pin 13 seems to not work... \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The LED is connected to a dedicated pin. Use the LED_BUILTIN constant instead of declaring the pin number.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e What does the CHRG LED blinking indicate? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Indicates that the board is charging the LiPo battery connected to the white JST connector. Please note that the charger use a constant current of 350mA, this means that you must use a LiPo battery with a minimum capacity of 700mAh otherwise you risk unpleasant side-effects like flames and\/or explosions.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e After some time the Charge LED starts blinking even if no battery is attached to the JST connector \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The CHARGE LED on the board is driven by the charger chip. This LED starts to blink at a frequency of about 2Hz (slow blink) if a defective or no battery is connected to the JST connector.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e I see that A0 is marked as DAC0. There is a DAC on that pin? is usable? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Yes, there is a DAC and it's usable, you can control the pin with analogWrite(..).\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e Which is the VIN range voltage value? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e VIN Nominal voltage value is 5V, range is from 5V to 6V (6V is the Maximum)\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e Which is the polarity of the battery? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Looking at the connector pins: Left = Positive, Right = GND\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e How can I use the on-board SD? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The on-board is connected to a dedicated SPI interface. The SD library deals with it, so you use the library as usual. Use SD.begin() without specify any pin number, the number will fallback to the right one.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e What Vin, 5V and VCC means? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Vin. This pin can be used to power the board with a regulated 5V source. If the power is fed through this pin, the USB power source is disconnected. This is the only way you can supply 5v (range is 5V to maximum 6V) to the board not using USB. This pin is an INPUT. 5V. This pin outputs 5V from the board when powered from the USB connector or from the VIN pin of the board. It is unregulated and the voltage is taken directly from the inputs. When powered from the battery it supplies around 3.7 V. As an OUTPUT, it should not be used as an input pin to power the board. VCC. This pin outputs 3.3V through the onboard voltage regulator. This voltage is the same regardless the power source used (USB, Vin and Battery).\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","published_at":"2023-11-26T06:11:34+05:30","created_at":"2023-11-26T06:06:26+05:30","vendor":"ThinkRobotics.in","type":"","tags":["32Bit","7630049200470","ABX00012","ARD-BRD","ARD1","ARDNO","Arduino","arduino lora","ARM","Cortex-M0+","DIGITAL AUDIO","I2S","MCU","microcontroller","MicroPython","MKR","MKR Zero","MUSIC","SAMD21"],"price":304999,"price_min":304999,"price_max":304999,"available":true,"price_varies":false,"compare_at_price":399999,"compare_at_price_min":399999,"compare_at_price_max":399999,"compare_at_price_varies":false,"variants":[{"id":47434051486013,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ARD1023","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ARDUINO MKR ZERO (I2S BUS \u0026 SD FOR SOUND, MUSIC \u0026 DIGITAL AUDIO DATA)","public_title":null,"options":["Default Title"],"price":304999,"weight":70,"compare_at_price":399999,"inventory_management":"shopify","barcode":"47434051486013","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_01.iso.jpg?v=1700959289","\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_02.unbox.jpg?v=1700959289","\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_00.default.jpg?v=1700959289","\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_04.back.jpg?v=1700959289","\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_03.front.jpg?v=1700959289"],"featured_image":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_01.iso.jpg?v=1700959289","options":["Title"],"media":[{"alt":null,"id":35756202164541,"position":1,"preview_image":{"aspect_ratio":1.262,"height":507,"width":640,"src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_01.iso.jpg?v=1700959289"},"aspect_ratio":1.262,"height":507,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_01.iso.jpg?v=1700959289","width":640},{"alt":null,"id":35756202131773,"position":2,"preview_image":{"aspect_ratio":1.521,"height":1400,"width":2130,"src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_02.unbox.jpg?v=1700959289"},"aspect_ratio":1.521,"height":1400,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_02.unbox.jpg?v=1700959289","width":2130},{"alt":null,"id":35756202197309,"position":3,"preview_image":{"aspect_ratio":1.333,"height":375,"width":500,"src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_00.default.jpg?v=1700959289"},"aspect_ratio":1.333,"height":375,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_00.default.jpg?v=1700959289","width":500},{"alt":null,"id":35756202066237,"position":4,"preview_image":{"aspect_ratio":1.521,"height":1400,"width":2130,"src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_04.back.jpg?v=1700959289"},"aspect_ratio":1.521,"height":1400,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_04.back.jpg?v=1700959289","width":2130},{"alt":null,"id":35756202099005,"position":5,"preview_image":{"aspect_ratio":1.521,"height":1400,"width":2130,"src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_03.front.jpg?v=1700959289"},"aspect_ratio":1.521,"height":1400,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/files\/ABX00012_03.front.jpg?v=1700959289","width":2130}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003ch1 data-mce-fragment=\"1\" style=\"text-align: center;\"\u003eARDUINO MKR ZERO\u003c\/h1\u003e\n\u003ch3 style=\"text-align: center;\"\u003eI2S BUS \u0026amp; SD FOR SOUND, MUSIC \u0026amp; DIGITAL AUDIO DATA\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003e \u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe MKR ZERO brings you the power of a Zero in the smaller format established by the MKR form factor. The MKR ZERO board acts as a great educational tool for learning about 32-bit application development. It has an on-board SD connector with dedicated SPI interfaces (SPI1) that allows you to play with MUSIC files with no extra hardware! The board is powered by Atmel’s SAMD21 MCU, which features a 32-bit ARM® Cortex® M0+ core.\u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cspan style=\"color: #c20000;\"\u003eWarning: Unlike most Arduino \u0026amp; Genuino boards, the MKRZero runs at 3.3V. The maximum voltage that the I\/O pins can tolerate is 3.3V. Applying voltages higher than 3.3V to any I\/O pin could damage the board.\u003c\/span\u003e\n\u003c\/blockquote\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe board contains everything needed to support the microcontroller; simply connect it to a computer with a micro-USB cable or power it by a LiPo battery. The battery voltage can also be monitored since a connection between the battery and the analog converter of the board exists.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eYou can find \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/www.arduino.cc\/en\/Main\/warranty\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" target=\"_blank\" data-mce-href=\"https:\/\/www.arduino.cc\/en\/Main\/warranty\" data-mce-tabindex=\"-1\"\u003ehere\u003c\/a\u003e your board warranty informations. \u003c\/p\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003e \u003c\/h3\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eGetting Started\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003eIn the \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/www.arduino.cc\/en\/Guide\/ArduinoMKRZero\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/www.arduino.cc\/en\/Guide\/ArduinoMKRZero\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eGetting Started section\u003c\/a\u003e, you can find all the information you need to configure your board, use the \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eArduino Software (IDE)\u003c\/a\u003e, and start to tinker with coding and electronics. \u003c\/p\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003e \u003c\/h3\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eNeed Help?\u003c\/h3\u003e\n\u003cul data-mce-fragment=\"1\"\u003e\n\u003cli data-mce-fragment=\"1\"\u003eOn the Software \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/forum.arduino.cc\/index.php?board=63.0\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/forum.arduino.cc\/index.php?board=63.0\" data-mce-tabindex=\"-1\"\u003eon the Arduino Forum\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eOn Projects \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/forum.arduino.cc\/index.php?board=3.0\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/forum.arduino.cc\/index.php?board=3.0\" data-mce-tabindex=\"-1\"\u003eon the Arduino Forum\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eOn the Product itself through \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/store.arduino.cc\/store-support\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/store.arduino.cc\/store-support\" data-mce-tabindex=\"-1\"\u003eour Customer Support\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003e \u003c\/h3\u003e\n\u003c\/div\u003e\n\n\n\u003cdiv data-mce-fragment=\"1\" data-pusher=\"sc-pushable-xs\" data-id=\"product-details-information-1\" data-action=\"pushable\" id=\"product-details-information-tab-1\" class=\"product-details-information-tab-content-panel\" role=\"tabpanel\"\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003eTechnical Specifications\u003c\/h2\u003e\n\u003cdiv data-mce-fragment=\"1\" data-type=\"information-content-text\" class=\"product-details-information-tab-content-container\" id=\"product-details-information-tab-content-container-1\"\u003e\n\u003ctable style=\"width: 70%;\"\u003e\n\u003ctbody data-mce-fragment=\"1\"\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd style=\"width: 30%;\"\u003eMicrocontroller\u003c\/td\u003e\n\u003ctd style=\"width: 70%;\"\u003eSAMD21 Cortex-M0+ 32bit low power ARM® MCU\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eBoard Power Supply (USB\/VIN)\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eSupported Battery(*)\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eLi-Po single cell, 3.7V, 700mAh minimum\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDC Current for 3.3V Pin\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e600mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDC Current for 5V Pin\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e600mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eCircuit Operating Voltage\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e3.3V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDigital I\/O Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e22\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003ePWM Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e12 (0, 1, 2, 3, 4, 5, 6, 7, 8, 10, A3 - or 18 -, A4 -or 19)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eUART\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eSPI\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eI2C\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eAnalog Input Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e7 (ADC 8\/10\/12 bit)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eAnalog Output Pins\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e1 (DAC 10 bit)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eExternal Interrupts\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e10 (0, 1, 4, 5, 6, 7, 8, A1 -or 16-, A2 - or 17)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eDC Current per I\/O Pin\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e7 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eFlash Memory\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e256 KB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eFlash Memory for Bootloader\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e8 KB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eSRAM\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e32 KB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eEEPROM\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eno\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eClock Speed\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e32.768 kHz (RTC), 48 MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd data-mce-fragment=\"1\"\u003eLED_BUILTIN\u003c\/td\u003e\n\u003ctd data-mce-fragment=\"1\"\u003e32\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-mce-fragment=\"1\"\u003e\n\u003ctd colspan=\"2\" data-mce-fragment=\"1\"\u003eFull-Speed USB Device and embedded Host\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 data-mce-fragment=\"1\" data-pusher=\"sc-pushable-xs\" data-id=\"product-details-information-2\" data-action=\"pushable\" id=\"product-details-information-tab-2\" class=\"product-details-information-tab-content-panel\" role=\"tabpanel\"\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003e \u003c\/h2\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003eDocumentation\u003c\/h2\u003e\n\u003cdiv data-mce-fragment=\"1\" data-type=\"information-content-text\" class=\"product-details-information-tab-content-container\" id=\"product-details-information-tab-content-container-2\"\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eOSH: Schematics\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe MKR ZERO is open-source hardware! You can build your own board using the following files:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/MKRZero-reference.zip\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" class=\"resource eagle\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/MKRZero-reference.zip\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eEagle Files\u003c\/a\u003e in .ZIP\u003c\/li\u003e\n\u003cli\u003e\n\u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/MKRZero_V5.0_sch.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" class=\"resource schematics\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/MKRZero_V5.0_sch.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eSchematics\u003c\/a\u003e In PDF\u003c\/li\u003e\n\u003cli\u003e\n\u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/Arduino_MKR_WAN_1300.fzpz\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" class=\"resource fritzing\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/Arduino_MKR_WAN_1300.fzpz\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eFritzing\u003c\/a\u003e in .FZPZ\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp data-mce-fragment=\"1\"\u003e \u003c\/p\u003e\n\u003cdiv data-mce-fragment=\"1\" class=\"rectdocumentation yellow\"\u003e\n\u003ch2 style=\"text-align: center;\" data-mce-fragment=\"1\" class=\"textrect\"\u003ePinout Diagram\u003cbr\u003e\n\u003c\/h2\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"text-align: center;\" data-mce-fragment=\"1\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cimg style=\"float: none;\" data-mce-fragment=\"1\" src=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.png\" data-mce-src=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.png\"\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eDownload the full pinout diagram as PDF \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"https:\/\/content.arduino.cc\/assets\/Pinout-MKRZERO_latest.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003ehere\u003c\/a\u003e.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv data-mce-fragment=\"1\" class=\"rectdocumentation yellow\"\u003e\n\u003cdiv data-mce-fragment=\"1\" class=\"textrect\"\u003e \u003c\/div\u003e\n\u003c\/div\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eLi-Po batteries, Pins, SD and board LEDs\u003c\/h3\u003e\n\u003cdiv style=\"text-align: left;\" data-mce-fragment=\"1\" id=\"viewer-frame_container\" data-project-src=\"https:\/\/content.arduino.cc\/assets\/Altium_rendering_file-MKRZero.zip.gpg\" data-project-outputs=\"None\" data-hide-project-src=\"\" data-enabled-views=\"3d,pcb,sch\" class=\"altium-ecad-viewer\"\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eOn-board SD: \u003c\/strong\u003eThe onboard SD connector allows you to play with files without adding any extra hardware to the board. Furthermore, SD card is driven by a dedicated SPI interface (SPI1) and so any of the pins of the header is busy during SD usage. The SD library automatically recognizes the MKR ZERO and so any modification to the sketch is needed to use it apart from choosing the right SS pin (SDCARD_SS_PIN). \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eBattery capacity: \u003c\/strong\u003eLi-Po batteries are charged up to 4,2V with a current that is usually half of the nominal capacity (C\/2). For Arduino MKR ZERO we use a specialized chip that has a preset charging current of 350mAh. This means that the MINIMUM capacity of the Li-Po battery should be 700 mAh. Smaller cells will be damaged by this current and may overheat, develop internal gasses and explode, setting on fire the surroundings. We strongly recommend that you select a Li-Po battery of at least 700mAh capacity. A bigger cell will take more time to charge, but won't be harmed or overheated. The chip is programmed with 4 hours of charging time, then it goes into automatic sleep mode. This will limit the amount of charge to max 1400 mAh per charging round. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eBattery connector: \u003c\/strong\u003eIf you want to connect a battery to your MKRZero be sure to search one with female 2 pin JST PHR2 Type connector. Polarity : looking at the board connector pins, polarity is Left = Positive, Right = GND \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/ePH.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/ePH.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003eConnector datasheet\u003c\/a\u003e On the MKRZero, connector is a Male 2pin JST PH Type \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eAdditional I2C Port: \u003c\/strong\u003eThe MKRZero has an additional connector meant as an extension of the I2C bus. It's a small form factor 5-pin connector with 1.0mm pitch. The mechanical details of the connector can be found in the \u003ca data-mce-fragment=\"1\" tabindex=\"-1\" href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/eSH.pdf\" data-tabindex-value=\"none\" data-tabindex-counter=\"6\" data-mce-href=\"http:\/\/www.jst-mfg.com\/product\/pdf\/eng\/eSH.pdf\" data-mce-tabindex=\"-1\" target=\"_blank\"\u003econnector datasheet\u003c\/a\u003e. The I2C port in addition to the SDA and SCL signals includes the GND and +5V power rails and a digital pin that might be useful when designing an expansion. The pinout is shown in the following image: \u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cimg style=\"float: none;\" data-mce-fragment=\"1\" src=\"https:\/\/content.arduino.cc\/assets\/Eslov_I2CPort.jpg\" data-mce-src=\"https:\/\/content.arduino.cc\/assets\/Eslov_I2CPort.jpg\"\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe connector we suggest for this additional I2C Port is the SHR-05V-S-B, also in the picture.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eVin:\u003c\/strong\u003e This pin can be used to power the board with a regulated 5V source. If the power is fed through this pin, the USB power source is disconnected. This is the only way you can supply 5v (range is 5V to maximum 6V) to the board not using USB. This pin is an INPUT. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e5V: \u003c\/strong\u003eThis pin outputs 5V from the the board when powered from the USB connector or from the VIN pin of the board. It is unregulated and the voltage is taken directly from the inputs. As an OUTPUT, it should not be used as an input pin to power the board. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eVCC: \u003c\/strong\u003eThis pin outputs 3.3V through the on-board voltage regulator. This voltage is the same regardless the power source used (USB, Vin and Battery). \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eLED ON: \u003c\/strong\u003eThis LED is connected to the 5V input from either USB or VIN. It is not connected to the battery power. This means that it lits up when power is from USB or VIN, but stays off when the board is running on battery power. This maximizes the usage of the energy stored in the battery. It is therefore normal to have the board properly running on battery power without the LED ON being lit. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCHARGE LED: \u003c\/strong\u003eThe CHARGE LED on the board is driven by the charger chip that monitors the current drawn by the Li-Po battery while charging. Usually, it will lit up when the board gets 5V from VIN or USB and the chip starts charging the Li-Po battery connected to the JST connector. There are several occasions where this LED will start to blink at a frequency of about 2Hz. This flashing is caused by the following conditions maintained for a long time (from 20 to 70 minutes): - No battery is connected to JST connector. - Overdischarged\/damaged battery is connected. It can't be recharged. - A fully charged battery is put through another unnecessary charging cycle. This is done disconnecting and reconnecting either VIN or the battery itself while VIN is connected. \u003c\/p\u003e\n\u003cp style=\"text-align: left;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eOnboard LED: \u003c\/strong\u003eOn MKR ZERO the onboard LED is connected to a dedicated pin (32) and not to 13 as on other boards. It is so suggested to use the \u003cstrong data-mce-fragment=\"1\"\u003eLED_BUILTIN\u003c\/strong\u003e define . \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #c20001;\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e(*) Note : DO NOT CONNECT to the male JST connector present on the board anything else than a Li-Po battery whose characteristics are compliant with those indicated above. Please DO NOT POWER VIN with more than 5V.\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/blockquote\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv data-mce-fragment=\"1\" data-pusher=\"sc-pushable-xs\" data-id=\"product-details-information-3\" data-action=\"pushable\" id=\"product-details-information-tab-3\" class=\"product-details-information-tab-content-panel\" role=\"tabpanel\"\u003e\n\u003ch2 data-mce-fragment=\"1\" class=\"product-details-information-tab-content-panel-title\"\u003eFAQ\u003c\/h2\u003e\n\u003cdiv data-mce-fragment=\"1\" data-type=\"information-content-text\" class=\"product-details-information-tab-content-container\" id=\"product-details-information-tab-content-container-3\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e I plugged the board to my PC \/ MAC but I cannot see the serial port listed on the IDE, I cannot upload sketch to the board! \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The first thing to try is manually put the CPU into bootloader mode, this is accomplished by pressing quickly twice the reset button (you need a pencil to actually push the button). Another try is to change the USB cable: some micro-USB cables are \"power only\", you'll see the board powered but no data connection to the PC.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e I plugged the board, I can see the serial port but I cannot upload sketch \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e If still on, remove the conductive foam that protects the pins.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e What's the pin number of the onboard LED? Pin 13 seems to not work... \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The LED is connected to a dedicated pin. Use the LED_BUILTIN constant instead of declaring the pin number.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e What does the CHRG LED blinking indicate? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Indicates that the board is charging the LiPo battery connected to the white JST connector. Please note that the charger use a constant current of 350mA, this means that you must use a LiPo battery with a minimum capacity of 700mAh otherwise you risk unpleasant side-effects like flames and\/or explosions.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e After some time the Charge LED starts blinking even if no battery is attached to the JST connector \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The CHARGE LED on the board is driven by the charger chip. This LED starts to blink at a frequency of about 2Hz (slow blink) if a defective or no battery is connected to the JST connector.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e I see that A0 is marked as DAC0. There is a DAC on that pin? is usable? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Yes, there is a DAC and it's usable, you can control the pin with analogWrite(..).\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e Which is the VIN range voltage value? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e VIN Nominal voltage value is 5V, range is from 5V to 6V (6V is the Maximum)\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e Which is the polarity of the battery? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Looking at the connector pins: Left = Positive, Right = GND\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e How can I use the on-board SD? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e The on-board is connected to a dedicated SPI interface. The SD library deals with it, so you use the library as usual. Use SD.begin() without specify any pin number, the number will fallback to the right one.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eQ:\u003c\/strong\u003e What Vin, 5V and VCC means? \u003cbr data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA:\u003c\/strong\u003e Vin. This pin can be used to power the board with a regulated 5V source. If the power is fed through this pin, the USB power source is disconnected. This is the only way you can supply 5v (range is 5V to maximum 6V) to the board not using USB. This pin is an INPUT. 5V. This pin outputs 5V from the board when powered from the USB connector or from the VIN pin of the board. It is unregulated and the voltage is taken directly from the inputs. When powered from the battery it supplies around 3.7 V. As an OUTPUT, it should not be used as an input pin to power the board. VCC. This pin outputs 3.3V through the onboard voltage regulator. This voltage is the same regardless the power source used (USB, Vin and Battery).\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e"}