Thread: LMD18201
View Single Post
  #29   Spotlight this post!  
Unread 24-07-2007, 14:47
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: LMD18201

Someone, Von Neumann I think, said that "hardware and software are equivalent"

I like the processor approach for this low quantity type project.

You should fire off a second timer/counter to measure elapsed time. It can periodically increment a timer variable.

Every time you get a pulse in you clear the timer. If say 50ms goes by without a start pulse, then you will know that because the timer variable is increasing. Then you can take your synthetic pwm output to zero, neutral.

So all together here you have 2 timers, to make things safe.

Ed