In this tutorial we build a tool that enables you the measure the amount of light. For this we use a phototransistor that is connected to the Dwengo board. You learn how to connect analog sensors to the Dwengo board and how to use the built-in ADC module (Analog to Digital Converter).
In this tutorial we explain step by step how to generate a PWM signal (Pulse Width Modulation) using a timer driven interrupt routine. This PWM signal can for example be used to drive a servo. Besides some extra knowledge about the microcontroller you will have a working light tracker, after completing this tutorial!
Sensors exist in many shapes and forms. This makes it hard to find the right sensors to build, for instance, a robot. In this document, we provide some information on different types of sensors and how to connect them to the Dwengo Board.