How to Make a Raspberry Pi CM4 Carrier Board - Part 3: Solder and Flash eMMC | Digi-Key Electronics

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2021
  • We know it’s been a few months, but all of the parts finally arrived to test the custom carrier board for the Raspberry Pi CM4! We can finish the CM4 series by soldering components to the carrier board and testing operation.
    To start, we use a solder paste stencil to carefully apply solder paste to all of the footprints on the custom PCB. We then place the components and ensure that parts line up with the footprints. We use a toaster oven to reflow the solder, which attaches all of the parts to the PCB.
    We test the board by attaching the Compute Module 4 and loading an operating system. You can read a full write-up of how to do this here: www.digikey.com/en/maker/proj...
    Flashing the eMMC is accomplished by putting the CM4 into bootloader mode (connect the nRPIBOOT pin to GND and apply power). Run the Raspberry Pi Imager program (found here: www.raspberrypi.org/software/), and select your OS. Note that we used Raspberry Pi OS Lite in this demo, as we do not have a monitor for a full GUI.
    You will also need to enable the UART console if you would like to be able to interface with the Raspberry Pi without a monitor or networking (e.g. SSH). Add “enable_uart=1” to config.txt in the boot drive (while the CM4 is in bootloader mode, which enumerates the eMMC as an SD card on your host system).
    From there, we test operation by writing a simple blinking LED program in Python. At this point, you should have a full Linux operating system at your disposal!
    The GitHub repo for the Base Carrier shown in this video can be found here: github.com/ShawnHymel/rpi-cm4...
    Product Links:
    www.digikey.com/short/nw188d85
    Related Videos:
    Introduction to KiCad series - • An Intro to KiCad - Pa...
    Related Project Link:
    Creating a Raspberry Pi Compute Module 4 (CM4) Carrier Board in KiCad - www.digikey.com/en/maker/proj...
    How to Route Differential Pairs in KiCad (for USB) - www.digikey.com/en/maker/proj...
    How to Flash eMMC chip on Raspberry Pi CM4 - www.digikey.com/en/maker/proj...
    Related Article Links:
    Beginner’s Guide to KiCad - www.digikey.com/en/maker/proj...
    Learn more:
    Maker.io - www.digikey.com/en/maker
    Digi-Key’s Blog - TheCircuit www.digikey.com/en/blog
    Connect with Digi-Key on Facebook / digikey.electronics
    And follow us on Twitter / digikey
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Awesome video @ShawnHynel ! Thanks! I hope this video series doesn't end and we can see more advanced PCB designs using CM4. The topics I would like to see are: tips, good practices & tricks on how to design the SD Card interface, high-speed lines like HDMI, M.2 interface for a SSD and the one that I would be most excited about but might be more difficult to do is how to do an RGB 40-pins interface for a 5" or 7" 800x640 Adafruit TFT screen. Thanks again for the video, it has been of great help.

    • @fastbike9845
      @fastbike9845 2 หลายเดือนก่อน

      Yes, I'm looking for guidance on doing the M.2 interface ...

  • @s.andrivet
    @s.andrivet 2 ปีที่แล้ว +7

    All your videos are so interesting and so well presented. I love them.

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

    Never thought there'd be a part three but I'm so excited!!

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

    Putting new examples other than the link led code, thank you

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

    Best reason to have a proper bench power supply with adjustable current: when you smoke check a new board, start off at the lowest current setting. Know in advance about what the max I should be (ie your regulator's quiescent current and maybe a power LED) and gradually turn it up. If it goes past what you expect, shut it down and find the problem. This should be able to find issues before actually smoking a (possibly very expensive) component.

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

    Keep these coming please! Youre very helpful

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

    Excellent, as always.

  • @nitinj.sanket2236
    @nitinj.sanket2236 2 ปีที่แล้ว +3

    Finally!!

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

    That was great, all 3 videos.

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

    You can use the 64bit version on the CM4. I would watch configure WIFI. Then you have a network connection, can connect with SSH and make updates. Create the ssh file in the boot directory and store the WIFI parameters there.
    In addition, you can activate a USB 2.0 port on the CM4.
    A system with WIFI, one USB port, TTL Serial and the IO ports can do something useful.
    That's enough for Octoprint

  • @rickpontificates3406
    @rickpontificates3406 2 หลายเดือนก่อน

    I just designed a new I/O PCB for the CM4, but while I used low melt solder paste for the components, I hand soldered the mezzanine connectors to the CM4 out of fear of melting the plastic of the connector. Are you afraid of that in your oven?

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

    Can you make another video showing how to approach adding something more complex, like a Realtek switch chip? I'm new to doing PCBs, and even though I can build boards with LEDs or buttons, I'm completely lost when doing the more interesting/complex stuff. What do I need to look for? How do I get it all linked up so that it is actually detected by the Pi?

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

    Is there a cm4 display hat of same dimensions as cm4
    Also a battery pack and charger.

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

    Is it possible to use the ch340g to transfer data to a board as another option?

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

    thanks for video... but the serial converter would be explained more. specially if it was a 3.3v or 5v or a real 15v USB to serial converter. i am designing a carier board now, and gonna use most of periphrals and their protections... with a real serial port which is 15v to be able to directly connect to a real serial port of motherboard of other computers.

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

    I am curious. Why didn't you put an Ethernet MAG socket on your carrier board. They are cheap, the Pi CM4 has all the PHY (so only socket necessary) and it gives you all of that really helpful Linux Network ability right from the start. Am I wrong?

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

      Or just use wifi?

    • @m3chanist
      @m3chanist 7 หลายเดือนก่อน

      @@TheXSairam Nowhere near as straightforward as simply plugging in Ethernet, as he said "right from the start"

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

    Hi sir, can i contact you.

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

    I am writing to invite you to take a video on TH-cam, and you will get these multifunctional voltage tester for free. Looking forward to your reply, we can talk about cooperation in detail.