Nishadh KA

Dylos RPi Serial problem

2014-10-07


####DYLOS RPi serial Problem#### 1. RPi(Raspberry pi) has a problem in the serial read of dylos air quality monitor data. The serial read ends with wrong or misplaced data from the dylos monitor, this problem is mentioned in this (note)(Serialportproblemlbm1knmr.md). For example, running of the python command for getting dylos serial read ends as follows

            pi@raspberrypi ~/SMS $ python
          >>> import serial
    >>> ser = serial.Serial('/dev/dylos', 9600, timeout=60)
    >>> line = ser.readline()
            >>> line
    '376499,3\n'

the read line data is wrong as of dylos reading.

  1. As a proof, the dylos monitor with same setup, same SERAL TO USB connector was connected with BBB(Beagle Bone balck) usb port and run the sampler script. it ends as follows

            root@arm:/home/debian/aerocet# time python sampler.py
            2014-10-07T12:46:47,3185,65
    
            real    1m0.474s
            user    0m0.311s
            sys    0m0.088s
    

Indicating problem with RPi. More info on timeit tool such as this, this, this and on rpi this, this