xtal
Inactive
Offline
Posts: 4
Thank You
-Given: 0
-Receive: 11
|
|
« on: May 19, 2014, 02:39:32 14:39 » |
|
Attached is code for a 1-wire sniffer [12F1822] , and an emulated DS18B20 temperature sensor 12F6783 @ 8mhz and 12F1822 @8*4mhz.
The temperature only shows an emulated temperature, the CONVERT code would have to be altered along with adding a sensor.
The sniffer supports bauds of 115200, 230400, 460800, 921600 [ must use virtual comm port for high bauds except 115200] The sniffer also enabled/disable the display of search data, how ever using this you might miss something [i.e] for example IButtonviewer never showed a convert command, until I enabled the search data , and there it was , right after the search data which does not agree with the DS18B20 flow chart, therefore my slave code was changed to act like a real DS18B20..
The DS18B20 code is really just a building block, for other stuff if wanted...
The big draw back is the supporting code for my Desktop.....
Posted on: May 19, 2014, 03:37:55 15:37 - Automerged
files
|