DiyLightAnimation

Hardware => Other Projects => Topic started by: soakes94 on February 02, 2011,

Title: DMX Servo
Post by: soakes94 on February 02, 2011,
I want to be able to mount a laser to a Servo and control it with DMX so I can move the laser around and tie it in with the rest of my equipment. I have seen this http://www.hoelscher-hi.de/hendrik/english/servo.htm (http://www.hoelscher-hi.de/hendrik/english/servo.htm) and I think its what I am after, I can etch the boards myself.

It seems quite easy to build but I was just looking for some guidance. Am I right in thinking that this has 2 channels for moving the servos and 3 for lights so maybe RGB? And also can I daisy chain (i think that's the term) so I can lets say have a MR16 then my servo controller and then another MR16? It says I can I think but I cant see where I would attach the output cable to? I think that's everything just now haha

Thanks Steve
Title: Re: DMX Servo
Post by: tbone321 on February 02, 2011,
The channel map states that it is set up for RGB and two servos (pan and tilt).  As for th connections, this board has no provision to mount any connector type.  It simply has the three connection points used for standard DMX.  It would be up to you to fashion your input and output connector types.  The good news is that you simply parrallel the input and output connectors and we don't use the ground so you would only be connecting the D+ and D- connections.
Title: Re: DMX Servo
Post by: mokeefe on February 02, 2011,
Wow, more technology to get the creative juices flowing.

I wonder how fast you can move the servos with that hardware?  Were you hoping to move them fast enough to "draw" patterns with the laser?  That same site has plans for a DMX 2 axis stepper motor controller.  That might be another option.

-Mike
Title: Re: DMX Servo
Post by: tbone321 on February 02, 2011,
There is no reason that the servo's wouldn't move at their max speed so how fast they move simply depends on the servo and how heavily it is loaded down.
Title: Re: DMX Servo
Post by: soakes94 on February 03, 2011,
I would probably start with just servo's just to get the hang of things and with the stepper motors it could be a bit more interesting trying to design pictures using LSP or vixen haha.

Could I connect my laser to the board using the RGB connectors? and just to make sure I understand this right, if I wanted to add another DMX device to this board I would just connect the DMX in and out together and then to the DMX connection on the board?

Thanks for your help :)
Title: Re: DMX Servo
Post by: kpurcell on February 03, 2011,
Maybe some laser guys with more experience can chime in. But i believe that laser scanners are rated in points per second at a certain scan angle. 15K to 30K points per second come to mind. I don't think 44hz is going to cut it for spelling out words or drawing figures. You might get some interesting patterns however.

Ken
Title: Re: DMX Servo
Post by: dmoore on February 03, 2011,
If you are looking for DMX controlled lasers:

http://www.ali#express.com/wholesale?SearchText=DMX+Laser&catId=0  (you'll need to remove the "#" in the link...for some reason it keeps getting chopped off)

I used a Red/Green laser in my show and pointed it at the large tree in my yard and it looked great.  I had several questions of how I managed to get thousand of christmas lights to all move like that.  :)

The thing to keep in mind with lasers is the surface you will be shooting them onto.
Title: Re: DMX Servo
Post by: soakes94 on February 05, 2011,
I'm not looking for anything to fancy I don't think, the main reason I think I am doing this is more because I think it would be cool, I don't know if I would use it in my display and if I didn't they wouldn't do to much. I think its more for fun than anything.

Steve
Title: Re: DMX Servo
Post by: soakes94 on February 10, 2011,
Can someone help me with the parts I need since the website doesn't include a BOM for mouser. I need
ATmega8515-16PU
75176B
7805
rectifier (round)
LED 5mm red
LED 5mm green
10k resistor
390 Ohm resistor
27pF
100nF
100µF
DIP-Switch (10)
8MHz (HC49)
pin header (single)

I can sort the leds and resistors fine its the other parts I need help with, also I can get the ATmega8515-16PU fine.

Also how do I program the ATmega8515-16PU? Can I use a pickit? Or do I need something else? I'm pretty new to this kind of stuff, I can build the boards following instructions and having a nice list of parts but when it comes to working out parts I just go blank.

Thanks Steve
Title: Re: DMX Servo
Post by: soakes94 on February 10, 2011,
I've found this http://www.hoelscher-hi.de/hendrik/light/ressources/an111.pdf (http://www.hoelscher-hi.de/hendrik/light/ressources/an111.pdf) I'm a bit confused of how I build this, and am I right in thinking I can use this to program the chip with the firmware?

Steve
Title: Re: DMX Servo
Post by: knguyen916 on February 10, 2011,
You can talk to fkostyun. He built a servo based on the design you are linking too

http://doityourselfchristmas.com/forums/showthread.php?4326-DMX-Servo-Controller


You are not allowed to view links. Register or Login
I've found this http://www.hoelscher-hi.de/hendrik/light/ressources/an111.pdf (http://www.hoelscher-hi.de/hendrik/light/ressources/an111.pdf) I'm a bit confused of how I build this, and am I right in thinking I can use this to program the chip with the firmware?

Steve
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 12, 2011,
Frank is sending me a parts list as soon as he comes across it.  Also I bought the last 2 PCBs that he had but he can order more if there is an interest.
Title: Re: DMX Servo
Post by: D56VillageNut on February 12, 2011,
You are not allowed to view links. Register or Login
Frank is sending me a parts list as soon as he comes across it.  Also I bought the last 2 PCBs that he had but he can order more if there is an interest.

If Frank get's a BOM put together and is willing to order more of these I would be interested.  I really thought about getting those last two but it's good to see another DLA member got them.

Alan T
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 12, 2011,
He said he would if enough people are interested.  I already asked him to get quotes.  Is there a way to run a want list to see how many on here would be interested?
Title: Re: DMX Servo
Post by: soakes94 on February 12, 2011,
I was thinking about getting the boards but I'm in the UK and thought by the time I pay for postage and the boards and waiting for them to arrive I could have etched them myself and then it means I would feel like I have acheived more haha. I'm really just after what parts I need. And also I'm just wondering how many servos can I run per board? I think its either 4 or 2 but I'm not sure.

Thanks Steve
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 12, 2011,
http://store.kostyun.com/product.php?id_product=30      4 servo + 4 out
Title: Re: DMX Servo
Post by: soakes94 on February 12, 2011,
Thats great thanks :) whats output 5 - 8 for? It would be good if I could use them to control lasers as that's what I plan to move around with the servos and then I have a completely single unit system if that makes sense.
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 12, 2011,
I can't see why not, though I haven't tried.
Title: Re: DMX Servo
Post by: soakes94 on February 13, 2011,
My plan  is to use 2 of these servos http://www.dealextreme.com/p/sg90-mini-servo-with-gears-and-parts-2kg-torque-35764 (http://www.dealextreme.com/p/sg90-mini-servo-with-gears-and-parts-2kg-torque-35764) one for pan and one for tilt and then attach a red laser with a diffraction grating and maybe another laser with a green laser and diffraction grating or I might attach the green laser to another 2 servos.

Would those servos be suitable for this kind of thing? And also does the speed of the servo depend on the input voltage because finding a 8.4V power supply could be challenging haha.

If its possible I would plan to run the 4 servos from the one board plus the lasers so I can have it all in one contained unit keeping it simple and tidy.

Steve
Title: Re: DMX Servo
Post by: mokeefe on February 13, 2011,
You are not allowed to view links. Register or Login
He said he would if enough people are interested.  I already asked him to get quotes.  Is there a way to run a want list to see how many on here would be interested?

I'd probably be interested 1 or 2 boards, if you're keeping track.  Let us know what you hear back from Frank.

-Mike
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 13, 2011,
Those servos run 3.5 - 8.4 v    According to http://www.hoelscher-hi.de/hendrik/english/servo.htm AC1&2 have to be connected with a power supply of 9-12V ac or dc. 3-5W should be sufficient..  The parts around IC3 are responsable for an exact Vcc of 5.0Vdc (which is within your range)

I think for your project you need to follow this:
channel map for moving lights devices
DMX     function    output pin
ch1    Servo1 (Tilt)    OUT1 (PA0)
ch2    Servo2 (Pan)    OUT2 (PA1)
ch3    Strobe    
ch4    PWM1 (red)    OUT5 (PA4)
ch5    PWM2(green)    OUT6 (PA5)
ch6    PWM3 (blue)    OUT7 (PA6)
ch7    PWM4    OUT8 (PA7)
Title: Re: DMX Servo
Post by: soakes94 on February 13, 2011,
So if I connect 12V DC to the board will I be able to run the board plus servos? I do I need a separate power supply for the servos as they can't run on 12V? And from what you say I can only run one setup (2 servos and 2 lasers) per board? Or could I run 4 servos (2 pan, 2 tilt and 4 lasers) per board? Thanks for all your help everyone :) this is a great place
Title: Re: DMX Servo
Post by: soakes94 on February 16, 2011,
I was wondering if someone could give me some advice on how to program the pic, 3 arrived today I don't think I will program them today or anytime soon since I don't have the other parts yet. I have a computer with both a parallel and serial port and I know you can program the pic with either of these ports its just how is where I am stuck at haha.

Steve
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 16, 2011,
http://www.youtube.com/watch?v=Ka_TTxcaGx8  This seems pretty thorough it's for a 2 not sure just what the differences might be between 2 and 3 but a start none the less.
Title: Re: DMX Servo
Post by: mokeefe on February 16, 2011,
You are not allowed to view links. Register or Login
I was wondering if someone could give me some advice on how to program the pic, 3 arrived today I don't think I will program them today or anytime soon since I don't have the other parts yet. I have a computer with both a parallel and serial port and I know you can program the pic with either of these ports its just how is where I am stuck at haha.

Steve

What exactly are you trying to program?  Is it the ATMega chip that is used in the henne (or fkostyun version) board? If so, that is not a PIC and can't be programmed with the PICKIT's (unless I'm totally missing something).  I thought I saw info on one of the sites for those servo boards that talks about how to program the ATMega (via a PC printer port I believe).

Yeah, here's the link: http://www.hoelscher-hi.de/hendrik/light/ressources/an111.pdf

-Mike
Title: Re: DMX Servo
Post by: soakes94 on February 16, 2011,
Yeah its the ATMega chip, I think in my post I made it seem like i said pickit 3 when i said "how to program the pic, 3 arrived today" where as I probably should have said 3 of the ATMega's arrived today haha.

I've seen I can use the parallel port on my computer, I've looked over it again and I think I've worked it out the only think I'm not sure about is pins 12,11,2,3 am I right in thinking I have to join pins 2 and 12 together and pins 3 and 11 together? Everything else seemed to make sense and I hope to order the parts for the rest of the board soon so I can start playing around.

Steve
Title: Re: DMX Servo
Post by: mokeefe on February 16, 2011,
Yeah, PIC is family of microcontrollers made by Microchip Technology -- no relation to the ATMega chip used in this board.

Looking at the document, you are correct that 2 and 12 are tied together as are pins 3 and 11 on the LPT port (pins 24 and 25 are tied together too, in case you didn't notice that).

-Mike
Title: Re: DMX Servo
Post by: soakes94 on February 16, 2011,
Oh yeah haha thanks :)

Steve
Title: Re: DMX Servo
Post by: budude on February 17, 2011,
Actually I've seen a tool that can allow the PICkit 2 to program AVR chips - not sure about the ATMega specifically but maybe... Look for PK2AVRISP. I haven't used it myself as I have a separate AVR programmer but I've seen posts where folks claim it works.
Title: Re: DMX Servo
Post by: soakes94 on February 18, 2011,
I was wondering if anyone had a parts list for the servo board featured here http://www.hoelscher-hi.de/hendrik/english/servo.htm (http://www.hoelscher-hi.de/hendrik/english/servo.htm)

I already have the ATmega8515-16PU so I would just be looking for the other parts and since I'm not skilled in that area I'm hoping someone can help me out.

Steve

Title: Re: DMX Servo
Post by: lightsup on February 18, 2011,
 according to the web site

   Parts dmx servo :

  IC1-  ATmega8515-16PU
  IC2- 75176B
  IC3- 7805
  B1-   rectifier (round)
  LED1- LED 5mm red
  LED2- LED 5mm green
  R1- 10k (PT10-S)
  R2,3,4-  390 Ohm
  C1,2-  27pF
  C7-  100nF
  C5,6- 100µF
  SW1-  DIP-Switch (10)
  Q1-  8MHz (HC49)
  connectors-  pin header (single)
Title: Re: DMX Servo
Post by: LondoB5 on February 18, 2011,
Wait a bit on that. Frank emailed me that he is going to go over the BOM to make sure all the part numbers are current and correct and get back to me. I hope to hear something today or tomorrow.
Title: Re: DMX Servo
Post by: mokeefe on February 18, 2011,
I suspect Steve already saw that list of parts since it's on the web page he referenced.  What I bet he is looking for is matching that list to actual parts he can order, say from Mouser.  If you're a real novice at electronics it may not be the easiest task to match the described part to a specific item at Mouser (and be confident you got it right).  I bet if you search for 100nF capacitor at Mouser you'll get quite a list.

May be best to wait for Franks feedback.

-Mike
Title: Re: DMX Servo
Post by: mokeefe on February 18, 2011,
You are not allowed to view links. Register or Login
Wait a bit on that. Frank emailed me that he is going to go over the BOM to make sure all the part numbers are current and correct and get back to me. I hope to hear something today or tomorrow.

In your conversations with Frank, did he indicate whether he had plans to restock the PCB at his site?

-Mike
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on February 18, 2011,
I talked to Frank last week and picked up the last of his boards.  He said that he will not reorder for quite awhile unless there is demand.  I am putting together a request total from this forum as well as a couple Halloween ones. 
Title: Re: DMX Servo
Post by: soakes94 on February 18, 2011,
I would probably be in for 2 boards, I'm planning on placing a mouser order soon and that's why I'm looking for part numbers from mouser.

Thanks Steve
Title: Re: DMX Servo
Post by: Ron on February 18, 2011,
I think I've got some boards I never bought the parts for.   If anyone is interested in them I could be persuaded to part with them.  Let me go find them and figure out how many I have.

Ron
Title: Re: DMX Servo
Post by: Ron on February 18, 2011,
Looks like I have 4 boards, no parts.  If anybody wants them I'd let you have them for $9 a piece and I'll split the shipping.

Let me know.

Ron
Title: Re: DMX Servo
Post by: soakes94 on February 18, 2011,
How much for shipping to the UK?

Steve
Title: Re: DMX Servo
Post by: lightsup on February 18, 2011,
here what I came up with, in my mouser search if any one as the time to look it up and see if I made a  mistake in my search.

Parts for dmx servo board

  IC1-  ATmega8515-16PU -  556-ATMEGA8515-16PU
  IC2- 75176B -  595-SN75176BP
  IC3- 7805  512- LM7805ACT
  B1-   rectifier (round)-  RB155-BP
  LED1- LED 5mm red
  LED2- LED 5mm green
  R1- 10k (PT10-S) - 531-pt15nh-10k
  R2,3,4-  390 Ohm -  299-390-RC
  C1,2-  27pF -   140-50N5-270J-TB-RC
  C7-  100nF-  581-TAP104K050SCS
  C5,6- 100µF-  647-UPJ1E101MED
  SW1-  DIP-Switch (10) -   611-BD10
  Q1-  8MHz (HC49) - 815-ABLSG-8-D2YT 
  connectors-  pin header (single) -  571-9-146281-0
Title: Re: DMX Servo
Post by: abrianbaker on February 18, 2011,
I would be in for 2 boards in a future coop.
Title: Re: DMX Servo
Post by: gforman on February 19, 2011,
Quote
I talked to Frank last week and picked up the last of his boards.  He said that he will not reorder for quite awhile unless there is demand.  I am putting together a request total from this forum as well as a couple Halloween ones.

Put me down for 4.

Glen
Title: Re: DMX Servo
Post by: soakes94 on February 19, 2011,
See if I added 2 stepper motors to this setup instead of using a servo, what kind of stuff could I do? I was thinking of making a white laser so then I have make different colors and I didn't just want to do something simple with this laser if I was going to spend so much on building it. I was thinking of maybe making it write something or make patterns, I was wondering if anyone had any ideas, I know how to add the parts to make the board run a stepper motor its just what can I do with it that would be better than a servo.

Steve
Title: Re: DMX Servo
Post by: tbone321 on February 19, 2011,
A stepper motor is a whole different animal from a servo and is a whole lot more complicated to work with. 
Title: Re: DMX Servo
Post by: soakes94 on February 19, 2011,
The DMX servo board says it can work with stepper motors which can be pisitioned at 1.8 degree intervals. Am I right in thinking I can move to these positions at quick intervals with a mirror on the x and y axes and then create more interesting effects like a liquid sky and things like that? That's what I think I can do but I'm not sure.

Steve
Title: Re: DMX Servo
Post by: tbone321 on February 19, 2011,
If you want to do that you could probably have an easier time with a pair of servo's.  Using stepper motors can be quite complicated.  Remember that a stepper motor is just that, a motor.  You would have to build the control surfaces yourself for the motor to connect to the device that you want it to move.  You would also have to determine your ratio's to determine how many steps you would need to move the device to the proper positions.  You also need to determine if this controller is using an open or closed control method.  If it is open (and I suspect that it is) then the motor doesn't know or care were it is when you power it up and you would have to come up with a method to get it to a start position for your position commands to do what you want them to do.  The real advantage to stepper motors is that they are not limited to 180 degre travel like most servo's but that advantage comes at a cost.
Title: Re: DMX Servo
Post by: soakes94 on February 19, 2011,
Could I create a liquid sky effect with a servo? I wasn't sure if they would move fast enough to create that effect? I was just thinking that if I'm spending a lot to create this laser I want to be able to do some cool stuff with it haha.

Steve
Title: Re: DMX Servo
Post by: tbone321 on February 19, 2011,
I am not much into lasers so I don't know what a liquid sky is.  If you want to just spin the mirror then I would use a standard brushless motor to do that and use servo's to position the laser on the mirror.
Title: Re: DMX Servo
Post by: soakes94 on February 21, 2011,
That could work maybe, my problem is that to create a white laser you need a red, green and blue/violet laser and then using special parts you mix the colors, so I would have to be able to move the whole setup around I would think, I'm trying to think of a way just to move the laser maybe using a mirror but I'm not sure yet :(

Thanks for all your advice and hint and tips, its really appreciated :)
Title: Re: DMX Servo
Post by: ILOVETOTRYDIY on March 10, 2011,
Checked Frank's site today it seems he has more in.  http://store.kostyun.com/product.php?id_product=30
Title: Re: DMX Servo
Post by: LondoB5 on March 11, 2011,
Frank never got back to me on the updated BOM after I received a couple of boards from him, so I just went with the BOM from the website. I'll let you know how it works out when I get the parts from mouser. The ATMega doesn't ship until the 23rd.

Title: Re: DMX Servo
Post by: mmulvenna on March 12, 2011,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
Frank is sending me a parts list as soon as he comes across it.  Also I bought the last 2 PCBs that he had but he can order more if there is an interest.

If Frank get's a BOM put together and is willing to order more of these I would be interested.  I really thought about getting those last two but it's good to see another DLA member got them.

Alan T

I got the parts list from Frank last year. Here is a link to the mouser parts that I ordered. I have the board and parts but have not yet built it.  http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=1520c7ea40  (http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=1520c7ea40)
Title: Re: DMX Servo
Post by: dlhoppe on March 12, 2011,
It appears that this DMX servo solution is not always readily available. Do you guys think it would be worthwhile to have our own DMX servo controller here at DLA? I've been giving it some thought and could put something together without too much trouble. Given a simple design, it would be really inexpensive too. I have a basement full of R/C equipment, so I have plenty of servos to play with. I was thinking I'd like to try some servo-driven animation myself anyway.

Are there many DIY servo controllers available? Just doing a quick google, the only DIY solution I see is the one discussed in this topic. It might be more convenient to have our own design so that we can get the coop managers to run a board coop when needed.

What do you think?
Title: Re: DMX Servo
Post by: gforman on March 12, 2011,
I think this is a great Idea.

Glen
Title: Re: DMX Servo
Post by: loveroflife96 on March 13, 2011,
You got my vote!  I don't know anything about development, but would be glad to help in any way possible! 
Title: Re: DMX Servo
Post by: n1ist on March 13, 2011,
In addition to driving servos, it should also drive at least two RGB LEDs (for eyes or prop lighting).  I'd just add a TLC5916 to the board.
/mike
Title: Re: DMX Servo
Post by: dlhoppe on March 13, 2011,
New topic started on servo controller design. Let's allow this thread to get back to the original topic.


Dave
Title: Re: DMX Servo
Post by: soakes94 on March 20, 2011,
Just about to place my mouser order and I have noticed that this BOM http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=1520c7ea40 doesnt contain things like the rectifier as this BOM was for franks board which even though is based on this board http://www.hoelscher-hi.de/hendrik/english/servo.htm seems to have some different parts and as I'm etching the board from hoelscher I need the parts to match up, could someone help me here, I'm fine working out the basic parts like the switches and IC sockets its the resistors and caps and things like that I need help with.

Steve
Title: Re: DMX Servo
Post by: n1ist on March 20, 2011,
[Edited, since I'm not paying attention to which thread I'm in.  Sorry.]

/mike
Title: Re: DMX Servo
Post by: mokeefe on March 20, 2011,
You are not allowed to view links. Register or Login
That BOM is not for the board that we are discussing here (I haven't even drawn up the schematic yet).
 
/mike


Actually that BOM IS for the board we are discussing here.  This thread was started to discuss the hendrik and/or Kostyun DMX servo board.  The potential DLA version of a servo board that you and others are working on is being discussed in a separate thread (although it was briefly alluded to in this thread).  Don't want to confuse people even more.

-Mike
Title: Re: DMX Servo
Post by: n1ist on March 20, 2011,
I looked a bit at the difference between Frank's board and Henne's.  Most of the parts are common; here are Mouser part numbers that should work for the parts that are unique to Henne's.  I did not look at differences in connectors...

C7  100nF 200mil lead spacing   594-K104K15X7RF5TH5
C5,C6 100uF 100mil lead spacing 871-B41827A7107M000
R2,R3,R4 390R   660-MF1/4DCT52R3900F
R1 10k trimpot  858-36WR10KLF
B1 Bridge Rectifier  583-RB151
IC3 7805/TO220  512-LM7805ACT

/mike
Title: Re: DMX Servo
Post by: mokeefe on March 20, 2011,
You are not allowed to view links. Register or Login
Checked Frank's site today it seems he has more in.  http://store.kostyun.com/product.php?id_product=30

The key word there is "seems".  I placed an order on Franks' site for that board.  Even though it said it was "available" I immediately received an email that said it was out of stock.  After exchanging emails with Frank, it seems that is part of a coop order that will ship on April 20.  Not a huge deal since I'm in no rush.  I'll keep an eye on the homegrown solution that is being developed here too.

-Mike