Author Topic: SAMD21 DCC++ Command Station  (Read 1832 times)

0 Members and 1 Guest are viewing this topic.

dcutting

  • Crew
  • *
  • Posts: 359
  • Gender: Male
  • Respect: -58
SAMD21 DCC++ Command Station
« on: May 27, 2020, 01:38:45 PM »
+3
I recieved the boards for a new command station in the mail yesterday, and I've successfully put one together and tested some of the main features. Here it is, the SAMD21 command station:

[ Guests cannot view attachments ]

For those unacquainted with the work that I've been doing on this project (mostly on trainboard), here's the specifications. This board basically functions as a modernized, all-in-one solution to DCC, with some extra features baked in.

- Microchip (ex-Atmel) SAMD21 Cortex-M0+ processor, clocked at 48MHz. It has 32K RAM, which is 16 times the amount of the Arduino UNO and 4 times the RAM of the Arduino MEGA. It is fully compatible with the Arduino platform and is the same chip used on the Arduino ZERO and many of the MKR line of boards. It is essentially the modern equivalent of the Arduino UNO's processor, the ATMEGA328.
- Espressif ESP8266-based WiFi module. Software support is still in the works, but should be ready in the next month.
- Texas Instruments DRV8874 motor driver on the main track supplies 5A continuous and 6A peak current with built-in overcurrent limiting, in addition to the software current limiting already built into DCC++
- Texas Instruments DRV8876 motor driver on the programming track supplies 3.5A peak to the programming track, but is limited in software to 250mA. Can instead be spec'ed with the DRV8874 for booster station operations.
- Built-in railcom detection circuit available on both the main and programming tracks.
- External 256K EEPROM (the SAMD architecture has no internal EEPROM available).
- Expansion headers that allow for addition of LCC, Loconet, CMRI, and S88 shields to the board, or a shield that turns this board into a booster station, complete with railcom detection.

I've been working to create a library version of DCC++ that works on both the classic Arduino plus motor shield combination and on this new board, and I hope to have that ready for others to test later this week.

I will be offering assembled and tested boards starting sometime in June.
« Last Edit: May 27, 2020, 01:41:15 PM by dcutting »
David Cutting

thomasjmdavis

  • Crew
  • *
  • Posts: 4397
  • Respect: +1278
Re: SAMD21 DCC++ Command Station
« Reply #1 on: May 27, 2020, 07:59:51 PM »
0
This sounds like a solution for my situation- where a 2 amp Arduino motor shield was not likely to be sufficient for the several ABBA lashups I want to run (if I ever get the layout built).

If I understand, this is functionally a 5 amp version (less the umpteen pins I don't use anyway), compatible with DCC++ (or will be once you get the software tweaked). 

I, for one, will be watching with interest. 

One note- I tried the link below your signature, and got a "403" error.  Which will make it difficult to order these when you get them on the market.

Glad you posted here.  I do check Trainboard periodically, but missed the thread on this.
Tom D.

I gave up rivet counting when I couldn't see an N scale rivet anymore.

dcutting

  • Crew
  • *
  • Posts: 359
  • Gender: Male
  • Respect: -58
Re: SAMD21 DCC++ Command Station
« Reply #2 on: May 27, 2020, 10:11:36 PM »
-1
If I understand, this is functionally a 5 amp version (less the umpteen pins I don't use anyway), compatible with DCC++ (or will be once you get the software tweaked). 

Essentially, yes. Little bits like railcom and wifi make it more capable than the original DCC++, plus there is more memory on the chip so you can have as many cabs on the track as you could reasonably want.

www.cescalemodels.com is the website of the company I ran a number of years ago, that got shut down after I lost interest in the hobby after high school. I've had to start from scratch, the new company is called Wasatch Scale Models. I don't have a website for it up just yet.
« Last Edit: May 27, 2020, 10:13:47 PM by dcutting »
David Cutting

timwatson

  • Crew
  • *
  • Posts: 706
  • Respect: +331
    • N Scale Rail
Re: SAMD21 DCC++ Command Station
« Reply #3 on: May 27, 2020, 10:52:22 PM »
0
I am in on this project. I was in the middle of making a stand-alone dcc++ 5+amp mini ATX power supply system. This sounds like a perfect solution. Let me know and I'll help you test. I have a rework station if I need to solder anything.
Tim Watson
My pics: http://www.flickr.com/photos/nscalerail/sets/

Technology, new ideas and model railroading.

skent

  • Posts: 23
  • Respect: +17
Re: SAMD21 DCC++ Command Station
« Reply #4 on: May 28, 2020, 01:57:57 AM »
0
This is so cool!   Nice looking board, too! 

I always prefer matte black over white soldermask, but it looks pretty sleek in this application.   

Do you have any plans to make this design open sourced?  I'd love to build up one of these myself.

-S

dcutting

  • Crew
  • *
  • Posts: 359
  • Gender: Male
  • Respect: -58
Re: SAMD21 DCC++ Command Station
« Reply #5 on: May 28, 2020, 03:19:41 AM »
-1
This is so cool!   Nice looking board, too! 

I always prefer matte black over white soldermask, but it looks pretty sleek in this application.   

Do you have any plans to make this design open sourced?  I'd love to build up one of these myself.

Thanks! I don't plan to make it open source for now. But at the price point I'm considering, it would cost you far more to build your own.
David Cutting

skent

  • Posts: 23
  • Respect: +17
Re: SAMD21 DCC++ Command Station
« Reply #6 on: May 28, 2020, 01:09:00 PM »
0
Definitely ping the group if you make this open sourced.  I'd love to spin up a tweaked version of my own!  :)

-S

dcutting

  • Crew
  • *
  • Posts: 359
  • Gender: Male
  • Respect: -58
Re: SAMD21 DCC++ Command Station
« Reply #7 on: June 12, 2020, 09:48:54 PM »
0
{deleted}
« Last Edit: June 16, 2020, 12:19:59 AM by dcutting »
David Cutting