Custom RP2040 PCB: Design, Turn-On, and Debug - How Hard Could It Be?

  Рет қаралды 8,776

element14 presents

element14 presents

Күн бұрын

James originally intended to make a video about a tool that he calls a "State Mode Logic Analyzer." One of the core components of that project is the RP2040 microcontroller from Raspberry Pi and its programmable IO (PIO) modules.
However, getting the RP2040s to work on the custom-made PCBs that James designed turned out to be a chore. So, for this episode, he shares soldering RP2040 (QFN) techniques, easy-to-solder parts for RP2040 designs, and what to debug when turning on custom microcontroller boards. After all, how hard could it be to make a custom RP2040 PCB?
Discuss the episode, questions James's design choices, and ask him questions on the element14 Community! bit.ly/3HqKMz6
Article: The Myth of Three Capacitor Values - bit.ly/3SoXtRx
Workbench Wednesdays - Why You Need a Raspberry Pi Pico Development Board by Shabaz: bit.ly/47B4R0s
Engage with the element14 presents team on the element14 Community - suggest builds, find project files, and see behind the scenes video: bit.ly/3tmdewv
Visit the element14 Community for more great activities and free hardware: bit.ly/3q6YMpu
Tech Spotlights: bit.ly/3qPrDhM
RoadTest and Reviews: bit.ly/3pV5Bux
Project14: bit.ly/31wbnJY
#0:00 Welcome to element14 presents
#0:36 Overview
#2:41 Power and Decoupling
#3:56 Program and Debugger
#5:02 Boot and Reset Buttons
#6:17 Turn-On
#12:06 Give Your Feedback
#raspberrypi #raspberrypiprojects #pcbdesign #pcbdesigning #debugger #debugging #rp2040 #raspberrypipico #microcontroller #microcontrollers

Пікірлер: 22
@dru6809
@dru6809 6 ай бұрын
No sarcasm. That is a beautiful Rhode Schwartz scope. I hope I can get one someday. There seems to be a big change happening with scopes. This movement towards much larger displays and flatter boxes is welcome. Thx for making this video. I like how you showed us a more minimal alternative to the RP2040 recommendations for support circuitry.
@andywest5773
@andywest5773 6 ай бұрын
Great project and very informative! I'm a big fan of the RP2040, but this would definitely be a "hard" difficulty rating for me.
@bald_engineer
@bald_engineer 6 ай бұрын
Hah, well the idea behind my qualified "it is easy if..." is that now it should be easier for everyone to debug/turn-on an RP2040 design! I'm sure yours would have far fewer problems compared to mine. ;)
6 ай бұрын
I have just ordered my first RP2040 PCB design. I ordered it with top side assembled in order to avoid soldering issues. The PCB is the size of a DIP40 EPROM so I hope I did not make too many design mistakes! Thanks for sharing your problems!
@TheGmr140
@TheGmr140 6 ай бұрын
Nice boards and design 😊
@HL65536
@HL65536 6 ай бұрын
I fixed a fried pi pico once, soldering a new RP2040 onto it. That was my first try at soldering components without (at least stubby) legs. I used an upside down clothes iron as a hot plate and a one of these torch lighters as a hot air tool. I applied solder to the pads and the chip using a soldering iron with lots of solder on it (of course, using lots of extra flux). I managed to get all contacts working at only the second try. The key to success was pressing the chip down onto the board, connecting all the pads and squeezing out the excess solder. Verification of all pins being connected is also possible without it booting up, even while that thing is still hot. Just use a multimeter on diode mode and test all pins (positive probe on GND). Connected pins should read somewhere around 0.3-0.8V (also the debug pins and the usb data pins). The other GND pins should of course measure 0V.
@danblankenship5744
@danblankenship5744 6 ай бұрын
Getting the correct amount of solder paste will always plague the home hobbyist. I like using an IR under-heater with hot air on the top. I then will use an iron to reflow those QFN contacts.
@darrenslab5537
@darrenslab5537 6 ай бұрын
I have used the RP2040 in a project of mine and have found that hotplate soldering gets them down first try
@bald_engineer
@bald_engineer 6 ай бұрын
I really need to get a hotplate!
@dawnofgods
@dawnofgods 6 ай бұрын
10% pad reduction works fine for me on on a 100 um SMD stencil
@bald_engineer
@bald_engineer 6 ай бұрын
That's a good point. My friend has been cutting many of my past stencils for me. We worked out some reductions based on pad sizes that work well. I used OSH Stencil for this stencil and just left everything on default in KiCad. Next time I order from them, I might re-submit this one with a reduction and compare it to see if it works better. The real problem is that my paste was over a year past its expiration date. So, it didn't hold its shape well.
@MAYERMAKES
@MAYERMAKES 6 ай бұрын
Do you have to list everything I did wrong on my first RP2040 design....uughghghg
@RottnRobbie
@RottnRobbie 5 ай бұрын
11:38 - Say what? Too much IPA damages pushbuttons? How? [ "How", as in both: - what's the mechanism of damage? (It's a _button_ !) and - how can there be 'too much' IPA? ]
@bald_engineer
@bald_engineer 5 ай бұрын
It was just a passing thought. It's more likely damage from spending too much time under the heat gun.
@RottnRobbie
@RottnRobbie 5 ай бұрын
@@bald_engineer OK, thanks for clarifying. I was afraid I might've hurt my computer mouse when I used IPA to clean the circuit board yesterday...
@bald_engineer
@bald_engineer 5 ай бұрын
@@RottnRobbie As I think more about why I said that, I remembered I had damaged an SMT microphone around the same time. And I was researching ultrasonic cleaners and surprised how many components are damaged by those. So, washing failures were on my mind. But it’s more likely flux got into the switches and melted something.
@winsrrow8125
@winsrrow8125 6 ай бұрын
if u know what do look for AND U HAVE THE TOOLS... i dont have an osciloscope with memory nor a logic analizer, i have the boards i did with the just reload to bootloader problem, i didnt asembled it, was factory asembled so... and i couldnt make use of debugger, my pc setup isn't working and idk why or how to solve it.
@jeremiahbullfrog9288
@jeremiahbullfrog9288 6 ай бұрын
But how would you have troubleshot this without access to a $20,000 scope?
@MAYERMAKES
@MAYERMAKES 6 ай бұрын
With a basic scope. He used only functions that are presentvon even the cheapest real scopes.😮
@bald_engineer
@bald_engineer 6 ай бұрын
I can’t figure out your joke’s punchline. So I have to ask… how?
@HL65536
@HL65536 6 ай бұрын
multimeter in diode mode. Positive probe on GND. Test every pin that comes from the RP2040 using the negative probe. Every GPIO pin should read the same value (within ~5mV of each other). gpios shorted together should read ~40mV less, GND (and stuff shorted to it) should read 0V. If it reads open, it's not soldered on. Also test the special pins (usb data pins, debug pins).
@jeremiahbullfrog9288
@jeremiahbullfrog9288 6 ай бұрын
@@HL65536 Thank you for providing a useful procedure
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 182 М.
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Рет қаралды 105 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 13 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 65 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Raspberry Pi  Pico PIO  - 8 Little Processors You Can Program
31:55
Gary Explains
Рет қаралды 89 М.
How TINY Can I go? The BEST Power Board is here!
11:55
GreatScott!
Рет қаралды 276 М.
#1 Custom RP2040 board (codename MSPC) soldering
8:58
Emez Labs
Рет қаралды 850
I Built my own Power Supply (don't do it)
11:18
Linus Tech Tips
Рет қаралды 625 М.
#370 Raspberry Pi Pico vs ESP32 (-S2) and STM32 Blackpill
15:53
Andreas Spiess
Рет қаралды 386 М.
If and When Do I2C Pull-Up Values Matter?
9:53
element14 presents
Рет қаралды 8 М.
2-Layer PCB Design Tips - Phil's Lab #137
32:27
Phil’s Lab
Рет қаралды 37 М.
Where are the Pi 5's? I asked Eben Upton at CES 2024
9:16
Jeff Geerling
Рет қаралды 137 М.
The Pi Pico has problems, so I made my own, the ProPico
7:17
Dmytro Engineering
Рет қаралды 37 М.
The Raspberry Pi Pico Review - $4 ARM Microcontroller
11:18
Jeff Geerling
Рет қаралды 333 М.
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,4 МЛН
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 122 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 4,1 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 450 М.
BEKMOBILDA Tecno Camon 30 smartfoni🔥🤩 #bekmobil
1:01
Bekmobil shorts
Рет қаралды 2,3 МЛН