Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AAl-M
Novice
2,282 Views

SDI interface in Edison

Jump to solution

Hello,

I have been using Arduino UNO to connect environmental sensors and read their data on SDI-12 interface. I'd like to switch from UNO to Edison but I am not sure whether Edison has an SDI-12 interface.

I will appreciate if you can confirm whether this is possible or not, and whether there is any library that supports this communication similar to SDIserial used with UNO!

Thanks in advance

1 Solution
Diego_V_Intel
Employee
118 Views

Hi aafm32,

The Edison module doesn't have a SDI-12 interface so it wouldn't be possible to connect a device that uses such interface.

I've checked the SDISerial library for Arduino (https://github.com/joranbeasley/SDISerial GitHub - joranbeasley/SDISerial: An SDI-12 Serial Library for Arduino) and it seems that the library is based on the SoftwareSerial library. Unfortunately the SoftwareSerial library is not supported by Edison, consequently the SDISerial library is not supported either.

Regards,

Diego

View solution in original post

5 Replies
Diego_V_Intel
Employee
119 Views

Hi aafm32,

The Edison module doesn't have a SDI-12 interface so it wouldn't be possible to connect a device that uses such interface.

I've checked the SDISerial library for Arduino (https://github.com/joranbeasley/SDISerial GitHub - joranbeasley/SDISerial: An SDI-12 Serial Library for Arduino) and it seems that the library is based on the SoftwareSerial library. Unfortunately the SoftwareSerial library is not supported by Edison, consequently the SDISerial library is not supported either.

Regards,

Diego

View solution in original post

AAl-M
Novice
118 Views

Thanks a lot Diego for the useful explanation.

Is it possible then to read data on DDI serial communication protocol? This should be a one way transmission of data frim sensor to node based on 8n1.

Regards,

Ahmad

Diego_V_Intel
Employee
118 Views

Hi aafm32,

I'm not familiar with the DDI serial protocol, so I'm not sure if that would be possible. Anyhow, if the example code, or method you plan to use is based on the SoftwareSerial library, it won't work because this library is not supported by Edison.

On the other hand, the suggestion provided by Vincenze seems to be the easiest one. You might want to give it a chance.

Regards,

Diego

VIvan7
New Contributor III
118 Views

The easiest way to implement the protocol is to get a cheap Arduino Micro or Nano board and connect it to the Edison through the USB port or via a Serial port using a level translator. Program the Arduino board to receive data from sensors and transfer it to the Edison.

Look, this guy created an SDI-12 to USB converter using Arduino https://liudr.wordpress.com/category/arduino/ Arduino | Liudr's Blog

AAl-M
Novice
118 Views

Thanks Vincenze, I will give it a try as see how it will go

Reply