How do you do Motor operations with AVR?? (NEWBIE Q!)

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi
I'm very very new to AVR, and still just learning about it, I have had interest in learning about controlling motors, and step motors (ROBOTICS) with AVR for a long time, and after reading Programming and Customizing the AVR microcontroller I found it lacks the section on telling me how to control motors! Books anyone??

ONE MORE THING!! Are there any books that teach Embedded C programming for the AVR?? I have looked at Embedded C programming with the Amtel Microprocessor, but thats a processor not a Micro, so would be gratful if someone can lead the way! Thanks!

Chris

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are you new to both electronics hardware and software?
Do you have any programmers for atmel chips or any other microcontroller?

If no to all, perhaps a read through of some of these projects will help you decide what direction to go. The nuts and volts columns walk you through motor control in volume 2. They are easy to adapt to any microcontroller and the projects are designed for teaching on a beginner level.

http://www.parallax.com/html_pag...

Lots of easy to read and understand stuff to read here as well.

http://www.parallax.com/html_pag...

That's my 2cents

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Books
There is some books focusing on C and AVR, which comes to my minde, here is those I could dig up right now.

This is linked to from hpinfotech (codevision)
http://www.hpinfotech.ro/html/cv...

And Kanda has a few which might be of interesst
http://www.kanda.com/index.php3?...

Interfacig motor
Check epanorama --> http://www.epanorama.net/links/m...
Here is tons of links if you wanna dig.

Also, for HW questio you sometimes get better answers using this forum: http://www.edaboard.com/

Regards
Vidar (Z)

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

"The fool wonders, the wise man asks"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Parallax has a lot of great info, and you can download their books for free. But they are mostly BasicStamp focused.

A couple other good books:

"Building Robot Drive Trains" by Dennis Clark and Michael Owings has a lot of info about programming motors.
http://www.amazon.com/gp/product...

The book "Programming Robot Controllers" by Myke Predko is a good place to start. It doesn't give a lot of info about bringing everything together to make a robot, though.

http://www.amazon.com/gp/product...

--Hank

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmel AppNoutes AVR49x - difrent motors controll.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks guys Appreciate the Tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The 2nd sentence in your first post was a little confusing... I suppose there is difference between a microprocessor and a microcontroller... if microprocessors are only a cpu, io and a little ram, and a microcontroller is a more complete computer with flash rom as well, then all AVRs are microcontrollers, and no one has mentioned the book by AVR Freak Smiley Micros specifically tailored to AVR Butterfly and GCC?

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I recommend the tiny26 (though not knowing all of your details), since it has a high freq PWM output available which is great for morotr drives. There are also some newer devices (part# ending in "pwm") which might be even better suited.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!