We no longer sell products directly from the GHI Electronics website, click here for more details. Please find a Distributor to complete your online order. If you have any questions regarding this notice please contact us at support@ghielectronics.com.

Load Module

Last modified August 20, 2014

Load Module

Required

Tutorials: First NETMF Project, Namespaces

Introduction

The Load module is useful for controlling relays, motors, solenoids, pumps, or anything under 3A/50V. The module also includes diodes needed to protect the system against conductive loads.

Warning

It is very important connect the circuit correctly, especially the protection diodes. Failure to wire the diodes correctly with an inductive load will cause damage to the system, including the mainboard.

Wiring the circuit

The Load Module is basically just a digitally controllable switch that is capable of up to 3A at 50V. The device that is being controlled from the Load module needs its own power source.

The first step is to connect the power supply's positive line to the device you want to power (in our case, this is a motor). Then connect the power supply ground to the GND pin on Load module. You are now left with one free wire from the motor which needs to be connected to one of the 7 controllable pins. Do NOT power anything up just yet.

The setup above is complete and will turn the the motor on and off but the motor is an inductive load and will cause some spikes on the the circuit that may cause damage to the rest of the system. To solve this, the Load Module circuit includes seven diodes, one for every control point. These diodes need to be connected across the motor pins. This is simply done by connecting the supply positive pin (now connected to motor) to the pin labeled SRG, as shown below.

If this is being used with a relay then it is not important how the two relay wires are connected. Connecting them in reverse will work as well. When using a motor, these wires determine the direction of the motor. It is not possible to use the Load module to reverse the motor in software or to control the motor speed.

Setting the state

The below code shows how to set the state of each of the 7 ports on the module. True sets the output to high while false sets it to low.

namespace your_namespace
{
    public partial class Program
    {
        private void ProgramStarted()
        {
            this.load.P1.Write(true);
            this.load.P2.Write(false);
            this.load.P3.Write(true);
            this.load.P4.Write(false);
            this.load.P5.Write(true);
            this.load.P6.Write(false);
            this.load.P7.Write(true);
        }
    }
}
Leave feedback about this document.
Let us know if the information presented here was accurate, helpful and if you have any suggestions.
Leave feedback about this document.
Let us know if the information presented here was accurate, helpful and if you have any suggestions.

* Indicates required fields.
This form is only for feedback not support.
Review our how to find information guide on locating helpful resources.