go_away

Author Topic: What kind of encoder to use on a DC motor driven base?  (Read 1739 times)

0 Members and 1 Guest are viewing this topic.

Offline LittlejohnTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
What kind of encoder to use on a DC motor driven base?
« on: March 01, 2010, 12:28:22 AM »
Hello everyone, my first post so I hope I do it right.

I am building a 2 wheeled, 1 caster, robot base. For the drive I am using the gears and motors out of a Mattel Jeep at 12V DC. These are controlled by a Solarbotics L298, which I am in turn controlling with an Arduino, that will one day be controlled by an Apple IIGS motherboard.

The question I have is what would be the best/cheapest way to measure the rotation of the 2 8" lawn mower wheels. I need to compare the rotation with the Arduino because the 2 DC motors do not run at exactly the same speed. The wheels have a little wobble in them that I can't seem to remedy, but still works great.

I am including a video to answer (hopefully) all questions.

[youtube]fwtlwTWdHBc[/youtube]

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
Re: What kind of encoder to use on a DC motor driven base?
« Reply #1 on: March 01, 2010, 09:28:52 AM »
The question I have is what would be the best/cheapest way to measure the rotation of the 2 8" lawn mower wheels. I need to compare the rotation with the Arduino because the 2 DC motors do not run at exactly the same speed. The wheels have a little wobble in them that I can't seem to remedy, but still works great.


Rotary encoders: http://www.societyofrobots.com/sensors_encoder.shtml

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,661
  • Helpful? 84
Re: What kind of encoder to use on a DC motor driven base?
« Reply #2 on: March 01, 2010, 11:23:05 AM »
I have used printed encoder disks with radial 'pie' shaped black and white bars that are glued to the wheels. Then use a reflective photosensor to 'read' the encoder bars.

Like this one:
http://www.acroname.com/robotics/parts/R253-WW02.html

This is fairly easy to do your self for very little money. The disks can be created in various graphic programs and even in Excel then printed. reflective photo sensors can be bought at many electronic suppliers or build your own with an LED and a photo-transistor.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 226
  • Mind Reading: 0.0
Re: What kind of encoder to use on a DC motor driven base?
« Reply #3 on: March 01, 2010, 07:41:42 PM »
Hi,

The easy way to create an encoder disc is by a postscript file Here's a bunch

An online encoder drawing page

There also exists a few programs to generate the discs.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 

Related Topics

  Subject / Started by Replies Last post
25 Replies
4038 Views
Last post April 01, 2009, 03:31:20 PM
by jellis359
3 Replies
1637 Views
Last post June 26, 2009, 05:52:36 AM
by guru
3 Replies
528 Views
Last post October 20, 2011, 05:28:30 AM
by newInRobotics
13 Replies
687 Views
Last post August 16, 2012, 04:22:39 PM
by Batienzaxcore


Get Your Ad Here