{"product_id":"ultrasonic-distance-sensor-with-i2c-interface-rcwl-1601","title":"Ultrasonic Distance Sensor with I2C Interface - RCWL-1601","description":"\u003cp\u003eIf you're like me, you've dreamed of being a dolphin - smoothly gliding through the water. Using your echo-location abilities to detect tasty fish treats. Until genetic modifications catch up with our desires, we'll just have to make do with these handy \u003cstrong\u003e3V Ultrasonic Sonar Distance Sensors with I2C Interface \u003c\/strong\u003eand a pair of flippers. These ubiquitous sensors are really common in robotics projects, but they can also be used for automation, interactive art and motion sensing. They work at about 2cm to 450cm away, but we think 10cm-250cm will get you the best results.\u003c\/p\u003e \u003cp\u003eThese sensors are fast, fairly easy to use, and low cost. Unlike the more common HC-SR04 series, \u003cstrong\u003ethis model can be powered by 3V \u003cem\u003eor\u003c\/em\u003e 5V\u003c\/strong\u003e and the logic level will be the same. This makes this model great for use with just about any microcontroller or microcomputer. And this sensor has been set up to use \u003cstrong\u003eI2C\u003c\/strong\u003e instead of trigger\/pulse or UART.\u003c\/p\u003e \u003cp\u003eThe I2C interface is very simple: the sensor listens on 7-bit address 0x57 (address cannot be changed). After writing a '1' to I2C to start a ranging session, wait a few milliseconds, then read the 3 byte response which is appended together for the distance in um (divide by 1000 to get mm). Pin order from Left to Right: Power, SCL, SDA, Ground - also written on the top of the PCB. Note that there are no built-in pullup resistors so we toss in two 10Ks for you to wire it up on a breadboard.\u003c\/p\u003e \u003cp\u003eWe noticed that while this sensor does work with I2C it's not very 'friendly' -\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eit doesn't like to share the I2C bus, we think it gets confused by other commands and can lock up the bus.\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eSo best used when you either don't have other I2C sensors or devices, or there's more than one I2C bus. Still, despite this restriction, we think it's probably still useful for some folks who are using a microcomputer or controller that can't do fast GPIO toggling for trigger\/pulse or don't have a hardware UART available. \u003c\/p\u003e \u003cul\u003e \u003cli\u003eIf you need a version that also works with 3.3V power and logic, and has a UART output as well as temperature reading, check out the US-100!\u003c\/li\u003e \u003cli\u003eIf you want the tried-and-true 5V-only HC-SR04 we have that in stock here.\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003eYou can use this sensor with Arduino, CircuitPython (for microcontrollers) or Raspberry Pi.\u003c\/p\u003e \u003cp\u003eWe carry a large variety of distance sensors here if this fellow isn't what you're looking for.\u003c\/p\u003e \u003cp\u003e\u003ciframe width=\"562\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/_B_sUl1k6rY?start=77\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e \u003ch2\u003eSpecifications\u003c\/h2\u003e \u003cul\u003e \u003cli\u003eDimensions: 40.0mm x 18.0mm x 15.6mm\u003c\/li\u003e \u003cli\u003eWeight: 6.5g \/ 0.2oz\u003c\/li\u003e \u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":43643732656189,"sku":"jku1789692818380","price":4.04,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0658\/9716\/8957\/files\/ultrasonic-distance-sensor-with-i2c-interface---rcwl-1601_1.jpg?v=1789692822","url":"https:\/\/laser-engraved-clasp.shop\/products\/ultrasonic-distance-sensor-with-i2c-interface-rcwl-1601","provider":"My Store","version":"1.0","type":"link"}