Create schematic of a microcontroller from its dev board // With KiCad, Arduino Zero to SAMD21G
Channel: Sayanee Basu
Date: 2020-10-23

#microcontroller #schematic #prototyping
SAMD21G microcontroller, which is part of the popular Arduino Zero dev board, will be used as an example to extract it out into a separate schematic. How do we go about connecting its pins? We will do pin mapping by checking through many open source schematics and then connect the power, ground, rest, TX/RX LEDs, and the SWD pins.

⏰ TIMESTAMPS
0:00 Intro
01:42 Microcontroller info: variants, datasheet, schematic, pinout
02:54 Pin mapping: Netlabels, Arduino pins, MCU pins
08:21 Others: Power, ground, reset, TX/RX LEDs, SWD

‣ Some links below are affiliate. I receive a small commission at no extra cost to you.

📻 PRODUCTS MENTIONED
RobotDyn SAMD21 M0 Mini https://s.click.aliexpress.com/e/_AZG8aU
Adafruit Feather M0 Express https://amzn.to/3sLVh6t

🎩 DEMO FILES
Project site https://hutscape.com/oak/

Schematic with dev boards only https://github.com/hutscape/oak/blob/898d85ae6bd8b1c095405c9bbeac6c0128d4c05d/hardware/docs/schematic.pdf
KiCad files with the schematic https://github.com/hutscape/oak/tree/898d85ae6bd8b1c095405c9bbeac6c0128d4c05d/hardware

Schematic with the microcontroller https://github.com/hutscape/oak/blob/0bcd3aed02cfe2d00d42360fbc60af3eeaf54ba4/hardware/docs/schematic.pdf
KiCad files with the schematic https://github.com/hutscape/oak/tree/0bcd3aed02cfe2d00d42360fbc60af3eeaf54ba4/hardware

📺 WATCH NEXT
Create schematic from breadboard prototype & dev boards (Part 1) https://youtu.be/1iIlB5BqJ1A
Common datasheet sections to look at when getting started https://youtu.be/lWklOGapYzQ
Arduino firmware on ATmega328p or SAMD21 https://youtu.be/xV1l5SdE8sk
Tips for creating schematic symbols https://youtu.be/PXMvn3cztGg

🔗 LINKS SHOWN
PIC Microcontroller I used 15 years ago in undergrad https://www.flickr.com/photos/sweska/109635690/
Raspberry Pi Compute Module 4 https://www.raspberrypi.org/products/compute-module-4/?variant=raspberry-pi-cm4001000
Particle IO IoT hardware https://www.particle.io/iot-hardware/
Atmel SAMD21G datasheet https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/Atmel-42181-SAM-D21_Datasheet.pdf
SAMD21 M0 mini https://robotdyn.com/samd21-m0-mini.html
SAMD21G M0 mini schematic https://robotdyn.com/pub/media/0G-00005516==SAMD21-MINI/DOCS/Schematic==0G-00005516==SAMD21-MINI.pdf
SAMD21G M0 mini pinout https://robotdyn.com/pub/media/0G-00005516==SAMD21-MINI/DOCS/PINOUT==0G-00005516==SAMD21-MINI.pdf
Arduino Zero https://store.arduino.cc/usa/arduino-zero
Arduino Zero schematic https://content.arduino.cc/assets/ArduinoZeroV4.0_sch.pdf
Adafruit Feather M0 Express https://www.adafruit.com/product/3403
Adafruit Feather M0 Express schematic https://learn.adafruit.com/assets/40553
Adafruit Feather M0 Express pinout https://learn.adafruit.com/assets/46247
SparkFun SAMD21 Mini Breakout https://www.sparkfun.com/products/13664
SparkFun SAMD21 Mini Breakout schematic https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/sparkfun-samd21-mini-breakout-v10.pdf
Arduino Core SAMD bootloader for Arduino Zero variant.cpp https://github.com/arduino/ArduinoCore-samd/blob/master/variants/arduino_zero/variant.cpp

🔌 TOOLS USED
https://hutscape.com/tools

🎶 MUSIC AND SOUND EFFECTS
New Morning by TrackTribe from YouTube Audio Library
View of the Valley by Trevor Garrod from YouTube Audio Library