Light dependent resistors are known to be slow to respond. We’ll find out just how slow they are by using an LED connected to a square wave, and measuring the resistance of the LDR using the oscilloscope utility ( Test and Measurement -> Oscilloscope ).
Inertial measurement units such as the MPU6050 can be used to study the motion of mechanical systems. The following code snippet demostrates extracting 3-axis data from the accelerometer, and gyroscope of the MPU6050 sensor
from SEEL import interface # import the module
I=interface.connect() # Connect to the hardware.
from SEEL.SENSORS import MPU6050 # A 3 axis- accelerometer + 3-axis gyroscope + temperature sensor
M = MPU6050.connect() #Connect to the sensor
Ax,Ay,Az,temperature, Gx,Gy,Gz = M.getRaw() #Read all values from the sensor
print (' Ax = %.2f,Ay = %.2f, Az = %.2f , Temperature = %.2f , Gx = %.2f , Gy = %.2f , Gz = %.2f'%(Ax,Ay,Az,temperature,Gx,Gy,Gz) )
Aim : To study the oscillations of
How to make a pulse sensor with a phototransistor, and a bright LED. The SEN input of the SEELablet is connected to a 12-bit voltmeter, and is also connected internally to 3.3V via a 5.1Kohm resistor. A photo-transistor connected between SEN and