Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

RPi-RRCircuits

This is a collection of Model Railroad open hardware and open source projects, using LCC, OpenMRN, and OpenMRN-lite, for the following MCUs and SBCs:

Raspberry Pi, generally as HATs for the "B" flavors (RPi2B, RPi3B and RPi4B). (Directories with "HAT" at the end are for these boards.)

Beagle boards, including capes for BeagleBone Black and baseboards for PocketBeagles. (Directories with "CAPE" at the end are for BeagleBone Blacks, directories starting with "BBB" are also boards for the BeagleBone Black, directories starting with "PB" or "PocketBeagle" are for the PocketBeagles - these boards assume male header pins soldered to the bottom of the PocketBeagle that insert into female header sockets on the base board.)

ESP32 (mostly meant for the Lilygo TTGO-T1 board) (Directories starting with "ESP32" are for this board.)

There are a few projects for other boards, including MetroMini (an Adafruit mini board that is a Arduino UNO clone), Tiva, and STM's Nucleo board. The directory names will include the name of the board.

Directories ending in OpenMRN contain the Raspberry Pi and Beagle board software for the various boards.

These projects were created using Kicad 2013.06.11 (https://launchpad.net/kicad) under CentOS 6 and Kicad 4.0.7 under Ubuntu 18.04. Each subdirectory is one project, and contains a schematic and PCB design or contains a program for one (or more) projects. There is also software for the boards using OpenMRN (C++ library for OpenLCB/LCC) for these projects.

There is a README in each project dir.

Availble Projects:

  1. 16DriverOutputCape

    This is a MCP23017 with two octal buffers meant to drive 16 LEDs (such as signal lamps). No PWM or special effects. This board is a Cape for a BeagleBone Black or Green. Has address jumpers for the MCP23017 and can be stacked -- up to 8 of these capes for up to 128 LEDS -- each board has power terminals for the LEDs.

  2. 16DriverOutputHAT

    This is a MCP23017 with two octal buffers meant to drive 16 LEDs (such as signal lamps). No PWM or special effects. This board is a HAT for a Raspberry Pi 2, 3, or 4. Has address jumpers for the MCP23017 and can be stacked -- up to 8 of these hats for up to 128 LEDS -- each board has power terminals for the LEDs.

  3. 16DriverOutputOpenMRN

    The is the OpenMRN (OpenLCB/LCC) program code for the 16DriverOutput HAT or Cape boards. Can be build on either a BeagleBoard or a Raspberry Pi for either.

  4. 16LEDDriver23017SMD

    This is a SMD variant of 16DriverOutputHAT.

  5. 16PWMLedDriverCape

    This is a PCA9685 with two octal buffers meant to drive 16 LEDs (such as signal lamps). This board is much like 16DriverOutputHat, but uses a PWM chip to allow for special effects and allows for brightness adjustment. Has address jumpers for the PCA9685 and can be stacked -- up to 64 boards (WOW) for up to 1024 LEDs (WOW) -- each board has power terminals for the LEDs.

  6. 16PWMLedDriverHat

    This is a PCA9685 with two octal buffers meant to drive 16 LEDs (such as signal lamps). This board is much like 16DriverOutputHat, but uses a PWM chip to allow for special effects and allows for brightness adjustment. Has address jumpers for the PCA9685 and can be stacked -- up to 64 boards (WOW) for up to 1024 LEDs (WOW) -- each board has power terminals for the LEDs.

  7. 16PWMLedDriverOpenMRN

    This is the OpenMRN (OpenLCB/LCC) program for the 16PWMLedDriver* boards (RPi Hat, BBB Cape, and PocketBeagle board). Can be build on either a BeagleBoard or a Raspberry Pi for either.

  8. 16PWMLedDriverPocketBeagle

    This is a PCA9685 with two octal buffers meant to drive 16 LEDs (such as signal lamps). This board is much like 16DriverOutputCape, but uses a PWM chip to allow for special effects and allows for brightness adjustment. Has address jumpers for the PCA9685, includes a CAN transceiver with LCC network connectors (RJ45s), 5V power supply for the PocketBeagle, and uses LCC power for the LEDS. It uses female headers for the PocketBeagle (presumes male pin headers soldered to the underside of the PocketBeagle).

  9. BBBCommandStation

    Early BeagleBone Black LCC/DCC Command Station board set -- two boards, a cape and a power board. Does not include RailComm support.

  10. BBBCommandStationOpenMRN

    This is the program for the Beagle Board LCC/DCC/Railcom command station. It uses OpenMRN to interface with tha LCC/OpenLCB network to implement a LCC/OpenLCB aware command station node that can operate DCC/Railcom locomotives. It should work with any of the Beagle Board addon boards I have designed. It uses the AM335X's PRUs to generate the DCC signals. It ises the OpenMRN Console class to communicate over a Tcp/Ip channel with a Tcl/Tk coded GUI program to provide a user friendly point-and-click high level user interface.

  11. BBBHalfSiding

    Early HalfSiding cape for the Beagle Bone Black. A somewhat all-in-one board for the Beagle Bone Black to manage one half of a siding. This something of a "kitchen sink" board and proably awkard in practice. Probably better off stacking several separate special purpose capes. I mostly did this as a "thought experiment" to see what this would look like. Oh, if it used SMD parts it might be more compact and might be practical as a single board.

  12. ButtonHat

    This is a RPi HAT board to interface up to 12 push buttons with hardware debouncing (using 74ahc14 Hex Schmitt-Trigger Inverters) to a RPi. Jumpers are used to map the buttons to GPIO pins. This was a simple "thought experiment" to see if this was possible.

  13. CANHat

    This is the original CAN Hat, using the MCP2515 CAN IF Chip and a MCP2551 transceiver chip.

  14. CANHat2

    This is the second incarnation of the CAN Hat, also using the MCP2515 and MCP2551 chips.

  15. CANHat3

    This is the third incarnation of the CAN Hat, also using the MCP2515 and MCP2551 chips.

  16. DCCOD_SMD

    Single current sensing occupancy detector, meant for ESP32-16xDCCOD or simular. Meant as a thought experiment to see what this would cost, etc.

  17. DCCShield

    Simple DCC driver shield for Arduino.

  18. DCCTiva

    Simple DCC Driver board for Tiva.

  19. 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).

  20. DualUncouplerHAT1

    This is the same as DualUncouplerHAT, except it uses GPIO pins 23 and 24 (BCM 13 and 19, physical pins 33 and 35).

  21. ESP32-16LedDriver

    16 on/off LED Driver board using a MCP23017.

  22. ESP32-16PWMLedDriver

    16 LED PWM driver board using a PCA9685.

  23. ESP32-16xDCCOD

    Backplane for up to 16 DCCOD_SMD's using a ESP32 MCU. Meant as a thought experiment to see what this would cost, etc.

  24. ESP32-HalfSiding

    First draft of a ESP32 HalfSiding node using a MCP23017 on/off signal lamps.

  25. ESP32-MultiFunction

    This is a circuit board that supports an ESP32 Dev Kit board or TTGO-T1 board to manage a range of possible interlocking plants or other model railroad situations. It contains four stall motor drivers with point sense, four CT Coil type occupancy detectors, four Schmitt-Trigger inputs (for push buttons), four driver outputs, and 16 PWM LED drivers.

  26. ESP32-PWMHalfSiding

    This is a circuit board that supports an ESP32 Dev Kit board or TTGO-T1 board to manage one half (one end) of a siding. This board can also be used to manage two bi-directional single track ABS blocks or one bi-directional dual track ABS block. There are other trackwork cases this board can handle as well.

  27. ESP32-PWMHalfSidingSMD

    This is a circuit board that supports an ESP32 Dev Kit board or TTGO-T1 board to manage one half (one end) of a siding. This board can also be used to manage two bi-directional single track ABS blocks or one bi-directional dual track ABS block. There are other trackwork cases this board can handle as well.

  28. ESP32ABSBoard

    ESP32 ABS (Automatic Block Signal) board. Very simple board: one block detector, 8 LED drivers.

  29. ESP32BaseBoard

    ESP32 Base board. Base starting point for a ESP32 node.

  30. ESP32MRNSketches

    ESP32 Arduino / OpenMRNLite sketches for the ESP32 boards.

  31. ESP32QuadOCDect

    ESP32 Quad Occupancy Detector node.

  32. ESP32QuadSMCSense

    ESP32 Quad Stall Motor w/ sense node.

  33. LCCCANCape

    LCC/CAN Transceiver Cape for the Beagle Bone.

  34. LEDDriverHat

    Eight LED drivers. Jumpers to select GPIO pins.

  35. MCP23017Hat

    This is a 16 pin I2C port expander using a MCP230017.

  36. PBCommandStation

    Original through hole version of the Pocket Beagle LCC/DCC Command Station. This design is depreciated -- see PocketBeagleCommandStation and PocketBeagleCommandStation_SMD for a current design.

  37. PocketBeagleCommandStation

    Through hole version of the PocketBeagle LCC/DCC Command Station. See PocketBeagleCommandStation_SMD for a SMD version.

  38. PocketBeagleCommandStation_SMD

    SMD version of the PocketBeagle LCC/DCC Command Station.

  39. PocketBeagleMultifuntion

    This is a circuit board that supports a PocketBeagle board to manage a range of possible interlocking plants or other model railroad situations. It contains four stall motor drivers with point sense, four CT Coil type occupancy detectors, four Schmitt-Trigger inputs (for push buttons), four driver outputs, 8 GPIO pins in a 5x2 header, and 16 PWM LED drivers.

  40. PocketBeagleQuadOCDect

    PocketBeagle Quad Occupancy Detector.

  41. PocketBeagleQuadSMCSense

    PocketBeagle Quad Stall Motor w/ Sense.

  42. QuadOCDectCape

    Quad Occupancy detector Cape (for a Beagle Bone).

  43. QuadOCDectHat

    Quad Occupancy detector Hat for Raspberry Pi.

  44. QuadOCDectOpenMRN

    OpenMRN (LCC / OpenLCB) program for Quad Occupancy Detector boards for Linux SBCs.

  45. QuadSMC

    This is a generic quad verison of SMCSenseHAT.

  46. QuadSMCSenseCape

    Quad Stall Motor w/ Sense Cape for a Beagle Bone.

  47. QuadSMCSenseHat

    Quad Stall Motor w/ Sense Hat for a Raspberry Pi.

  48. QuadSMCSenseOpenMRN

    OpenMRN (LCC / OpenLCB) program for Linux SBC with QuadSMCSense addon boards.

  49. QuadUncoupler

    This is a generic qad version of DualUncouplerHAT.

  50. 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.

  51. 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.

  52. SMCSenseHAT1

    This is the same as SMCSenseHAT, except uses GPIO 4, 5, 6, and 7.

About

A collection of circuit designs for various MCUs, not just Raspberry Pis relating to Model Railroading

Topics

Resources

License

Releases

No releases published

Packages

No packages published