Skip to content

janelia-modular-devices/power_switch_controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Information

Name
power_switch_controller
Version
1.0
License
BSD, Open-Source Hardware
URL
https://github.com/janelia-modular-devices/power_switch_controller.git
Author
Peter Polidoro
Email
peter@polidoro.io

Description

This device controls low-side power switches for turning on and off solenoids, relays, and resistive loads.

Images

Usage Instructions

  • Connect a power supply to the power switch controller board.
  • Connect devices to be switched to the shrouded header connectors on the board with either ribbon cables and IDC connectors or individual 2-pin connectors.
  • Connect USB cable to from device to host machine and control over a serial port.

Build Instructions

  • This controller is made from a single 5x3 or 3x2 form factor modular device.
  • This device consists of two pcbs, either the (modular_device_base_5x3) and the (power_switch_controller_5x3), or the (modular_device_base_3x2) and the (power_switch_controller_3x2).
  • In addition to the two pcbs, there is one acrylic mounting plate (modular_device_enclosure 5x3 enclosure_bottom) or (modular_device_enclosure 3x2 enclosure_bottom).
  • Send the zip files containing the gerbers for each of the two pcbs to your favorite pcb manufacturer for fabrication.
  • Using the bill of materials and vendor parts lists order the parts necessary for construction for the two pcbs and the mounting plate.
  • Assemble each of the pcbs using the assembly instructions provided for each.
  • Use the dxf file for the enclosure_bottom to cut the mounting plate from the acrylic sheet using a laser cutter or send the dxf to a laser cutting service for fabrication.

Hardware

power_switch_controller_3x2

Repository Information

Name
power_switch_controller_3x2
Version
1.1
License
Open-Source Hardware
URL
https://github.com/janelia-kicad/power_switch_controller_3x2
Author
Peter Polidoro
Email
peter@polidoro.io

Description

This board controls up to 8 low-side power switches for turning on and off solenoids, relays, and resistive loads.

Images

./images/power_switch_controller_3x2/images/top.png

./images/power_switch_controller_3x2/images/bottom.png

Schematic

./hardware/power_switch_controller_3x2/schematic/power_switch_controller_3x2.pdf

./images/power_switch_controller_3x2/schematic/images/schematic00.png

./images/power_switch_controller_3x2/schematic/images/schematic01.png

Gerbers

Send gerbers zip file to your favorite PCB manufacturer for fabrication.

./hardware/power_switch_controller_3x2/gerbers/power_switch_controller_5x3_v1.1.zip

./images/power_switch_controller_3x2/gerbers/images/gerbers00.png

./images/power_switch_controller_3x2/gerbers/images/gerbers01.png

Bill of Materials

PCB Parts

ItemReference(s)QuantityPartNumberVendorDescription
1C11445-4536-1-NDdigikeyCAP CER 10UF 50V 10% X7S 1210
2C21399-13229-1-NDdigikeyCAP CER 0.1UF 100V X7R 1210
3D11568-11697-1-NDdigikeyDIODE SCHOTTKY 45V 10A CFP15
4D2 D3 D4 D5 D6 D7 D8 D98CMHD3595 CT-NDdigikeyDIODE GEN PURP 150V 150MA SOD123
5L1 L2 L3 L4 L5 L6 L7 L8 L99350-1723-NDdigikeyLED 2MM 24V VERTICAL RED PC MNT
6MDB12S1011E-16-NDdigikey16 Position Header Through Hole Male Pins
7P11CP-063BH-NDdigikeyCONN PWR JACK DC 2.5X5.5 8A T/H
8P21S9187-NDdigikeyCONN HEADR 2.54MM 16POS GOLD SMD
9SW11360-2610-NDdigikeySWITCH SLIDE SPST 0.4VA 28V
10U11TLE7230RCT-NDdigikeyIC SW SMART OCTAL LOWSIDE PDSO36

Supplemental Parts

ItemQuantityPartNumberVendorDescription
132WM2800-NDdigikeyCONN HOUSING 2POS .100 SINGLE
264WM2512-NDdigikeyCONN TERM FEMALE 22-24AWG GOLD
364WM2513-NDdigikeyCONN TERM FEMALE 24-30AWG GOLD
44AKC16H-NDdigikeyCONN IDC SKT 16POS W/POL 15 GOLD
51MC16M-300-NDdigikeyCBL RIBN 16COND 0.050 MULTI 300ft
64APK16B-NDdigikeyCONN IDC PIN 16POS 30AU NO LATCH
732WM2900-NDdigikeyCONN HOUSING 2POS .100 W/LATCH
864WM2570-NDdigikeyCONN TERM FEMALE 22-24AWG GOLD
964WM2572-NDdigikeyCONN SOCKET 24-30AWG CRIMP 30AU
1032WM2533-NDdigikeyCONN HOUSING MALE 2POS .100
1164WM2566-NDdigikeyCONN PIN 24-30AWG CRIMP 30GOLD
1264WM2567-NDdigikeyCONN TERM MALE 22-24AWG GOLD

Vendor Parts Lists

./hardware/power_switch_controller_3x2/bom/digikey_parts.csv

./hardware/power_switch_controller_3x2/bom/supplemental_digikey_parts.csv

Supplemental Documentation

Assembly Instructions

  • Solder header pins into the driver board, making note of TOP label. Insert header pins on bottom of board so that the long unsoldered header pins point down when the TOP label faces up.
  • Solder surface mount and through hole components onto the pcb.

power_switch_controller_5x3

Repository Information

Author
Peter Polidoro
License
Open-Source Hardware

Firmware

PowerSwitchController

Library Information

Name
PowerSwitchController
Version
2.1.3
License
BSD
URL
https://github.com/janelia-arduino/PowerSwitchController
Author
Peter Polidoro
Email
peter@polidoro.io

Description

Modular device power switch controller library.

API NAMES

{
  "id": "getApi",
  "result": {
    "firmware": [
      "PowerSwitchController"
    ],
    "verbosity": "NAMES",
    "functions": [
      "setChannelOn",
      "setChannelOff",
      "setChannelsOn",
      "setChannelsOff",
      "toggleChannel",
      "toggleChannels",
      "toggleAllChannels",
      "setAllChannelsOn",
      "setAllChannelsOff",
      "setChannelOnAllOthersOff",
      "setChannelOffAllOthersOn",
      "setChannelsOnAllOthersOff",
      "setChannelsOffAllOthersOn",
      "getChannelsOn",
      "getChannelsOff",
      "getChannelCount",
      "saveState",
      "recallState",
      "addPwm",
      "startPwm",
      "stopPwm",
      "stopAllPwm",
      "setPower",
      "getPowers"
    ],
    "parameters": [
      "channel",
      "channels",
      "state",
      "delay",
      "period",
      "on_duration",
      "count",
      "pwm_index",
      "channel_group",
      "power"
    ],
    "properties": [
      "states"
    ]
  }
}

API GENERAL

./firmware/PowerSwitchController/api/

Ancestors

https://github.com/janelia-arduino/ModularServer

https://github.com/janelia-arduino/ModularDeviceBase

Clients

Devices

https://github.com/janelia-modular-devices/modular_device_base.git

https://github.com/janelia-modular-devices/power_switch_controller.git

More Detailed Modular Device Information

https://github.com/janelia-modular-devices/modular-devices

Installation Instructions

https://github.com/janelia-arduino/arduino-libraries

About

Low-side power switches controller.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •