This board will do it.
http://paparazzi.enac.fr/wiki/ATmega168_PPM_Encoder_Board
Use ServoDecode library in Arduino
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1230065255
Alan KM6VV
> -----Original Message-----
> On Behalf Of jgeidl
Should be easy to do with a small MCU that has input capture and a bunch of pwm outputs. Probably order of 100-200 lines of code at most.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To post to this group, send email to hbrob...@googlegroups.com.
To unsubscribe from this group, send email to hbrobotics+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hbrobotics?hl=en.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To post to this group, send email to hbrob...@googlegroups.com.
To unsubscribe from this group, send email to hbrobotics+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hbrobotics?hl=en.
James M. Geidl, K6JMG
D.B. Cooper, you have a
message.
James M. Geidl, K6JMG
D.B. Cooper, you have a
message.
James M. Geidl, K6JMG
D.B. Cooper, you have a
message.
James,
Your motor controller doesn’t like the Arduino PWM? And it doesn’t take RS-232 (TTL)?
The RoboClaw DOES, however you’d probably want the Arduino Mega with its 2nd serial port to talk to it.
Alan KM6VV
Behalf Of James M. Geidl
James M. Geidl, K6JMG
D.B. Cooper, you have a
message.
Dr. Huff at UTA did a similar thing with our 'Pods in his UAV.
Basically, system generated inputs to their system. But as a
failsafe, they had an RC receiver also. They ran both sets of
signals into a 'Pod, which read them both, but under normal
circumstances repeated the autonomous system signals out. As
long as the joystick on the RC transmitter was left centered,
the generated controls passed through. But if the joystick was
moved off center, the RC signals took over and were passed. Once
left to settle to the center again, the 'Pod would kick back to
system control. That way, they were able to operate autonomously
on the system, but in case of anything going wrong, the operator
could take over control to fly the UAV out of trouble, then go
back to the system seemlessly.
There's a little bit of a trick to programming such a system to
work in realtime without getting trapped by blocking calls. The
hardware timers in the 'Pod make this easy, because you can set
them to capture a pulse width, then check each input to see if
the pulse was captured, and if it was, change the PWM outputs,
also hardware based, to the new desired PPM or PWM. I'm not sure
if Arduino has that capability.
I'd be very curious to hear, from someone who knows, if the
Arduino does multitasking so several PulseIn and PulseOut words
can run concurrently.
Randy
This doesn't answer your Arduino question, but might let you continue without worrying about it, unless you needed multiple radios or more servo pulses to generate in parallel.
-Chris
"Randy M. Dumse" <r...@newmicros.com> wrote:
..snip..
James M. Geidl, K6JMG
D.B. Cooper, you have a
message.
The 20ms is what I read everywhere, so you are correct. I'm not feeding
servos so that part really doesn't matter but any information is good
information when you are trying to work out a problem.
James M. Geidl, K6JMG
D.B. Cooper, you have a message.
-----Original Message-----
From: hbrob...@googlegroups.com [mailto:hbrob...@googlegroups.com] On
Behalf Of Chris Palmer
Sent: Wednesday, March 14, 2012 10:54 AM
To: hbrob...@googlegroups.com
Subject: RE: [HBRobotics] PPM (RC) to PWM converter
-Chris
James M. Geidl, K6JMG
D.B. Cooper, you have a
message.