Asked
— Edited
Hello,
i build the InMoov (like some persons know) ;-)
and i have build in some pressure sensor
these ones:
http://www.conrad.de/ce/de/product/503368/Drucksensor-Interlink-FSR400-ca-10-g-10-kg
the FSR400
but good question... how i can connect this sensors to the EZB4 Controller that if i push to the sensor a servo stops?
And how will look the script?
thanx a lot
Boris
Hi Guys,
sorry it was my mistake!
Now it works, but gives a possibility that range is higher?
Now i can check between 1 V and 0,8 Volt
Or its the maximum of the range i can check?
Or i must change the 10k ohm?
Boris
Yes, try a larger resistor. Like 100K. If you have a large value potentiometer (1 M-ohm or more) you could try putting that in so you can vary the resistance to see what value would be good. Hook it up between the middle connection and either end. Be aware, however, that the larger the resistor the more likelihood you will get noise in on the ADC input point. There is an alternate form of hookup of the voltage divider and the sensor which could reduce the noise, but I won't go into that as yet.
EDIT Also the maximum range you can get is 0-3.3 volts, regardless of the circuit used. If the 100K gives you too much output, try something like 33K or so. What you will want will depend on the range of output you want for a given range of applied force.
Hi,
if i put a 30K ohm the Volt is 0,84 in standard mode.
If i push the pressure sensor the volt goes higher to 1,04 volt.
Strange complete diffrent.
Update not 300k i wrote wrong i use 30k!
Update 2: forget the diffrense of the Volt... change cable everything is good.
But still if i use a 60k ohm the range is the same!
Maybe less ohm? Use a 5k?
@rentaprinta The problem I have on my end is that I don't know what change in resistance the sensor is doing for changes in the force applied. Without knowing that it's hard to advise you on what size resistor to use. Do you have an ohmmeter? If so if you could connect it to that and measure the resistance from the sensor with no load and with various pressures it would help a lot. The unloaded resistance is either 1 M-ohm 0r 10M-ohm, I'm not sure which, so you will have to use a high ohm range initially.
Hi i got it!
With a 90k ist works perfect!
My Script for this:
How i can make it like with the Script with the UltraSonic
IF($proxsense > $proxclose and $proxsense< $proxclose2)
Now the script play anything if the voltage is @ 14 , but the script only must play this
if ($CurrVoltage <= 15) SayEZBWait("Aua das tut ganz schön weh")
So how i can change it?
Hold on. I deleted my last post because I may have misunderstood what you actually wanted. Do you want it to only say a given phrase if the reading is below (or equal to) that value only?
Like This? Say "Aua das tut ganz schön weh" if the reading is <= 15 Say "Du drückst mich" if the reading is >15 but <=85 Say "Das fühlt sich schön an" if the reading is >85 but <=205
HI,
this sounds good.
In the end its for the finger sensor for my Inmoov.
If the Hand will grab something, i want :
if reading between 200 and 85 = the servo will drive slower if reading between 85 and 15 = the servo drive really slow if reading under 15 = the servo stops
Ok, good. This should work then.
Examples: If the reading is 0, it will say "Aua das tut ganz schön weh" If the reading is 12, it will say "Aua das tut ganz schön weh" If the reading is 15, it will say "Aua das tut ganz schön weh" If the reading is 16, it will say "Du drückst mich" If the reading is 50, it will say "Du drückst mich" If the reading is 84, it will say "Du drückst mich" If the reading is 85, it will say "Du drückst mich" If the reading is 86, it will say "Das fühlt sich schön an" If the reading is 200, it will say "Das fühlt sich schön an" If the reading is 205, it will say "Das fühlt sich schön an" If the reading is 206 or more it will not say anything
Remember though it will say the phrase every time it goes through the loop. Even when the robot is not gripping anything.
Glad to hear it's working! At least the resistor was close to my original estimate of 100K.
Also good to see you are using the readings in a general sense and not for precise readings of pressure applied. That is the best way to apply it. Best of luck!