Getting Started: Development Unit

Also here is the 433 page documentation for the processor/ram/storage etc used on the device http://www.atmel.com/images/doc7766.pdf

Enjoy! :wink:

1 Like

Installing games etc. ok so i got the dev kit, i installed the driver everyting looks fine.
is the arduboy soposed to show up as a mass storage device on my pc? (windows 7) . how do i communicate with the device? how do i see what’s on it? how do i install my test code on it?

total noob when it comes to non windows devices.

thanks in advance.

I’ve never known an arduino to come up as a mass storage device.

Anyway, download the Arduino IDE if you haven’t already. Open the Ardubreakout example .ino file and it should open all the files with it. You will need to set it to the right Arduino in the right port. On the “Board” sub menu, set it to the Arduino Leonardo. And on port set it to one of them and then try upload it, if upload fails try another on the list if there are any. I have 2 come up in this menu when I only have one Arduino device.

thanks. ill keep that in mind.

ok, i think i got the hello world written out properly, copied from the KS video. it verifies just fine, but i can’t get it onto the Arduboy. I finally have the computer recognizing that its there. but im getting this error message.

Arduino: 1.6.4 (Windows 7), Board: “Arduino Leonardo”

Sketch uses 7,902 bytes (27%) of program storage space. Maximum is 28,672 bytes.

Global variables use 1,220 bytes (47%) of dynamic memory, leaving 1,340 bytes for local variables. Maximum is 2,560 bytes.

avrdude: butterfly_recv(): programmer is not responding

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Im totally stuck, help please

… I plugged into a different USB port… that fixed it. God i hate computers sometimes, i have been sweating this for like three hours.

1 Like

Pin 17 for Arduboy, we are working on tutorial documentation!

You are learning man this same kind of stuff catches me up all the time too, just part of the process. Hang in there :slight_smile:

please excuse my ignorance.
But I’ve installed the Arduboy IDE, downloaded the Arduboy library zip file from GitHub.
Selected Sketch, Include Library, Add .ZIP Library, and selected Arduboy-master.zip from my downloads folder.
Then opening up the example FloatyBall and clicking on the tick to verify, I get the following errors:

C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'void Arduboy::saveMuchPower()':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:153:24: error: 'power_usart1_disable' was not declared in this scope
   power_usart1_disable();
                        ^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                 from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                 from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                 from C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:17,
                 from C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.h:4,
                 from C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:1:
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'void Arduboy::initRandomSeed()':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.h:31:38: error: 'MUX4' was not declared in this scope
 #define ADC_VOLTAGE _BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1)
                                      ^
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:218:42: note: in expansion of macro 'ADC_VOLTAGE'
   randomSeed(~rawADC(ADC_TEMP) * ~rawADC(ADC_VOLTAGE) * ~micros() + micros());
                                          ^
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'uint16_t Arduboy::rawADC(byte)':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:227:18: error: 'MUX5' was not declared in this scope
     ADCSRB = _BV(MUX5);
                  ^
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'uint8_t Arduboy::getInput()':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:849:27: error: 'PINF' was not declared in this scope
   buttons = buttons | (((~PINF) & B11000000) >> 6);
                           ^
Error compiling.

Thanks to JO3RI in the IRC channel, I got it sorted,
I hadn’t set the Board to Arduino Leonardo under the Tools setting.

finally after taking a break due to school. i finally found it. thanks again

Nice work thanks @JO3RI! Glad you got sorted out @quangdx !!

Be careful. I had two completely wipe out everything associated with Arduboy so that I could call up COM3.

1 Like