OpenServo.com Forum Index OpenServo.com
Discussion of the OpenServo project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ATtiny support

 
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
blackbodypie



Joined: 24 Feb 2009
Posts: 2
Location: Toronto, ON

PostPosted: Tue Feb 24, 2009 2:29 am    Post subject: ATtiny support Reply with quote

Hi, new here. Electrical engineering major. Taken a couple of digital controls courses. May be able to contribute.

I just downloaded the nightly build of the 1.x/2.x branch and tried to build for the attiny45. I changed everything I could find but if I'm seeing things right there is no support in pwm.c for the attiny. Is that correct?

Right now I'm just looking but I may eventually use it. Avoiding the 3.x stuff for now as if I use it, it will need to be prototyped with homebrew kit. Cool project in any case. Some things that I noticed, might like to see,

HMI support (hitec robot servo protocol)
pid.c doesn't use any integral term, why not?
ipd.c -- cool, didn't see this mentioned on the website
Back to top
View user's profile Send private message
ginge
Site Admin


Joined: 14 Jan 2006
Posts: 1027
Location: Manchester, UK

PostPosted: Tue Feb 24, 2009 8:13 am    Post subject: Reply with quote

Hi blackbodypie and welcome!

Quote:
there is no support in pwm.c for the attiny. Is that correct?


There is, but you might have to go back a few CVS revisions. I will dig this out for you.

Quote:
pid.c doesn't use any integral term, why not?


We found it too unstable, and the windup caused oscillations. Because the motors are so small it was found that the integral term was not really needed.

Again, if you look through the attiny branch revision logs, you can see the it went in, came out, went in again and finally stayed out.

Quote:
ipd.c -- cool, didn't see this mentioned on the website

Smile

Looking forward to your thoughts.

Barry
_________________
http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group