[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4807: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4809: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4810: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4811: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
DAVID-Laserscanner Forum • View topic - 2-Axis Positioner
Dear DAVID Community,

In 2016, DAVID and this forum have been integrated into HP Inc.
This forum has been read-only since then, and will be switched off by then end of 2019.

To everyone who has contributed here, we thank you for all your work and for the constructive, helpful and friendly atmosphere you have created!
Please continue to discuss on the HP Support Forums.

2-Axis Positioner

Which camera works? Where can you buy an adequate laser? And more...

2-Axis Positioner

Postby WalterMo » Thu Mar 01, 2012 10:38 am

This 2-axis positioning system could be very helpful for DAVID scanning. It can precisely and comfortably (by means of the remote control) position light weight objects. I think up to a few hundred grams.
Two stepping motors, mounted perpendicular to one another, turn the object by 3 adjustable angle increments: 1.8° for fine positioning, 36° and 45° during scanning. Each position will be displayed on the 2x16 characters LCD display (in degrees).
The horizontal stepping motor (1.8°) has a planetary gear (64:1) attached. The other motor has a resolution of 0.9°. Both motors are driven by Pololu A 4988 boards. The bigger one in full step mode and the small one in 1/8 microstep mode.
If you take a closer look into the controller you can see that I have hooked up both Pololus onto a common carrier board. Advantage: Better handling of the Pololu mini boards, easy to exchange if damaged and the boards are also a carrier for the necessary external electrolytic capacitors.
The Pololus and the LCD display are controlled by the well known Arduino Uno. The device is powered by an external 9V wall power supply.

Walter

PS. Resetting the display for the motor positions will be done by first pressing the 'RESET' button and then simultaneously the requested 'AXIS' button.
Attachments
Positioner Mats1.jpg
Positioner Controller.jpg
User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby benoy » Thu Mar 01, 2012 12:43 pm

Excellent work. :D :D :D :D This can take the entire community to much greater heights. Thanks Walter mo for this great work

regards

Benoy
benoy
 
Posts: 143
Joined: Wed Feb 11, 2009 8:03 pm
Location: India

Re: 2-Axis Positioner

Postby benoy » Thu Mar 01, 2012 4:05 pm

Sorry about the double posting. The first one was my response to the design.

I do not know if I understood the concept behind the turn table completely. So if I am wrong some where please do not hesitate to correct me.

1) The motors A & B can rotate independently at the 3 pre decided angles.
2) The remote that WalterMo suggests is the communication through the com port of David
3) The Arduino acts like an on off switch to the 2 motors
4) The display is also controlled by Arduino.
5) The pololu mini boards drive the 2 motors independently
6) Now where does the software( code) come into picture

thanks in advance

Benoy
benoy
 
Posts: 143
Joined: Wed Feb 11, 2009 8:03 pm
Location: India

Re: 2-Axis Positioner

Postby WalterMo » Thu Mar 01, 2012 4:24 pm

Hello Benoy,
Thanks for the compliments for the design.

I am just drawing the schematic diagram and if it's finished I will post it together with the code for the Arduino. Up to now I haven't implemented that DAVID can control all. Means you must do it manually.
The DAVID feature will come as a next step.

Walter
User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby WalterMo » Thu Mar 01, 2012 8:46 pm

Attachments
Positioner Diagram.jpg
Positioner_Mats1.zip
(2.39 KiB) Downloaded 332 times
User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby andreasa » Fri Mar 02, 2012 4:43 pm

Wow, this is an awesome accessory to David scanner. You'r works are a true inspiration.
User avatar
andreasa
 
Posts: 34
Joined: Wed May 04, 2011 11:49 am
Location: Tartu, Estonia

Re: 2-Axis Positioner

Postby pottersfriend » Sat Mar 03, 2012 1:10 am

I knew it was just a matter of time.

Great work as usual. Would be nice if you could post a video of it moving.
pottersfriend
 
Posts: 153
Joined: Wed Jun 03, 2009 1:49 am
Location: Washington State, USA

Re: 2-Axis Positioner

Postby WalterMo » Sat Mar 03, 2012 4:19 pm

As you can see on the photo above of the opened controller, I have provided the output stages of the Pololus with 4 diodes each. These diodes should protect the Pololus if the plug contacts of the motor cables are inadvertently opened. This is strongly forbidden to do if the motor is with current.
In the past I had often used the motor driver board from Marcus Mechatronics, equipped with 4 protecting diodes and this board never failed, even if it was used in the just mentioned forbidden way. But in the meantime the company Marcus Mechatronics doesn't exists no longer.

Now I have equipped the Pololu carrier also with (nearly the same) ultra fast avalanche diodes, Type BYV 26 D or BYV 26 C:
http://www.datasheetcatalog.net/de/data ... YV26.shtml

I don't know if it will be a 100% security, but I feel a bit better. Of course if you don't have an openable connection you can forget the diodes.

Walter

PS. Both 10k resistors aren't necessary
Attachments
Pololu1XSchaltplan.JPG
Pololu Layout.jpg
Layout made with Micrografx Designer
Double PololuBoard.jpg
Double Pololu carrier board
User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby WalterMo » Sat Mar 03, 2012 6:50 pm

Now it is possible to trigger the vertical axis (motor B) by DAVID. :D

That means if DAVID has successfully saved a scan and this was receipted by you, DAVID will send the character 'Z'. 'Z' stands for 'Scan saved'. See DAVID's Advanced Settings below 'Communication', 'COM' and then 'Messages'.

This trigger pulse will cause the vertical motor to turn for one angle increment which was set before by you on the controller's console.

Test it with Sven's software 'Test COM 6'. It is attached as a *.zip file. Of course before you can send the 'Z' you have to set the right COM port address and 'Open' it. There are 3 ways to find it:
1. You will find it at Arduino when you upload the Mats1_1 code from your PC to the controller. Find it below 'Tools', 'Serial port'.
2. DAVID 3.2 (or higher) will find it: Connect the controller, Start DAVID, goto 'Hardware Setup', Setup Type: 'Motorized DAVID Setup'.
3. By your PC itself, e.g. for Win7: Start, Control panel, Hardware and Sound, Devices and printers, click with the right mouse button on the USB device, 'Properties', 'Hardware', USB Serial port =

Walter

Edit. If the controller should do e.g. 18° angle increments, set the toggle switch to 1.8° and send 10 x Z (in one go).
Attachments
TestCOM6.zip
(546.82 KiB) Downloaded 359 times
Positioner_Mats1_1.zip
(2.54 KiB) Downloaded 335 times
COM 6 Test.jpg
COM5 as an example with 10 x Z for an 18° angle increment
User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby ddstech » Sat Mar 03, 2012 9:28 pm

WalterMo,

Thank you very much for posting your progress on this project! Please keep the build photos coming. I hope to build a similar setup, based on your work, soon.

A couple of questions.....
1. Will you be able to feed the table positions (motor rotations) to DAVID for use in ShapeFusion scan alignments?
2. Would servo motors be accurate and stable enough for this setup? I found this great source of parts that might work well for this type of project. http://servocity.com/html/pan_tilt_roll ... ories.html

Thanks
Camera: Point Grey Chameleon 1.3 MP Mono USB 2.0 camera
Lens: Fujinon DF6HA-1B Lens
Closeup lens on Camera: Carl Zeiss Ikon Proxar A28.5 .2m Close Up Lens
Projector: 3M 225a set to 1024x768
Projector closeup lens: +3 diopter closeup lens
ddstech
 
Posts: 21
Joined: Sat Nov 19, 2011 2:08 pm

Re: 2-Axis Positioner

Postby WalterMo » Sun Mar 04, 2012 8:01 pm

@ddstech,

To your questions:
1. If you have adjusted the axis precisely in that way as DAVID is working, you can set the used angle increments in DAVID's Shape Fusion and DAVID will align the scans automatically. This feature was also working in former DAVID versions. The attached sketch shows how DAVID is using the 3 axis.

2. Stepping motors have some advantages over servo motors: They can do a certain number of defined steps without any feedback to the controller.
A servo motor is a DC motor with an attached gear and needs a feedback to the controller. This can be done in a servo loop which consists of a simple potentiometer at the gears output shaft or better, a high resolution optical incremental rotary encoder. And the incoming informations of the potentiometer or the encoder must be interpreted by an electronic circuit and forwarded to the DC motor.
My experience is, coming from that time when I tinkered with model boats, that servos like to jitter. Even if they should stand still. Of course there are good servos out there which are working well but its price is rather high.
It will be more difficult to let DAVID cause an axis to rotate for e.g. 45°. OK, the Arduino is also able to send pulses of differend widths to control a model-servo. But its resolution and precision is worse, compared with a stepper motor.

The stepping motors which I have used were lying around at home. A low-cost alternative could be:
For the horizontal motor (a gear isn't necessary):
http://www.phidgets.com/products.php?ca ... _id=3308_0

And for the vertical motor:
http://www.phidgets.com/products.php?ca ... _id=3301_0


Walter

Edit: Just found, for Germany and Austria, two nearly identical motors to those of above:
http://www.pollin.de/shop/p/OTk0OTg4/Mo ... toren.html
Attachments
DAVID coordinats.jpg
User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby ddstech » Tue Mar 06, 2012 2:39 am

WalterMo,

Thank you for the great response and the links to the stepper motors! That looks like a great resource. Please keep us posted on your progress.

ddstech
Camera: Point Grey Chameleon 1.3 MP Mono USB 2.0 camera
Lens: Fujinon DF6HA-1B Lens
Closeup lens on Camera: Carl Zeiss Ikon Proxar A28.5 .2m Close Up Lens
Projector: 3M 225a set to 1024x768
Projector closeup lens: +3 diopter closeup lens
ddstech
 
Posts: 21
Joined: Sat Nov 19, 2011 2:08 pm

Re: 2-Axis Positioner

Postby WalterMo » Mon Mar 12, 2012 3:16 pm

User avatar
WalterMo
Moderator
 
Posts: 2363
Joined: Mon Apr 02, 2007 6:52 pm
Location: Braunschweig, Germany

Re: 2-Axis Positioner

Postby benoy » Wed Mar 14, 2012 7:14 pm

Thankyou WalterMo,

I was a little busy here. Though I am following the thread I didn't get time to write mails. I was busy working on my 7mm cal;calibration panel. It shows signs of success. I had to try out different lens and modify existing lens. I am also making the 2 axis position-er. Thank you I'll get back to you with happy news

Benoy
benoy
 
Posts: 143
Joined: Wed Feb 11, 2009 8:03 pm
Location: India

Re: 2-Axis Positioner

Postby DeeboFitts » Tue Mar 20, 2012 8:42 pm

Ive been studying this page the past few days. I am really intrigued by your setup. You'll be happy to know, I went ahead and bought a projector after talking to you the other day Walter.

Now I just noticed the Positioner_Mats1.zip, how it evaded me these past few days dumbfounds me. Anyways, after unzipping it, it shows a .pde file format. What program do you use to open this?
DeeboFitts
 
Posts: 1
Joined: Tue Feb 07, 2012 3:00 pm

Next

Return to Laser and Camera Hardware

Who is online

Users browsing this forum: No registered users and 1 guest