ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#42  

Thanks Dave, got it working - very cool. I am trying to change the color in the "Fade", Could you explain to me what numbers in this string represent( not the port and baud rate)

SendSerial( D18,9600,"F255,0,0,0,0,0,50,20,1")

Thanks

#43  

/ Fr1,g1,b1,r2,g2,b2,s,t,d - Fade between color r1,g1,b1 and color r2,g2,b2 in s steps with interval t and direction d

Speeding it up or slowing it down would be the 50 and 20. the 50 is the number of steps it uses to fade, and 20 is how quickly it does it.

SendSerial(d0, 9600, "F255,0,0,0,0,0,50,25,R") looks pretty good to me personally. The only one I couldnt get to work right was the Wipe.

/ Cr1,g1,b1 - Set whole Ring to same color specified by r1,g1,b1 / Rt,d - Rainbow with interval t and direction d / Tr1,g1,b1,r2,g2,b2,t,d - Theater Chase between color r1,g1,b1 and color r2,g2,b2 with interval t and direction d / Wr1,g1,b1,t,d - Color Wipe in color r1,g1,b1 with interval t and direction d / Fr1,g1,b1,r2,g2,b2,s,t,d - Fade between color r1,g1,b1 and color r2,g2,b2 in s steps with interval t and direction d / Sr1,g1,b1,t - Scanner with color specified by r1,g1,b1 and interval t / Pp,r1,g1,b1 - Set individual pixel p to color specified by r1,g1,b1

@Robert, thanks again, you did an awesome job on this.

#44  

Thanks Dave, How do I change to color in the Fade from red (thats what it's set to) to Blue? Yes, Robert this is good!

#45  

RED


SendSerial(d0, 9600, "F255,0,0,0,0,0,50,25,R")

GREEN


SendSerial(d0, 9600, "F0,255,0,0,0,0,50,25,R")

BLUE


SendSerial(d0, 9600, "F0,0,255,0,0,0,50,25,R")
#46  

@Merne, I have a second arduino mini pro tested with the code loaded and ready to ship if you would like me to send it to you. Let me know.

#47  

Thanks Dave, I get it now!

#48  

Not sure why you have an R in the last field of Fade command. It should either be a zero or a one.

For forward:


SendSerial(d0, 9600, "F0,0,255,0,0,0,50,25,0") 

For reverse:


SendSerial(d0, 9600, "F0,0,255,0,0,0,50,25,1")

Glad it is working for you. I didn't know if I should post it without testing, but I wanted you to have a decent jump off point. It should be fairly responsive to serial commands. I trust you will post any fixes. I have no clue at the moment why color wipe might not work. Only the serial decoding and setup of commands is really mine. The rest comes from the adafruit lesson 3.

Post a video of it working sometime if you can.