Difference between revisions of "Additional DIO-Boards of the DCi Control Electronics"

From Wiki
Line 16: Line 16:
  
 
# Edit the file <code>\home\root\TinyCtrl\Data\Projects\EmbeddedCtrl.prj</code>
 
# Edit the file <code>\home\root\TinyCtrl\Data\Projects\EmbeddedCtrl.prj</code>
 +
# In that file, find the entry <code><DIOModule ID="112"/></code>

Revision as of 10:46, 21 November 2018

The DCi Robot is shipped with one DIO module as standard. Should you require additional digital inputs and outputs, two additional DIO modules can be added. The hardware installation is simple, however, you need to get access to the underside of the robot.

Hardware installation

If there is only the standard DIO module installed, bridge the second pin-set of header K5 as shown in figure 1 using the jumper supplied with the module. (If there are already two DIO modules installed, bridge pin-pair 3 of K5.)

Figure 1: To configure the second DIO module, bridge the second pin-pair of K5 as shown here.
  1. Bring the robot into the referencing position, so that you can later turn it on its side.
  2. Turn off the robot and disconnect from power source.
  3. Turn the robot on its side. Once flipped one its side. You will see the electronics modules installed in the robot.
  4. Remove the four M3 hex nuts from one of the exposed modules and connect the four stand-off hex spacers supplied with the new DIO module.
  5. Now carefully insert the module while making sure that the bus connector lines up and all pins get inserted into their socket counterparts (figure 2).
    Figure 2: Install M3x12mm hex stand-offs and then the new module, making sure that the bus connector lines up and all pins are inserted into the sockets.
  6. Fix the module using the existing M3 lock nuts.

Software configuration

If you were to switch on the robot after the hardware installation, you would notice that the green LED of the newly installed DIO module is not flashing. That means that The software is currently not communicating with that module.

To fix that, you need to get FTP or Putty access to the embedded linux board. FTP access is described in Section 1 and 2 of the document available here: FTP_and_putty_Access

  1. Edit the file \home\root\TinyCtrl\Data\Projects\EmbeddedCtrl.prj
  2. In that file, find the entry <DIOModule ID="112"/>