Preview of the K-Duino

Hello everyone,

initially I was planning to use the ATmega2560, similar to the setup used on Sparkfun’s Mega Pro 3.3V https://www.sparkfun.com/products/10744 to create an Arduino Clone of my own. I played around with an ATmega644p some months ago before I created the BLE-Shield but I stopped working on it due to the lack of spare time invested into other interesting projects. Since the 2560 is somewhat expensive I found out that some people have build Arduino Clones based on the ATmega1284p 40 Pin DIP version. But I wanted to use the TQFP version of the uC and started to wire up an initial prototype which I need to work on to create a solid basis for future boards e.g. integrating BLE on the same board as well. The ATmega1284p has two hardware serial ports and 16k of Ram while offering 128k of Flash for sketches.

My setup should use as few parts as the Arduino Pro 3.3V or the Mega Pro 3.3V running at 8MHz frequency. Programming sketches should be done using an FTDI adapter and the board should be powered by a Lipo as well. So that’s what the board setup for the v0.5 of K-Duino looks like:


There are no through hole parts used. Even for the ICSP an the Shield headers I’m using SMD parts. The resulting board size is slightly bigger (70x56mm) but it is still compatible with Arduino Shields. Currently I’m using the Mighty Bootloader (https://github.com/maniacbug/mighty-1284p#readme) but the one I’m using is configured for the 8MHz internal oscillator of the uC. I will try to compile the Optiboot bootloader for the K-Duino during the next days. I adjusted the pins_arduino.h file so that the blink sketch is working properly with the K-Duino. More tests need to be done. In the meantime I found the Goldilocks project on Pozible, which is using the 1284p uC as well http://www.pozible.com/project/18609. Phillip Stevens is using an 20MHz oscillator in his setup and a more advanced approach to program the uC using another ATmega32u2 to program sketches without serial bootloader.

Finally you’re guessing right. K-Duino is just the first step to create another BLE device: K-Duino + BLE-Shield = BLE-Duino 🙂 But before that, I need to check how to program the bootloader for the 1284p and setup the pins_arduino.h file correctly.

If someone is interested to contribute don’t hesitate to contact me! Feature requests are welcome as well.

Thanks for reading,


5 Responses to Preview of the K-Duino

  1. david June 2, 2013 at 20:57 #

    Hi, I’m a fan of your ble shield and have a couple personal requests for K-Duino. It would be great if the board could charge the attached battery (similar to the FIO). Also similar to the FIO, I’d like to see a smaller form factor at the expense of not supporting shields.

    • Michael Kroll June 2, 2013 at 21:46 #

      Hi David,
      i’m indeed planning to add Lipo Charge functionality to the board. It is already added to the next prototype board. I think the formfactor will still be Arduino Shield compatible, but I have some ideas for a smaller one as well 🙂

      I ‘ll kepp ypu updated on my blog.

      Thanks for your interest,

  2. James Lamont June 24, 2013 at 21:35 #

    Dr Kroll,
    I’m doing a project with the 44-pin QFP ATmega1284p, and am scratching my head a bit with updating the pins_arduino.h from the 40-pin DIP. Is there any chance you might be able to toss me a copy of the one that you’re using? Or perhaps some tips or pointers on how to resolve some of the confusion. There’s a lot of pin numbers that don’t appear on one or the other.


    • Michael Kroll June 25, 2013 at 11:08 #

      Hi Jimmy,
      I was looking around to find a guy who is willing to share experiences while creating a 44-Pin TQFP ATmega1284p but had no luck yet. As you are asking now, of cource I will share my pins_arduino.h file with you. Is it ok for you when I open up a discussion board about K-Duino on my forum where we can discuss and share files as well?

      Please create an account at http://forum.mkroll.mobi, and write me an email to m.kroll@mac.com with your username. I have not yet setup good spam countermeasures on the forum, so I receive 40 registrations a day from spambots which makes it impossible to distinguish between users and robots 🙁


    • Michael Kroll June 27, 2013 at 16:15 #

      Hi Jimmy,
      I just uploaded the file to my forum at http://forum.mkroll.mobi

      Please comment on that,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Powered by WordPress. Designed by WooThemes