R/C receiver interface
Archiver
Posts: 46,084
Interface question:
The servo drive from a radio control receiver is PWM. I would like to measure,
with a BS2 Stamp on a BOE board,
the pulse width of the R/C servo drive pulses, and display the results on my
computer screen.
I think I would use PULSEIN or RCTIME commands to take the pulse width
measurement, and DEBUG to display the
result.
It is not clear to me how to interface the Stamp to the R/C receiver. The servo
drive output from the receiver is
three wires, red, white and black. Red and Black are (I assume) +6V and GND,
respectively, and the white wire
delivers the PWM signal.
It seems to me I should develop the PWM signal with a resistor -- that I cannot
simply wire it to a stamp pin.
Any thoughts on this? If I am right about the resistor, what would be the
resistance, and how should I connect
it, exactly?
Should the BS2 Stamp and the R/C receiver share a common power supply and
ground?
Many thanks for your insights. Michael
The servo drive from a radio control receiver is PWM. I would like to measure,
with a BS2 Stamp on a BOE board,
the pulse width of the R/C servo drive pulses, and display the results on my
computer screen.
I think I would use PULSEIN or RCTIME commands to take the pulse width
measurement, and DEBUG to display the
result.
It is not clear to me how to interface the Stamp to the R/C receiver. The servo
drive output from the receiver is
three wires, red, white and black. Red and Black are (I assume) +6V and GND,
respectively, and the white wire
delivers the PWM signal.
It seems to me I should develop the PWM signal with a resistor -- that I cannot
simply wire it to a stamp pin.
Any thoughts on this? If I am right about the resistor, what would be the
resistance, and how should I connect
it, exactly?
Should the BS2 Stamp and the R/C receiver share a common power supply and
ground?
Many thanks for your insights. Michael
Comments
I you go to the Parallax web site and download the StampWorks Manual and
look at experiment #25, you will get a
better understanding of how to interface the servo(s) to the basic stamp.
http://www.parallaxinc.com/html_files/downloads/download_documentation.htm
Also look at the DEBUG command for displaying on your computer screen in Basic
Stamp Manual 2.0.
Have Fun !!
Dale Fleischmann
Michael Gianturco wrote:
> Interface question:
>
> The servo drive from a radio control receiver is PWM. I would like to
measure, with a BS2 Stamp on a BOE board,
> the pulse width of the R/C servo drive pulses, and display the results on my
computer screen.
>
> I think I would use PULSEIN or RCTIME commands to take the pulse width
measurement, and DEBUG to display the
> result.
>
> It is not clear to me how to interface the Stamp to the R/C receiver. The
servo drive output from the receiver is
> three wires, red, white and black. Red and Black are (I assume) +6V and GND,
respectively, and the white wire
> delivers the PWM signal.
>
> It seems to me I should develop the PWM signal with a resistor -- that I
cannot simply wire it to a stamp pin.
>
> Any thoughts on this? If I am right about the resistor, what would be the
resistance, and how should I connect
> it, exactly?
>
> Should the BS2 Stamp and the R/C receiver share a common power supply and
ground?
>
> Many thanks for your insights. Michael
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
[noparse][[/noparse]Non-text portions of this message have been removed]
I have been very successful with integrating my futaba R/C
Receiver with the Basic Stamp. All you should need to do is hook up
any ground wire (black) on the receiver to the ground on the basic
stamp and then the signal wire (white) on the reciver to any of the
pins on the Basic Stanp. THen just use the pulsin command on the
Basic Stamp to receive the data and debug it. Here is an example code:
ch1 var word 'channel 1 on the R/C
start:
pulsin 0,1,ch1 'connect channel one to pin 0 the the BS
debug ? ch1
goto start
Regards,
Travis
--- In basicstamps@y..., Michael Gianturco <michcg@m...> wrote:
> Interface question:
>
> The servo drive from a radio control receiver is PWM. I would like
to measure, with a BS2 Stamp on a BOE board,
> the pulse width of the R/C servo drive pulses, and display the
results on my computer screen.
>
> I think I would use PULSEIN or RCTIME commands to take the pulse
width measurement, and DEBUG to display the
> result.
>
> It is not clear to me how to interface the Stamp to the R/C
receiver. The servo drive output from the receiver is
> three wires, red, white and black. Red and Black are (I assume)
+6V and GND, respectively, and the white wire
> delivers the PWM signal.
>
> It seems to me I should develop the PWM signal with a resistor --
that I cannot simply wire it to a stamp pin.
>
> Any thoughts on this? If I am right about the resistor, what would
be the resistance, and how should I connect
> it, exactly?
>
> Should the BS2 Stamp and the R/C receiver share a common power
supply and ground?
>
> Many thanks for your insights. Michael
Many thanks for this. Any pullup or pulldown resistors needed? Also, from
curiousity, what are you doing with
this PWM signal input?
I am trying to use the R/C system to telemeter data from a tachometer on a model
boat back to shore. Ultimately I
hope to display the rpm on an LCD.
So far the tachometer works and its signal successfully modulates the
transmitter. I am about to tackle the
receiver end of it.
Best wishes, Michael
travis_gm wrote:
> Michael,
>
> I have been very successful with integrating my futaba R/C
> Receiver with the Basic Stamp. All you should need to do is hook up
> any ground wire (black) on the receiver to the ground on the basic
> stamp and then the signal wire (white) on the reciver to any of the
> pins on the Basic Stanp. THen just use the pulsin command on the
> Basic Stamp to receive the data and debug it. Here is an example code:
>
> ch1 var word 'channel 1 on the R/C
>
> start:
> pulsin 0,1,ch1 'connect channel one to pin 0 the the BS
> debug ? ch1
> goto start
>
> Regards,
> Travis
>
> --- In basicstamps@y..., Michael Gianturco <michcg@m...> wrote:
> > Interface question:
> >
> > The servo drive from a radio control receiver is PWM. I would like
> to measure, with a BS2 Stamp on a BOE board,
> > the pulse width of the R/C servo drive pulses, and display the
> results on my computer screen.
> >
> > I think I would use PULSEIN or RCTIME commands to take the pulse
> width measurement, and DEBUG to display the
> > result.
> >
> > It is not clear to me how to interface the Stamp to the R/C
> receiver. The servo drive output from the receiver is
> > three wires, red, white and black. Red and Black are (I assume)
> +6V and GND, respectively, and the white wire
> > delivers the PWM signal.
> >
> > It seems to me I should develop the PWM signal with a resistor --
> that I cannot simply wire it to a stamp pin.
> >
> > Any thoughts on this? If I am right about the resistor, what would
> be the resistance, and how should I connect
> > it, exactly?
> >
> > Should the BS2 Stamp and the R/C receiver share a common power
> supply and ground?
> >
> > Many thanks for your insights. Michael
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Dale Fleischmann wrote:
> Hello Michael Giaturco;
>
> I you go to the Parallax web site and download the StampWorks Manual and
look at experiment #25, you will get a
> better understanding of how to interface the servo(s) to the basic stamp.
>
> http://www.parallaxinc.com/html_files/downloads/download_documentation.htm
>
> Also look at the DEBUG command for displaying on your computer screen in Basic
Stamp Manual 2.0.
>
> Have Fun !!
> Dale Fleischmann
>
> Michael Gianturco wrote:
>
> > Interface question:
> >
> > The servo drive from a radio control receiver is PWM. I would like to
measure, with a BS2 Stamp on a BOE board,
> > the pulse width of the R/C servo drive pulses, and display the results on my
computer screen.
> >
> > I think I would use PULSEIN or RCTIME commands to take the pulse width
measurement, and DEBUG to display the
> > result.
> >
> > It is not clear to me how to interface the Stamp to the R/C receiver. The
servo drive output from the receiver is
> > three wires, red, white and black. Red and Black are (I assume) +6V and
GND, respectively, and the white wire
> > delivers the PWM signal.
> >
> > It seems to me I should develop the PWM signal with a resistor -- that I
cannot simply wire it to a stamp pin.
> >
> > Any thoughts on this? If I am right about the resistor, what would be the
resistance, and how should I connect
> > it, exactly?
> >
> > Should the BS2 Stamp and the R/C receiver share a common power supply and
ground?
> >
> > Many thanks for your insights. Michael
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
You shouldn't need any pullup or pulldown resistors. For myself, I use
this signal to drive regular DC or stepper motors. I get the BS to decode
the signal and transfer it to control relays that drive my DC motors.
Good Luck on your project!
Regards,
Travis
From: Michael Gianturco <michcg@m...>
Reply-To: basicstamps@yahoogroups.com
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] Re: R/C receiver interface
Date: Sun, 17 Mar 2002 19:49:04 -0500
MIME-Version: 1.0
Received: from [noparse][[/noparse]66.218.66.68] by hotmail.com (3.2) with ESMTP id
MHotMailBE5E821A005D4004374B42DA4244BDFE149; Sun, 17 Mar 2002 16:47:29 -0800
Received: from [noparse][[/noparse]66.218.67.200] by n13.grp.scd.yahoo.com with NNFMP; 18 Mar
2002 00:46:03 -0000
Received: (EGP: unknown); 18 Mar 2002 00:46:02 -0000
Received: (qmail 54234 invoked from network); 18 Mar 2002 00:46:02 -0000
Received: from unknown (66.218.66.216) by m8.grp.scd.yahoo.com with QMQP;
18 Mar 2002 00:46:02 -0000
Received: from unknown (HELO nycsmtp1out.rdc-nyc.rr.com) (24.29.99.226) by
mta1.grp.scd.yahoo.com with SMTP; 18 Mar 2002 00:46:02 -0000
Received: from mindspring.com (66-108-238-245.nyc.rr.com [noparse][[/noparse]66.108.238.245])by
nycsmtp1out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with ESMTP
id g2I0iqbc007278for <basicstamps@yahoogroups.com>; Sun, 17 Mar 2002
19:44:52 -0500 (EST)
From sentto-1327227-19774-1016412363-travismanderson Sun, 17 Mar 2002
16:49:05 -0800
X-eGroups-Return:
sentto-1327227-19774-1016412363-travismanderson=hotmail.com@r...\
.com
X-Sender: michcg@m...
X-Apparently-To: basicstamps@yahoogroups.com
Message-ID: <3C953980.DA6B518A@m...>
X-Mailer: Mozilla 4.7 [noparse][[/noparse]en] (Win98; I)
X-Accept-Language: en
References: <a736nn+cbb2@eGroups.com>
Mailing-List: list basicstamps@yahoogroups.com; contact
basicstamps-owner@yahoogroups.com
Delivered-To: mailing list basicstamps@yahoogroups.com
Precedence: bulk
List-Unsubscribe: <mailto:basicstamps-unsubscribe@yahoogroups.com>
Travis,
Many thanks for this. Any pullup or pulldown resistors needed? Also, from
curiousity, what are you doing with
this PWM signal input?
I am trying to use the R/C system to telemeter data from a tachometer on a
model boat back to shore. Ultimately I
hope to display the rpm on an LCD.
So far the tachometer works and its signal successfully modulates the
transmitter. I am about to tackle the
receiver end of it.
Best wishes, Michael
travis_gm wrote:
> Michael,
>
> I have been very successful with integrating my futaba R/C
> Receiver with the Basic Stamp. All you should need to do is hook up
> any ground wire (black) on the receiver to the ground on the basic
> stamp and then the signal wire (white) on the reciver to any of the
> pins on the Basic Stanp. THen just use the pulsin command on the
> Basic Stamp to receive the data and debug it. Here is an example code:
>
> ch1 var word 'channel 1 on the R/C
>
> start:
> pulsin 0,1,ch1 'connect channel one to pin 0 the the BS
> debug ? ch1
> goto start
>
> Regards,
> Travis
>
> --- In basicstamps@y..., Michael Gianturco <michcg@m...> wrote:
> > Interface question:
> >
> > The servo drive from a radio control receiver is PWM. I would like
> to measure, with a BS2 Stamp on a BOE board,
> > the pulse width of the R/C servo drive pulses, and display the
> results on my computer screen.
> >
> > I think I would use PULSEIN or RCTIME commands to take the pulse
> width measurement, and DEBUG to display the
> > result.
> >
> > It is not clear to me how to interface the Stamp to the R/C
> receiver. The servo drive output from the receiver is
> > three wires, red, white and black. Red and Black are (I assume)
> +6V and GND, respectively, and the white wire
> > delivers the PWM signal.
> >
> > It seems to me I should develop the PWM signal with a resistor --
> that I cannot simply wire it to a stamp pin.
> >
> > Any thoughts on this? If I am right about the resistor, what would
> be the resistance, and how should I connect
> > it, exactly?
> >
> > Should the BS2 Stamp and the R/C receiver share a common power
> supply and ground?
> >
> > Many thanks for your insights. Michael
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Mr.T
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
faster and with a lot less headaches.
Original Message
From: "Michael Gianturco" <michcg@m...>
To: <basicstamps@yahoogroups.com>
Sent: Sunday, March 17, 2002 7:15 AM
Subject: [noparse][[/noparse]basicstamps] R/C receiver interface
> Interface question:
>
> The servo drive from a radio control receiver is PWM. I would like to
measure, with a BS2 Stamp on a BOE board,
> the pulse width of the R/C servo drive pulses, and display the results on
my computer screen.
>
> I think I would use PULSEIN or RCTIME commands to take the pulse width
measurement, and DEBUG to display the
> result.
>
> It is not clear to me how to interface the Stamp to the R/C receiver. The
servo drive output from the receiver is
> three wires, red, white and black. Red and Black are (I assume) +6V and
GND, respectively, and the white wire
> delivers the PWM signal.
>
> It seems to me I should develop the PWM signal with a resistor -- that I
cannot simply wire it to a stamp pin.
>
> Any thoughts on this? If I am right about the resistor, what would be the
resistance, and how should I connect
> it, exactly?
>
> Should the BS2 Stamp and the R/C receiver share a common power supply and
ground?
>
> Many thanks for your insights. Michael
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>