Skip to content

Java & Arduino tool for measuring force applied in a FSR sensor.

License

Notifications You must be signed in to change notification settings

iordic/forcemeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forcemeter

A java & arduino tool to measure the force applied in a sensor (FSR).

Running screenshot

Required Java libraries (included in lib folder)

  • RXTX, library for serial comunication.
  • JFreeChart, library for graph drawing.
  • JCommon, JFreeChart need it for working.
  • JSON-Java, used for data handling between comunications.

Installation

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 libraries

  • 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.

Import & configure

  1. When you download the binary package, you have to copy "rxtxSerial.dll" file to "%PROGRAMFILES%\Java\jre.x.x_xxx\bin".
  2. 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)
  3. Finally, import the json, JFreeChart & JCommon needed libraries as jar files too.

Required Hardware

  • 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...

About

Java & Arduino tool for measuring force applied in a FSR sensor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages