Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Minimal Hardware to program Lopy4 with USB

    Scheduled Pinned Locked Moved Expansion Board
    expansion boardftdiusb
    3 Posts 3 Posters 564 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      ProtonX
      last edited by ProtonX

      Hi
      I would like to build a custom PCB that connects to the Lopy4. Now I need some information about the minimal hardware I need to add a USB-Micro port. I have seen that Pycom uses a custom PIC16 on the Expansion Board V3 (Not very helpful in my case) and an FTDI-IC on the V2. So I guess what I need is the hardware path of the V2 from USB to RX0/TX0 (?).

      Has someone already did this?
      I would be very thankful for some help.

      Kind regards
      ProtonX

      EDIT: Just to be clear... The USB port will only be used to program the lopy4.

      John BairdJ robert-hhR 2 Replies Last reply Reply Quote 0
      • John BairdJ Offline
        John Baird @ProtonX
        last edited by John Baird

        @protonx Hi. When I first started working with Pycom modules I didn’t have a Pycom board for them, so I placed them in a bread board and used a USB to 3.3v TTL converter (similar to this TTL Cable). All I connected was GND / TX / RX and it worked like a charm.

        If you want to make a minimal PCB you might consider keeping the USB interface seperate and just provide a header that cables like this to connect to. Doing so means the modules pretty much stand alone.

        (Note that for flashing new firmware you need to apply a jumper to a particular pin. I just did this with a wire link. You could run that pin to the header as well for ease of use)

        1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @ProtonX
          last edited by robert-hh

          @protonx I made myself a base board too for the Pycom modules. A Kicad sketch is here: https://github.com/robert-hh/Pycom-baseboard
          It uses pre-built modules for USB/Serial and SD card. I did not want to deal with SMD parts, and space did not matter. It also has the espressif logic for activating the bootloader, and jumpers for the connection to Reset, Tx, Rx and P2.
          Not that this costs less than an Pycom expansion board, but it makes fewer troubles when using (no PIC, standard drivers, ..)

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom