IoT Smart Home Presentation
IoT Smart Home Presentation
• GPIO.setmode(GPIO.BOARD)
• GPIO.setup(8, GPIO.OUT)
• while True:
• GPIO.output(8, GPIO.HIGH)
• sleep(1)
Circuit: Lamp Control
• Using Raspberry Pi to control a 100W, 240V
lamp via Relay Module.
• Ensures safe switching of high voltage load.
Procedure