Skip to content
A collection of circuit designs for various MCUs, not just Raspberry Pis relating to Model Railroading
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
16DriverOutputCape
16DriverOutputHAT
16DriverOutputOpenMRN
16LEDDriver23017SMD
16PWMLedDriverCape
16PWMLedDriverHat
16PWMLedDriverOpenMRN
16PWMLedDriverPocketBeagle
ABSWithSiding
BBBHalfSiding
ButtonHat
CANHat
CANHat2
CANHat3
CommonOpenMRNExtras
DCCShield
DCCTiva
Documentation
DualUncouplerHAT
DualUncouplerHAT1
ESP32-16LedDriver
ESP32-HalfSiding
ESP32BaseBoard
ESP32MRNSketches
ESP32QuadOCDect
ESP32QuadSMCSense
FullInterlockingPlant
FullInterlockingPlantCAN
FullInterlockingPlantCANPower
LCCCANCape
LEDDriverHat
LinuxHalfSiding
MCP23008Hat
MCP23017Hat
MadHatterPieShop
MegaIOCape
MegaIOHat
MegaIOOpenMRN
MetroMiniABS
MetroMiniABS2-bidir
MetroMiniABS2
MetroMiniABSBiDir-noCANSlave
OctalLEDDriver
PCA9685_OpenMRN
PIC16f59_signalHat
PWMTest
PiJunction_OpenMRN
PocketBeagle16LedDriver
PocketBeagleBaseBoard
PocketBeagleMegaIOBaseBoard
PocketBeaglePWMHalfSiding
PocketBeaglePWMHalfSidingOpenMRN
PocketBeagleQuadOCDect
PocketBeagleQuadSMCSense
QuadOCDectCape
QuadOCDectHat
QuadOCDectOpenMRN
QuadSMC
QuadSMCSenseCape
QuadSMCSenseHat
QuadSMCSenseHatSMD
QuadSMCSenseOpenMRN
QuadSSSQuadIn
QuadSignalDriverCA
QuadSignalDriverCK
QuadUncoupler
QuadWS2811_SignalHead
QuadWS2811_SignalHead_SMD
RPiHalfSiding
RRCircuits-Builder
RaspberryPiJunctionOpenMRNPoster
RaspberryPiJunctionPoster
SMCSenseHAT
SMCSenseHAT1
SPILEDDriverAddOn
STM32ShieldForMetroMiniSlaves
SignalHAT
SignalHat2
TivaInterchange
TivaInterchangeSMD
WS2811_SignalHead
YardBoss
halfsiding_nucleo_io
ovalsidingControl_nucleo_io
.gitignore
74lv125AN.lib
BBBCapeROM.tcl
C1-3V8.mod
CP_Radial_D10.0mm_P5.00mm.kicad_mod
CP_Radial_D4.0mm_P1.50mm.kicad_mod
CP_Radial_D4.0mm_P1.50mm.mod
CP_Radial_D4.0mm_P1.50mm.wrl
CP_Radial_D4_0mm_P1_50mm.mod
CP_Radial_D5.00mm_P2.00mm.mod
CP_Radial_D5.0mm_P2.00mm.kicad_mod
CP_Radial_D5_00mm_P2_00mm.mod
DO15.mod
DUB.mod
DWSLogo.lib
ESP32Boards.mod
KBL.mod
LICENSE
MCP23xxx.lib
MFSOP6.mod
MicroChip.dcm
MicroChip.lib
NewPinArray.mod
PELowProfile.mod
PIN_ARRAY_10X2.mod
PIN_HEADER-8X1.kicad_mod
README.md
RJ45-8N-S.mod
R_0805.kicad_mod
R_0805.mod
SOIC16AC.mod
Screw2.54-10.mod
Screw2.54-2.mod
Screw2.54-8.mod
Screw5.08-2.mod
ScrewTerm2.54-2.kicad_mod
ScrewTerm2.54-8.kicad_mod
ScrewTerm254_10.mod
ScrewTerm254_2.mod
ScrewTerm254_3.mod
ScrewTerm254_4.mod
ScrewTerm254_5.mod
ScrewTerm254_8.mod
ScrewTerm254_9.mod
ScrewTerm_2.54-10.kicad_mod
ScrewTerm_2.54-5.kicad_mod
StackHeaders.mod
TE_282834-2.kicad_mod
TE_282834-5.kicad_mod
TO220_11PIN_VERT.kicad_mod
TO220_11Pin.mod
lm2574n-5.lib
mcp25xxx.lib
mmpq2222a.lib
pin_array_10x2.kicad_mod
pin_header8x1.mod
screw2.54-10.kicad_mod
screwterm2.54-8.kicad_mod
signalheads.mod
sn65hvd233-ht.lib
tbd62x83a.lib
tc442x.lib
uln2803a.lib

README.md

RPi-RRCircuits

These are a collection of model railroad circuits I designed for the Raspberry Pi. All but two use the "HAT" footprint and are meant to be stacked onto a RPi. The other two are "generic" and expect to be connected to 3.3V GPIO pins.

These projects were created using Kicad 2013.06.11 (https://launchpad.net/kicad) under CentOS 6. Each subdirectory is one project, and contains a schematic and PCB design.

There are eight problems, six of them are "HATs" and the other two generic boards meant to be connected to 3.3V logic GPIO pins (typically a batch of 8 with a 3.3V power and ground connection).

The projects are:

  1. DualUncouplerHAT This a dual driver for a electromagnetic uncoupler coil. It features a pair of 555 type timers (in the form of a 556 dual timer) driving a TIP120 power darlington. It uses GPIO pins 21 and 22 (BCM 5 and 6, physical pins 29 and 31).
  2. DualUncouplerHAT1 This is the same as DualUncouplerHAT, except it uses GPIO pins 23 and 24 (BCM 13 and 19, physical pins 33 and 35).
  3. MCP23017Hat This is a 16 pin I2C port expander using a MCP230017.
  4. SMCSenseHAT This is a dual stall motor driver and point sense circuit. The stall motor driver uses a MPQ3725A transistor to allow driving either multiple Tortoises in parallel (eg for a crossover) or newer Switchmaster or Torquemaster which draw more current than the LM324 can handle. Also included is a point sense circuit built from a RS Flip Flop made from 2-input NAND gates. The point sense circuit expects to be connected to a single pole double throw switch, either a built in one in the Tortoise or an external one attached to the points themselves. Uses GPIO 0, 1, 2, and 3.
  5. SMCSenseHAT1 This is the same as SMCSenseHAT, except uses GPIO 4, 5, 6, and 7.
  6. SignalHAT This is a hat containing a MAX7221 driven off level shifted SPI. It can drive up to 8 common-cathode signals of up to 8 LEDs each.
  7. QuadSMC This is a generic quad verison of SMCSenseHAT.
  8. QuadUncoupler This is a generic qad version of DualUncouplerHAT.
You can’t perform that action at this time.