Instructions

  • Click on the components to start interacting with them in the connection area
  • Hover over the Raspberry Pi connections to get information about various connection pins
  • Double click on various connection points to make connections
  • Double click on empty space in the connection area to extend and bend wire connections

How to Connect

connection_diagram
  1. Connect a wire from any GPIO pin on the Raspberry Pi to the anode (longer, positive leg) of the LED.
  2. Attach one end of a resistor to the cathode (shorter, negative leg) of the LED.
  3. Link the other end of the resistor to any GND pin on the Raspberry Pi.
  4. After completing the circuit connection, click the "Code" button, submit the code by entering the corresponding pin number, and observe the circuit’s operation.

Connections Logs

    Raspberry Pi
    Led bulb
    Resistor

    CONNECTOR INFO
        import time
        LED_PIN = 
        GPIO.setmode(GPIO.BCM)
        GPIO.setup(LED_PIN, GPIO.OUT)
        LED_COLOR = 
        try:
        GPIO.output(LED_PIN, GPIO.HIGH)
        time.sleep(  )
        GPIO.output(LED_PIN, GPIO.LOW)
        time.sleep( )
        except KeyboardInterrupt:
        GPIO.cleanup()