Category: Uncategorized

SR04 program

import RPi.GPIO as gpio import time def distance(measure=’cm’): try: gpio.setmode(gpio.BOARD) gpio.setup(12, gpio.OUT) gpio.setup(16, gpio.IN) gpio.output(12, False) while gpio.input(16) == 0: nosig = time.time() while gpio.input(16) == 1: sig = time.time() tl = […]

MPU9250

Adafruit 9-DOF or other accelerometer/magnetometer/gyroscope sensor for Raspberry PI 2/3 with Windows IoT Ask Question 1 1 I’m really new to both Raspberry and the whole electronics world: I’m experimenting with the […]

imu notes

Adafruit 9-DOF or other accelerometer/magnetometer/gyroscope sensor for Raspberry PI 2/3 with Windows IoT Ask Question 1 1 I’m really new to both Raspberry and the whole electronics world: I’m experimenting with the […]