filmov
tv
Tilt Sensor raspberry Pi

Показать описание
How to Connect Tilt Sensor with Raspberry Pi:
Step-1: Make Connection of Tilt Sensor with Raspberry Pi as mentioned below:
1.1: Connect Vcc Pin of Sensor with 5V Pin of Raspberry Pi.
1.2: Connect GND Pin of Sensor with GND Pin of Raspberry Pi.
1.3: Connect DO Pin of Sensor to Pin 32 of Raspberry Pi. (As Programmed in Code)
1.4: Connect LAN Cable and Power Cable to Raspberry Pi.
Step-2: Make Remote Connection of Raspberry Pi using Putty.
Step-3: Create a new Text file using Nano command and Move code from local system to this file.
Step-4: Now Compile this file Using gcc compiler.
Step-5: Finally Execute this file and check output from sensor.
Step-1: Make Connection of Tilt Sensor with Raspberry Pi as mentioned below:
1.1: Connect Vcc Pin of Sensor with 5V Pin of Raspberry Pi.
1.2: Connect GND Pin of Sensor with GND Pin of Raspberry Pi.
1.3: Connect DO Pin of Sensor to Pin 32 of Raspberry Pi. (As Programmed in Code)
1.4: Connect LAN Cable and Power Cable to Raspberry Pi.
Step-2: Make Remote Connection of Raspberry Pi using Putty.
Step-3: Create a new Text file using Nano command and Move code from local system to this file.
Step-4: Now Compile this file Using gcc compiler.
Step-5: Finally Execute this file and check output from sensor.