Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : SDI-12
Author | Message | ||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Does anyone have experience with SDI-12 and have any thoughts on communicating from a micromite? Could it be as simple as diode-ing the tx and rx of the rs232 to the SDI-12 data line? Any thoughts appreciated. GM |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1310 |
I doubt it very much Graeme. http://www.vegetronix.com/Products/SDI-12-Engine/ USB or RS-232 converters to the SDI-12 bus protocol (Engine) will cost you around $104 USD Cheers Don... https://www.32v8.com/d |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Yeah I have noticed the rs232 to SDI-12 converters are fairly expensive and I have been asked to look into getting the micromite + radio terminal units to interrogate and report with the sensor readings. The incorporation of the converter will add to the limited power availability and I was hoping for a short cut. GM |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5923 |
I have never had anything to do with the protocol but after a quick look at the specs, it looks like converting the micromite serial to SDI-12 would need an external gate or two and not much else. You will probably need to use another port to toggle the external gates from TX to RX. The communications protocol seems to be well documented so should be possible. I don't have any devices to experiment with so I won't be much help. Jim VK7JH MMedit MMBasic Help |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Good thought Jim, I might try using a 4016 to toggle the Tx and Rx. GM |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5923 |
Further thought, the RX could be left as is and simply flush the receive buffer once TX has finished to get rid of the echoed bytes. The only devices I could find that run the protocol are well above my 'get one to play with' budget. Jim VK7JH MMedit MMBasic Help |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Set up a circuit with the MAX232 connected to the COM2 pins and 4066 to acouple of DOUTs but came to grinding halt when I found the necessary configuration to talk to the device is 1200,e,7,1. Am I right to believe it is only the baud rate I can change on the Micromite? |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5923 |
You might have to calculate the even parity bit yourself and send as 8 bit no parity. Jim VK7JH MMedit MMBasic Help |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
As the SDI-12 interface is 1200,e,7,1 with combined send /receive line which the micromite can't accommodate and I don't speak fluent c, I was wondering if it would be a big job to write a CFUNCTION to allow com1 to communicate with these devices? Still in hope GM |
||||
Print this page |