Coder Social home page Coder Social logo

forcemeter's Introduction

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

forcemeter's People

Contributors

iordic avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.