Show Posts
Pages: [1] 2 3
1  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Servo Library for More than 2 Servos on: September 26, 2008, 10:41:21 am
I would probably add macros called writeAngle()  and readAngle() that looked like methods and explicitly did the conversions to and from millisconds using the existing methods. Would that work for you?

That would work for me.
2  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Servo Library for More than 2 Servos on: September 25, 2008, 04:28:17 pm
I'd be willing to give it a try.  My plan is to use servos for robots that could have 3-4 servos (or more.)  I would like to avoid using extra hardware if possible.

I'd have to look over the code but couldn't you add a SetAngle method instead of looking at values less than 200?
3  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Servo Library for More than 2 Servos on: September 25, 2008, 11:15:43 am
Thanks both of you for the information.  I wondered about an internal "limitation" since so many libraries use pin 9 and 10.

I probably will try out the other library to see how it works, too.  It is nice to have options.
4  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Servo Library for More than 2 Servos on: September 24, 2008, 03:40:49 pm
I like that it is using the hardware PWM.  Is there a limit on being able to use the other PWM outputs for servo control?
5  Forum 2005-2010 (read only) / Bugs & Suggestions / Servo Library for More than 2 Servos on: September 23, 2008, 03:20:26 pm
I really like the Servo library included with 0012 but wonder how hard it would be to have a library for more than 2 servos?  I looked at the code in playground and I think it is possible, but then again, I'm a software guy by day.  smiley-wink
6  Forum 2005-2010 (read only) / Interfacing / Re: Is it normal for Servo to be clicking while idle? on: September 18, 2008, 11:28:12 pm
Some servos don't like being at the extreme limits (0 or 180 degrees), either.  I have a Futaba that works from 5 to 180 degrees.  Anything less than 5 and I get similar behavior to what you are describing.
7  Forum 2005-2010 (read only) / Development / Re: Understanding the build process and IDE internals on: October 19, 2008, 09:52:04 pm
I'm all for it.  I like the idea of taking the arduino "experience" and making it available for attiny.  If you only need a couple of pins, why use a mega?  It does seem like a waste.
8  Forum 2005-2010 (read only) / Development / Re: Simple FloppyShield on: May 01, 2009, 12:31:26 pm
Plus a little pager motor to make the thing vibrate, too. smiley-wink
9  Forum 2005-2010 (read only) / Development / Re: Romeo-All in one Arduino on: April 22, 2009, 10:54:43 am
From where?
10  Forum 2005-2010 (read only) / Development / Re: ATmega328 vs ATmega128 on: June 03, 2009, 12:20:00 am
Can I take a 328 and put it in the socket on my Duemilanove in place of the 168 that is currently there?

I just did that with my 168 based boards.  You'll either need to buy the chip with a bootloader already on it or read about the many ways you can get a bootloader onto the chip.
11  Forum 2005-2010 (read only) / Development / Re: camera controller? on: September 24, 2008, 04:26:32 pm
Check out this site for some examples of using the Arduino to trigger a Cannon 30D and flash.
12  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Bug in the Book "Making Things Talk" Page 38 on: April 22, 2009, 04:06:28 pm
You can submit errata for the book at:
13  Forum 2005-2010 (read only) / Interfacing / analogReference(EXTERNAL) AREF &  3.3V pin on: June 17, 2009, 03:14:12 pm
I have some analog sensors that do not return more than 3.3V so I want to improve accuracy by using a 3.3V AREF voltage.  

I want to hook the AREF pin up to the 3.3V supply pin.  The documentation at says to hook up external sources with a 5K resistor.  

Is it really that easy?
14  Forum 2005-2010 (read only) / Interfacing / Re: MegaServo Library! on: April 09, 2009, 11:39:11 am
In your last set of double for loops, you are setting both servos to the value of "pos".
15  Forum 2005-2010 (read only) / Interfacing / XBee Pin Voltage Limits on: May 15, 2009, 06:26:05 pm
I've seen XBee circuits connected directly to the 5V logic lines and some that have the 5V to 3.3V level shifting.  Will it work connecting the XBee's pins directly to the Arduino or is that just asking for a fried XBee?
Pages: [1] 2 3