10.8 ANALOG SENSORS
x9¸9ø9LEVEL DETECTOR LIGHT OR TEMPERATURE - To measure temperatures or light levels against one level. If measuring temperature the device should be an RTD. If measuring light the device should be a photoresistor (LDR). The value of resistor R1 should be selected to be close to the normal resistance of the device. The potentiometer can be used to make fine adjustments.
RANGE CONTROLLER - Upper/lower range controller. This can be done with a simple a simple flip flop. Two level detector circuits are used for the inputs. The Set value should be the upper range, the reset value should be the lower value. The output can be used to drive a relay, or some other driver.
SINKING SENSOR TO TTL - To convert a sinking sensor to a TTL input. The ratio of resistors R1 and R2 is determined by the ratio between the sensor supply voltage (normally 24V) and the TTL input voltage (normally 5V). The resisto values should probably be between 1K and 10K.
MOTOR REVERSER USING RELAYS - A circuit that allows a motor to be turned on in either direction (safely). The motor on relay can be a single pole single throw (SPST), whilew the reversal relay mst be a double pole double throw (DPDT) relay. The relays should be selected to carry the peak motor currents.
DRIVING A HIGH CURRENT DC LOAD WITH A TRANSISTOR - This circuit can be used for a load that requires a few amps of power, but is being controlled by a low current TTL output. The transistor must be selected so that it can carry the maximum load current. A heat sink should be used if the device will pass a large percentage of the rated current. Note that the voltage loss accross the transistor will be approximately 2V. For a higher current load a Darlington coupled transistor can be used.
SIGNAL VOLTAGE LEVEL REDUCTION - A higher voltage signal can be divided to a lower fraction using a voltage divider. This is only suitable for devices with high impedance inputs and should not be used to reduce battery voltages for motors, or other similar applications. The values of R1 and R2 should probably be about 10K.
SWITCHING AN AC LOAD WITH A SOLID STATE RELAY - AC loads can be controlled with a low current DC output using a solid state relay.
CONNECTING A SOURCING SENSOR TO A TTL INPUT - This circuit will reduce the larger voltage output from a sourcing sensor (typically 24V) to the lower TTL level (typically 5V).
STRAIN GAGE AMPLIFIER - this circuit can be used as a crude strain gage amplifier. The ratio of R1/R2 should be close to the ratio of R3/R4. The trim pot can then be used to make minor adjustments. The values of the remaining resistors can be selected to give a suitable amount of isolation.