Temperate measurement → FT232R + 1-Wire + PC + Delphi

Status
Not open for further replies.

Vermes

Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


This device shows how to connect a large number of temperature sensors like DS18x20 to a PC with Windows. The idea is quite obvious, it's shown on this schema:



This is ok, but who now has a COM port in PC. The connection must be made by an USB → COM converter based on FTDI chip like FT232R.



But this can't be connected like that, there must be a small buffer based on 2 transistors.



This thing will be used many times, therefore a component in Delphi was created.



Now writing any application is very easy. One is shown below:



A working circuit on a starting kit – RxD and TxD are blinking while 1-Wire communication:



Program is written in Delphi 2006. Video below shows how to write a simple program in Delphi:

**broken link removed**

Link to original thread (program and driver in attachments) - **broken link removed**
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…