PiicoDev Distance Sensor VL53L1X - Raspberry Pi Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ค. 2024
  • Let's connect a PiicoDev Distance Sensor to a Raspberry Pi SBC and perform some distance measurements readings. This tutorial will guide you through wiring, uploading example MicroPython code in Thonny, and remixing the example to include new functionality.
    The PiicoDev Distance Sensor uses a VL53L1X which can measure indoor ranges up to about 4m with 1% repeatability!
    Full guide here: core-electronics.com.au/tutor...
    If you have any questions about this content or want to share a project you're working on head over to our maker forum coreelec.io/forum
    Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
    • Raspberry Pi core-electronics.com.au/raspb...
    • Arduino core-electronics.com.au/ardui...
    • Sparkfun core-electronics.com.au/brand...
    • Adafruit core-electronics.com.au/brand...
    • Pololu core-electronics.com.au/brand...
    • DFRobot core-electronics.com.au/brand...
    "PiicoDev" and the PiicoDev Logo are trademarks of Core Electronics Pty Ltd.

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

  • @martinprchal6834
    @martinprchal6834 2 ปีที่แล้ว +5

    This man just saved my ass in my design course, btw this works with a CQ robot sensor with the same exact script

  • @courtneylewis4245
    @courtneylewis4245 ปีที่แล้ว

    Is it possible to read 4 points at once? I work power equipment, and in trying to come up with a concept for deck leveling, need to read 4 points at once with some kind of accuracy in relative real time as we adjust each corner, it's currently manually measured one point at a time and a nightmare because each movement changes the other 3

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

    Good day. I came across your channel during a search of a project I'm working on. I'm a member of a training crew for baseball and softball umpires and we want to build a laser grid, to use during the training. The lasers would be set on a frame, both vertical and horizonal, to build the grid over the width of the plate (17") and also vertical for the height of the zone (which for training purposes would be static). My problem is trying to find out how to build this since both the horizonal and vertical beams would have to be interupped to be considered a strike. A pitched ball over the plate would interrupt the top/bottom laser but if the pitch was up high, it wouldn't break the other laser and thus would be a ball. We want a light to come on only if both beams are broke and would be considered a strike. I have a picture of a frame that was built for the lasers but we can't figure out the circuit boards and programming for the lasers. Please share with me your thoughts if possible. Thanks.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      There are perhaps better offerings out there - "laser safety curtain" might be a good starting point. In any case, the best place for technical questions is our forum: forum.core-electronics.com.au/
      We're full time makers and online every working day!

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

    How to connect the piicodev without the adapter or how do I use the pints 6,8 & 10 once after I attach the adapter to raspberry pi. I need to control a rover with the pins 6,8 and 10 and also want to measure the distance.

    • @Core-Electronics
      @Core-Electronics  2 ปีที่แล้ว

      Hi Jacob! To use without the adapter connect SDA:GP8 and SCL:GP9. If you still want to use the adapter instead you could try using other pins for motor control. It's best to get technical help on our forums: forum.core-electronics.com.au/

  • @jihunchoi5155
    @jihunchoi5155 ปีที่แล้ว

    Is it possible to connect more than one sensors to the adapter (it has four slots) and how the python script would look like?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +1

      It's possible, but a bit tricky: forum.core-electronics.com.au/t/piicodev-laser-distance-sensor-vl53l1x-modules/16250

    • @jihunchoi5155
      @jihunchoi5155 ปีที่แล้ว

      @@Core-Electronics thank you for your answer!

    • @axewkoryu
      @axewkoryu ปีที่แล้ว

      @@Core-Electronics Hello, thank you for the video. Sorry for the beginner question, but what does it mean to drive the SHT pin low to grab the address of each sensor? Would it not turn off the entire Pi? Was wondering if it's possible to read simultaneous input from two sensors.

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

    what level of accuracy can you get with this?

    • @Core-Electronics
      @Core-Electronics  2 ปีที่แล้ว

      Absolute is ±20mm, and the repeatability is ±1% - so really good once you have it zeroed!

  • @Sam-tg4ii
    @Sam-tg4ii ปีที่แล้ว

    So, when your hand is not in front ot the sensor, why do the readings keep changing? Is that inaccuracy?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      The sensor is at the limit of its range and will report *some* data. Within the library there is a data-validity flag that you can query which will indicate this state.

    • @lehrerpoensgen798
      @lehrerpoensgen798 ปีที่แล้ว

      @@Core-Electronics Based on the video I'd assume it is actually measuring the distance to the ceiling (may well be approx. 2 m). The max range given in the specs on your website is 4 m.

  • @rush8028
    @rush8028 ปีที่แล้ว

    would this work with a raspberry pi 3 model b?

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

    What raspberry pi do you use?

    • @Core-Electronics
      @Core-Electronics  2 ปีที่แล้ว

      In this video we're using a Pi 4 Model B

  • @jyvben1520
    @jyvben1520 3 ปีที่แล้ว

    second video, ok, next, third video about ambient light sensor