|
Click
on the image to enlarge it. The two digital I/O and one analogue
input are on this connector and can be controlled or observed by
the above form and the one immediately below.
At reset the digital I/O is set to input, the value of the
individual inputs can be read using the 'Val>' buttons. If they
are not connected to anything they will return random results.
These inputs are useful for limit switched etc. Below is a test
set up that has two LED's connected to the digital lines and an
LDR (Light Dependant Resistor) connected to the analogue input.
Because of the internal 100k pull up resistor on the analogue
input the LDR acts as the lower half of a voltage divider,
darkens should produce a higher reading.
 
Circuit diagram and practical layout on breadboard. |