OpenLCB Dev Board ICSP Header Fix
So, the REV B hardware has a problem, in that I brought the wrong SPI pins out for the ICSP programming header. Oops. The good news is that with a breadboard and a little ingenuity, the fix is easy. The better news is that, as far as I know, the JTAG header is just fine (but we’ll find out when I get my JTAG programmer in the mail). Read on for the fix. If you’ve ever gotten the dreaded “Device signature = 0×000000″ error trying to program an AT90CAN128, then the fix below is probably for you as well. First, the fix is much easier if you use female headers in the...
read moreOpenLCB Dev Board Bootloader: So Far, No Love
The folks on the OpenLCB mailing list nailed the problem for me. Turns out the AT90CAN128 (and ATmega128) use different pins for application SPI, and ICSP SPI. Go figure. More detailed post to follow. And, here is the more detailed post with fix. Having some difficulties using ArduinoISP to upload my Arduino bootloader onto the AT90CAN128. I’ve double checked all the connections, but haven’t had any luck. Does anyone know what this error might portend? Would purchasing a JTAG programmer be of any use...
read moreLOLbooster: One User’s Experiences
Ken, author of the tremendously useful site has been helping me test a pre-production LOLbooster unit. He has, in his usual careful way, written up his experiences assembling, testing, and using LOLbooster.
read moreDCC Waveform Generation Arduino Sketch v.1
Update 8 Jan, 4:13PM: You are probably more interested in this: CmdrArduino. Update 13 Dec, 10:24AM: Hat-tip to Rob Heikens for spotting the bug. My sketch is now working; it’s included below in place of the old, broken code. The sketch below is a very basic demonstration of how to use Timer1 to generate a DCC waveform. The sketch puts DCC packets on the rails via Arduino pins 9 and 10; most are idle packets, but every 20th packet is an advanced operations packet that instructs the loco at address 03 to increase its speed by 1 until maximum speed is reached, at which point the speed is...
read more
Recent Comments