PWM Voltage vs PWM Signal on XBee's RSSI Output
Reading the text in the new "Getting Started with XBee Modules" Chapter 3, page 39 states at the bottom of the page...
As i started reading this and seen the mention about pwm being output in the rssi pin, i kept having this idea in the back of my head about a signal strength meter for XBee's using this pwm output to control a pointer mounted to a servo to replicate a analog meter-style of signal strength display... then i read that. (proverbial bubble popped)
I understand that PWM controlled voltage is that the voltage level is proportionate to the pwm signal, my question is, is there a simple way to convert this to a pwm signal that can be read/used by a servo, or would polling the xbee with at commands then using that value to calculate a pwm signal to be sent to a servo, which kinda nulls and voids my idea of a simple signal strength display.
Any thoughts on this?
Just a thought, could the pwm rssi output be connected to the base of a transistor then the emitter side of the transistor to the signal line of the servo suffice for signal conditioning? maybe using two, (a npn feeding the base of a pnp)?
Note: The XBee PWM is not the same type of PWM used for servos. This is a PWM-controlled voltage
level as opposed to a PWM signal.
As i started reading this and seen the mention about pwm being output in the rssi pin, i kept having this idea in the back of my head about a signal strength meter for XBee's using this pwm output to control a pointer mounted to a servo to replicate a analog meter-style of signal strength display... then i read that. (proverbial bubble popped)
I understand that PWM controlled voltage is that the voltage level is proportionate to the pwm signal, my question is, is there a simple way to convert this to a pwm signal that can be read/used by a servo, or would polling the xbee with at commands then using that value to calculate a pwm signal to be sent to a servo, which kinda nulls and voids my idea of a simple signal strength display.
Any thoughts on this?
Just a thought, could the pwm rssi output be connected to the base of a transistor then the emitter side of the transistor to the signal line of the servo suffice for signal conditioning? maybe using two, (a npn feeding the base of a pnp)?
Comments
As mentioned, it is fairly easy to convert to a voltage by filtering, the you can use the DC voltage for metering or such. Chapter 6 on API mode has a bit more, including a filter circuit for PWM, though you probably may want to follow it up with a op-amp buffer to prevent dragging down the signal.
-Martin Hebel
Here's another thought then.
The RSSI is a fixed pulse-length, varying rate PWM, like the PWM output of a Stamp. So, if you can count those pulses, or a sample of them, in time enough to consequently effect a servo pulse routine then you're on.
-Martin
Anyway, the RSSI output or the rate/duty it's based on should be stable enough to make this servo-meter thing happen, not some super n-th degree of the gnat's hiney exercise in resolution/metrology. Cripes. Much ado about nothing.