Raspberry Pi RP2040 Hardware Design | Altium Designer | JLCPCB - Phil's Lab #28

  Переглядів 82,374

Phil’s Lab

Phil’s Lab

День тому

How to design a minimalistic PCB for the new Raspberry Pi RP2040 microcontroller (MCU) including a buck (step-down) converter. Covers all aspects of schematic, layout, and routing in Altium Designer.
Free trial of Altium Designer: www.altium.com/yt/philslab
Visit jlcpcb.com/RHS for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs.
Patreon: / phils94
Git: github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:52 Altium Designer
01:19 RP2040 Design Help
02:46 Schematic: Power Supply
05:16 Schematic: RP2040
09:18 Schematic: QSPI Flash Memory
10:37 PCB: Overview
11:18 PCB: Stack-Up
11:55 PCB: Buck Converter
13:45 PCB: RP2040
15:40 PCB: Crystal
16:43 PCB: QSPI Flash Memory
17:07 PCB: USB
17:36 PCB: Additional Tips
18:30 Outro
ID: QIBvbJtYjWuHiTG0uCoK

КОМЕНТАРІ: 130
@PhilsLab
@PhilsLab 2 роки тому
This channel will still feature KiCad videos but I‘d like to show other PCB design tools, such as Altium Designer, as well. I believe most of my videos are there to give hardware/PCB design/engineering tips rather than tool-specific tips, so what software I use to me is secondary. Altium Designer is what I use for work and also mainly in my spare time, but I still try to make many designs in KiCad - I like both pieces of software. Thanks for watching and let me know your thoughts! :)
@BS-my2ky
@BS-my2ky 2 роки тому
Thank you for this awesome quick review. I wonder if you will post this altium design project to github. I curious how did you create the symbol and footprint for the castellated pads. Do you need to select castellated holes in jlcpcb option when ordering? Thanks.
@martinmckee5333
@martinmckee5333 2 роки тому
For many videos I would agree. I do know that anything that covers Altium specifically is going to do me little good. Unless something drastic changes, I will never be able to justify spending that much on PCB software. That said, I'd rather have you making videos than not, so if it makes it easier to use the software you are most proficient with. I certainly understand.
@subrotodebnath9346
@subrotodebnath9346 2 роки тому
Hello Mr. Philip, Good Day. May I get the 3D step file of the RP2040 you used to design this board?
@diablomoto1328
@diablomoto1328 2 роки тому
I just started work and they use Altium so this is very refreshing please keep doing these types of videos as well as kicad. Also will you include the generation of the gerber/drill files in the next altium pcb design
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 2 роки тому
can i use flash chip of esp8266 in this project?
@swastiksingh5154
@swastiksingh5154 2 роки тому
this man makes PCB designing into an intricate art with his videos
@theindieg
@theindieg 2 роки тому
It has always been an art to do it well!
@martinmckee5333
@martinmckee5333 2 роки тому
@@theindieg agreed. Some of the old hand-taped boards are absolute masterpieces.
@Avriox
@Avriox 2 роки тому
Every time I need some sort of MCU in my designs I come back to your videos and follow your guidelines. Love it! Keep it up man. Your videos are most certainly amongst the best!
@akindiranolanrewajujohnson1873
@akindiranolanrewajujohnson1873 2 роки тому
Appreciate your great effort to carry along. I haven't watched it to two minutes, yet I have never been disappointed on this channel. Thanks for awesome time spare to make things work, . . . thoroughly impacting
@lastairbender7076
@lastairbender7076 2 роки тому
You are doing really a huge support to RP2040 community . I can't thank you enough. I'm user of Raspberry Pi Pico & enjoying it. I am into extreme resource constrained devices & thinking about designing another board around RP2040. Thanks a lot for doing this. And showing us other tools like Altium 🤩🤗
@thenoisyelectron
@thenoisyelectron 2 роки тому
Fantastic content Phil! You're firing out quality material like a fire-hose!
@tomnicholls9162
@tomnicholls9162 2 роки тому
Great video Phil 👍Glad to see you went with the RP2040 suggestion 😉 exited to see what carrier board you conjure up and what you plan to do with it.
@claudiotalle6821
@claudiotalle6821 2 роки тому
Probably the best video, or among them, on how to approach correctly to PCB design in Altium. Straight to the point and without missing details. I had to stop and re-watch some parts because accessing some feature with the complexity of Altium, requires some understanding. Repeting the steps, everything goes straight. Great Video.
@majortom91gsg
@majortom91gsg 2 роки тому
2 Videos in 3 days? Nice :D
@MikeNugget
@MikeNugget 2 роки тому
Thank you for this video! I've recently thought just about how to make own PCB with RP chip.
@RoboticsLive
@RoboticsLive 2 роки тому
Hey Phil, Your videos are very much knowledgeable and I really enjoy them. Can you do a video or maybe a video series on single board computer like raspberry pi PCB design ? It's hard to find good material on that topic. Thanks.
@devil2005iscool
@devil2005iscool 2 роки тому
programming and pannelisation for both kicad and Altium would be interesting. i have my own ways of pannelisation but would be interesting to see the variation on how other people choose to do it in both EDA's
@engineerdanny7569
@engineerdanny7569 2 роки тому
Hi phil great work..I loved your long videos on kickad , I wish you would do the same with Altium so that beginners can learn from components placing to routing. Anyway thanks ❤️
@slipperynickels
@slipperynickels 7 місяців тому
thanks for this. i’m planning on building an rp2040 into a g-key m.2 form factor for a modular project i’m working on, so i’ll probably be referring to this a lot early on.
@milk3dfx
@milk3dfx 2 роки тому
It is nice that JLCPCB has Pi RP2040
@adaminsanoff
@adaminsanoff 2 роки тому
Whatever you do, you do it right. So keep doing.
@MeeBilt
@MeeBilt 2 роки тому
Brilliant video, thanks! I'm just about to pull the trigger on making my own STM32 design from scratch - and now this turns up to mess up my brain completely ! 😂
@mrlazda
@mrlazda 2 роки тому
Rp2040 is based of lowest cortex core m0+ which is used on stm32 L0 and G0 series. STM32 offer much wider ranges of cores including STM32H74x/75x series that is also dual core but one is m7 and other is m4.
@backdemoletor4654
@backdemoletor4654 2 роки тому
Yep, this is one of my favourite channels
@PhilsLab
@PhilsLab 2 роки тому
Very glad to hear that, thank you!
@professorstabsalot
@professorstabsalot 2 роки тому
Thank you for the very informative video. Will you be publishing the schematic and boards files in a github repo?
@spehropefhany
@spehropefhany 2 роки тому
Nice, as always! Thank you. A bit confusing that Xout is an input and Xin is an output on the RP2040 symbol, thought you got the resistor position wrong for a millisecond.
@obregr
@obregr 2 роки тому
good video i admire ypie work
@ahmethamdicelik1277
@ahmethamdicelik1277 Рік тому
this is great, thanks for sharing!
@PhilsLab
@PhilsLab Рік тому
Thanks, Ahmet!
@muzairafzal1529
@muzairafzal1529 2 роки тому
Excellent job dear! 🌹
@PhilsLab
@PhilsLab 2 роки тому
Thank you!
@laboratoriodeprojetos1351
@laboratoriodeprojetos1351 2 роки тому
Ótimo vídeo. Muito interessante. Abraço
@chinmoytahbildar3278
@chinmoytahbildar3278 2 роки тому
You are awesome sir... keep going... lots of love from India
@PhilsLab
@PhilsLab 2 роки тому
Thank you very much!
@rubencg195
@rubencg195 Рік тому
amazing video, could you include the Bluetooth/wifi component on a future iteration?
@PATRIK67KALLBACK
@PATRIK67KALLBACK 2 роки тому
Nice work! I would love to use Altium but it's a bit outside my budger so I stick with KiCAD.
@adamp1440
@adamp1440 2 роки тому
Yup, Altium is a hard no for me.
@EmbeddedEnigma
@EmbeddedEnigma 2 роки тому
get a cracked version XD I use that
@rhp9797
@rhp9797 2 роки тому
You might want to look into Altium Circuit Maker, it's a free version of Altium, it has a few limitations, but otherwise it looks great, I haven't tried it yet, but it's going to be my weekend project to try it out!
@PATRIK67KALLBACK
@PATRIK67KALLBACK 2 роки тому
@@EmbeddedEnigma I always used cracked versions when I was younger. Nowadays I try to be a good person, skip cracked things, pay my tax and keep track of speed limit. It feels good.
@NiteshAgarwalGeek
@NiteshAgarwalGeek 2 роки тому
@@EmbeddedEnigma Why use crack when you have free and opensource software readily available :)
@Bianchi77
@Bianchi77 2 роки тому
Nice video, thanks :)
@housseinbenabdelhamid203
@housseinbenabdelhamid203 2 роки тому
Length matching the QSPI signals is highly recommended
@SciDIY
@SciDIY 2 роки тому
Can somebody give a hint on clearance between QFN package and other components? What is acceptable for SMT assembly services?
@NNNILabs
@NNNILabs 2 роки тому
Thank you so much for making this! I'll be frank - I've hated Altium because it's rather bloated and overcomplicated (and very, very expensive), but I think you tutorials might make it easier for me.
@ryuuryomen3197
@ryuuryomen3197 2 роки тому
very interesting
@bluejumpsweater
@bluejumpsweater 2 роки тому
Great video!
@PhilsLab
@PhilsLab 2 роки тому
Thank you, Marcus!
@Simon-fb2od
@Simon-fb2od 2 роки тому
Hello, this is a great video - thanks for that! I watched your guide here and compared it to the official datasheet of the RP2040 and some things are different, for example the capacitor values on some things (like the crystal). Since I am not experienced with that, will I be fine with using what the RP2040 guide says? It also says that their example board was tested and confirmed to work. Appreciate your help.
@PhilsLab
@PhilsLab 2 роки тому
Hi Simon, Thanks for your comment. The capacitance values do need to be adapted to whatever crystal you choose, however, things like the exact number/value of bypass caps for these low-speed devices aren't entirely critical.
@lagging_barish3736
@lagging_barish3736 2 роки тому
Phil what happened to kicad. I haven't used kicad or altium or any PCB design programs yet but I might soon. Do you like altium better, just testing other programs or is it that the company you work for changed what programs you use. Some insight is much appreciated since I'm not even an electrical engineer and planning to do this stuff as a hobby. ... Just as a sidenote I absolutely love the work you do here helping others I've been watching your channel for a long time and you thought me some very great/useful stuff.
@damny0utoobe
@damny0utoobe 2 роки тому
What are the blue J222 (example) labels? Is it just text? They seem to be different than net labels
@siriokds
@siriokds 2 роки тому
Hi, in orderto interface it with 5V TTL do I level shifters or gpios are 5V tolerant?
@idian3206
@idian3206 6 місяців тому
Hi, is the schematic available for download? It will be easier to navigate while watching to learn. Btw thanks for the video~
@David_11111
@David_11111 2 роки тому
yay ... did the castellated pads get made ok ?
@tonysofla
@tonysofla 2 роки тому
Via's on dfn center pad, as these vias will not be tented, what about solder wicking effect?
@samc4499
@samc4499 2 роки тому
@15:48 Is it possible to go over why are you using traces to guard the crystal instead of copper fill with lot of vias And what is the feed resistor for, is it recommended by the crystal/mcu manufacturer? Also, I noticed that you place a line (overlay) under resistors capacitors. Will it create problem during the manufacturing process, ie tombstone.
@superjimnz
@superjimnz 2 роки тому
I believe the resistor is to limit the drive current into the crystal, it's more commonly seen on a 32KHz crystal than a high-speed oscillator. ST has an excellent application note on configuring crystals.
@amirb715
@amirb715 2 роки тому
great video as always. can you explain a bit why you use 2 ground planes in the middle with nothing in between them and then try to stitch them together? why not use just one ground plane (3 layer board)? is it to reduce inductance?
@sisesoso
@sisesoso 2 роки тому
Yes, you reduce inductance because the ground plane (return path to be precise) is always close to the signal and power traces. I recommend you watch Rick Hartley's video about PDN design tips that he did for PCEA. It is available in UKposts.
@tonysofla
@tonysofla 2 роки тому
Only boards you can get in 3layers is flex pcb. In ridged pcb's it's 2 or 4.. and it would be bad to etch away a whole copper layer because you "don't need it". you actually do need it, as the core is so thick on a 1.6mm board that layer2 gnd plane would be too far away from layer4 (signals) to be helpful.
@manwithgutz
@manwithgutz 2 роки тому
Hi is it possible to teach us how can we do a motor driver board for rpi2040 ? using mosfet
@TnInventor
@TnInventor Рік тому
so did the boards preform well?
@krzysztofantoniak4236
@krzysztofantoniak4236 2 роки тому
Hi Phil, could you explain why does one need the limiting R202 next to the crystal? I'm fairly a beginner and I see this extra resistor for the first time.
@guillep2k
@guillep2k 2 роки тому
I'd like to know too.
@superjimnz
@superjimnz 2 роки тому
Limit crystal drive current. Look up ST AN2867 for crystal oscillator design guide.
@user-hx3ys9qv3s
@user-hx3ys9qv3s 2 місяці тому
Does RP2040 require any bootloader to start detecting as Pico board or will it work on the go? I am asking since in arduino boards we have to upload bootloader on a raw Atmega328p before its USB starts operating. Is this the case with RP2040? If yes than can you make a video on how to get the custom board with a raw RP2040 to programming?
@mail87523
@mail87523 2 роки тому
Dear I can't find the project and library on your the github page !!! Will you share the project or will it remain private ???
@neildarlow
@neildarlow 2 роки тому
I saw what you did with the board naming. 😊 These devices are too good to resist at their price-point. I've added them to my existing options of STM32F411 and ESP32 so I can cover most scenarios.
@jb5631
@jb5631 2 роки тому
Not really. The specs of this chip are horrible. And for the price point? Alright but not that much cheaper then other M0+ chips.
@mateuszdgrobelny
@mateuszdgrobelny 2 роки тому
Are you planning to share schematic on GIT ?
@noel7620
@noel7620 2 роки тому
Nice overview of the design process. Would be interesting to hear your thoughts about ground return paths for signals entering and exiting via the castellation's. In particular as there is high speed USB signals over those pins as well.
@cj09beira
@cj09beira 2 роки тому
likely it wont be very pretty at least in the emi sense,
@ZayMeisters
@ZayMeisters Рік тому
Does anyone know how to label pins as "PAD" like done in this video? I can't seem to find where I set this
@lattebois5934
@lattebois5934 2 роки тому
If you ever have the chance to do another Altium video. Is it possible for you to do a tutorial similar to the video "KiCad STM32 Hardware Design and JLCPCB Assembly"? It was quite helpful to me while I was creating my first design.
@PhilsLab
@PhilsLab 2 роки тому
Yeah, I was thinking about making that video again but using Altium instead. Might be a little while before that comes out though.
@chadkrause6574
@chadkrause6574 Рік тому
This is probably a really stupid question, but I am teaching myself Altium. How do you make your resistors so small? Mine are huge. I am using Res2 from the Misc Components library Thanks
@PhilsLab
@PhilsLab Рік тому
I make my own schematic symbols and footprints, and use standard packages e.g. 0402, 0603, 0805 and so on. The smaller the value, the smaller the footprint.
@renaulth2009
@renaulth2009 2 роки тому
Gold.
@PhilsLab
@PhilsLab 2 роки тому
Thank you, Renault!
@dave_dennis
@dave_dennis 2 роки тому
Did you make the library entry for the RP2040 yourself or were you able to find it somewhere. The footprint and symbol are easy. Tough for me is the STEP file. If you did the StepFile used in the 3D rendering I rather like the detail of having the PI logo. I have no 3D cad skills yet so this is beyond my capability. I hope to change that.
@AlasdairAllan
@AlasdairAllan 2 роки тому
The Raspberry Pi Pico was designed in Altium, and the design files have been made available openly, with no limitations. There is also a STEP file available. See datasheets.raspberrypi.org. There are also KiCAD design files available for the minimal viable board and VGA carrier board talked about in the Hardware Design guide available on the same site.
@sisesoso
@sisesoso 2 роки тому
Check Snapeda, they have schematics symbols and land patterns for many components. Some components are created in collaboration with the manufacturer.
@dave_dennis
@dave_dennis 2 роки тому
@@sisesoso that was the first place I looked. I shall look again. Sometimes it depends upon your parameters for search.
@dave_dennis
@dave_dennis 2 роки тому
@@AlasdairAllan thanks for the link to the datasheets page. No obviously STEP file for RP2040 there. I downloaded the schematic and it appears to have been done in EAGLE and not Altium.
@vincei4252
@vincei4252 2 роки тому
Hi Phil, I don't use Altium for professional work, just hobby after getting it as a special offer 2 or so years ago. Got a 1 year renewal request for another year that's over $2K - needless to say I won't be renewing especially since this is almost twice the cost from last year and a huge proportion of the amount I paid when they gave me a "special" offer. I should have known better.
@superjimnz
@superjimnz 2 роки тому
With a full license you can keep using it perpetually, but without subscription you will not be eligible for updates. I think ~2k/seat is usual subscription.
@iuiz
@iuiz 2 роки тому
Does Altium have a Hobbyist License, or is this a 30 days trial and 2000 € after that? This looks like enterprise software and their site is broken. If you click on "Jetzt Subscription kaufen" ("buy a subscription now") on the German site you get an error site with "No input file specified.".
@pranavmokashe1637
@pranavmokashe1637 2 роки тому
Design files are open source ?
@simpletut2024
@simpletut2024 Рік тому
Nice video. Why to use 12MHz crystal, while the RP2040 is capable of up to 133 MHz??
@PhilsLab
@PhilsLab Рік тому
The RP2040 has internal PLLs to 'step up' the input frequency.
@simpletut2024
@simpletut2024 Рік тому
@@PhilsLab Thank you for the info. I believe it is like the stm32.
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 2 роки тому
where is the link of the project file
@farisikhmal4868
@farisikhmal4868 2 роки тому
Man, make a tutorial of making castellated hole like the one on pi pico
@hongrongzhuang
@hongrongzhuang 10 місяців тому
Coming from China, I own RP2040 Raspberry PI chip
@inoxious
@inoxious 2 роки тому
01:00 much more powerful and more expensive
@mrlazda
@mrlazda 2 роки тому
If you compare price with other software (Mentor, Zuken, Cadence), Altium is on cheap side (some other offer lower price for base package but when you buy all features they cost much much more).
@martinmckee5333
@martinmckee5333 2 роки тому
He didn't compare it to mentor though. He compared it to KiCAD.
@AhmedIsmail-sw6so
@AhmedIsmail-sw6so 2 роки тому
where is the source files for this circuit ?
@user-wd4ib6so1j
@user-wd4ib6so1j Рік тому
WHERE IS THE BOOTSEL?WHAT IS THE NAME OF BOOTSEL IN ALTIUM?
@yamanseyravan4387
@yamanseyravan4387 2 роки тому
Why 2 GND planes ? is it way better than a 3.3V plane and a GND plane ?
@tonysofla
@tonysofla 2 роки тому
Yes it's, and then using power pour on layer 1 and 4, mixed with signals. Just use power traces on layer 1 and 4 if a pour hardly covers anything.
@yamanseyravan2341
@yamanseyravan2341 2 роки тому
Nicee finally an Altium Video!
@InfiniteQuest86
@InfiniteQuest86 2 роки тому
What is the advantage of using one of these over an STM32 that fits your project probably better?
@infov0re
@infov0re 2 роки тому
well, you've asked-and-answered there - there is not an advantage to using a part less suitable for what you want to do (eg, if you need a genuine floating point unit). the only time that's not true is when your part is not in stock - ie, is it worth redesigning around a part you can *get*? however: having used these on projects, I'm largely sold on this as a default M0+ part for the things I do (and indeed, a default-ish MCU). It's $1 at any volume, for the chip (like the Pico, the price _is_ the volume price); for that you get a decent number of peripherals, plus PIO, a lot of flash, and a dual core chip; it needs very little support components around it, as the video shows. For me, though, one of the best points is the developer experience. That's a highly subjective thing, but I really like it: excellent, unixy tooling (arm-gcc + CMake + a good text editor and you're set - no horrible Eclipse ports here); superb documentation, particularly for the C++ SDK (can't recommend the SDK manual enough - it's clear, well written, and genuinely useful); great default of using UF2 bootloading, which makes it easy for me to let clients update their own firmware over USB. Obviously none of that's relevant if you need the power/functionality of an M4 or M7 (in STM, NXP, or whoever's parts), but I've found it very, very pleasant to work on.
@iaadsi
@iaadsi 2 роки тому
@@infov0re "a lot of flash"? This has zero flash, you need to BYO (which brings the MVP price over $2/pc, equivalent to higher end STM32F0 chips).
@mrlazda
@mrlazda 2 роки тому
Interesting video but I do only not understand what is reason behind using rp2040 it is lowest arm m core available and do not offer nothing what other do not do better. I understand why they designed rp2040 using m0 for first SoC as learning project.
@superjimnz
@superjimnz 2 роки тому
It's a microcontroller, not an SoC like RPI. They are completely different, with totally different applications.
@richardhead8264
@richardhead8264 2 роки тому
*0:44* 😱 😭
@seanocansey2956
@seanocansey2956 2 роки тому
Anyone noticed JLCPCB has discontinued the RP2040?
@PhilsLab
@PhilsLab 2 роки тому
I checked recently and saw they were still in stock.
@seanocansey2956
@seanocansey2956 2 роки тому
@@PhilsLab That's weird, because it always says discontinued whenever I check
@tonysofla
@tonysofla 2 роки тому
Probably RevA, is a RevB coming out? and global chip shortage is why they don't have any in stock?
@NivagSwerdna
@NivagSwerdna 2 роки тому
Oh dear... you've gone back to the dark side using Altium... that's a shame because I found your KiCad ones particularly useful.
@PhilsLab
@PhilsLab 2 роки тому
I’m not stopping with KiCad videos, just switching it up don’t worry :)
@cvspvr
@cvspvr Рік тому
what's wrong with altium?
@tairegaming5464
@tairegaming5464 11 місяців тому
​@@cvspvrit costs money and some people rly dislike this
@GamingMetGewoongert
@GamingMetGewoongert 10 місяців тому
​@@cvspvrThere is nothing wrong with Altium itself. It is a great piece of software. It is however incredibly expensive so not the best for beginners or hobbyists(1 perpetual license is over 4000 EUR or 250 EUR/month).
@sagarhm2237
@sagarhm2237 2 роки тому
sir how to work pcb for camera plzz help me make a vedio
@matarms
@matarms 2 роки тому
first
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Переглядів 161 тис.
Top 5 Beginner PCB Design Mistakes (and how to fix them)
12:52
Altium Academy
Переглядів 189 тис.
Bro smelt it & passed out 😂 #comedy
00:10
MrTalalaa
Переглядів 7 млн
USB-C Power Delivery Hardware Design - Phil's Lab #104
29:52
Phil’s Lab
Переглядів 87 тис.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Переглядів 3,2 млн
RP2040 KiCad 6 Hardware Design - Part 1 - Schematic
36:20
MicroType Engineering
Переглядів 22 тис.
Custom RP2040 PCB: Design, Turn-On, and Debug - How Hard Could It Be?
13:03
element14 presents
Переглядів 7 тис.
Making Professional PCB at Home
12:04
DD ElectroTech
Переглядів 1,2 млн
I shouldn’t have kept the $1,000,000 computer
28:05
Linus Tech Tips
Переглядів 1,5 млн
Waveshare RP2040 Boards: 3 New RP2040 Boards, LCD + LiPo - First Look!
9:58
Learn Embedded Systems
Переглядів 19 тис.
RTX 4070 Super слишком хороша. Меня это бесит
15:22
Рома, Просто Рома
Переглядів 95 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 651 тис.