PY563 | Courses by Prajwal Yashasvi

Lab programs

Hands-on lab programs used in Basics of IoT and Robotics (A5501), grouped by board and topic. Source files are hosted on this site for download; run them on the matching hardware and wiring from your lab manual.

Arduino

TopicProgram
LDR and LEDvce_ldr_similar1.ino
LED and push buttonswitch_with_led_v_cse1.ino
Traffic lights with buttontraffic_light_with_button1.ino
Ultrasonic distanceutrasonic_distance_demo1.ino

Raspberry Pi

TopicProgram
DHT - temperature and humiditymeasure_temp_humidity_Adafruit_DHT.py
LDR - switch LED from light levelswitch_on_led_based_on_light_detected.py
LED toggle (RPi GPIO)led_toggle_RPi_GPIO.py
LED toggle (gpiozero)led_toggle_gpiozero.py
Ultrasonic distance (RPi GPIO)ultrasonic_dist_calc_RPi_GPIO.py
Ultrasonic distance (gpiozero)ultrasonic_dist_calc_gpiozero.py

← Back to Basics of IoT and Robotics