Skip to content

SGBotic/rpi-python-Examples-for-Ultimate-SR04-RGB

Repository files navigation

Python examples for SGBotic Ultimate SR04 RGB Ultrasonic Sensor

03248_github

Python examples for Ultimate SR04 RGB Ultrasonic Sensor, an I2C ultrasonic sensor with illuminate transceiver.

These examples to be run on Python3.

Setup I2C in Raspberry Pi

  • go to Menu >> Preferences >> Raspberry Pi Configuration to enable I2C interface

  • Install “python-smbus” and “i2c-tools”

sudo apt-get update
sudo apt-get install -y python-smbus i2c-tools
  • Scan the connected I2C devices
i2cdetect -y 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages