I think a pressure sensor will be better and a lot more accurate, but you could figure out a way to mount three force sensitive resistors along orthogonal axes so that one gave the “X” axis pressure, one the “Y” axis pressure and the final one the “Z” axis pressure. They are arranged like three faces of a cube that all meet in a single corner.
You would then sum the result in some way that is meaningful for your project.
I’d also vote for the pressure sensor.
To increase your accuracy, use a differential pressure sensor to remove the barometric pressure changes caused by normal weather patterns.
On second thought, temperature changes of the air in the closed system will cause you problems.
I’d bet there is an easier way.
Would something like a mini joystick with force output (voltage) work in your application?
If you give more project details, someone here may have a perfect example for what you’re doing.
@Rftop, Imagine a stress ball with a sensor inside that measures how hard you squeeze. With the directional/flat sensor it works graet, but the squeeze has to be perpendicular to the sensor.
Typically you would plug your electron into an adapter shield and then use the NCD I2C cables to connect the adapter to the sensor.
You could hard-wire your electron to the sensor board but how would you do that? Just solder some wire to the bare pins on the electron? Them solder them to the sensor board? You have to use the I2C as far as I can tell. The description page mentions analog but they don’t document any way to read an analog signal from the sensor. So you would have to create a custom cable that connects to the I2C port of the sensor and then bare leads to solder to your electron. Or, de-solder the connectors on the sensor and use patch wire to solder to both the sensor board and the electron. Neither of those ways seem elegant and kinda defeat the purpose of NCD developing a plug-and-play connector system. Also, you will need to manage the I2C pull-ups… you should probably use the pull-up jumpers on the sensor board if you won’t be including them on whatever carrier board you are putting the Electron on.
If you describe, or photograph (best) your setup, maybe I could get a better feel of how you need to wire everything up.
I have the electron mounted on one of these with in-line sockets…
So that takes care of the electron.
The question is what needs to be wired up to this board. Could a cable come off the board on one of those connectors and get soldered on the breadboard?
This is a prototype for now, eventually a custom board will be made for everything. But we need to prove the concept with the prototype.
The sensor page says one of these cables is included with the sensor board. Just cut one of the connectors off and solder the cut wire ends onto your prototype board. The connector can just plug into the intact connector-end of the cable. Use the NCD I2C Connection Diagram to make sure you get the wires connected correctly.