Moved to GitHub & Supports Arduino IDE: Manage Libraries


Bot Thoughts – ATTiny84 Development Board

The MRRwA Project source code has been moved from the single SVN Repository on SourceForge into separate GitHub repositories. They have also had the appropriate Arduino IDE files added to enable operation with the new Arduino Manage Libraries… & Add .ZIP Library… features. More details can be found here.

The LocoNet library now supports the AVR ATTiny84 and ATMega32U4 processors.


NmraDcc MultiFunction Decoder Library Updated

17-Function DCC Decoder

17-Function DCC Decoder

If you’ve been following Geoff Bunza’s Scale Model Animation Blog on the MRH website, you’ll find several projects SMA-10, SMA-12, SMA-13 that use the NmraDcc library.

Geoff ‘s projects needed support for mobile decoder functions 13..28, but that was not supported by the library, so he had to add a work-around. This needed support has now been added to the NmraDcc library and all of Geoff’s decoder variations have been added to the examples folder.

The latest version of the library can be downloaded from here.

Thanks for all the good work Geoff.


Slow, but Sure Progress…

While I’ve not had much to post about or new releases to the libraries over this last year, there have been changes going on slowly in the background (when I get a few hours to dedicate to it) from time to time, as I do have a few small projects in the works that need new capabilities. The things I’ve been working on are:

  1. I’ve got the DCC library working with the AVR Tiny 85 processor to use as a signal decoder. I had a friend design a small Signal Decoder PCB for driving 4 LEDs. I’ve not got the LED PWM dimming all sorted yet, but it should be nice once I do…
  2. There’s also some work being done to provide support for the LocoNet SV and LocoNet CV protocols. This will let me port my LocoBOD project to the Arduino environment.

Hopefully in a few months I’ll have these projects working, so keep an eye out for another update… 😉

Important Bug-Fix Update to NmraDcc Library

IMPORTANT: I introduced a major bug with the NmraDcc library when I added the Mega 1280/2560 support as it broke the Mega168 support and it took me hours to figure out why my code, that has worked for years, suddenly stopped working on my Mega168 dev board.

To work around the problem of how best to support multiple AVR MPUs, I have refactored the library to add a new pin() method that lets you explicitly define the External Interrupt (INTx), the associated Arduino Pin to use and to enable the Pull-up or not. I’ve updated the example to show the new usage.

If you’re using the NmraDcc library and you sketch has suddenly stopped working after you updated to the 2012-06-10 release, you should download the update from here and not use the 2012-06-10 release.

LocoNet Throttle and Mega 1280/2560 Support Added

LocoNet Throttle Terminal

LocoNet Throttle Terminal example sketch screenshot

A new version of the library is now available to download as a ZIP file in the downloads section: REMOVED due to a major bug.

This version includes:

  • Support the Mega1280/2560 in the NmraDcc library
  • Support for LocoNet Throttles has been added to the LocoNet library and a new LocoNetThrottle example has been added that demonstrates a simple throttle using a ANSI Serial Terminal Emulator like Putty.

MRRwA library updated for Arduino 1.0

The library has been updated to allow it to be used with Arduino 0022 and Arduino 1.0 and is now available to download as a ZIP file in the downloads section: here.

Enjoy and “Happy New Year!!!”

EmbeddedLocoNet and OpenDCC Arduino libraries moved to MRRWA

http://opendcc.sourceforge.netI decided to move the on-going development of both the EmbeddedLocoNet and OpenDcc Arduino Libraries to the SourceForge MRRWA project associated with this website, so any new work on these libraries and new MRR based Arduino projects and articles are welcome.

Basically as things have become more Arduino centric and I got tired of maintaining these two libraries in separate source code repositories as they pretty much live side-by-side on my PC, so I merged them into this new project.

I’ve recently updated the EmbeddedLocoNet and OpenDCC project website to reflect this change.

X2011 Model Railroading with Arduino Clinic Available

The presentation slides for the two Model Railroading with Arduino clinics presented by John Plocher and Dave Falkenburg at the X2011 Convention are available here:

Introduction Clinic Slides

Applications Clinic Slides

Model Railroading with Arduino at X2011

There are two Model Railroading with Arduino clinics at the X2011 Convention on Monday. John Plocher and Dave Falkenburg are giving a Model Railroading with Arduino Introduction Clinic and John Plocher is giving a Model Railroading with Arduino Applications Clinic. Come along and hear about how these popular little devices can be used on your layout.

OpenLCB at X2011

The OpenLCB project is developing a new Layout Control Bus (LCB) and has used a number of Arduino clone devices to prototype the designs. Some of the OpenLCB team will be at the X2011 West NMRA Convention running Clinics on Monday and Friday. If you’re at the convention make sure you call by the clinics and have a chat to Bob, David and the other members of the team at the convention.