Introduction To Raspberry Pi
Introduction To Raspberry Pi
Introduction To Raspberry Pi
RASPBERRY PI
LEARN ABOUT RASPBERRY PI
• INTRESTING TO LEARN RASPBERRY PI
• IT IS A MICROPROCESSOR
• IT IS A MINI COMPUTER
Arduino and Raspberry Pi
RASPBERRY PI
STEP 1
INSTALL ALL SOFTWARE FOR RUN THE
RASPBERRY PI DETECT THE IP
ADDRESS FOR
RASPBERRY
CONNECT THE IP
ADDRESS TO ENABLE
THE SSH TO OPEN
THE VNC VIEWER
TO FORMAT THE SD
CARD
FOLDER FOR OPEN
THE VNC VIEWER
FOR OPEN THE
RASPBERRY PI
FORMAT SD CARD
AND WRITE THE
SD CARD
STEP 2
Server
and password
import time
while GPIO.input(ECHO) == False:
start = time.time(1)
GPIO.setmode(GPIO.BCM)
while GPIO.input(ECHO) == True:
TRIG = 4 end = time.time(0)
ECHO = 18
sig_time = end-start
GPIO.setup(TRIG, GPIO.OUT)
#cm:
GPIO.setup(ECHO, GPIO.IN) distance = sig_time /0.000058