DFRduino L298p Shield Reverse Problems by jakfourie
[May 18, 2013, 08:08:19 pm]


GPS/GPRS/GSM Module V3.0 (SKU:TEL0051) SIM and Online Connection by csmith04
[May 18, 2013, 01:35:40 am]


KIT0015 - MiniQ Motor Wheel Set with Encoder Issue by GastonLagaffe
[May 17, 2013, 05:29:00 pm]


10 DOF Problems ?? by nestor
[May 17, 2013, 05:06:37 pm]


RoMeo V2 [R3] + DF-BluetoothV3 by Jose
[May 17, 2013, 12:54:51 pm]


2A Motor Shield + Graphic LCD4884 Shield?? by Jose
[May 17, 2013, 12:51:20 pm]


USB host shield not working by Giri
[May 16, 2013, 05:06:19 pm]


GPS/GPRS/GSM Shield 3.0 by csmith04
[May 16, 2013, 04:53:11 am]


Romeo V2 Voltage issue. by Jane
[May 15, 2013, 05:51:02 pm]

Sorry, this shoutbox does not exist.

Author Topic: RGB Ring V3 will not respond to commands  (Read 2233 times)

Scottish Dave

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
RGB Ring V3 will not respond to commands
« on: May 09, 2012, 02:59:14 am »
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 ?

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: RGB Ring V3 will not respond to commands
« Reply #1 on: May 09, 2012, 10:03:24 am »
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.
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Scottish Dave

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: RGB Ring V3 will not respond to commands
« Reply #2 on: May 09, 2012, 04:40:13 pm »
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 http://www.dfrobot.com/image/data/dfr0141/RGB_Ring_V3.rar

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 ?
« Last Edit: May 09, 2012, 04:51:19 pm by Scottish Dave »

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: RGB Ring V3 will not respond to commands
« Reply #3 on: May 09, 2012, 05:42:28 pm »
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.
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Scottish Dave

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: RGB Ring V3 will not respond to commands
« Reply #4 on: May 09, 2012, 06:23:08 pm »
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 !
« Last Edit: May 09, 2012, 06:28:27 pm by Scottish Dave »

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: RGB Ring V3 will not respond to commands
« Reply #5 on: May 09, 2012, 06:30:21 pm »
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.
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Scottish Dave

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: RGB Ring V3 will not respond to commands
« Reply #6 on: May 09, 2012, 07:09:55 pm »
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.  :)

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: RGB Ring V3 will not respond to commands
« Reply #7 on: May 10, 2012, 10:27:23 am »
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.
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Scottish Dave

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: RGB Ring V3 will not respond to commands
« Reply #8 on: May 10, 2012, 06:30:12 pm »
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

Ricky

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
  • Karma: +7/-0
    • Follow us on Twitter for coupons and product updates!
Re: RGB Ring V3 will not respond to commands
« Reply #9 on: May 10, 2012, 06:37:47 pm »
Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

 

SimplePortal 2.3.4 RC1 © 2008-2011, SimplePortal