MarcDuino v1‎ > ‎

MarcDuino Software Reference


Important Copyright Notice:
This is copyrighted material. Although the source code is made public here, this is not open source. I am retaining the copyright and control of where the source code ends up. Members of the R2Builders Club can use it and improve it in their personal R2's. But commercial exploitation or runs of anything based on this is not allowed, unless I expressly authorize it. You can contact me through the Astromech.net site under my "CuriousMarc" screen name.


If you do not want to make any modification to the default software, just upload the pre-compiled .hex files to the board, as explained on the Uploading the Firmware page, using an ISP programmer and AVRdude.

Chances are, however, that sooner or later you'll want to modify something. Your robot is probably different than mine. Maybe you need to tweak a detail like the limit or direction of a servo, the baud rate of a connection. Or programming a new panel sequence. Adapt the MarcDuino board for controlling the body door servos.  Re-purpose a header for digital I/O instead of servo control. Add a new command. Or a whole new capability like an I2C or OSC library. And so on and so forth...

You cannot program the MarcDuino's using the Arduino environment, and need a full fledged (and much more powerful) AVR development platform.

I have tested compiling the source code using two different full-featured environments, both available for free:
- Eclipse 3.7 Indigo (on Windows, Mac and Linux)
- Atmel Studio 6 (Windows only)

For our use, I recommend Eclipse, but the source code will compile with Studio 6 just as well. For those of you coming from an Arduino background, I provide detailed setup instructions to get you started on either platform:
Setting up Eclipse for MarcDuino
Setting up Atmel Studio for MarcDuino

The source code is provided at the bottom of this page for both the Dome Panel Controller and the HP Controller board.

A reference of the implemented commands is here:
Command Reference
ċ
HPController_Source_v1.5.zip
(38k)
Curious Marc,
Sep 14, 2013, 3:38 PM
ċ
PanelController_CFIII_Source_v1.6.zip
(49k)
Curious Marc,
Nov 3, 2013, 8:41 PM
ċ
PanelController_MP3_Source_v1.6.zip
(49k)
Curious Marc,
Nov 3, 2013, 8:38 PM
ċ
PanelController_Source_v1.5.zip
(40k)
Curious Marc,
Sep 14, 2013, 3:37 PM