Hi,

Alright, after getting some sleep, I finally saw the light.

The IC is a DTM0660 from Hong-Kong based cy named Dream Tech International Ltd 
http://www.dreamtechintl.com.cn/en/ <http://www.dreamtechintl.com.cn/en/> 
(mostly useless website)
There is no IC Datasheet to find anywhere using google. However I found some 
chinese document indexing website that had a reference to a document that I 
managed to translate to get the interesting info.
The protocol is a 15 bytes (!) continuous 2400 8N1 dataflow very close to the 
FS9721 data structure
This protocol looks quite unique, I didn’t found anything about it on the web.
The decoding table is the following :
• +======+==========+=============+=========+=========+============+
• | Byte | Bits 7-4 |    Bit 3    |  Bit 2  |  Bit 1  |   Bit 0    |
• +======+==========+=============+=========+=========+============+
• |    0 | 0x1      | RS232       | Auto    | DC      | AC         |
• +------+----------+-------------+---------+---------+------------+
• |    1 | 0x2      | 4A          | 4F      | 4E      | - (minus)  |
• +------+----------+-------------+---------+---------+------------+
• |    2 | 0x3      | 4B          | 4G      | 4C      | 4D         |
• +------+----------+-------------+---------+---------+------------+
• |    3 | 0x4      | 3A          | 3F      | 3E      | DP1        |
• +------+----------+-------------+---------+---------+------------+
• |    4 | 0x5      | 3B          | 3G      | 3C      | 3D         |
• +------+----------+-------------+---------+---------+------------+
• |    5 | 0x6      | 2A          | 2F      | 2E      | DP2        |
• +------+----------+-------------+---------+---------+------------+
• |    6 | 0x7      | 2B          | 2G      | 2C      | 2D         |
• +------+----------+-------------+---------+---------+------------+
• |    7 | 0x8      | 1A          | 1F      | 1E      | DP3        |
• +------+----------+-------------+---------+---------+------------+
• |    8 | 0x9      | 1B          | 1G      | 1C      | 1D         |
• +------+----------+-------------+---------+---------+------------+
• |    9 | 0xa      | Diode       | k       | n       | u          |
• +------+----------+-------------+---------+---------+------------+
• |   10 | 0xb      | Beep        | M       |  %      | m          |
• +------+----------+-------------+---------+---------+------------+
• |   11 | 0xc      | Hold        | Rel     | Ohms    | Farads     |
• +------+----------+-------------+---------+---------+------------+
• |   12 | 0xd      | Low battery | Hz      | V       | A          |
• +------+----------+-------------+---------+---------+------------+
• |   13 | 0xe      | NVC (?)     | hFE     | Celcius | Fahrenheit |
• +------+----------+-------------+---------+---------+------------+
• |   14 | 0xf      | Max         | Min-Max | Min     | On (?)     |
• +------+----------+-------------+---------+---------+------------+

Note that the digit lettering this one (NB the sigrok wiki refers to a 
completely different lettering)


I guess that this enough to develop a new driver dtc0660 based on the FS9721.

I’m ready to spend some time on it. Would somebody feel like helping me to help 
me find my way in the project structure and to kickstart me ?

Thanks

Matthieu





> On 18 Oct 2015, at 00:10, mgwebm...@fastmail.fm wrote:
> 
> 
> Some progress while downloading, compiling and installing again libsigrok 
> 0.0.4 and sigrok-cli 0.0.0.6 : the data read as shown in the debug output now 
> looks right :
> 
> matthieu$ sigrok-cli --driver va-va40b:conn=/dev/tty.usbserial -l 5 -O analog 
> --samples 1000
> sr: [00:00.000000] log: libsigrok loglevel set to 5.
> sr: [00:00.000041] backend: libsigrok 0.4.0-git-0a4549f/2:0:0 (rt: 
> 0.4.0-git-0a4549f/2:0:0).
> sr: [00:00.000080] backend: Libs: glib 2.46.0 (rt: 2.46.0/4600:0), libzip 
> 1.0.1, libserialport 0.1.1/0:0:0 (rt: 0.1.1/0:0:0), libusb-1.0 

(…)

>> I tried many other drivers without any success. I’m confused. The RS232 
>> output looks ok using a simple VT100 terminal.
>> 
>> Some pictures and close up of the DMM can be found here : 
>> https://www.icloud.com/sharedalbum/#B02GdPblXGKAEj3 
>> <https://www.icloud.com/sharedalbum/#B02GdPblXGKAEj3> - Please wait to get a 
>> HD picture.
>>  
>> Can anybody help ?
>> 
>> Thanks
>> 
>> Matthieu
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to