I'm so stupid...
I didn't have the input pin set as input, works fine now
I'm so stupid...
I didn't have the input pin set as input, works fine now
s h i t happen
don't worry, it happen to everybody one day or another... expert or newbie...
here's a few explanation of the open-drain output
http://en.wikipedia.org/wiki/Open-drain
http://www.acroname.com/robotics/inf.../opn_clct.html
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks for the help guys hehe, question tho I was reading the voltage with a scope I thought that would give me an accurate voltage?
well, if the i/o was set as an output, it's impedance become really low (assume a short) hence why the level was as this low.
Now what happen when you read it on a 'input configured' i/o?
and depending what your scope measure... the mean, RMS, peak-to-peak, results will differ
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I was measuring it before not connected to anything. Just connected to the ground pin and the probe to the signal pin.
I think I have enough to get me started now tho.
Bit confused about the signal its putting out, looking at the scope I can see what I need to do but using the pulsin data its kinda jumpy.
I have done the standard servos like mentioned above 1-2 ms constant freq but this signal is not a constant freq it seems. On the scope it looks like the width and freq changes.
Standard servo I don't remember the exacts but like 100 to 225 or something that would be the pulse width.
Can you explain what I should be reading on the pulsin when the freq changes?
and how fast does it change?
will this help to do few reading and do and average... but reject those which are to away of the midpoint...
How about using count... or an internal timer?
what's the most important? the frequency or the duty cycle?
sorry i don't know anything in RC receiver..![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
The frequency isn't changing, although it might look like it is changing based on what the rest of the servo's are doing. In other words, say you've got 4 servos...1-3 are all at one end with a pulse width of 1ms and the 4th servo is the one you're playing with. It'll look like one thing on the 'scope. Then if servo's 1-3 go to the other extreme at 2ms, the signal off the 4th servo will look like something else on the 'scope.
It might be a bit jumpy because the input frequency is 'only' 50hz or so, and it's supposed to vary a little bit. Play around with your trigger and 'sweep delay' if you have one on your 'scope. You should be able to get it to smooth out. I've got a Tek 2246A, 4 channel 'scope, I can plug 4 servo's into it at once and be able to see the pulse's on all 4 and they are all steady. But, I have to play with the trigger and sweep delay a bit before they steady out.
skimask, I don't think this is the case.
This isn't a standard servo im working with, When I measure a signal from a standard servo I see what your talking about and it works as expected.
Here is a little pic to help explain I hope.
I don't know how to figure out to read the signal because is moving around unlike the standard servo signal.
Mister_e
Will reply to you in another post
Bookmarks