dS378
dS378
User Manual v2.19
Naming I/O's
The I/O Names tab is used to assign meaningful names to the I/O terminals.
As with relay names these may be up to 20 characters long, but do check it looks ok on a
mobile device or whatever you are using to control the module.
The I/O types box allows you to select the type of I/O you want.
The two digital modes are the same except for “Digital No-Pullup” the passive pullup resistor is
turned off and for “Digital With Pullup” it is turned on. The no-pullup option is useful for
connecting to digital circuits (3.3v or 5v) that supply the input voltage. The with pullup option
turns on a weak pull up to 12v (actually nearer 7-8v because of the input design). This is
useful for directly connecting volt free contacts such as relay contacts or switches. They are
connected between the pin (P) and ground (0v).
To use as inputs, make sure the output drive is off or the NPN transistor will drive the output
low. The NPN transistor can sink about 100mA.
The analogue mode converts the input voltage to a digital number in the range 0-1023 (10-bit
conversion). The input voltage range is 0-3.3v.
When you have changed I/O types wait for the “Update Pending” light to go out and press the
reset button, as new I/O modes are set on power-up.
Copyright
© 2016-2017,
Devantech Ltd.
All rights reserved.
16
www.pishrobot.com