BAMF2011: chipKIT is Arduino to the power of 32

If you’ve been hungry for more power for your microcontroller projects, but reluctant to dump your investment in Arduino shields or the libraries and community knowledge that go with them all, Digilent has you covered. Their new chipKIT boards are built around the Microchip PIC32 MCU…a powerful 32-bit chip that until recently was left out of the cross-platform scene. A majority of code and quite a number of Arduino shields will work “out of the box” with the chipKIT, and the familiar development tools are available for all three major operating systems: Windows, Mac and Linux.

We first mentioned these a couple weeks ago, but the software was unavailable at the time. Seeing the development tools in action was quite unexpected…

What’s really fascinating with chipKIT is that the workflow is exactly Arduino-like. The serial bootloader works with avrdude, and you can program both “real” Arduinos and Digilent’s 32-bit work-alikes using the exact same IDE; there’s no need to run two different IDEs for two different boards, as has been the case with Leaf Labs’ 32-bit Maple. As a demonstration, they compiled and ran code for an Arduino Mega with SparkFun LCD shield…then popped the shield off and placed it on the Max32, selected the 32-bit board in the same IDE, and repeated the process. The exact code ran on the new board/shield combo, with stunning performance — all the standard Arduino libraries have been implemented natively for the PIC32; this is not emulation.

Because Digilent didn’t just adapt the Arduino IDE to their one specific board, but rather developed a system by which the IDE can be extended to new hardware, it’s their hope that their work (not an official Arduino project) might be rolled back into the mainline code, and that other developers might jump on the bandwagon to provide Arduino IDE support for their own boards, whether they be based on AVR, PIC32 or a completely different kind of microcontroller altogether. The groundwork has been laid.

The chipKIT comes in two versions: Uno32 and Max32, similar in form factor to the Arduino Uno and Mega 2560, respectively. These can be ordered directly from Digilent’s web site, and the IDE is freely downloadable as of today. We have evaluation hardware in-hand and expect to be providing a proper review in the near future.

Comments

  1. rallen71366 says:

    I love it. but, where are the Arduino haters?

  2. gmcurrie says:

    So, now I can flash an LED once a second in *32 bit-mode?*

    Jus kiddin – looks a great move – an upwards path, for jus bout same price – well done Diligent – I’m buying.

  3. Dan B says:

    I want one. I will have to see what pins are not compatible and see if it will work.

  4. BiOzZ says:

    lame XD

    make one around the arm cortex M3 line

    USB host, ethernet and usb device shields all built in XD

  5. DanJ says:

    Now this is an excellent “hack”. Lets people leverage their existing investment. With this and the Maple, the move to 32-bit for everything has begun in earnest.

    @BiOzZ: Nothing’s stopping you. You want an Arduino-compatible cortex M3? Do it. Everything you need is available.

  6. Will says:

    I’ve had mine since Tuesday, finally downloading the IDE. This should be fun :)

  7. zing says:

    are the pins 5v, 3.3v or a mix?

  8. therian says:

    I bet this will not catch up just because many people threat AVR as religion…

  9. ftorama says:

    @BiOzZ

    The Maple, from Leaflabs is based on a STM32F103 yet.

    @therian read this and tell me who is in religion ;-) :

    http://old.nabble.com/Why-let-the-atmel-guys-have-all-the-fun—-PICduino—to22611991.html

    Maple doesn’t seem to sell and I don’t know what will be the success of this one. I think there’s a simple reason. Most people using Arduino don’t need more power and it’s far more powerful when used in C instead of Arduino language. Who would do the test to toggle a pin with Arduino commands and direct register access and measure the time gain?

  10. I too have had 2 Max32 boards and 1 Uno32 board since Tuesday. If anyone is interested in some comparisons of these 2 chipKIT boards against official Arduino boards and some high resolution photos, I have a full article up on my site. http://themakersworkbench.com/?q=node/421 Cant wait to read HAD’s coverage as well!

  11. Squirrel says:

    Bay Area Maker Faire is not the first thing that came to mind when I saw BAMF…

  12. Beat707 says:

    Going to keep an eye on this. ;-)

  13. Beat707 says:

    From what I heard no 2-Wire Library yet? Is that true? If so, that kinda sucks, as my project uses it a lot… what about the SPI library?

    Will we see eBay Chinese clones soon? ;-)

  14. asdf says:

    There’s a certain degree of irony here as Microchip deliberately chose the MIPS ISA over ARM in order to facilitate vendor lock-in. Maybe they’re starting to realize that being compatible has its advantages?

  15. Pixel says:

    But can you get just the chip with the bootloader, so that you can use it in your own projects without needing the dev board? That’s one of the things I like about the arduino platform.

  16. Daniel says:

    Really? MIPS for lock-in? Citation needed. I would have guessed “dramatically lower licensing costs”. MIPS has a fine heritage being used in the Playstation 2, PSP, SGI workstations, supercomputers, …

  17. @ Pixel, Sure you can get Atmega 8, 168, or 328 with the Arduino boot-loader from places like Adafruit, Sparkfun, etc. To my knowledge no one is selling the surface mount AVRs with the boot-loader on them, admittedly I have not really looked either. I am sure someone will begin selling these two PIC32’s with the boot-loader pre installed though.

    They just opened the chipKIT forums http://chipkit.cc/forum

  18. Beat707 says:

    eBay has the ATmega328 SMD with the bootloader in it. I didn’t like the price, TBH, but heck, they got it. ;-)

    I wonder about those PIC32 chips with the bootloader on it, or a way to flash them easily like with the USBtinyISP programmer. ;-)

  19. Thanks for the heads up on the 328 SMD chips on ebay. I don’t like their price either…

  20. Benjamin says:

    I hate to be the guy in the forums that is new to something and asks for help but i would really like to get into Arduino based projects. I’ve been doing some research and still am unsure of where a good place to start is. I’m looking for entry level stuff that would allow me to get familiar with building projects. Thanks for any help.

  21. I just got a reply from Microchip regarding Ethernet shields.

    There will be a chipKIT Ethernet shield released sometime in June. The details I have are: Ethernet PHY and transformer, USB OTG, 32 KHz oscillator, 256 Kbit I2C EEPROM, and 2 CAN interfaces

    There will also be a Basic I/O shield released around the same time. Details on it are: 4 switches, 4 buttons, I2C™ temperature sensor, 256 Kbit I2C EEPROM, 128×32 OLED display, 4 open drain channels, 1 potentiometer, and 8 LEDs

  22. @ Benjamin how about reading the RPM of a PC fan? Or Fading some LEDs in and out using PWM to get you acquainted with the code.

  23. Gösta says:

    Great with a faster controller board. But the openness of Microchip and their new 32-bit platform is open to debate.

  24. am_i_evil says:

    @Benjamin –
    http://tronixstuff.wordpress.com/tutorials/ is an awesome Tutorial site. Besides Tronixstuff, there’s the Adafruit site, Sparkfun, and a handful of others with a few tutorials each.

    After you’ve done a few tutorials, try to adapt them. Think of interesting “cause and effects” (like putting magnets and reed switches in toys, they having Darth Vader cause a reaction from Luke…).

    For starting out, get the official Uno board because more shields (and “unofficial” libraries) will work with it. The ChipKit boards would make a fine second/upgrade board (and also – there’s plenty of projects to try, making 1 arduino communicate with another..).

  25. asdf says:

    @Daniel The specific reason they’ve given was to differentiate themselves from all the ARM MCUs. But the only reason to have a different ISA is to make it harder for customers to switch to a different vendor.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 97,511 other followers