24V switch

From Rsewiki
Revision as of 14:58, 25 March 2019 by Jca (talk | contribs) (→‎RHD)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Switch - intended for a 24V motor with no more than 3-4A continuous current

The box has a microprocessor controllable with a simple set of commands.

power on
power off
power
help

"help" shows the list of commands, when using e.g. putty as a client.

"power" without parameter returns current setting as

"# power is 0\n" or 
"# power is 1\n"

The schematic is as in figure 1.

Figure 1. Schematics for 24V switch. The teensy is a 3.2 (the pin layout is here for a teensy 3.5). The MOSFET is mounted on the PCB, but 1W (5A) should be OK. The fuse is an automotive-fuse, that could be replaced with 10A if close to 5A use.

RHD

The RHD plugin is called 24v_switch and uses the following configuration in rhdconfig.xml

   <switch24v enable="true"
           lib="24v_switch.so.1"
           critical="false"
           device="/dev/ttyACM0"
           debug="0">
   </switch24v>

This should create a write variable for the MRC

usb24vswitch