Forum >RGB Ring V3 will not respond to commands
ArduinoGeneral

RGB Ring V3 will not respond to commands

userHead Scottish Dave 2012-05-09 10:59:14 9544 Views19 Replies
I have connected the ring to my pc via an FTDI adapter. The demo code runs, and I can upload new code no problem. I can open a serial connection via the FTDI and the ring sends me a line of text, so I know serial is good.

I am trying to send the example command - co029901s via the Arduino-23 serial monitor. The ring does nothing.

I am also running a serial port monitor so I can see the command being passed to the ring.

Any suggestions what I could try to solve the issue ?
2012-05-11 02:37:47 HI Scottish:

Please find the command sample at [url=https://www.dfrobot.com/wiki/index.php?title=Rainbow_Ring_V2_(SKU:DFR0141)]https://www.dfrobot.com/wiki/index.php?title=Rainbow_Ring_V2_(SKU:DFR0141) [/url]
userHeadPic R2D2C3PO
2012-05-11 02:37:47 HI Scottish:

Please find the command sample at [url=https://www.dfrobot.com/wiki/index.php?title=Rainbow_Ring_V2_(SKU:DFR0141)]https://www.dfrobot.com/wiki/index.php?title=Rainbow_Ring_V2_(SKU:DFR0141) [/url]
userHeadPic R2D2C3PO
2012-05-11 02:30:12 Hi Hector,

I certainly will - but I am a noob at this so I hope everyone is patient.......

Thanks for your helps so far but.....

Can anyone from DFRobot, who sold me the device, step up here. Can you provide some documentation for the product you sold me please ?? Its all a bit sub-standard and not exactly encouraging to me to make more purchases from you.

Thanks

Dave
userHeadPic Scottish Dave
2012-05-11 02:30:12 Hi Hector,

I certainly will - but I am a noob at this so I hope everyone is patient.......

Thanks for your helps so far but.....

Can anyone from DFRobot, who sold me the device, step up here. Can you provide some documentation for the product you sold me please ?? Its all a bit sub-standard and not exactly encouraging to me to make more purchases from you.

Thanks

Dave
userHeadPic Scottish Dave
2012-05-10 18:27:23 Hi Scottish dave,


I don't know the commands, when I wrote the sample sketch for V2 I had to look through the library and the included sample program.


If you are successful in creating a sample program please come back and share it with the community.
userHeadPic Hector
2012-05-10 18:27:23 Hi Scottish dave,


I don't know the commands, when I wrote the sample sketch for V2 I had to look through the library and the included sample program.


If you are successful in creating a sample program please come back and share it with the community.
userHeadPic Hector
2012-05-10 03:09:55 No worries, I'll see what I can whip up....

One last question - Can anyone tell me what command structure the V3 ring responds to ? I can write a sketch to work over serial, but unless I know how to format the commands to the ring I wont get far.

Thanks for your help.  :)
userHeadPic Scottish Dave
2012-05-10 03:09:55 No worries, I'll see what I can whip up....

One last question - Can anyone tell me what command structure the V3 ring responds to ? I can write a sketch to work over serial, but unless I know how to format the commands to the ring I wont get far.

Thanks for your help.  :)
userHeadPic Scottish Dave
2012-05-10 02:30:21 Hi Dave,


I know the documentation for V3 is lacking.
I will try and see if we can get someone to write a better sample code.




The V2 Sample code was written by me, but I don't have time to do V3. I am preparing for maker faire which is only a week away.


You should be able to compare the 2 main codes and modify the V3 code to work with the Send sketch...


In this example you need 2 Arduinos since the communication is via I2C and not Serial.


You could also make a serial version which would be easier I think, since you dont need to worry about I2C protocol.
userHeadPic Hector
2012-05-10 02:30:21 Hi Dave,


I know the documentation for V3 is lacking.
I will try and see if we can get someone to write a better sample code.




The V2 Sample code was written by me, but I don't have time to do V3. I am preparing for maker faire which is only a week away.


You should be able to compare the 2 main codes and modify the V3 code to work with the Send sketch...


In this example you need 2 Arduinos since the communication is via I2C and not Serial.


You could also make a serial version which would be easier I think, since you dont need to worry about I2C protocol.
userHeadPic Hector
2012-05-10 02:23:08 ok - can anyone give me a example of a valid command string - there is spreadsheet in the rar file which I think shows the commands but I dont have anything that can open it.

Thanks

EDIT - and there are no example commands in the V3 wiki  :(

EDIT 2 - Got the spreadsheet open, and its not in English.......help !
userHeadPic Scottish Dave
2012-05-10 02:23:08 ok - can anyone give me a example of a valid command string - there is spreadsheet in the rar file which I think shows the commands but I dont have anything that can open it.

Thanks

EDIT - and there are no example commands in the V3 wiki  :(

EDIT 2 - Got the spreadsheet open, and its not in English.......help !
userHeadPic Scottish Dave
2012-05-10 01:42:28 Actually,


The PDE is correct, but the command sequence is only for V2. Did you read that command from the wiki? make sure you are looking at the V3 wiki.
userHeadPic Hector
2012-05-10 01:42:28 Actually,


The PDE is correct, but the command sequence is only for V2. Did you read that command from the wiki? make sure you are looking at the V3 wiki.
userHeadPic Hector
2012-05-10 00:40:13 Its defo a V3 ring - and it is running the RGB_Ring_V3.pde sketch included in the RGB_Ring_V3.rar. How can that be wrong ?????

EDIT - This is the .rar from the dfrobot wiki that contains the sketch I am using [url=https://www.dfrobot.com/image/data/dfr0141/RGB_Ring_V3.rar]https://www.dfrobot.com/image/data/dfr0141/RGB_Ring_V3.rar[/url]

Do I need to run the "Twitest" sketch on another arduino to send commands ? I hoped I could send command straight to the ring over a serial connection ?

PS Does anyone have examples of working code they can share ?
userHeadPic Scottish Dave
2012-05-10 00:40:13 Its defo a V3 ring - and it is running the RGB_Ring_V3.pde sketch included in the RGB_Ring_V3.rar. How can that be wrong ?????

EDIT - This is the .rar from the dfrobot wiki that contains the sketch I am using [url=https://www.dfrobot.com/image/data/dfr0141/RGB_Ring_V3.rar]https://www.dfrobot.com/image/data/dfr0141/RGB_Ring_V3.rar[/url]

Do I need to run the "Twitest" sketch on another arduino to send commands ? I hoped I could send command straight to the ring over a serial connection ?

PS Does anyone have examples of working code they can share ?
userHeadPic Scottish Dave
2012-05-09 18:03:24 Hi Dave,


Please check which version of the ring you have? if its V3 (with 2 buttons on board) then it is not compatible with the sample code you are trying to use. That code was developed for V2.


You can take a look at the sample code for V3 and modify it.
userHeadPic Hector
2012-05-09 18:03:24 Hi Dave,


Please check which version of the ring you have? if its V3 (with 2 buttons on board) then it is not compatible with the sample code you are trying to use. That code was developed for V2.


You can take a look at the sample code for V3 and modify it.
userHeadPic Hector
2012-05-09 10:59:14 I have connected the ring to my pc via an FTDI adapter. The demo code runs, and I can upload new code no problem. I can open a serial connection via the FTDI and the ring sends me a line of text, so I know serial is good.

I am trying to send the example command - co029901s via the Arduino-23 serial monitor. The ring does nothing.

I am also running a serial port monitor so I can see the command being passed to the ring.

Any suggestions what I could try to solve the issue ?
userHeadPic Scottish Dave