Showing posts with label electronics. Show all posts
Showing posts with label electronics. Show all posts

Thursday, April 18, 2013

Working follow focus test setup!

Yes! It works!


It works a little better than the video shows, but it's a little too noisy right now, and still has some kinks to be ironed out.
Video with the Canon M500

Wednesday, April 17, 2013

LEDs

The LEDs came, and they work great! The cold white one is exactly that, it would work well for bluish mood lighting, and the warm one is a nice warm white.

--Working on the new stepper motor interface. This should make for a much tidier layout.

-- Update! --



This is just for the cold white one, the other one is a little harder to mount.

Tuesday, April 16, 2013

More LED lights



Turns out that Mouser has many more LED lights, and cheaper.
http://www.mouser.com/Optoelectronics/LED-Lighting/LED-Emitters/High-Power-LEDs-White/_/N-8usfj?P=1yzvd86Z1yzxcydZ1yzvr9p&Ns=Pricing|0
I hadn't looked there for a while, prices have dropped.
Also, note to self, this looks promising: http://www.mouser.com/ds/2/256/MAX16834-97839.pdf

With LED's about 30 cents apiece, you could get 
100 36 lumen LED's for $30 ... 100 X 36 = 3600 lumens = bright!

Monday, April 15, 2013

LED lights





While I was at it I ordered two LED lights from MPJA as well (saves on shipping)
Warm white: http://www.mpja.com/90lm-Warm-White-SMD-LED/productinfo/19567%20OP/
(3600K)
90lm Warm White SMD LED
And cold white: http://www.mpja.com/90-lm-1-Watt-White-Star-LED/productinfo/19585%20OP/
(6000K-6500K)
90 lm 1 Watt White Star LED
These are both 90 lumen SMT LED's, and my thinking here is that you could build a 900 lumen light for $20 + about $10 for case and circuit board. You could have 10 of each, and switches to set it to various color temperatures from 3600K to 6500K! (though luminence across the spectrum would be uneven)
I'll be trying out these soon, and seeing if they are feasible for set lighting. Also, while I can build one of these rather cheaply, I'm planning to run it on 12 VDC or so. Not everyone has 12 V power on set. I have more power supplies than I know what to do with (Just kidding), at least 12V ones. Also, most of mine are set for the standard 13.8 VDC, so I may need to put some sort of regulation in there... things get complicated... This might also be worth looking at too, but is a lot more expensive and not as bright: http://www.mpja.com/LED-High-Lumen-12V-Module-White/productinfo/18875%20OP/

That's all for now!

Stepper motor coming soon...



O.K. so the first stepper motor I got from MPJA worked, but didn't have enough torque for what I needed. I measured the coil resistance, and found it to be about (I forget now, I think it was about 70 Ohms). I ordered a new motor, and it should get here in two days (Wednesday).
There are no particular torque specs I found on it, but comparing it to similar motors, it looks like it has about 4 times the power that the old motor had. This is the new motor:
Stepper Motor, NEMA 17, 12V


It has a specified holding torque of 3.2 kg/cm, which I think is still rather on the low side, but we'll see.
Also, that's holding torque, which is usually somewhat more than rotational torque.
I also ordered a driver IC (actually a few, I'll probably burn out at least one...) so I'll have a nice neat driver circuit instead of the big mess of transistors I had on the breadboard before.
This does have a nice data sheet, very helpful!

New post about LED lights coming soon.


Wednesday, October 24, 2012

Follow focus update

Some more parts for the follow focus came today, and things are starting to fall into place, so here's what I've got right now:
Here are all the parts, just laid out.

Here the lens is on the frame (rod system) in approximately the position it will be when mounted on the camera.


 Here are two phoctos of the gear used. The pitch is 0.08" (MXL)
Detail of the handle mount, press fit. (Also surprisingly strong!)

Close up of the drive belt on the lens focus ring

More of the same

This is how the whole thing will work, I will just slide that white mounting plate in, and mount the stepper motor on it (when it gets here), and mount the gear on the motor. The calipers are just to show size and to hold the gear in place.

Here it is from a different angle.

 That's where things stand right now, and so far it's working nicely. The new stepper motor should come soon. I ordered one from MPJA.com, only to be told that that model was not in stock, and the listing was a mistake. :( Oh well, they offered a different model that I think will work, for the same price, so I'll give that a try, and see how it works. The main thing is that I want it to run on 12 VDC, and have enough torque. The motor runs on 12 V, adequacy of torque awaiting testing.
 I can't really use it with the stepper motor I have right now because (1) I haven't figured out a good way to get enough torque out of it without blowing the driver transistors, and (2) it has a gear permanently affixed to its shaft, (of the wrong size) so I would have to cut it off to get it to work with the gear and drive belt.
 Just for reference, here are the parts used for the follow focus:

(Or similar, exact specs not important unless you are trying to get a ratio right)

(Or similar, length may be changed to suit application)

I didn't calculate the reduction ratio for the focus, because for now I don't need to, and it would add a lot of complications. I'm just going to get the whole thing working before I worry about that. After I have it working I can calibrate a dial, and tweak the ratios in the software. If at some point I try to make a commercial version, I may start thinking about things like that.

Hopefully I'll have the 3rd version of the .blend file ready to be posted soon, but that's all for now, until next time! 

Saturday, June 16, 2012

stepper motor position control

The stepper motor now has a position control! It wasn't easy either, and it has a ways to go yet, but here's an update:


As you can see, it needs some more work yet, but it is really coming together nicely now. A few of the problems that I will try to fix are:

Jitter. It's not too bad anymore, but it's too much. I may have to use a digital potentiometer.

  • Current draw. The motor is rated for 6 Amps @ 3 volts. I'm not sure that rating is right, but that was what it was specified as. The problem with that is that the transistors can't handle more than about an amp, so they are getting really hot. The other problem with the current draw is that the whole thing is running off of USB, so while this is great for testing, because it's current limited, to get the full torque out of this motor I'll need a good 3V supply and some higher current transistors. (I'm also not sure if the transistors are saturating all the way, so it might be that I just need lower voltage transistors)

  • What to use for a proper enclosure.

  • How to mount it to the rail system ( this is the easy one!)

Anyway, that's where I am currently. Here's the code I'm using:

---------------------------------------------------------------------------------------------------------------------
/*
 * MotorKnob
 *
 * A stepper motor follows the turns of a potentiometer
 * (or other sensor) on analog input 0.
 *
 * http://www.arduino.cc/en/Reference/Stepper
 * This example code is in the public domain.
 */

#include

// change this to the number of steps on your motor
#define STEPS 200

// create an instance of the stepper class, specifying
// the number of steps of the motor and the pins it's
// attached to
Stepper stepper(STEPS, 8, 9, 10, 11);

// the previous reading from the analog input
int previous = 0;

void setup()
{
  // set the speed of the motor to 15 RPMs
  stepper.setSpeed(15);
}

void loop()
{
  delay(100);
  // get the sensor value
  int val = analogRead(0);

  // move a number of steps equal to the change in the
  // sensor reading
  stepper.step(val - previous);

  // remember the previous value of the sensor
  previous = val;
}

---------------------------------------------------------------------------------------------------------------------

(I know that's probably not relevant to anyone else here, but I want a backup of the code online, and this is a good place to put it)

Friday, June 15, 2012

Stepper motor success at long last!

Finally!
 I now have my Arduino driving the stepper motor!
This is the motor:

Here is the driver circuit:

And here's the whole test setup:
(As you may know, I'm not especially known for neatness, as long as it works I'm happy!)

Here's the oscilloscope I'm using:


And finally, proof that it really does work:
(apologies for the poor quality)

That's it! I'll keep working on it, and hopefully add a position control soon!