A java & arduino tool to measure the force applied in a sensor (FSR).
- RXTX, library for serial comunication.
- JFreeChart, library for graph drawing.
- JCommon, JFreeChart need it for working.
- JSON-Java, used for data handling between comunications.
You can use the libraries included in lib folder or download them (e.g. if libs are outdate). Necessary rxtxSerial.dll bins are in res folder in a zip file.
- Download RXTX binaries (You can download it from here).
- Download JFreeChart & JCommon libraries from its sourceforge.
- You can download and compile JSON-Java into jar file, from the original repo, here.
- When you download the binary package, you have to copy "rxtxSerial.dll" file to "%PROGRAMFILES%\Java\jre.x.x_xxx\bin".
- The project was made with eclipse. You have to import with eclipse and then import "RXTXcomm.jar" as an external jar file. (Also in RXTX downloaded package)
- Finally, import the json, JFreeChart & JCommon needed libraries as jar files too.
- Arduino board (this project was implemented in Mini Pro).
- If arduino board doesn't have, an usb-to-ttl serial adapter.
- 16x2 LCD Screen (optionally LCD-I2C adapter, less cables, there are two codes for each one).
- FSR Sensor (in this project we have used an Interlink 402 round from adafruit).
- Buttons, cables, case, etc...