You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#101 2009-10-20 08:09:56

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6174
Website

Re: DIY Pan/Tilt system!

Greg Nuspel wrote:

I would like "G0 A90.0 B0" for a rapid move "G1 A90.0 B45. F600."  for a move at a specified degrees per minute. It mimics machine code and is easily learnt. You could have "S" for shutter, "P" for pause, "Q" quantity/repeat, So the line "S.1 P1. Q3" would have the shutter fire for 0.1 seconds with a 1 second delay after for 3 repeats. This would fire a camera set for 3 exposures of bracketing. You could also place a P in a move statement to give the machine time to settle down.

Just some random thoughts.

Are loops really needed? Don't you think it is easier to send n times the sequence (S + P)? Well, it depend if you plan to be able to setup the entire pano from the controller, or if you need an external computer to download it...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#102 2009-10-20 11:28:24

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

Loops aren't needed, but would be nice. It's the old need or want issue. A manual head is all I need, but I want better toys smile


--Greg Nuspel

Offline

 

#103 2009-10-21 00:00:45

KreAture
Member
From: Norway
Registered: 2007-02-04
Posts: 210

Re: DIY Pan/Tilt system!

I want to combine the image storage with the pano data points.
Basically use my cam's offline storage mode to save directly to the controllers memory instead of internal, or push the xml file to cam while controlling the cams folder system so it organizes the panos into folders. That would be sweet!

Offline

 

#104 2009-10-21 00:17:39

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

KreAture wrote:

I want to combine the image storage with the pano data points.
Basically use my cam's offline storage mode to save directly to the controllers memory instead of internal, or push the xml file to cam while controlling the cams folder system so it organizes the panos into folders. That would be sweet!

Now you are dreaming


--Greg Nuspel

Offline

 

#105 2009-10-21 01:07:22

KreAture
Member
From: Norway
Registered: 2007-02-04
Posts: 210

Re: DIY Pan/Tilt system!

Well, I have a Minolta Dynax/Maxuum 7D and it has a USB 2.0 remote storage option.
The problem is it is not open, nor documented.

Offline

 

#106 2009-10-21 01:11:15

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

A little progress report;

All the raw materials have arrived, the dc servo motor is in Lawrence's hands for testing, he claims he can't stop the darn thing from turning with his hands and it only show 750ma draw at that. Some of the parts have been machined, I just have to see if I can get the lathe work done soon since I'll be out of parts to mill soon. I am hoping my Nokia N800 will be here early next week so I can try communicating to the Arduino.

If people are looking for a source for remote cords for the Nikon D300 I picked mine up on eBay from these guys http://stores.shop.ebay.ca/Suppere-Store__W0QQ_armrsZ1 very inexpensive and easy to deal with.


--Greg Nuspel

Offline

 

#107 2009-10-21 08:08:32

KreAture
Member
From: Norway
Registered: 2007-02-04
Posts: 210

Re: DIY Pan/Tilt system!

Remote cables and such: dealextreme.com ...
Free shipping from Hongkong too smile

Offline

 

#108 2009-10-21 12:35:37

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6174
Website

Re: DIY Pan/Tilt system!

Greg, you should first try to implement a simple firmware, with low-level commands (like drive, read, stop...), and use Papywizard (or any external program written with a high-level language) to feed it and build the sequence; I can write you a plugin to do that.

Then, once all works fine, you can add higher-level commands, for loops, tests and so.

In order to be used with Papywizard, you should implement asynchronous commands: as soon as the firmware receives a command, it executes it in background, and keeps listening to the bus for new incoming commands. Here is the list of mandatory commands:

Code:

COMMAND    PARAM1    PARAM2       RETURN VALUE
read       <axis>    ---          current position
drive      <axis>    <position>   ---
stop       <axis>    ---          ---
startJog   <axis>    <direction>  ---
getStatus  <axis>    ---          driving status (mainly to know if a
                                  previous drive command is over or not)

Some useful parameters can be added, like the jog speed, and all accell/decel params. Just hard-code them at first.

You should also implement a special error code, when the command can't be executed (bad syntax or any other internal problem). But this error code should be returned immediatly; if something occurs during a drive, it should be only reported in the status.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#109 2009-10-21 14:04:38

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

Yes I'll take it by baby steps, first just get an axis to move, then I'll slowly add function to it. If I communicate through the USB first to try things then I can move up to where I use the Bluetooth. So basically I'll send the text as you suggest and the controller will have to take that and change it into move commands for the motors. Sounds easy but I know it isn't always that simple.


--Greg Nuspel

Offline

 

#110 2009-10-30 18:08:57

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

I have a few parts to show, most of the mechanical components are shown including both mounts for the stepper and dc servo motor.
http://farm3.static.flickr.com/2455/4058812916_75dfaa6c3f_b.jpg

All the aluminum parts will be anodized black.

Now I will start the electronics for it. Hopefully that wont take too long roll


--Greg Nuspel

Offline

 

#111 2009-10-30 18:25:22

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6174
Website

Re: DIY Pan/Tilt system!

Nice!


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#112 2009-10-30 19:05:25

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1389
Website

Re: DIY Pan/Tilt system!

Waou !!! Greg:)


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#113 2009-11-01 22:04:46

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

I'm not sure if this is the place for this question, but is there a way of assigning more pins to serial communication on the Arduino Duemilanove or do I have to get a Mega? I want one port for each servo motor communication and one for the Bluetooth.


--Greg Nuspel

Offline

 

#114 2009-11-02 08:00:05

Paul
Member
From: Bonn, Germany
Registered: 2008-08-30
Posts: 846

Re: DIY Pan/Tilt system!

Greg Nuspel wrote:

I'm not sure if this is the place for this question

Hi Greg,
definetely the best place for questions around arduino is the arduino forum:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl

you may try it here too ...
http://chiphacker.com/

a BT-module for Arduino: search ebay for partnumber 320438167955

and a great stepperdriver is the easydriver from sparkfun
(I have some codesnippets to run it with an arduino with ramped acceleration / deceleration)

Last edited by Paul (2009-11-02 08:03:11)


Paul

close, but no cigar ... ... ...

Offline

 

#115 2009-11-02 12:18:59

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

Paul,

Thanks for the info. I could run the servo motors off step and direction inputs. This way we can develop one firmware for the Arduino and either steppers or servos could run on it. It might be the easiest way to keep many people happy.


--Greg Nuspel

Offline

 

#116 2009-11-03 12:29:18

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

Found another DIY project with an interesting innovation. http://www.flickr.com/photos/robin_w/40 … 2724177502

He is using the flash hotshoe output to let the controller know that the photo is finished, I think I want to implement this myself.


--Greg Nuspel

Offline

 

#117 2009-11-03 12:37:15

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6174
Website

Re: DIY Pan/Tilt system!

Looks like another Phil's Panoduino... Is there a link describing the project?


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#118 2009-11-03 13:30:08

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

This is all I could see Phil sent me a link to it, he might have more information.


--Greg Nuspel

Offline

 

#119 2009-11-03 17:13:49

KreAture
Member
From: Norway
Registered: 2007-02-04
Posts: 210

Re: DIY Pan/Tilt system!

That was brilliant!
I think I'll steal that as well!

Offline

 

#120 2009-11-04 14:10:26

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: DIY Pan/Tilt system!

I just came across some interesting steppers http://www.phenostream.com/products/OSM_01.aspx I haven't had time to check out exactly what it is capable of.

Last edited by Greg Nuspel (2009-11-04 14:10:47)


--Greg Nuspel

Offline

 

#121 2011-11-23 17:08:43

KreAture
Member
From: Norway
Registered: 2007-02-04
Posts: 210

Re: DIY Pan/Tilt system!

Very cute indeed!
Like the passthrough, but in out app I think a star topology is more applicable due to the wiring of the diff axis.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson