Git Product home page Git Product logo

samd21-breakout's Introduction

ATSAMD21G18A-AU breakout board with the physical layout inspired by the Arduino MKR Zero.

Power supply

Supply power to 3V3 pin. Or supply power to 5V pin (or USB) and get free 3V3.

Platformio

platformio.ini:

[env:mzeroUSB]
platform = atmelsam
board = mzeroUSB

Pinout

Arduino SAMD21 Alternate
AREF PA03
A0 PA01 DAC
A1 PB08
A2 PB09
A3 PA04
A4 PA05
A5 PB02
RX PA11 D0
TX PA10 D1
~D2 PA08 SDA2
~D3 PA09 SCL2
~D4 PA14
~D5 PA15
D6 PA20
D7 PA21
~D8 PA06
~D9 PA07
~D10 PA18
~D11 PA16 SDA3
~D12 PA19
~D13 PA17 SCL3
SDA PA22
SCL PA23
MISO PA12
MOSI PB10
SCK PB11

Soldering

Solder every component except U1, J2, J4 and J5. Begin with all the components on the bottom.

Clean board.

Apply current limited (50mA) 5V to GND and 5V pin. Current should be about 6mA. Measure voltage on 3V3 pin, it should be 3.3V. Disconnect. Connect USB, both LEDs should light up again.

Solder U1 carefully. Inspect U1 pins with microscope for shorts or missing soldered pins. Correct when found.

This SAMD21 needs some work

Clean again. Inspect again.

Measure all adjacent signal pins (on headers J4 and J5) for shorts: XIN21, XOUT32, A0, AREF, GND, 3V3, A1, A2, A3, A4, ~D8, ~D9, ~D2, ~D3, TX, RX, 3V3, GND, MOSI, SCK, MISO, PA13 (U1 pin 22), ~D4, ~D5, ~D11, ~D13, ~D10, ~D12, D6, D7, SDA, SCL, USB- (on D1), USB+ (on D2), GND, 3V3, PB22 (U1 pin 37), PB23 (U1 pin 38), PA27 (U1 pin 39), RST, PA28 (U1 pin 41), GND, VDDCORE (on C21), 3V3, CLK (on J2), DIO (on J2), A5 and PB03 (U1 pin 48). Correct shorts when found.

Apply current limited (50mA) to GND and 5V pin. Current should still be about 6mA.

Bootloader

Before this board behaves like an Arduino M0 (that you can program with the USB-port) you must first use the Burn Bootloader-function from the Arduino IDE. Choose the board Arduino M0, then choose your desired Programmer then choose Burn Bootloader.

Invisible Blink

Connect USB. A new serial port should appear in the device manager.

Open the example Blink sketch and flash it to the MCU. Measure voltage on GND and ~D13, it should alternate between 0V and 3.3V.

Done

Done!

License

samd21-breakout's People

Contributors

atoomnetmarc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.