Raspberry Pi Pico Breakout Board

Sdílet
Vložit
  • čas přidán 1. 03. 2021
  • www.pcbway.com/ Get 5 boards in about a week for $22!
    In this video we design and construct a breakout board for the Raspberry Pi Pico (www.adafruit.com/product/4883). I don't like that the pin names and numbers are printed on the bottom. So this breakout board puts the info on top where it can be seen and adds an OLED I2C interface. But, there is a strange problem with the OLED.
    Yes!! I now have merch: teespring.com/stores/learnele... Electronics themed T-Shirts!
    HEY YOU ABOUT TO POST SOMETHING STUPID:
    Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2TdS2Ux
    One of the symptoms is that is causes fluid retention, mostly in the hands, feet/ankles, and face.
    It will kill me one day. I'm doing ok right now, but someday...
    --------------------------------------------------------------------------------------------------------------------
    If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
    Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appreciated.
    ---------------------------------------------------------------------------------------------------------------------
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
    ----------------------------------------------------------------------------------------------------------------------
    Geaqr I use:
    DMM: Owon B33+ - amzn.to/3qQgH20
    Power Supply: Matrix 3206 - amzn.to/37C0fL9
    Portable O'scope: YEAPOOK ADS1013D - amzn.to/2ZG4G3x
    Bench O'Scope: Hantek DSO5072P - amzn.to/3pUl2jL
    Soldering Station - KSGER T12 - amzn.to/2NuNdby
    Multimeter leads: Probemaster - amzn.to/2ZJ0BLK
  • Věda a technologie

Komentáře • 99

  • @TheBadFred
    @TheBadFred Před 3 lety +14

    Please add a reset button, to avoid plugging and unplugging the micro usb cable.

    • @jyvben1520
      @jyvben1520 Před 3 lety

      machine.bootloader() puts the board in DFU mode

  • @SusanAmberBruce
    @SusanAmberBruce Před 3 lety +7

    Measure what you got on the OLED socket with a scope, with the pi plugged in an running your program

  • @bblod4896
    @bblod4896 Před 3 lety +5

    Turn the board vertical, put the left side breakout on the left side of the Pi and the right side breakout on the right. OLED on top or bottom.
    Probably better if I draw it out and send photo.

    • @blic-sx9ix
      @blic-sx9ix Před 3 lety

      I was thinking the same thing. Paul sure made it hard on himself doing it the way he did.

    • @JanJeronimus
      @JanJeronimus Před 3 lety +1

      It looks great. Turn them in the same direction would simplify it a lot. Put the text at the outside , not between the headers. Add a reset button and pins to connect to power. Perhaps also an additional holes to put a row of male pins next to the female headers.

  • @michaelmccloy9466
    @michaelmccloy9466 Před 3 lety

    Well done Paul, you have picoed a lot of attention with this one, I am sure the folks at Pimoroni have the same kinds of problems and probably a few more heads thinking about the subject
    all at the same time. I can't wait for version 2.

  • @sullivanzheng9586
    @sullivanzheng9586 Před 3 lety +1

    For such a large board, copper plating always seems to be a good idea.

  • @CTCTraining1
    @CTCTraining1 Před 3 lety +5

    The next test I’d do would be continued from your last setup .. bridge from your board to the oled on the breadboard. If it works then I’m guessing some capacitance is being generated by the close run tracks.

    • @andrewwilson6240
      @andrewwilson6240 Před 3 lety +3

      This was what I was thinking too. It is the next step from the blinky test.

    • @peddlereffects
      @peddlereffects Před 3 lety +2

      My thoughts also- does it work with the OLED on the breadboard and jumpers into the oled sockets on the PCB?

  • @GemmatheCat
    @GemmatheCat Před 3 lety +1

    Great project!

  • @freeelectron8261
    @freeelectron8261 Před 3 lety

    A few things to try on PCB version: solder a 4.7uF and 0.1uf across Vcc and GND on Pico connector, program Pico with display removed then add with power off, reboot and run. This has helped me in the past but it all just basic supply bypass stuff. The only difference between PCB and breadboard is the pin to pin capacitance unless there is a wiring difference somewhere.

  • @johnfvandenboschjr6540
    @johnfvandenboschjr6540 Před 3 lety +5

    try doing a jump from the break out header to the bread board

  • @johnandreasen6287
    @johnandreasen6287 Před 3 lety

    Your display has pins in this order: VCC - GND - SCL - SDA as correctly shown on the PCB too.
    But SDA needs to be connected to GPIO0 and SCL to GPIO1 - You may have switched the two GPIO-pins, I think.

  • @MrGeekGamer
    @MrGeekGamer Před 3 lety

    I made a similar breakout board in a similar fashion, but I added a double header too.

  • @mikeoliver3254
    @mikeoliver3254 Před 3 lety

    Those pico boards are kind of hard to get a hold of at a good price, guess I’ll just keep trying. Great video Paul, the only thing I could think of was a stray capacitance problem or maybe a floating voltage issue, hopefully someone has the answer.

  • @TBL_stevennelson
    @TBL_stevennelson Před 3 lety

    I would only add the connections for the oled, this way there isn't any issues with the board unless there from those four traces.
    If your planning on using the boards. If your not going to use the boards just make new ones with better spacing between traces.
    Use you osc, to find cross talk and make a video.

  • @roelvanhout5449
    @roelvanhout5449 Před 3 lety +3

    Why is this designed the way it is, i.e. with the breakout headers at a 90 degree angle to the pico? I'm new to all this, if I would have thought of something like this, my first idea would be to put each breakout header to the right and left of the pico so that the connections are short and straight, it would make the layout much simpler still, and it would make the pcb smaller. Or is there a reason to try to keep the distance between the rows of pins on the breakout the same as they are on the pico? Thanks.

  • @tomporter2164
    @tomporter2164 Před 3 lety +4

    do you have the oled the correct orientation

  • @brianmoore5454
    @brianmoore5454 Před 3 lety

    Love the PCB design. Try extending the OLED off the board so that it sits comfortably in a socket and try again.

  • @tonyguerich9854
    @tonyguerich9854 Před 3 lety +1

    ...or ....put the breakout headers immediately outboard of the pico header....maybe with holes for adding additional rows of headers

  • @michaelpadovani9566
    @michaelpadovani9566 Před 3 lety

    I'm late to the party here but I would try male to female jumpers from your other header (not your custom i2c). Agree this board is much better with a pin marked pcb. Reset button would be nice too (how-tos all over internet)

  • @WaldoHazeleger
    @WaldoHazeleger Před 3 lety +2

    The pins on my OLED's are different: Gnd,Vcc,Scl,Sda from left to right. On yours gnd and vcc are swapped. Is that right?

  • @skf957
    @skf957 Před 3 lety

    Plus-n on the reset button. IMO the ground continuity sounded "scratchy" - bad connection?

  • @david_pilling
    @david_pilling Před 3 lety

    A breakout board that supported C programming via Raspberry Pi (SWD connection) would be another useful thing.

  • @deterdamel7380
    @deterdamel7380 Před 3 lety

    You should add a reset-button (shorts 'run' to GND) to your next layout. Than you don't have to remove the micro-USB to restart.

  • @didi059x7
    @didi059x7 Před 3 lety

    Reset button between GND and RUN will be a game changer for testing...

  • @romancharak3675
    @romancharak3675 Před 3 lety

    Some mounting holes would be handy.

  • @electronic7979
    @electronic7979 Před 3 lety +1

    Nice video

  • @cfusername
    @cfusername Před 3 lety

    First thought would be to put the Pi in the center to minimize trace length, then add some space and add male and female headers for each pin. I always liked the Chinese Arduino boards that came with both header types.

  • @martinparker9044
    @martinparker9044 Před 3 lety

    When the Pico and the oled was on your breakout board they looked very close, is the oled shorting pins on the Pico?

  • @Chrisamic
    @Chrisamic Před 3 lety +1

    Could the signal or clock be feeding back through the Oled onto the programming data line or something else?
    Test: unplug the oled and try again
    Test2: use jumpers to connect the Oled but leave it some distance from the board and try again.

  • @Eightbitswide
    @Eightbitswide Před 3 lety

    Have you tried the Ili934 series LCD displays yet? Around $10 and works well with Micropython and the Pico. Thinking of doing a breakout board of my own based it.

  • @ronm6585
    @ronm6585 Před 3 lety

    Thanks.

  • @jimstand
    @jimstand Před 3 lety

    Please add mounting holes in the corners

  • @mikepennington8088
    @mikepennington8088 Před 3 lety

    Is something on the bottom of the OLED shorting out to the pins of the pico board? It looks a little snug between them.

  • @Roobotics
    @Roobotics Před 3 lety

    I think your display board might be shorting an edge out on the exposed pico pins possibly? Try programming it without the display attached? Also some local decoupling might help, try slapping a 1uF on the displays Vcc/GND pins on the back. Also speaking of, probably add some rubber feet so nothing can short on metal bits.

  • @The0ohm
    @The0ohm Před 3 lety

    check p5 to sda pin looks like they are shorted.

  • @willtipton
    @willtipton Před 3 lety

    Put a cap on vcc. The tracks are too small for power and ground. Use jumpers and see if it works on your board without using the tracks

  • @baldrickdaisy8982
    @baldrickdaisy8982 Před 3 lety

    Naaaw.... problems like that do my head in big time 🤪 Great video though Paul 👌

  • @gastondombiak1538
    @gastondombiak1538 Před 3 lety +6

    Wonder if you’re running into crosstalk that’s messing up with the signals when flashing. An oscilloscope might help

    • @eliasgeorge8534
      @eliasgeorge8534 Před 3 lety +1

      I’m worried that the routing around pins 2&3 and 18-20 are too close leading to the cross talk. I can’t tell on the backside of the board.

    • @bblod4896
      @bblod4896 Před 3 lety +2

      I wonder if Paul has an oscilloscope for that test 🤣

    • @bblod4896
      @bblod4896 Před 3 lety

      @@BruceAllgire
      Thanks.

    • @mikehensley78
      @mikehensley78 Před 3 lety

      Paul has a scope. I think it's attenuation or crosstalk.

  • @Keeping_IT_Simple
    @Keeping_IT_Simple Před 3 lety

    Hi
    Maybe as others have suggested it's somesort of stray capacitance created by the close tracks ?
    What happens if you just keep the oled on the breadboard & use jumper wires to connect from the Pico on the breakout board ?
    Hope you get to the root of the problem soon , must be very frustrating for you ?
    TTFN

  • @zambonidriver42
    @zambonidriver42 Před 3 lety

    Timing. Noise in the trace? Put your scope on breadboard, look at data, vcc, timing and compare to your board.

  • @icey_projects
    @icey_projects Před 3 lety

    For the next iteration (as other have mentioned) would love to have a spot for optional reset button, an sd card slot, and also maybe add the labels for the pins on the outside of the female pins the top row of the breakout is on the inside and for pico "hats" that would cover the top labels since they are on the inside. Looks great for a first iteration!

  • @TheTrueVoiceOfReason
    @TheTrueVoiceOfReason Před 3 lety

    Nuthin' up ma sleeve
    I gotta get me a new sleeve.
    Alright Bullwinkle J. Moose. 😁

  • @sonnylou8087
    @sonnylou8087 Před 3 lety

    Check to make sure none of the pins are some how connected together in some way.

  • @HanWechgelaer
    @HanWechgelaer Před 3 lety

    By a closer look I see the trace labeled as P0/SCL is connected to the first pin0 of the PICO which is DATA and not CLOCK... maybe that is an issue ?

  • @Josh-it2wn
    @Josh-it2wn Před 3 lety +2

    nice vid

  • @The0ohm
    @The0ohm Před 3 lety

    What pcb package you are using.

  • @andrewnewbould6067
    @andrewnewbould6067 Před 3 lety

    Have you checked the OLED works via the normal breakout pins (horizontal ones at bottom) rather that just the extra OLED header you added at the top of the board?

  • @bobflyer4346
    @bobflyer4346 Před 3 lety

    Question, what do you use for designing the PCB layout? Software name, manufacture. Again thanks for your video's.

  • @stevetobias4890
    @stevetobias4890 Před 3 lety

    Regarding the OLED header, why not turn it 90 degrees so you can use longer screens also.
    Sorry I don't know python, my Pico's are 2 weeks out and I'm yet to start learning.

  • @The0ohm
    @The0ohm Před 3 lety

    I have a i2c analyzer.

  • @interestingspagetti
    @interestingspagetti Před 3 lety

    Arggg, python. Only because i have'nt learnt it. Confusing enough switching to different coding. Thanks for the upload. My dad used to tell me measure twice, cut once. Looking forward to v 2.0 of your board. Liked your vid of course ;) have you tried plugging it in the other way?

  • @tonyguerich9854
    @tonyguerich9854 Před 3 lety

    Love it....how bout adding a reset button.... between 28 and 30

  • @mikepennington8088
    @mikepennington8088 Před 3 lety

    Why don't you run the pin headers parelell to the pico, one on each side? Then the routing is simple.

  • @tonysessions1403
    @tonysessions1403 Před 3 lety

    I had an OLED do the same with an ESP32 breakout board.

  • @HanWechgelaer
    @HanWechgelaer Před 3 lety

    i2c needs pull-up resistors to work correctly, maybe the wires and the breadboard provide a kind of that but your PCB does not ?

  • @susancarr9955
    @susancarr9955 Před 3 lety

    I've gotten a similar error using the OLED and it's something about the connection between the OLED and the Pico. I've connected the same exact OLED to an Arduino UNO and NANO with the same wiring and it works fine. I don't know if it's a hardware issue within the Pico or a software issue within Micropython.

  • @gartmorn
    @gartmorn Před 3 lety

    I wonder if a two layer board would help Paul with left side tracks on the bottom and right on the top or vice versa? You could then have the breakout pins run in parallel as well so they are like for like and oled in between! Just a suggestion.

    • @stevetobias4890
      @stevetobias4890 Před 3 lety

      And maybe put all ground tracks on the bottom layer and power on the top.

    • @gartmorn
      @gartmorn Před 3 lety

      @@stevetobias4890 spreading the tracks top and bottom would make routing easier and avoid the issue of tracks being bunched up together.

    • @stevetobias4890
      @stevetobias4890 Před 3 lety

      @@gartmorn yes, I agreed, I added AND seperate the Ground and VCC tracks to avoid capacitance issues.

    • @stevetobias4890
      @stevetobias4890 Před 3 lety +1

      @@gartmorn maybe should have said I agreed however..

    • @gartmorn
      @gartmorn Před 3 lety +1

      @@stevetobias4890 wasn't disagreeing just the layout I was suggesting perhaps would spread the tracks a bit more evenly but we're both on the same page I think! 🤣

  • @alexstone691
    @alexstone691 Před 3 lety

    While i can understand you want simple pcbs but damn dude these are too simplistic
    I would add caps, reset button definitely

  • @stlo0309
    @stlo0309 Před 3 lety

    I have a question someone please let me know. How exactly do we know the width of the micro controller? Like I want to design a PCB for am ESP32 board but I don't know how far apart should the female headers should be so that the ESP32 fits perfectly in them.
    Sorry if this is too noob of a thing to ask, but I don't know how to do this

    • @blic-sx9ix
      @blic-sx9ix Před 3 lety

      If the board is "breadboard friendly" the spacing will be in 0.100" or 2.54 mm increments. Calipers or even a good ruler should get you what you need.

    • @learnelectronics
      @learnelectronics  Před 3 lety

      I use a set of cheap calipers.

  • @harnaikhothi3277
    @harnaikhothi3277 Před 3 lety

    solder jumper wire see if that works ..

  • @newsogn5148
    @newsogn5148 Před 3 lety

    Why not just turn the oled 90deg

  • @bblod4896
    @bblod4896 Před 3 lety

    OS error? Are you sure about shorts? Might not be one pin next to another short, could be one pin shorted to ANY pin.
    So, beeper to pin one and check against all the other pins. Then, beeper to pin two and check again, keep repeating.

    • @learnelectronics
      @learnelectronics  Před 3 lety

      No shorts

    • @bblod4896
      @bblod4896 Před 3 lety

      @@learnelectronics
      Traces crossed? Look upside down and forget Left is Right and Right is Left?

  • @G8YTC
    @G8YTC Před 3 lety

    Ground and Vcc and SDA SCL are reversed on the original drawing from all of my 1386 OLED pcbs? - that's translated to the PCB design. Odd that your board on the OLED is different. However SCL & SDA are the same on pins 3 & 4 on the OLED but they go to 1 & 2 on the Pico where they get crossed over. SDA is 1 on Pico SCL is 2 on Pico.

  • @pedrodepacas4335
    @pedrodepacas4335 Před 3 lety

    Capacitance between tight traces.

  • @jamesgoacher1606
    @jamesgoacher1606 Před 3 lety

    Discalimer:- This is guess work and completely without any knowledge. :-)
    Inter PCB Track Capacitance? I THINK I noticed some parallel tracks for the Display when you were showing your design.
    Design No-2 question/suggestion. Why do you not simply lay out the Headers in parallel with each other and just bring out the tracks horizontally across the board. That would be on one layer, the Display can go on the other layer at right angles to the main track?

    • @learnelectronics
      @learnelectronics  Před 3 lety

      There was going to be more things on the board. But since its not working right, I will probably scrap this design

    • @jamesgoacher1606
      @jamesgoacher1606 Před 3 lety

      @@learnelectronics Look forward to Version-2 :-)

  • @mattantonelli4273
    @mattantonelli4273 Před 2 lety

    change the frequency to 200000

  • @scottpelka1211
    @scottpelka1211 Před 3 lety

    Keep the wheels and replace the car... problem solved. Lol

  • @Chrisamic
    @Chrisamic Před 3 lety +1

    For some strange reason I just can't fathom, I always need to pee when you switch to this microphone 0:28