as shown in Figure 5. Using the ellipsis file finder for the
first box, navigate to the location of avrdude.exe. You’ll
find it in the GCB@Syn\AVRDude\ folder. Then, in the
Programmer box — which is a pulldown selector — choose
Arduino. In the Port box, choose the port whose number
you noted earlier. Finally, in the Device box, choose
ATmega328p — the microcontroller at the heart of the
Arduino Uno. The remaining boxes may be left blank.
With that, our IDE is all worked out and ready for some
Start Having Fun
The easiest way to convince you
that this is indeed a very slick system
— yet easy to use — is to throw a
program at you right off the bat.
We’ll simply blink the LED already on
the Uno, so you won’t even have to
fuss with any breadboarding to
confirm it works.
Download the sample program
01-BLINK.GCB at the article link,
then open it up in the IDE. Take a
moment to ponder how
recognizable everything is; that’s one
of the hallmarks of the Basic
language. Connect the Uno to your
computer using the USB cable if you
haven’t already done so.
Now, are you ready for this?
Simply click the Hex/Flash button up
in the main tool bar and bam — in
the blink of an eye, your program is
compiled, assembled, and Flashed
into the Arduino’s memory. Speaking
of blinking, the LED should be
pulsing away. Can you believe how
easy and fast that was?
One more thing, just to convince
you of the magic going on here.
When you hit the Hex/Flash button,
the IDE examined the program and
determined the code was intended
for the ATmega328p chip. It then
passed this information on — along
with the Basic source code — to the
Great Cow Basic compiler.
The source was compiled and
automatically handed off to the
built-in Great Cow assembler. The
IDE then saw to it that the resulting
hex code was routed to the Arduino.
All this, and you didn’t have to lift a
With that, you’re all set to start
writing some Basic programs
yourself for the Arduino. The download files for this article
include a baker’s dozen of examples — from beginner level
on up — for doing serial communication, making sounds
and music, reading relative humidity and temperature,
multiplexing seven-segment displays, driving stepper motors,
As you continue your explorations, be sure to check out
the extensive Help pages in the IDE, for there’s a ton of
other super-slick features just waiting to make programming
SERVO 09.2014 61
Personal CNC Mills
PCNC 1100 Series 3
Shown here with
Shown below is an articulated humanoid
robot leg, built by researchers at the
Drexel Autonomous System Lab (DASL)
with a Tormach PCNC 1100 milling
machine. DASL researcher Roy Gross
estimates that somewhere between 300
and 400 components for “HUBO+” has
been machined on their PCNC 1100.