USB-C Arduino Nanos? Well... I at Least Tried

Поділитися
Вставка
  • Опубліковано 28 бер 2024
  • Check out PCBWay's services with my referral link here to get high quality manufactured components for your next project! pcbway.com/g/s84cd7
    Hello there and welcome to my video. In today's video, I'll be trying to build some custom Arduino Nanos that have a USB C port natively installed on them. At the same time, I'll also be trying to practice my micro soldering skills, as I've barely done it at all before.
    Music, in order:
    Beyond - Patrick Patrikios
    Soul Searching - Causmic
    Sunny Days - Anno Domini Beats
    Sunday Rain - Cheel
    Papov - Yung Logos

КОМЕНТАРІ • 30

  • @Robotsreloaded
    @Robotsreloaded 2 місяці тому +2

    I liked how you showed your failures so that people can learn from it. I have also started working on SMD atmega8 board and made couple of versions. The first SMD soldering attempt was a huge disaster and the solder tin was all over the PCB. But after 2-3 boards I'm decent at it now. I also had to install minicore bootloader for atmega8 and I remember there was a DTR pin or something which had to be connected through a capacitor for the bootloading process to work. Will let you know after checking my schematics revisions

  • @m3baid
    @m3baid 2 місяці тому +3

    1 year ago I tried for the first time adding a usb-c to an esp32 but I wasn't sure how all these things work so I didn't even pass the schematics. Now after seeing this video I could give it another shot😀. Great video brother.

  • @AnthonyHarrisTechrat
    @AnthonyHarrisTechrat Місяць тому

    "Failure is optimal. It is a way to move forward and to try new things. We have this kind of false pressure on people that they need to succeed on the first try, and that shit is not real. It's okay to fail."
    - Thor Hall, Pirate Software.
    You tried, you failed, you learned, you'll do it better next time.
    Good on you man.

  • @fritzlb
    @fritzlb 2 місяці тому +3

    In theory the classic bootloader should work, according to the datasheet 328p code can run unmodified on 328pb chips. Only the device signature is different, if you enable verbose upload and just copy paste the avrdude commands in a terminal with an additional -F it should work. Once the original bootloader is installed the board should work as a nano in the IDE.
    As for flashing the bootloader that should work with the chip soldered in, else the idea of ISP (in system programming) is kinda pointless. I assume that something on your board is shorted sometimes, maybe excess solder or sth, that would explain the ftdi outages too.
    I’m by no means an expert but I just bought a few PBs cause they’re significantly cheaper and hand soldered them to .1mm copper wire

  • @enty-3035
    @enty-3035 2 місяці тому +5

    there is a clone called AR-NANOCH-UNS-TYPE-C and it is type-c

  • @AttilaAsztalos
    @AttilaAsztalos 2 місяці тому

    Your 100nF capacitor from DTR to RESET is what tripped you up. It's an Arduino-specific kludge to allow resetting the MCU through the serial port to invoke the bootloader when downloading - but it sabotages trying to wiggle the RESET pin quickly which is what's expected when you program an MCU with an external programmer. ALL in-circuit programmable MCUs warn you against placing ANY capacitors on the RESET line for this specific reason - it would screw up the fast transition needed. Also, 1K is a bit low for a RESET pull-up; it works fine during use, but depending on what your external programmer might have on the same line it might start interfering with a proper level on the pin when pulled low. 10K is fine and less intrusive.

  • @thedeester100
    @thedeester100 Місяць тому +1

    m8 do yourself a massive favour and get hot air soldering equipment and paste solder. The solder mask is called that because it repels solder. You hold your components in place. Spread paste across ALL the pins at once then give it the hot air. The solder automatically goes to the pins and pads and is repelled by the solder mask. Soldering the cpu takes about 30 seconds.

    • @CompHwTipsAndTutorials
      @CompHwTipsAndTutorials  Місяць тому +1

      I actually have a hot air reflow station and solder paste, I just chose not to use it today because I wanted to try and improve my skills with the iron. However, the hot air station and solder paste would definitely be the easier way to go about doing something like this in the future!

  • @Pippo.Langstrumpf
    @Pippo.Langstrumpf 2 місяці тому +4

    You need to make it 3.3 Volts too. 5V is outdated. UPDI programming is necessary too.

    • @CompHwTipsAndTutorials
      @CompHwTipsAndTutorials  2 місяці тому +1

      I could consider it, though I'm not trying to make a state-of-the-art microcontroller.

    • @lifeai1889
      @lifeai1889 2 місяці тому +1

      5v is literally the only reason to use Arduino in 2024, now we have much more powerful microcontroller for cheaper like esp32,stm32 clones, ch32x032 which have USB pd

    • @ivolol
      @ivolol 2 місяці тому

      There is no "need". Only "want". Generally you can't run a mega at full speed with 3.3V, and ATMega328PB does not have UPDI interface so it is stupid to suggest that for this project. I think you're suggesting buzzwords you've heard in other videos.

    • @englishrupe01
      @englishrupe01 2 місяці тому

      @@ivolol mmm....buzz.....

  • @mateijordache1952
    @mateijordache1952 2 місяці тому +3

    Why not KiCad?

    • @CompHwTipsAndTutorials
      @CompHwTipsAndTutorials  2 місяці тому

      I want to be better at KiCad and I occasionally work with it, but I've found using it to be so cumbersome and hard personally. It's one of those things where I'll never get better at it if I don't start forcing myself to use it with my designs, but at the moment when I try to design on it, I'm back to making first-grade level circuits and PCBs lol. Someday I can hopefully be better at it!

    • @RyanJardina
      @RyanJardina 2 місяці тому

      Never used anything but kicad very eazy and intuitive, probably have bad habits from crappy software

  • @Pippo.Langstrumpf
    @Pippo.Langstrumpf 2 місяці тому +2

    Why don't you use a stencil with solderpaste. Then put it on a cheap chinese heater plate and everything is perfect.

    • @CompHwTipsAndTutorials
      @CompHwTipsAndTutorials  2 місяці тому +4

      I didn't do that because I was looking for a good way to practice my hand micro soldering skills - mainly for board repairs where putting a PCB on a heater plate isn't doable.

    • @englishrupe01
      @englishrupe01 2 місяці тому

      Yep, he did say that......

  • @Pippo.Langstrumpf
    @Pippo.Langstrumpf 2 місяці тому +1

    I guess your soldering station is crap, or your solder. Use solder flux

    • @CompHwTipsAndTutorials
      @CompHwTipsAndTutorials  2 місяці тому +7

      The board had flux all over it the entire time, it's just really clear flux that isn't very visible. Also, have you considered that maybe I'm just brand new to micro soldering and the gear may not be the issue?