STM32 Nucleo Dev Kit – Balazs

You are here:
< Back

Stuffed.

I’ve built the 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.

Board available to buy:https://www.pcbway.com/project/shareproject/OpenLCB___LCC_IO_Board_for_Nucleo_64.html

Parts instructions: https://sites.google.com/site/balazsracz/nucleo-io-board

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

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

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.40 instead of tossing the whole board. Building the board with average soldering skills is possible if somebody wants to save on costs.

Bare board.

With Nucleo board inserted.

Last Updated On February 27, 2019