Protecting AVRs from an FTDI Cable (EP 57)

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 16

  • @4DRC_
    @4DRC_ 9 месяцев назад

    I love the little breakout boards. I hate wasting gates and op amps, so being able to use SMD individual circuit packages on a breadboard is nice.

  • @blueeengineer4373
    @blueeengineer4373 8 месяцев назад

    thanks and follow up question, what should be done if the interface is half-duplex, one-wire or single IO data pin ?

  • @MK-ge2mh
    @MK-ge2mh 10 месяцев назад +3

    Thank you, doctor, for your diagnosis. This problem plagues me, as well. Not with AVR, but with an 8-bit computer of my own design (HD63C09) using an MC68681 UART. If my hobby computer is powered and then I hook the FTDI to the UART before plugging it into the USB on my PC, it resets the little computer. Same if I pull out the USB before removing the FTDI from the UART.
    This seems like a bad design. I’ve never had this problem with other USB-TTL interfaces.

  • @grhinson
    @grhinson 10 месяцев назад +2

    Is optically isolating the variable of 3.3V and 5V together in one board an issue?

    • @theantipope4354
      @theantipope4354 9 месяцев назад

      Optoisolators are often too slow for comms work, plus they're way more expensive than OC/OD buffer chips, & in this kind of application, the pull-up resistors on the buffers take care of the voltage conversion for you.

  • @RensePosthumus
    @RensePosthumus 10 месяцев назад +3

    Your (and mrs Plague ;-)) video's are always fun and a good way to start the day. Thnkx.

  • @alexstone691
    @alexstone691 9 месяцев назад +2

    This reason is i wish i had optical isolators for UART, but from what i've seen its a pain to implement at any reasonable speed

    • @roygwinn2
      @roygwinn2 9 месяцев назад +1

      TLP2361 opto. Works a treat, even at 115200 baud.

  • @Stabby666
    @Stabby666 10 месяцев назад +2

    I do something similar but just using a couple of diodes. As the UART only pulls low, I have the anodes connected to the RX sides, with a pullup from that side's power source. It does mean that the LOW pulse doesn't quite go to GND, but it's good enough :)

    • @theantipope4354
      @theantipope4354 9 месяцев назад

      It'll work with short cables at low(ish) speeds, but it'll make the link more susceptible to noise / errors. If you start getting errors every now & then, that'll probably be the reason.

    • @Stabby666
      @Stabby666 9 месяцев назад

      @@theantipope4354 I use this exclusively on PCB designs and have reached speeds of almost 1M baud between devices this way. Best to use Schottky diodes, but it saves board space and cost generally.

  • @retronexusnet
    @retronexusnet 10 месяцев назад +1

    you are back!

  • @PeetHobby
    @PeetHobby 9 месяцев назад +1

    The issue is that none of the internal protection circuits will be powered, in theory, that is. However, in practice, that AVR will be powered via the GPIO pin and will probably run your program. 😄

  • @yomboprime
    @yomboprime 10 месяцев назад +2

    Until now I just powered from the computer while programming.

  • @gcewing
    @gcewing 9 месяцев назад +2

    Anyone else see the cat at 6:54?

  • @EdwardYamunaque
    @EdwardYamunaque 10 месяцев назад +1

    Me gustó