Thread: Pwm
View Single Post
  #12   Spotlight this post!  
Unread 25-10-2002, 00:05
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Stamps vs a 555 for a one channel PWM tester

Quote:
Originally posted by wysiswyg

Hmm if they act anything like a [servo] then you should be able to control the victors with a basic stamp. I know that you can control [servos] with a basic stamp.
Well, if you're REALLY insane, yes it can. But that's the EXPENSIVE way to go... A Stamp-II is about $50 a pop... A 555 timer is about $1! (I guess you could always use a Stamp-I for it... That's ONLY 34x more expensive rather than 50x more expensive... )

BTW... Remember with a Stamp you also have to digitize the pot with a POT command, *AND* run the Victor with a PULSOUT. BOTH statements use an "ignore the world timing loop", and won't complete the statement until the counting is complete. Therefore, the higher the pot resistance (or the longer the pulse), the longer it takes to complete that statement.

It'll probably be OK for a "one pot & one Victor" situation, but if you try more of either, then under certain circumstances the POT or the PULSOUT commands may take long enough to cause an ignored Victor's watchdog timer to time out, shutting it down. (I don't know the timout value of the Victor's watchdog.) You'll definitely run into that problem quickly if you try more than a few pot and servo pairs.

FYI, That's exactly why the Robot Controller uses dedicated PIC micros for its I/O, and we have to talk to them via the infamous SERIN and SEROUT statements at the ends of the robot program's main loop...

Bottom line: Even if a 555 and a Stamp were equal cost, IMHO a 555 would STILL be a better choice!

However, it might be something fun to try for giggles... A Stamp-I version CAN use a CH Flightstick for the pots, and MAY be able to run a pair of Victors without them shutting down.

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."

Last edited by kmcclary : 25-10-2002 at 00:17.