VOTE NOW!
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Design 1/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Usability 2/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Creativity 3/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Content 4/4

### Overview


This project is an IO board for controlling model railroad layouts. It drives model railroad peripherals such as turnouts, signals, pushbuttons, block detectors, etc, and uses the NMRA standard LCC connection via CAN-bus to control and interact with other peripherals or a computer.


The IO board does not contain a microcontroller. It needs an STM32 Nucleo-64 board plugged into it to operate. The following boards are tested:

- Nucleo-F091RC with 256K flash and 32K ram

- Nucleo-F303RE with 512K flash and 80K ram


Designed for, but untested with

- Nucleo-F446RE

- Nucleo-F767ZI with 2M flash, 512K ram and ethernet (this is larger and needs modification).


### DESCRIPTION


This is a dev kit based on the STM32 Nucleo processor board, which is inexpensive, and compatible with both Arduino libraries as well as OpenMRN. The processor boards come with various chips, and a number of them have plenty of flash and RAM available for advanced functionality -- 256K to 2M of flash and 32K to 512K of RAM is available in the $11-$24 price range.

I stuffed a number of peripherals onto the Dev Kit, expecting that different users will populate whichever and however many they want from these. The total list is as follows:

- 16 input lines (active low) for buttons or block detectors; screw terminals or 10-pin ribbon cable (selectable).

- 8 lines for driving 4 tortoises, 8 medium-current 12V outputs, or 8 high-current 12V outputs (depending on driver chip populated). Screw terminals or ribbon cable.

- 16 additional output lines with four different options:

   * direct LED drive at 5V with slots for current limiting resistors (both CA and CC supported)

   * high current low-side switch for snap switches, structure lighting, or CA LEDs (multiple series LEDs supported)

   * high-current high-side switch for snap switches, structure lighting, or CC LEDs (multiple series LEDs also supported)

   * very high-current low-side switches for... not sure what -- but these are harder to solder.

- 8 servos driven directly from the board; up to 2 amps of 5V rail available for the servos

- expansion ports for I2C and SPI daughterboards. As an example, this board can be wired to it to add an additional 32 I/O lines (bi-directional/selectable). But boards based on the PCA9285 can be added to drive 16 servos each, etc.

The OpenLCB related features are as follows:

- CAN-bus port (of course)

- Local power supply input via jack or screw terminals

- Supply power to the bus, local supply, or take power from the bus -- jumper selectable. With proper jumper setting no automatic switchover happens so no brownout of the bus in case the barrel jack comes loose.

- DCDC switcher to convert from bus voltage to 5V; 500mA or 2A capacity.

All the IO chips are through hole and can be made socketed; thus replacing faulty or damaged components is possible for $0.4 instead of tossing the whole board. Building the board with average soldering skills is possible if somebody wants to save on costs.


### TECHNICAL DETAILS / COMPONENTS


This pre-compiled basket contains the components needed for 5 boards fully populated with all alternatives:

http://www.digikey.com/short/jm34c7

Depending on the desired population, some of the alternatives should be removed from the basket before ordering!


Almost all components are available in through-hole form. Some components can be populated either via through-hole or via SMD alternatives. Make sure you adjust the purchase basket accordingly.


### LEARN / TOPIC / BUILD INSTRUCTIONS


Schematic: https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxiYWxhenNyYWN6fGd4OjI0YmQ4ZGVjZjkxMzQxMw


May 12,2018
689 viewsReport item
  • Comments(0)
  • Likes(10)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
VOTING 3 votes
  • K*****ong from UNITED STATES OF AMERICA
    • 10
      design
    • 10
      usability
    • 10
      creativity
    • 10
      content
    10.00
  • j****hen from HONG KONG
    • 8
      design
    • 9
      usability
    • 8
      creativity
    • 8
      content
    8.25
  • p****ard from AUSTRALIA
    • 9
      design
    • 8
      usability
    • 9
      creativity
    • 8
      content
    8.50
View More