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 = […]
US-100 Ultrasonic sensor – myscratchbooks https://sites.google.com/site/myscratchbooks/home/projects/project-09-ultrasonic-sensor Using US-100 in Serial Data Mode: Select the operating mode of the US-100 Ultrasonic Distance Sensor by using the jumper on the back of the module. […]
ph testing notes
calibrate PH-4502C pH meter Ask Question 0 I have a pH meter (DIY-4502C) hooked up with Raspberry Pi. However, the instruction to calibrate is in Chinese and seems outdated (https://www.diymore.cc/collections/ph-value-detect-sensor/products/diymore-liquid-ph-value-detection-detect-sensor-module-monitoring-control-for-arduino-m). Does anybody […]