Description: 8-bit microcontroller with DS18B20 parallel two-way communication.
Quartus II 8.1 Project documents.
Primary source documents DS18B20.v, which detailed notes.
Example:
DS18B20 Data Address 0xf000 (ROM = 0) DS18B20 ROM instruction address 0xf001 (ROM = 1)
An external power supply and only a DS18B20 read method:
Send CC to 0xf001,
Wait for busy = 0 shows the device is ready,
Read 0xf001 the existence of Bit1 = 1 shows the device, Bit0 = 1 for the control of busy (you can omit this step)
Send 44 to 0xf000,
Wait for busy = 0,
Send CC to 0xf001,
Wait for busy = 0,
Send BE to 0xf000,
Wait for busy = 0,
Blank reading time,
Wait for busy = 0,
Then read is DS18B20 internal data. Read one must wait for the busy = 0, otherwise the controller will reject all operations.
Search ROM:
Send F0 or EC to 0xf001,
Wait for busy = 0 shows the device is ready,
Read 0xf001 the existence of Bit1 = 1 shows the device, Bit0 = 1 for the control of busy (you can omi
File list (Check if you may need any files):
DS18B20\db\DS18B20.asm.qmsg
.......\..\DS18B20.cbx.xml
.......\..\DS18B20.cmp.cdb
.......\..\DS18B20.cmp.hdb
.......\..\DS18B20.cmp.logdb
.......\..\DS18B20.cmp.rdb
.......\..\DS18B20.cmp.tdb
.......\..\DS18B20.cmp0.ddb
.......\..\DS18B20.db_info
.......\..\DS18B20.eco.cdb
.......\..\DS18B20.eds_overflow
.......\..\DS18B20.fit.qmsg
.......\..\DS18B20.hier_info
.......\..\DS18B20.hif
.......\..\DS18B20.map.cdb
.......\..\DS18B20.map.hdb
.......\..\DS18B20.map.logdb
.......\..\DS18B20.map.qmsg
.......\..\DS18B20.pre_map.cdb
.......\..\DS18B20.pre_map.hdb
.......\..\DS18B20.rtlv.hdb
.......\..\DS18B20.rtlv_sg.cdb
.......\..\DS18B20.rtlv_sg_swap.cdb
.......\..\DS18B20.sgdiff.cdb
.......\..\DS18B20.sgdiff.hdb
.......\..\DS18B20.sim.cvwf
.......\..\DS18B20.sim.hdb
.......\..\DS18B20.sim.qmsg
.......\..\DS18B20.sim.rdb
.......\..\DS18B20.sld_design_entry.sci
.......\..\DS18B20.sld_design_entry_dsc.sci
.......\..\DS18B20.smp_dump.txt
.......\..\DS18B20.syn_hier_info
.......\..\DS18B20.tan.qmsg
.......\..\DS18B20.tis_db_list.ddb
.......\..\DS18B20.tmw_info
.......\..\prev_cmp_DS18B20.asm.qmsg
.......\..\prev_cmp_DS18B20.fit.qmsg
.......\..\prev_cmp_DS18B20.map.qmsg
.......\..\prev_cmp_DS18B20.qmsg
.......\..\prev_cmp_DS18B20.sim.qmsg
.......\..\prev_cmp_DS18B20.tan.qmsg
.......\..\wed.wsf
.......\DS18B20.asm.rpt
.......\DS18B20.bsf
.......\DS18B20.done
.......\DS18B20.fit.rpt
.......\DS18B20.fit.summary
.......\DS18B20.flow.rpt
.......\DS18B20.map.rpt
.......\DS18B20.map.smsg
.......\DS18B20.map.summary
.......\DS18B20.pin
.......\DS18B20.pof
.......\DS18B20.qpf
.......\DS18B20.qsf
.......\DS18B20.qws
.......\DS18B20.sim.rpt
.......\DS18B20.tan.rpt
.......\DS18B20.tan.summary
.......\DS18B20.v
.......\DS18B20.v.bak
.......\DS18B20.vwf
.......\incremental_db\compiled_partitions\DS18B20.root_partition.map.kpt
.......\..............\README
.......\undo_redo.txt
.......\incremental_db\compiled_partitions
.......\db
.......\incremental_db
DS18B20