Interconnecting 5V and 3V serial devices - tutorial (#96)

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

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

  • @visualkandi
    @visualkandi 6 лет назад

    Congratulations Martyn, 1K!
    I have a very similar board keeping the peace between a Raspberry pi and an Uno, now I understand 'how' it works :0) Great to see that petulant little frequency generator get owned again, thanks for sharing the code.
    Thank you and well done on the subs!

  • @gartmorn
    @gartmorn 6 лет назад +1

    I have some level shifting boards tucked away somewhere which I believed use opto couplers but now I'll have to look them out and check!

  • @hycron1234
    @hycron1234 5 лет назад +2

    Cool, this is exactly what I needed.🙂

  • @normanharrison1967
    @normanharrison1967 6 лет назад

    Thanks for another clear video. I used a similar device to connect an old Raspberry Pi to the XY-LPWM to make a touch screen controller for my lathe powered by a 2.25hp treadmill motor with an MC2100 controller. Great for setting up and testing. But, 1% steps equate to about 60rpm on my gearing so about to replace the XY-LPWM with Arduino for finer control - not essential but nice. Keeping the Pi touch screen (7" Elecrow 1024×600) front end.

    • @MartynDavies
      @MartynDavies  6 лет назад

      Yes, I think for a lot of purposes the Arduino could give more precision, but I think I'm drawn to this unit because of the attractive back-lit display and of course its low cost. It's a shame that the code on the XY-LPWM is not in the public domain so that we could mess with it.

    • @normanharrison1967
      @normanharrison1967 6 лет назад

      The display was very useful in calibrating the touch screen settings. I had thought I might stick with the XY-LPWM and, because there is no access to their software, get intermediate values by switching rapidly between adjacent % values. But at the moment I am using a UNO as I can then run a hall effect tachometer and leave the Pi just handling the touch screen interface. Thanks to your video I now understand how the signal level converter works. Have you ever done something similar for connecting a PNP Hall effect switch to Arduino?

    • @MartynDavies
      @MartynDavies  6 лет назад

      I do have some hall effect sensors, but so far haven't done a video

  • @geirha75
    @geirha75 2 года назад

    Is the level shifter power supplied? I only see the GND connected. There are only 3 wires from both sides connected.

    • @MartynDavies
      @MartynDavies  2 года назад

      I spend some time at 11:24 showing how the level shifter works

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

    Thank you 👍

  • @beebeesfuntasticadventures6110
    @beebeesfuntasticadventures6110 5 лет назад

    very nice video my friend.