Pressure Sensor - FSR40X

Pressure sensor. It output pressure as a voltage.

wired(obniz, {pin0, pin1})

Connect two pins to an obniz Board. pin0 and pin1 is obniz Board io number.

// Javascript Example
var pressure = obniz.wired("FSR40X", {pin0:0, pin1:1});

onchange = function(temp)

callbackfunction will called when pressure changed.

// Javascript Example
var pressure = obniz.wired("FSR40X", {pin0:0, pin1:1});
pressure.onchange =function(press){
  console.log(press)
}

[await]getWait();

Get pressure value once.

// Javascript Example
var pressure = obniz.wired("FSR40X", {pin0:0, pin1:1});
var press = await pressure.getWait();
console.log(press)


Found at :



You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers

Forum

Visit our developer’s forum to discuss and discover technologies.

Forum

Contact

Feel free to contact out support and technical team.

Contact us