GithubHelp home page GithubHelp logo

serial-bus-com-interface's Introduction

serial-bus-com-interface

serial-bus-com-interface (sbuscom) is created to access and test I2C devices in a simple way. It consists of two parts; a Java UI application and an Arduino sketch. Please see project Wiki[github.com/ocihangir/serial-bus-com-interface/wiki] for details.

sbuscom project is a side project of project PaddleFish. PaddleFish is designed to facilitate the data acquisition part of IoT and Wearables. Project PaddleFish has an Arduino hardware which has BLE connection and a mobile application to collect sensor data. It also has preconfigured sensor information for variety of sensors. You can connect many sensors at once and start to collect periodic data via mobile phone. It will be open source very soon.

##How it works?

Simply upload Arduino sketch to your Arduino. Then run the Java UI application (sbuscom.jar) to access I2C devices which are connected to I2C port of Arduino.

The Java application communicates with Arduino via USB COM port. Alternatively a BLE breakout board can be connected. It has a basic command set to access I2C devices.

##Data format:

The I2C device must accept data in the following forms: Read: |Start|I2CAddress|RegisterAddress|ReStart|Data| Write: |Start|I2CAddress|RegisterAddress|Data|

Many of the available I2C sensor devices use this format. But some of them might need some aditional data. These devices won't be supported.

Operating systems:

It has been tested on Linux (64bit) and Windows 7 (64bit)

serial-bus-com-interface's People

Contributors

ocihangir avatar

Watchers

 avatar

serial-bus-com-interface's Issues

Bulk read allows only 127 byte

On Arduino the buffer extended to 256 byte. However, for example 128 byte requested, Arduino will return the length of data as 128 but there won't be any data included except the start length command and end characters. If such a request done, Arduino will freeze.

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.