Forum Index > Projects > Egg-Bot
 Egg-bot calibration
 |  Printable Version
By: Anonymous: David () on Sunday, March 27 2011 @ 05:35 PM PDT (Read 3182 times)  
Anonymous: David

Hi,

I am using Flash to control the Egg-bot via tinkerproxy2.0.

I am using this method to send commands like "SM,100,10,10<CR>" to the board.

I only send pun up and down and sm comands like the one above to move the motors.

I use inkspace before I start using flash to calibrate the pen's servo motor.

This works very well with a couple exceptions. Most times moving the egg motor 3200 steps does not rotate the egg a full revolution. Typically it is about about 1/16th of an inch shy of a full rotation, and is very consistent, but sometimes the accuracy can change and vary by as much as 1/18 of an inch (so I can't just consistently add some steps and get a full rotation consistently.

Is there anything obvious that might change the accuracy of a full rotation? Perhaps something I need to do to calibrate the voltage or other detail for the board to communicate with the motors?





       
   
By: Windell (offline) on Sunday, March 27 2011 @ 05:51 PM PDT  
Windell


I am using Flash to control the Egg-bot via tinkerproxy2.0.
I am using this method to send commands like "SM,100,10,10<CR>" to the board.
I only send pun up and down and sm comands like the one above to move the motors.
I use inkspace before I start using flash to calibrate the pen's servo motor.



Pun up? Inkspace? I'll guess that you mean pen up and Inkscape.

This works very well with a couple exceptions. Most times moving the egg motor 3200 steps does not rotate the egg a full revolution. Typically it is about about 1/16th of an inch shy of a full rotation, and is very consistent, but sometimes the accuracy can change and vary by as much as 1/18 of an inch (so I can't just consistently add some steps and get a full rotation consistently.



Sounds like you don't have good coupling-- a solid connection --between the egg and the egg motor. When the egg is fully seated, it should have almost no "play" with respect to the egg axis. Read through the instructions at http://wiki.evilmadscience.com/Improving_precision

Is there anything obvious that might change the accuracy of a full rotation? Perhaps something I need to do to calibrate the voltage or other detail for the board to communicate with the motors?


There is a tiny "knob" to adjust the motor current on the board, but it doesn't sound like that's the issue here-- just mechanical coupling.


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Anonymous: David () on Monday, March 28 2011 @ 09:11 AM PDT  
Anonymous: David

Thanks. I'll definitely give that another read.

If I try to manually turn the egg, there is no play. And each time I draw a line 3200 steps long, it consistently comes up short by the same amount. The amount only changes infrequently, and then it is consistently short by that amount. It seems to me like either the speed at which I am sending it commands, or the periodic return to Inkscape to turn the motors off is effecting the accuracy of the steppers.

Do you think the knob you refer to could be used to calibrate the steps? Is there more I could read about the situations when adjusting that knob is typically needed?





       
   
By: dnewman (offline) on Monday, March 28 2011 @ 09:21 AM PDT  
dnewman

This still really sounds like slippage. Having consistent slippage is quite normal in my experience. If you want to demonstrate to yourself whether or not the difficultly lies with the software interface, make an inscape drawing of a some concentric circles, print it on paper, cut it out, and fix it to the egg motor drive cup. Draw a reference tick mark at an edge of this paper circle. Then stand your Eggbot up on its headstock, place something fixed nearby with a mark lined up with the paper circle's reference tick mark. Then, tell the egg motor to turn 3200 steps.

A number of us in the past have done this experiment when we were unwilling to believe that mechanical slippage of some sort was occurring. In my case, I was nagged that something was wrong in the software -- most likely a bug on my part. I did this experiment and others. Seeing was believing: the circle always turned a nice 360 degrees, always returning right back to where it started.

Dan


Cow Canyon Saddle Clear Sky Chart


Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 09/08/10
Posts: 149
Mt. Baldy,
California

Profile Email    
   
By: dnewman (offline) on Monday, March 28 2011 @ 09:23 AM PDT  
dnewman

Quote by: dnewman

Having consistent slippage is quite normal in my experience.



Mind you, with care you can reduce the slippage until it is very minor. My point was that when I am having mechanical slippage, it's not at all unusual for it to be very consistent.

Dan


Cow Canyon Saddle Clear Sky Chart


Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 09/08/10
Posts: 149
Mt. Baldy,
California

Profile Email    
   
By: Anonymous: david () on Saturday, April 02 2011 @ 10:23 AM PDT  
Anonymous: david

ok. thanks. I'm starting to believe this crazy slippage theory Wink

Thanks for helping.





       
   



 All times are PDT. The time is now 08:37 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?