WS2811 Servo Contro...
 
Notifications
Clear all

WS2811 Servo Controller?

34 Posts
13 Users
0 Reactions
23.3 K Views
Posts: 1133
(@toozie21)
Noble Member
Joined: 19 years ago
idleup wrote:Jason, how are you sending commands to the PIC in your circuit? I am wanting to use the WS2811 so it acts like a pixel, what is your application?

My situation is for a stand-along display. In my case, the servos are either in an "open" or a "closed" state. I configure what those values are for the 5 different servos by using a potentiometer and committing the value to the onboard EEPROM. I then send serial commands to set the different servos to their open/closed states for the animation. It is very simplistic, but it can be expanded to do more (my stuff isn't very generic, it is more tailored to what I need).

Do you have any experience with programming a PIC? If so, what language?


Reply
Posts: 459
(@shockwave)
Reputable Member
Joined: 15 years ago

Are they actual servos? Because your open/closed description sounds like a solenoid.

The good news is a solenoid CAN be controlled via 2811, though not directly. You use the chip to turn on the LED in an optoisolator, which then energizes a triac. That then energizes the high power coil of the solenoid. Not all solenoid are AC though. But the same idea of an opto to energize mosfets for 12v solenoids works. So do you have solenoids or servos?


Reply
Posts: 1133
(@toozie21)
Noble Member
Joined: 19 years ago

Yeah, mine are servos. I used poor terms (since I am opening/closing pages on a nativity "book"), think of it as adjustable, pre-programmed 2-position servos.


Reply
Posts: 459
(@shockwave)
Reputable Member
Joined: 15 years ago

Then no, the pwm from a 2811 won't work. Servos need a pulse from 1ms to 2ms to represent the angle, and they need it from 20 to 60 pulses a second. Output from the 2811 is many times too fast for any servo.

But a company called pololu that has multiple servo controllers


Reply
Posts: 2216
(@ctmal)
Famed Member
Joined: 19 years ago

If you want to see the code for the RenServo, check this out:

http://doityourselfchristmas.com/forums/showthread.php?11737-Renard-based-Servo-controller&highlight=renard+servo

I'm not sure it's the best way to do things but it does work well. Basically I took the renard code and changed it to work for servo's. I think you could do something similar, you would just have to find a way to receive the output of the 2811 and convert it to the 0-255 values.


Reply
Posts: 615
Topic starter
(@livinglightshows)
Prominent Member
Joined: 14 years ago

No, no experience with PIC programming beyond messing with a Parallax Basic Stamp when I was in High School 🙂

toozie21 wrote:My situation is for a stand-along display. In my case, the servos are either in an "open" or a "closed" state. I configure what those values are for the 5 different servos by using a potentiometer and committing the value to the onboard EEPROM. I then send serial commands to set the different servos to their open/closed states for the animation. It is very simplistic, but it can be expanded to do more (my stuff isn't very generic, it is more tailored to what I need).

Do you have any experience with programming a PIC? If so, what language?


Reply
Posts: 615
Topic starter
(@livinglightshows)
Prominent Member
Joined: 14 years ago

Chris, I have never heard of the RenServo but it may just work... The last post in that thread you linked to is several years old. Do you have the board for sale or do you have to print them yourself? How far could the servo be located from the board? In my application the servos would be across the yard, I take it that is too far for the signal, how far do you think is the max from servo to board?

One other question, Does this plug into the show player using a serial connection like the RenSS boards? I am not too familiar with them as I started this hobby with 90% pixels, and how do you program a specific servo position from within Vixen 3?

Sorry for all the questions...

Matt Johnson
johnsonlightshow.com

ctmal wrote:If you want to see the code for the RenServo, check this out:

http://doityourselfchristmas.com/forums/showthread.php?11737-Renard-based-Servo-controller&highlight=renard+servo

I'm not sure it's the best way to do things but it does work well. Basically I took the renard code and changed it to work for servo's. I think you could do something similar, you would just have to find a way to receive the output of the 2811 and convert it to the 0-255 values.


Reply
MartinMueller2003
Posts: 7617
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

Hi Matt

Since the RenServo is basically a Renard Protocol device, you would actually put the RenServo board as close to your servo motor as possible. The long run cable would be the RS485 cable (CAT5 or 6) that goes back to the output of either another Renard device or to an RS485 serial port on a bridge or dongle. The comms line is designed for long distances, servo motor signals are short distance signals.

As for vixen, assuming a single channel of control, you create a single channel element and give it a single color. When you set an intensity for that color on that element, you will get a value sent to the RenServo (assuming you have patched correctly).


Reply
Posts: 2216
(@ctmal)
Famed Member
Joined: 19 years ago

In addition to what Martin said, I never got any boards made. They would either have to be etched or the boards would have to be ordered. I think others may have gotten some made, I'll have to poke around.


Reply
Posts: 615
Topic starter
(@livinglightshows)
Prominent Member
Joined: 14 years ago

Okay. I want to try this out, now I just need to figure out how to get one... I wonder why nobody has talked about RenServo in the last several years? The last discussions seem to be 2011/2012.

Matt Johnson
johnsonlightshow.com

ctmal wrote:In addition to what Martin said, I never got any boards made. They would either have to be etched or the boards would have to be ordered. I think others may have gotten some made, I'll have to poke around.

Reply
Page 3 / 4
Share: