Install Zigduino

151 views
Skip to first unread message

alex....@gmail.com

unread,
Jul 5, 2013, 1:46:12 PM7/5/13
to zigduino...@logos-electro.com
Hi all,

I just brought Zigduino r2, I installed the driver but I'm not able to install the environment. I am using Arduino 1.05 and 1.50. I copied
Zigduino-1.0-new-extension\zigduino-1_0.zip\hardware\arduino\cores\zigduino to arduino-1.0.5-windows\arduino-1.0.5\hardware\arduino\cores.
But i cannot see  zigduino on Tools-> Board

Can anyone help?
Thank you

Pierce Nichols

unread,
Jul 5, 2013, 2:57:16 PM7/5/13
to Don Alex, Zigduino Discuss
Make sure you've added the Zigduino section to your boards.txt file
and restarted the IDE. The Arduino IDE builds the Tools -> Board menu
from the boards.txt file at start up.

-p
--
Pierce Nichols
Principal Engineer
Logos Electromechanical, LLC

alex....@gmail.com

unread,
Jul 5, 2013, 3:05:29 PM7/5/13
to zigduino...@logos-electro.com, Don Alex
Thank you, I am not able to find  zigduino-board.txt  what should I really add to boards.txt ?

alex....@gmail.com

unread,
Jul 5, 2013, 3:06:55 PM7/5/13
to zigduino...@logos-electro.com, Don Alex
thank you,
 I am not able to find  zigduino-board.txt what should I excatly add to board.txt ?

Pierce Nichols

unread,
Jul 5, 2013, 3:08:33 PM7/5/13
to Don Alex, Zigduino Discuss
There's a complete boards.txt file in the Zigduino zipball. It has a
section for the Zigduino r1 and another for the r2. You can either
copy it over your existing one or c&p those sections over into the
existing boards.txt.

-p

alex....@gmail.com

unread,
Jul 5, 2013, 5:57:51 PM7/5/13
to zigduino...@logos-electro.com, Don Alex
Thanks I got it. I just copied and paste it in the arduino boards.txt, now I can see zigduino r1 and r1 on tools-> board

John Duksta

unread,
Jul 6, 2013, 11:13:01 AM7/6/13
to alex....@gmail.com, zigduino...@logos-electro.com

While adding the support files (hardware, libraries, etc) to the Arduino application directory will work, it's not the preferred way to do it, as you'll have to rebuild that directory structure every time you upgrade the Arduino core application. The better way to do this is to install them to your Arduino sketch directory (My Documents\Arduino on windows, ~/Documents/Arduino on OSX).

Thus, you would install the contents of the Zigduino hardware folder to My Documents\Arduino\hardware. Any libraries you pick up along the way would go in My Documents\Arduino\libraries. You also don't have to worry about editing the core boards.txt when you do this; if each added hardware platform includes its own boards.txt in its hardware direct, the arduino IDE will concatenate them in memory when it loads.

-j

alex....@gmail.com

unread,
Jul 7, 2013, 3:03:01 PM7/7/13
to zigduino...@logos-electro.com, alex....@gmail.com
thank you

Now I am trying to run a simple code, but I have an error: 'Serial' was not declared in this scope 
 #include "Arduino.h"

 void setup()
 {
   Serial.begin(9600);
 }

 void loop()
 {
   Serial.write("Hello World");
 }

Do I need to install another library ? 

John Duksta

unread,
Jul 8, 2013, 1:53:06 AM7/8/13
to alex....@gmail.com, zigduino...@logos-electro.com


No, serial is a core library. However, it has changed slightly in Arduino 1.0


To output a string via serial, you'll want Serial.print or Serial.println




-- 
John Duksta


alex....@gmail.com

unread,
Jul 8, 2013, 12:15:28 PM7/8/13
to zigduino...@logos-electro.com, alex....@gmail.com
I changed it, now I have

#include "Arduino.h"
 
 void setup()
 {
   Serial.begin(9600);
 }
 
 void loop()
 {
   Serial.print("Hello World");
 }

Actually, I am able to compile it when I select arduino uno through Tools->Board
Once I select zigduino r2, I have this error:
'Serial' was not declared in this scope

unknown MCU 'atmega128rfa1' specified
Known MCU names:
   avr2
   at90s2313
   at90s2323
   at90s2333
   at90s2343
   attiny22
   attiny26
   at90s4414
   at90s4433
   at90s4434
   at90s8515
   at90c8534
   at90s8535
   avr25
   attiny13
   attiny13a
   attiny2313
   attiny24
   attiny44
   attiny84
   attiny25
   attiny45
   attiny85
   attiny261
   attiny461
   attiny861
   attiny43u
   attiny48
   attiny88
   at86rf401
   avr3
   at43usb320
   at43usb355
   at76c711
   avr31
   atmega103
   avr35
   at90usb82
   at90usb162
   attiny167
   avr4
   atmega8
   atmega48
   atmega48p
   atmega88
   atmega88p
   atmega8515
   atmega8535
   atmega8hva
   at90pwm1
   at90pwm2
   at90pwm2b
   at90pwm3
   at90pwm3b
   avr5
   atmega16
   atmega161
   atmega162
   atmega163
   atmega164p
   atmega165
   atmega165p
   atmega168
   atmega168p
   atmega169
   atmega169p
   atmega32
   atmega323
   atmega324p
   atmega325
   atmega325p
   atmega3250
   atmega3250p
   atmega328p
   atmega329
   atmega329p
   atmega3290
   atmega3290p
   atmega406
   atmega64
   atmega640
   atmega644
   atmega644p
   atmega645
   atmega6450
   atmega649
   atmega6490
   atmega16hva
   at90can32
   at90can64
   at90pwm216
   at90pwm316
   atmega32m1
   atmega32c1
   atmega32u4
   atmega32u6
   at90usb646
   at90usb647
   at94k
   avr51
   atmega128
   atmega1280
   atmega1281
   atmega1284p
   at90can128
   at90usb1286
   at90usb1287
   avr6
   atmega2560
   atmega2561
   avrxmega4
   atxmega64a3
   avrxmega5
   atxmega64a1
   avrxmega6
   atxmega128a3
   atxmega256a3
   atxmega256a3b
   avrxmega7
   atxmega128a1
   avr1
   at90s1200
   attiny11
   attiny12
   attiny15
   attiny28
sketch_jul01a.cpp:1: error: MCU 'atmega128rfa1' supported for assembler only
In file included from sketch_jul01a.ino:1:
C:\Users\Lex\Downloads\arduino-1.0.5-windows\arduino-1.0.5\hardware\arduino\cores\zigduino/Arduino.h:209:26: error: 
pins_arduino.h: No such file or directory

Christina Chu

unread,
Jul 8, 2013, 1:23:26 PM7/8/13
to alex....@gmail.com, zigduino...@logos-electro.com
I had similar problems. I've basically quit trying to get the zigduino working for now and am spending my time on other projects until the software issues have been resolved.

-c
--
Christina Chu

"If you want to go fast, go alone. If you want to go far, go together." -- African proverb.


Pierce Nichols

unread,
Jul 8, 2013, 3:10:48 PM7/8/13
to Don Alex, Zigduino Discuss
Don,

I see two problems. First, you need to update the copy of WinAVR you
have in arduino-1.0.5/hardware/tools to the the latest version, which
is included in the Windows tarball. That should deal with both of the
first two errors. Second, you need to make sure that
hardware/arduino/variants/zigduino_r2/pins_arduino.h exists.

-p

On Mon, Jul 8, 2013 at 9:15 AM, <alex....@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages