Design considerations for transferring a breadboard prototype to a custom PCB

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ค. 2024
  • #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 s.click.aliexpress.com/e/_AZG8aU
    Si7021 sensor module s.click.aliexpress.com/e/_Alew5x
    TSOP4838 Infrared Receiver s.click.aliexpress.com/e/_ApST4d
    🎩 DEMO FILES
    Subsystem design hutscape.com/pine/design
    Power Tree schematic hutscape.com/pine/power
    Schematics hutscape.com/pine/hardware/do...
    Circuit simulation with Falstad hutscape.com/pine/power#circu...
    📺 WATCH NEXT
    Arduino firmware on ATmega328p or SAMD21 • Arduino firmware on AT...
    Common datasheet sections to look at when getting started • Common datasheet secti...
    Foundations of a good electrical schematic • Foundations of a good ...
    Uploading Arduino bootloader on a new micro-controller • Uploading Arduino boot...
    Circuit simulation with Falstad • Circuit simulation wit...
    🔗 LINKS SHOWN
    Adafruit Feather M0 Basic Proto - ATSAMD21 Cortex M0 www.adafruit.com/product/2772
    RobotDyn SAMD21 M0-Mini robotdyn.com/samd21-m0-mini.html
    Arduino Zero store.arduino.cc/usa/arduino-...
    ATSAMD21G18 Document list www.microchip.com/wwwproducts...
    Atmel SAM D21E / SAM D21G / SAM D21J Datasheet cdn.sparkfun.com/assets/6/3/d...
    LCSC Microchip Tech ATSAMD21G18A-AU lcsc.com/product-detail/ATMEL...
    draw.io to make flow charts app.diagrams.net/
    switch between battery and USB power no microcontroller circuit electronics.stackexchange.com...
    Schematics comments on Twitter / 117. .
    Voltage regulator LD3985 datasheet docs-apac.rs-online.com/webdo...
    IR Receiver TSOP4838 datasheet www.vishay.com/docs/82459/tso...
    Temperature sensor Si7021 datasheet www.silabs.com/documents/publ...
    Definition of power tree schematics from Intel www.intel.com/content/dam/www...
    PN2222 NPN Transistor datasheet users.ece.utexas.edu/~valvano/...
    BC817 NPN Transistor datasheet www.onsemi.com/pub/Collateral...
    🔌 HARDWARE LAB EQUIPMENT
    EEVBlog Digital Multimeter 121GW www.eevblog.com/product/121gw/
    Saleae Logic Analyzer amzn.to/3n47Jxh
    ATTEN-862D Hot Air Gun workstation s.click.aliexpress.com/e/_A7zoa8
    💻 SOFTWARE USED
    dotfiles for terminal configuration github.com/sayanee/dotfiles
    KiCad kicad.org/
    CoolTerm for serial monitor freeware.the-meiers.org/
    PartsBox for inventory management partsbox.com/
    GoodNotes for highlighting datasheets www.goodnotes.com/
    📹 VIDEO PRODUCTION GEAR
    iPhone for recording video
    Microphone Audio Technica ATR2100-USB for voice recording amzn.to/3gsOiwA
    IKEA TERTIAL Work lamp stand hacked as a microphone stand amzn.to/2QJWnCx
    Tripod SLIK SDV-10iPhone holder Xiletu XJ-8 s.click.aliexpress.com/e/_AVrL8v
    🎬 VIDEO EDITING SOFTWARE TOOLS
    Davinci Resolve for video editing
    QuickTime for recording screencasts
    Canva.com for TH-cam thumbnail, titles, outro www.canva.com/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 67

  • @mysticmarble94
    @mysticmarble94 3 ปีที่แล้ว +14

    We need more women like you, running electronics channels ✌🙏

  • @freezedream
    @freezedream 3 ปีที่แล้ว +7

    Valuable addition - if using multiple I2C devices, check for hardwired address conflicts!

  • @Ken-oe3ch
    @Ken-oe3ch 3 ปีที่แล้ว +2

    Thank you. It is so reassuring hearing you explain errors or miscalculations that will happen during project development.

  • @shik_tech
    @shik_tech ปีที่แล้ว +2

    I must say your videos are very helpful. Thank you for taking the time to make those!

  • @Allan9966
    @Allan9966 3 ปีที่แล้ว

    I have just discovered your channel and find it excellent and informative. You have a great voice to listen to and an unbelievably clean and tidy work area!

  • @Bubatu7
    @Bubatu7 ปีที่แล้ว +2

    The way this is presented makes the topic so approachable, especially for beginners like me! Thank you!

  • @7null
    @7null 29 วันที่ผ่านมา

    Fantastic overview. Thanks you for sharing your methodology as it really helps put the design process into perspective.

  • @0ldfashi0ned
    @0ldfashi0ned 3 ปีที่แล้ว +2

    Honestly, that was one of the best videos on the subject matter I've watched!

  • @elilevenshus7789
    @elilevenshus7789 4 หลายเดือนก่อน

    Great video, clean schematics. Your organization and debugging of the different systems is great, and something every engineer should strive towards.

  • @vinamarora7049
    @vinamarora7049 3 ปีที่แล้ว

    All of these are very useful for newbies with PCBs!

  • @vtwoli
    @vtwoli 3 ปีที่แล้ว

    Wow! Thanks for sharing your experiences because I'm also planning to create my first custom PCB.

    • @sayanee
      @sayanee  3 ปีที่แล้ว

      All the best! Keep it simple so that it works and it's easy to debug 😃

  • @jeffg4686
    @jeffg4686 2 ปีที่แล้ว

    really nice video. just getting into embedded and this definitely helped

  • @mkhaled23
    @mkhaled23 3 ปีที่แล้ว

    You are amazing. Liked and subbed! I hope you continue to make such videos! All the best.

  • @EntwinedGraces
    @EntwinedGraces 3 ปีที่แล้ว

    Love your content, very informative and inspiring.

  • @keviny6677
    @keviny6677 3 ปีที่แล้ว

    love your video, not many ppl will share their mistakes and errors. learn a lot

  • @mwgilson
    @mwgilson ปีที่แล้ว

    This is a super video with great detail. Thanks for sharing.

  • @johanneszwilling
    @johanneszwilling 2 ปีที่แล้ว

    😎 VERY nice! Some much stuff here all the other videos didn't cover so far...

  • @waltribeiro
    @waltribeiro 3 หลายเดือนก่อน

    This video is so helpful. Thanks!

  • @mgkigathi
    @mgkigathi 2 ปีที่แล้ว +1

    by far the most insightful video for anyone trying to develop their own product pcbs from 'baby' breadboard tinkering. i love it !! i love it !!

  • @TS-gi8zm
    @TS-gi8zm 2 หลายเดือนก่อน

    Good video! Helped a lot.

  • @mdnabeel4973
    @mdnabeel4973 6 หลายเดือนก่อน

    Great explanation...please keep making such informative videos❤❤🎉

  • @leythecg
    @leythecg 9 วันที่ผ่านมา

    absolutely fantastic in presentation and content! Many thanks!

  • @nlsqrs1
    @nlsqrs1 3 ปีที่แล้ว

    Very useful tips and an interesting story.

  • @blablub2402
    @blablub2402 3 ปีที่แล้ว

    This video was amazing!

  • @omarceentayyab
    @omarceentayyab 3 ปีที่แล้ว

    Extremely well made video.

  • @woodsmith_1
    @woodsmith_1 11 หลายเดือนก่อน

    Awesome video. Thanks!

  • @mrafayshams3089
    @mrafayshams3089 ปีที่แล้ว +1

    Thank you so much for such an in-depth and accurate manifestation of information. Recently I've designed two versions of my custom PCB for a project based on the PIC18F45Q43; but both times the MCU burns out when I power the circuit.. I think its the power and the PCB layout (Please let me know if someone thinks it could be some other cause). Nonetheless, it is videos like this that help a lot! So thanks again! 😊

    • @sayanee
      @sayanee  ปีที่แล้ว +1

      Wow! Yeah, that's the most challenging part. Have you tried using a current limiting power supply or using 0-ohm resistors to isolate the PIC chip first and probing the GND and power pads? Maybe you did that already. Hope it works out for you!

    • @mrafayshams3089
      @mrafayshams3089 ปีที่แล้ว

      @@sayanee I actually did not try the 0 ohm resistor approach. Since I'm not completely comfortable with soldering 0603 or 0805 resistors; I get them soldered through JLC PCB. In addition, unfortunately I do not have access to a current limiting power supply.
      On the contrary, if you don't mind; would you be able to recommend me a 5V power supply circuit for the PIC microcontrollers (SMD packages)? 1 Amp voltage regulator would do.
      Thank you so much once again!

  • @thisusernameismine10
    @thisusernameismine10 3 ปีที่แล้ว +2

    Excellent video, enjoyed it enormously. I love it when someone spells out all the errors they made, smacks of real authenticity. Clear, concise, uncluttered - like your workspace (that's not really your workspace is it?), Can't wait to see more vids, esp aimed at us EE wannabees. Would have liked to know what you are making and an indication of how much that exercise cost in $ / per board. Bravo.

    • @sayanee
      @sayanee  3 ปีที่แล้ว +1

      Thanks, Paul!
      This is indeed my workspace, just a room in my apartment converted to a home lab that I share with my husband :)
      This project BOM costed me about USD 10. With PCB manufacturing, add about USD 10. I did the manufacturing with JLCPCB ($2 + shipping). I have the details on the BOM and cost here: hutscape.com/pine/bom. Thanks for the feedback! I'll share the cost for future projects.
      All the other details on this project including schematics, layout, design are here hutscape.com/pine/

    • @thisusernameismine10
      @thisusernameismine10 3 ปีที่แล้ว

      @@sayanee I did not appreciate how much you have built into your whole web facing framework. Sorry for being so lazy and not investigating further. An indication of prices is nice, but you have the whole BOM listed, its impressive stuff. I'll start sharing this.

  • @ThomasLefort-JesuisuneIA
    @ThomasLefort-JesuisuneIA 3 ปีที่แล้ว

    What an amazing video ! Thanks

  • @ajeethsuryash5123
    @ajeethsuryash5123 2 ปีที่แล้ว

    Amazing content. Thanks a lot...

  • @norm1124
    @norm1124 3 ปีที่แล้ว

    Amazing video quality

  • @ihasmax
    @ihasmax 3 ปีที่แล้ว

    Fantastic video!

  • @coolchriss
    @coolchriss 4 หลายเดือนก่อน

    So informative❤, I wasnt aware about the operating voltage range, I was deciding that 3v3 is standard, while in fact some devices range from 1v6 to 5v .
    In addition, I think before we order any pcb , we need to test alot on bread board almost all circuitry before we put them in the final place on the pcb.
    As well some compenent must have certain location in the pcb for instance decoupling capacitors to work perfectly they should be as close as possible from the mcu, same for the crystal. 😊

  • @IMTIvanBlake
    @IMTIvanBlake ปีที่แล้ว

    Hello Sayanee, where did you order the PCB's? also I have the doubt if you soldered all the components or what assembly service do you recommend? Thank you so much (I am asking this since JLCPCB for example, has lack of storage in many parts)

    • @sayanee
      @sayanee  ปีที่แล้ว +1

      I use PCBWay now.
      I too would like to try out assembly services. And I recognize that no matter what, we will not always be able to match all the components we want with what the service might provide.
      Hence, I am thinking of doing a partial assembly. Get the passives and common parts (resistors, capacitors, LED, USB / JST connectors) and connectors assembled. And then, hand solder the rest.
      At least, we will save a lot of time that way :)

    • @IMTIvanBlake
      @IMTIvanBlake ปีที่แล้ว

      @@sayanee could you recommend an specific assembly service company?? Thank you a lot for your videos, I am learning a lot with them

    • @sayanee
      @sayanee  ปีที่แล้ว +1

      @@IMTIvanBlake I have never used one yet to recommend from personal experience.
      But I will do this with PCBWay for my next project: www.pcbway.com/pcb-assembly.html

    • @IMTIvanBlake
      @IMTIvanBlake ปีที่แล้ว

      @@sayanee thank you so much Sayanee, I will wait for your future videos ☺️

  • @anandkachale5187
    @anandkachale5187 3 ปีที่แล้ว

    really nice information

  • @roguesecurity
    @roguesecurity 2 ปีที่แล้ว

    This is gold

  • @PM13501
    @PM13501 2 ปีที่แล้ว

    Excellent video Sayanee, kudos for the ways you explain concepts!!!
    I am a hobbyist and doing some automation around the house using D1 Mini and NodeMCU boards to hook up sensors and relays. These boards have a microcontroller but on PCB design sites (& Kicad) I did not find any options to use D1 or NodeMCU boards for PCB design. Are these (D1 & NodeMCU) not standard options for PCB components?

    • @sayanee
      @sayanee  2 ปีที่แล้ว +1

      "I did not find any options to use D1 or NodeMCU boards for PCB design"
      Do you mean specific schematic symbols and footprints for NodeMCU?
      If that's what you mean, then in general, no, you might not find the specific schematic symbol and footprint to use for many components. But, you can always do a search on GitHub / GitLab to check if someone else has already open-sourced it.
      If not make a new schematic symbol or a footprint. I did a previous video on making a new schematic symbol (th-cam.com/video/PXMvn3cztGg/w-d-xo.html) and a new footprint from scratch (th-cam.com/video/VesvKjfd3SQ/w-d-xo.html).
      Hope this helps!

    • @PM13501
      @PM13501 2 ปีที่แล้ว

      @@sayanee Thanks, that helps and bless you to keep up the good work!

    • @sayanee
      @sayanee  2 ปีที่แล้ว +1

      @@PM13501 I forgot to mention that for my past project I did make a schematic symbol for WeMos D1 Mini: github.com/hutscape/kicad-library/tree/master/symbols#wemos-d1-mini
      and its footprint: github.com/hutscape/kicad-library/tree/master/footprints/wemos_d1_mini.pretty
      Feel free to use it and iterate accordingly. All the best for your project too.

  • @jeanramirez99
    @jeanramirez99 3 ปีที่แล้ว

    Excelent video!

  • @roymoran1151
    @roymoran1151 3 ปีที่แล้ว

    I like this. I like this a lot.

  • @jithin_isaac
    @jithin_isaac 3 ปีที่แล้ว

    Well made video..

  • @Cutycats9
    @Cutycats9 3 ปีที่แล้ว

    Nice good job

  • @mikroavrcom
    @mikroavrcom 3 ปีที่แล้ว

    Woow, KiCad user, your are great

  • @JairajShettye
    @JairajShettye 3 ปีที่แล้ว

    Hi, I am your new subscriber, love the content in your channel. I am a student learning embedded systems and I have question to ask.
    Can we use Arduino for industrial projects? If yes then how? If no then whats the alternative? Or can you make a video on this topic?

    • @sayanee
      @sayanee  3 ปีที่แล้ว +1

      Hi Jairaj! Wow, lucky you. Embedded systems is a great fundamental subject study.
      It's very hard to give a generic answer to all industrial projects. From my experience, it depends on the specific industrial equipment that we want to integrate. It also might depend on legacy technologies of the equipment that the organization already has. Also, industrial equipment sensors and actuators are expensive and have many more features and higher precision than a "maker" sensor. Hence, you probably need to write a separate Arduino library first for that specific sensor. The interface to integrate with the equipment might not be as "easy" as for example, I2C.
      The term "Arduino" can mean the dev boards, the firmware stack, or even the ecosystem. I don't think we should use just the dev board for deploying at scale (10s or 100s) for many industrial pieces of equipment, but it can be great for prototyping. Do check out the Arduino pro website (www.arduino.cc/pro/why-pro) which is particularly suited for powerful industrial / enterprise applications.
      Hope this helps!

  • @iAyanPahwa
    @iAyanPahwa 3 ปีที่แล้ว +1

    Nice video, thanks for explaining everything in such a great flow. I personally use SOIC BITE (search on hackaday) as my preferred connector to flash boot-loader on the chip, it’s small and fun :)

  • @user-dh7zg6hn9e
    @user-dh7zg6hn9e 3 ปีที่แล้ว

    you are excellent! star in youtube

  • @cadillacescalade5428
    @cadillacescalade5428 2 ปีที่แล้ว

    Hello, I am interested in turning my breadboard project on to a circuit board, I am rather new to this, But need help in the right direction. I am a model railroad er I am using 2 IR sensors for detection from open to closing the gates an operating the lights an sound. An I really wanna add a circuit board so I can place it under the crossing an only have my IR wires connected to reach out.
    can you please help me on sending to have it manufactured or help me with the correct components to buy to make this an reality.

  • @user-hl8sp5vq6k
    @user-hl8sp5vq6k 2 ปีที่แล้ว

    I want to use your battery/usb power switching logic in a small project I want to build with ESP32. But I am worried about the schottky diode (PM3020EH) that sits after the USB socket.
    I believe the purpose of this diode is to cut off the path from the USB when your circuit is powered with batteries only. When the USB is connected this diode becomes turned on and 5V is delivered to the circuit from the USB while the P channel MOSFET is shut off, right? My issue is that I can't afford the voltage drop across this schottky diode because my circuit needs 5V to drive some other TTL chips. Your circuit only needs the 2.8V produced by the voltage regulator so the voltage drop is irrelevant. Do you know any other widely available schottky diode with a voltage drop of 0.3V because I wouldn't mind using 4.7V. Getting rid of this schottky diode doesn't seem to be an option. Any suggestions?

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      "When the USB is connected this diode becomes turned on and 5V is delivered to the circuit from the USB while the P channel MOSFET is shut off, right? " Yes, you are correct.
      Nope, I'm unsure of any other part number for such diodes. I have not searched on the e-commerce sites, but is there a way to search for this parameter of voltage drop?
      I'm curious, what kind of battery are you using? With ESP32 or my future projects, I'm planning to use rechargeable batteries actually. Hence, I'm planning to take some inspiration from Adafruit's LiPo and Power logic blocks here in this schematic: learn.adafruit.com/assets/52793 which does not need any MOSFET.

    • @user-hl8sp5vq6k
      @user-hl8sp5vq6k 2 ปีที่แล้ว

      @@sayanee Just regular non recharging AA batteries to produced 12V

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      @@user-hl8sp5vq6k Right, similar to my project.
      I just did a search on element14 and found the lowest voltage drop goes to 230mv :( Not sure if that is low enough for you, but I found the parameter search for it www.farnell.com/datasheets/2907069.pdf
      I hope you find the right Schottky diode!

  • @pearlboy
    @pearlboy ปีที่แล้ว

    Nice VIdeo

  • @sivaram1804
    @sivaram1804 2 ปีที่แล้ว

    How to code the micro controller

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      Specifically for SAMD21G, you can of course use Microchip's native firmware environment (which I have never done before): www.microchip.com/wwwproducts/en/ATsamd21g18
      You can also install the Arduino bootloader and code in Arduino. I did a previous video on this method: th-cam.com/video/h2nKROPlFy0/w-d-xo.html
      Or just buy a dev board that already come with the Arduino bootloader if you are just starting out: store.arduino.cc/usa/arduino-zero
      Other ways can also be Micropython or CircuitPython. For example learn.adafruit.com/adafruit-feather-m0-express-designed-for-circuit-python-circuitpython?view=all
      Hope this helps!