Pulse Width/AC Voltage

Hi, does anyone know how to measure pulse width of a signal OR how to measure AC voltage (rms) on the Arduino Mega?

does anyone know how to measure pulse width of a signal

"pulseIn" does it for me.
http://arduino.cc/en/Reference/PulseIn

Hmm.. I can't seem to get a result using PulseIn.

I'm trying to measure the output from a RC Receiver.

I've attached the images below to show the pulse that I've been trying to detect. I measured it with an Oscilloscope. But the things is, when I did the measurement with the Oscilloscope, I connected the signal line to Channel B+ and the "ground" (from the receiver) to Channel B-. If I connected the ground (from the Arduino) to the Channel B-, I wouldn't get a signal. Do you know what I mean? :S

It's an AC signal problem I think? How do I work around it?

That first signal doesn't look like what I would expect.
You should see six pulses of one to two milliseconds each separated by a short gap, then a much longer gap, then a repeat of the six pulses.

What make/model of R/C is this?

Hmm.. Connections.. I connected my oscilloscope to the signal and the ground connections for channel 1 and got the results like in my previous reply. Does that help? I'm feeling quite noob =\

ESky EK2-0420 Receiver.

It came with the Big Lama 4-Ch Heli that I bought

anybody any ideas at all? on how to detect the change in pulse width? :S

this is how the pulse looks like when i probe the signal cable (white cable from the receiver) and ground (from oscilloscope) instead of signal cable (white) and black cable from the receiver.

oh, problem solved actually, needed to add a capacitor to ground. but yup, thanks for the word of advice :slight_smile: will try to give better descriptions and schematics next time around