ArduinoGeneral

Rainbow LED Ring V3 problem

userHead op112233 2012-04-08 06:13:43 6684 Views8 Replies
Hi!
I have 1 month experience with Arduino.
Arduino Uno work good. sensors & etc.
I have a problem with Rainbow LED Ring V3
I can't upload any to it.
I do next:
1?Download the Rar file with the source code and library.
2?Place the RGB_Ring_V3 library folder in : Arduino/Libraries
3?Please navigate to the following folder in your Arduino IDE folder: arduino-0022hardwarearduino
4?Open the boards.txt file located in this folder and at the bottom paste the information from (step 5)
5?From the downloaded RAR file open the folder: RGB_Ring_V3 boards and programmers-arduinoboards.txt (the information from this file needs to be added to the boards.txt file in your arduino-0022 folder, from step 4).
6?select the: "[Optiboot] Arduino Diecimila, Duemilanove, Nano, NG w/ ATmega168" option from "Tools>Boards" menu option

And i can't upload sketches to the Rainbow Ring V3.

first I try to load RGB_receive1.pde
and i see errors list:
[size=8pt]
In file included from RGB_receive1.cpp:3:
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:5:22: error: WProgram.h: No such file or directory
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:6:24: error: WConstants.h: No such file or directory
In file included from RGB_receive1.cpp:3:
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h: In function 'void random_leds()':
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:294: error: 'random' was not declared in this scope
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h: In function 'void fader()':
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:304: error: 'delay' was not declared in this scope
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:308: error: 'delay' was not declared in this scope
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h: In function 'void fader_hue()':
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:319: error: 'delay' was not declared in this scope
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h: In function 'void swaywobble(uint8_t, uint8_t)':
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:380: error: 'delay' was not declared in this scope
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:386: error: 'delay' was not declared in this scope
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h: In function 'void set_all_byte_hsv(uint8_t, uint16_t, uint8_t, uint8_t)':
C:\arduino-1.0\libraries\RGB_Ring_V3/RGB_Ring_V3.h:564: error: 'B00000001' was not declared in this scope
RGB_receive1.cpp: In function 'void receiveEvent(int)':
RGB_receive1.pde:-1: error: 'class TwoWire' has no member named 'receive'

As of Arduino 1.0, the Wire.receive() function was renamed to Wire.read() for consistency with other libraries.

RGB_receive1.pde:-1: error: 'class TwoWire' has no member named 'receive'

As of Arduino 1.0, the Wire.receive() function was renamed to Wire.read() for consistency with other libraries.

RGB_receive1.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for consistency with other libraries.

RGB_receive1.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for consistency with other libraries.

RGB_receive1.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for consistency with other libraries.
[/size]

what should I do?
2012-07-19 18:50:38 Hi,


the rainbow ring comes pre-loaded with a test firmware which when you press the buttons on the board it will light up with different sample patterns.


This sample code is provided in the zip file the name is: RGB_Ring_V3.pde


Just upload that file again and try to press both buttons you should see all the lights turn on.



userHeadPic Hector
2012-07-19 03:38:28 Thank you for answer? Hector!

i try to test the RGB LED ring
I download to it a simple program

# include "RGB_Ring_V3.h"
  void loop () {
    set_led_rgb (3, 55, 55, 55);
}

I expected that when this program run the third LED will glows white
program is loaded correctly, but the LED does not light.
may be a bug in the program?
what program to load, to check the card.
userHeadPic op112233
2012-07-16 19:57:11 Hi I'm not sure I understand your problem.


Also, why are you using a decimal point? "55.55" this is not supported.



userHeadPic Hector
2012-07-11 23:45:34 Hi!
Thank you for your answers!
? have a new problem :(

I was able to connect to a computer RGB Ring. Uploaded by the program without errors.
# include "RGB_Ring_V3.h"
  void loop () {
    set_led_rgb (3, 55, 55.55);
}
that the third LED is glowing white, but it is not glowing.
Tell me what kind of a test program to load, so something glowing?
userHeadPic op112233
2012-04-12 17:51:51 Have you double checked your connection? Make sure they are as shown on the wiki page.


Also, try uploading any simple sketch, like "hello world" to make sure you can upload to the board.


Make sure you are not providing more than 1 power source.
userHeadPic Hector
2012-04-12 05:14:14 I thank for answers!

[quote] i believe that you are using Arduino IDE1.0 [/quote]
yes

[quote]One solution to your problem is to download Arduino IDE 0023[/quote]
i download it, and Rainbow Ring blink any tyme by D10 then connected to PS (also it blinks then i try to apload any program)

if i press S1 button, Rainbow Ring show it capabilitys (it looks wery beautiful!)

then i try to dounload reciever and see error

avrdude: stk500_getsync(): not in sync: resp=0x00

what should I do?
userHeadPic op112233
2012-04-09 23:09:17 Hi,


You should use V0023 of the IDE for the LED RingV3 for now. Also, the sender, and reciever sample codes have not been updated to work with V3 of the LED Ring.
userHeadPic Hector
2012-04-09 00:58:34 i believe that you are using Arduino IDE1.0.  The Rainbow led ring is complied under Arduino IDE 0023.  Since there is huge change in Arduino IDE 1.0, we are working on releasing a Arduino IDE1.0 version soon.

One solution to your problem is to download Arduino IDE 0023 which you can find under Arduino download section.

userHeadPic R2D2C3PO