Voltage Comparator

March 20th, 2008 by Robot Technology | 3 Comments | Filed in Electronics, Robotics Tutorial

In electronics, a comparator is a device which compares two voltages or currents and switches its output to indicate which is larger. More generally, the term is also used to refer to a device that compares two items of data. Output voltage will “switch” whenever the input voltage (at the inverting input) reaches the reference voltage Vref (at the non-inverting input). It is very useful for comparing signals and working with sensors

Simple comparator shown below:

Note that R2 and R1 form a voltage divider. Use a potentiometer in place of R2 for an adjustable reference voltage.

Comparator cicuits can be built with opamps, but there are also comparator ICs with large slew rates and short propagation delays – good for high speed switching.

A dedicated voltage comparator will generally be faster than a general-purpose op-amp pressed into service as a comparator. A dedicated voltage comparator may also contain additional features such as an accurate, internal voltage reference, an adjustable hysteresis and a clock gated input.

Tags: , , , , , , , ,

Line Follower Sensor

March 20th, 2008 by Robot Technology | 4 Comments | Filed in Sensors

The circuit diagram for the Line Follow Sensor board is shown below:

The board is connected directly to the Light IO board via PL4.

This circuit is very simple. +5V is applied via PL4 pin 4 to the circuit, and 0V is connected to pin 1 of PL4. When power has been applied, which is controlled by the processor1 board, Infra-Red LEDs D1 and D2 will emit Infra-Red light. If you

Tags: , , , , , , , , , , , , ,