I bought some part from Atlas Scientific for my thesis:
On the product data sheet one can find the following reference:
and the following sample code was given:
#!/usr/bin/python import serial print "Welcome to the Atlas Scientific Raspberry Pi example." usbport = '/dev/ttyAMA0' ser = serial.Serial(usbport, 9600) # turn on the LEDs ser.write("L,1\r") ser.write("C,1\r") line = "" while True: data = ser.read() if(data == "\r"): print "Received from sensor:" + line line = "" else: line = line + data
I really have no idea where to start. I just really needed the reading from the probe but I have no previous experience on using sensors and probes. I hope someone could help me. I already sent an email to the manufacturer but 4 days past no sample codes or other reference material can be provided. All these will run on a raspberry pi using a raspberry pi shield that I also bought from Atlas Scientific.
Here is the setup using a Raspberry Pi3