
Programming the A-Star 32U4 from the
Arduino IDE.
5.2. Programming using the Arduino IDE
The Pololu A-Star 32U4 boards and the A-Star-compatible
Zumo 32U4 can be programmed from the popular Arduino
integrated development environment (IDE). The Arduino
IDE is a cross-platform, open source application that
integrates a C++ code editor, the GNU C++ compiler, and a
program upload utility. To get started programming your
device with the Arduino IDE, follow these steps:
1. Download the Arduino IDE from the
Arduino
Download
page
[http://arduino.cc/en/Main/Software]
and
install it.
2. If you have not done so already, download the
A-Star
Software and Drivers
[https://www.pololu.com/file/download/a-
star-1.4.0.zip?file_id=0J743]
(281k zip). These files are also
available from the
A-Star repository on GitHub
[https://github.com/pololu/a-star]
. Copy the “pololu” folder
from the downloaded “add-on” folder into the
[sketchbook
location]/hardware
folder. You can see the sketchbook
location in the Arduino IDE Preferences dialog, which is
available from the File menu. For a typical user, the
sketchbook location will be a folder named Arduino inside
the Documents folder. For a typical user running a recent
version of Windows, the “pololu” folder should be installed in this location:
C:\Users\<username>\Documents\Arduino\hardware\pololu
If the “Arduino” or “hardware” directories do not exist yet, you will need to create them.
3. Close the Arduino IDE if it is open, and then restart it.
4. In the
Tools > Board
menu, select the “Pololu A-Star 32U4” entry. If you do not see your device listed
in the Board menu, then the add-on is probably not installed correctly. Try doing step 2 again and restarting
the Arduino IDE.
Selecting the Pololu A-Star 32U4 in the Boards menu.
Pololu Zumo 32U4 Robot User’s Guide
© 2001–2015 Pololu Corporation
5. Programming the Zumo 32U4
Page 62 of 76