Lego + Arduino, Mobile Robotics Platform

From ROBOTC API Guide
Jump to: navigation, search
ArduinoArduino Tutorials and Guided Projects → Lego + Arduino, Mobile Robotics Platform

Platform base


Using LEDs


Robot Motion


Touch Sensor


Ultrasonic Sensor

Notepad.gif NOTE: ROBOTC does not currently support the Lego Sonar (Ultrasonic) sensor.



Proportional Control


Passive Light Sensor

Notepad.gif NOTE: The Lego light sensor is not working well as a passive sensor - it can't register values much brighter than room ambiance, even under the bright incandescent lights. It's fine in the dark though.


Light Sensor


Sharp IR Sensor


Encoders