Design considerations for transferring a breadboard prototype to custom PCB // Arduino, mcu, sensors
Channel: Sayanee Basu
Date: 2020-08-16

#pcb #breadboard #prototype
I will be sharing some design considerations for transferring a breadboard prototype to a custom PCB. The breadboard prototype contains an Arduino dev board with a microcontroller connected to a few sensors. The custom PCB had a different power source and required the Arduino bootloader to be uploaded first before using the Arduino firmware.

⏰ TIMESTAMPS
0:00 Intro
00:52 Breadboard vs PCB 
01:44 Microcontroller: package, variant, open schematics
03:49 Subsystems: power, MCU, sensors
05:32 Power: power sources, voltage regulator, power tree, max ratings
09:17 Bootloader: pins, protocol, programmer
11:10 Sensors: faulty design or faulty component
13:58 Outro: My thoughts on creating the first version

‣ 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
Si7021 sensor module https://s.click.aliexpress.com/e/_Alew5x
TSOP4838 Infrared Receiver https://s.click.aliexpress.com/e/_ApST4d

🎩 DEMO FILES
Subsystem design https://hutscape.com/pine/design
Power Tree schematic https://hutscape.com/pine/power
Schematics https://hutscape.com/pine/hardware/docs/schematic.pdf
Circuit simulation with Falstad https://hutscape.com/pine/power#circuit-simulation

📺 WATCH NEXT
Arduino firmware on ATmega328p or SAMD21 https://youtu.be/xV1l5SdE8sk 
Common datasheet sections to look at when getting started https://youtu.be/lWklOGapYzQ
Foundations of a good electrical schematic https://youtu.be/RZLNguQLrs0
Uploading Arduino bootloader on a new micro-controller https://youtu.be/h2nKROPlFy0
Circuit simulation with Falstad https://youtu.be/TTZnl7ZjFhA

🔗 LINKS SHOWN
Adafruit Feather M0 Basic Proto - ATSAMD21 Cortex M0 https://www.adafruit.com/product/2772
RobotDyn SAMD21 M0-Mini https://robotdyn.com/samd21-m0-mini.html 
Arduino Zero https://store.arduino.cc/usa/arduino-zero 
ATSAMD21G18 Document list https://www.microchip.com/wwwproducts/en/ATsamd21g18
Atmel SAM D21E / SAM D21G / SAM D21J Datasheet https://cdn.sparkfun.com/assets/6/3/d/d/2/Atmel-42181-SAM-D21_Datasheet.pdf
LCSC Microchip Tech ATSAMD21G18A-AU https://lcsc.com/product-detail/ATMEL-AVR_ATMEL_ATSAMD21G18A-AU_ATSAMD21G18A-AU_C78624.html
draw.io to make flow charts https://app.diagrams.net/
switch between battery and USB power no microcontroller circuit https://electronics.stackexchange.com/questions/96059/switch-between-battery-and-usb-power-no-microcontroller-circuit
Schematics comments on Twitter https://twitter.com/ba0sh1/status/1176122249473978369 
Voltage regulator LD3985 datasheet https://docs-apac.rs-online.com/webdocs/151f/0900766b8151fea1.pdf
IR Receiver TSOP4838 datasheet https://www.vishay.com/docs/82459/tsop48.pdf 
Temperature sensor Si7021 datasheet https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf 
Definition of power tree schematics from Intel https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/creating-an-fpga-power-tree1.pdf 
PN2222 NPN Transistor datasheet http://users.ece.utexas.edu/~valvano/Datasheets/PN2222-D.pdf
BC817 NPN Transistor datasheet https://www.onsemi.com/pub/Collateral/BC817-16LT1-D.PDF

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