Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Simple Sensor Interface - SSI protocol?


  • Please log in to reply
3 replies to this topic

#1 Frode

Frode

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • LocationNorway

Posted 04 July 2014 - 01:16 PM

Hi guys, 

I'd like to create an visualization application on my computer for displaying various data from sensors connected to my Netduino. My plan, for now, is to use the UART ports on the Netduino, and connect via an USB-to-UART converter to a USB plug on the computer.

 

Then I'd like to use a protocol for transferring structured sensordata over the serialport. I've found the "Simple Sensor Interface" protocol. It seems like a simple way to send commands and data over a serial line. I haven't heard about the protocol before, and there seems to be little information about it.

 

It seems to be able to do querying, discovery, sensor observation and other cool stuff.

 

Has anyone worked with this protocol before? Or is there another protocol which I could use?



#2 Frode

Frode

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • LocationNorway

Posted 04 July 2014 - 01:34 PM

Found a long list of protocols relevant for IoT. Need to sit down later and have a read...



#3 sfx

sfx

    Advanced Member

  • Members
  • PipPipPip
  • 52 posts

Posted 04 July 2014 - 11:37 PM

Hi Frode,

 

Having a standard communication protocol is a great idea. However, without manufacturer compliance implementing this type of protocol (SSI) would require quite a bit of work in order to cover all of the command types (not to mention having to potentially map a host of pre-existing proprietary commands).

 

One idea might be to hide all of the commands behind an SSI interface or break the commands up into multiple SSI interfaces (e.g. ISsiConfiguration, ISsiReader, ISsiStream). That way you arent forced to implement functionality that is ill-suited to your sensor, and you also provide all callers with an immediate understanding of what aspects of the SSI protocol have been implemented.

 

Nathan



#4 jrlyman3

jrlyman3

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationNorth St Paul. MN

Posted 06 July 2014 - 02:47 AM

Frode,

 

I found a specification for the SSI protocol at: http://www.janding.f...fication_12.pdf if that helps.

 

I've been working on a protocol to read sensor data over TCP/IP (but I haven't made much progress since it's summer and I have a lot of projects to do on our house).  I think that I'll read through the SSI spec, it's always nice to follow a standard (when one exists).  It's going to be a fair amount of work to create a full implementation, but it's similar to what I was planning anyways ....






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.