Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Features

all 14 output ports can supply 500mA simultaneously, in highside mode.

If the module gets too warm, all ports are switched off. This prevents the device from being damaged.

https://revolutionpi.com/forum/viewtopic.php?t=3389

Wiring

Connect The RevolutionPi DIO as in the Following picture

Image Modified

Image Added

  1. connect 12 V - 24 V on X4, on the Bottom of the device

  2. connect 12 V - 24 V on X2 for Input, on the Top of the device

  3. connect 12 V - 24 V on X2 for Output, on the Top of the device

  4. connect all Grounds

  5. connect one port from Output 1 to 14 to the electrical consumer [M], [M] can be a 24V LED

  6. connect the ground from the electrical consumer [M] to the same ground as the RevolutionPi

Connect the extension module with a base module

Connect the RevolutionPi DIO to the RevolutionPi Connect with a PiBridge.

Image Added

PiCtory Configuration

The following describes how to set up the PiCtory configuration to run the DIO in High-Side mode.

For this example, you can use a RevolutionPi Core or Connect. The only difference for this example is which base module is inserted into PiCtory.

Image Added

Set output to high-Side

Image AddedImage Added

Save the config like in the picture below, with “Save as Start-Config“

Image Added

Switching output with piTest from piControl

Check if Device is recognized correctly.

Code Block
piTest -d
Code Block
Found 2 devices:

Address: 0 module type: 105 (0x69) RevPi Connect V1.0
Module is present
     input offset: 113 length: 6
    output offset: 119 length: 5

Address: 31 module type: 96 (0x60) RevPi DIO V1.4
Module is present
     input offset: 0 length: 70
    output offset: 70 length: 18

Control of the DIO continually

Switch Output 1 (0_1)

Code Block
piTest -1 -r O_1
Bit value: 0
piTest -w O_1,1
Set bit 0 on byte at offset 70. Value 1
piTest -1 -r O_1
Bit value: 1

Read Value from Input 1 (I_1)

Code Block
piTest -1 -r I_1 # read one time
piTest -r I_1    # read continuously
Bit value: 1

Image Added