Nodes Documentation

Input

  • Analog Sensor
  • Circuit Touch
  • IR Proximity
  • Light Sensor
  • Sonar
  • Squeeze Sensor

Brains

  • Converter
  • Gate
  • List
  • Randomizer
  • Sequence
  • Wave

Output

  • Buzzer
  • Continuous Servo
  • Dual Color LED
  • Key Press
  • Key Sequence
  • LED
  • Servo Motor
  • Voltage Output

LED

LED

Node to control Light Emitting Diodes (LEDs). It both controls LEDs permanently connected to the Quirkbot like the Eyes, or external LEDs you attach to the Arms, Legs, and Head. (Also works with the backpack pins if you are building your own backpack.)

Connections

Inputs

  • light
    • Range: 0 - 1
    • Set brightness of the LED:
      0=Off
      1=Max
      0.5=Half brightness
  • place
    • Values: any place
    • Choose where the LED is placed. (See: List of Places for more info.)

Example CODE

  • Example Code
    • Blink Left Eye of the Quirkbot

Hardware

Single color LEDs

Comment

You can use almost any 3mm or 5mm LED with the Quirkbot, just cut the leads to the right length. (See hardware documentation: LEDs (soon!))

Learn more

The change in brightness of the LED is achieved by a method called PWM (Pulse Width Modulation). There are many YouTube videos and tutorials explaining this concept, like the beginning of this video.