Re: implementation of bio medical signals recording using PSoC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

hi,

   

     where we can find one wire protocal data sheet in PSoC designer 4.4  version. how can we interface one wire protocal with ds18b20.

0 Likes
4 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I would urge you for a number of reasons to migrate to Designer 5.2, there

   

have been so many fixes, updates, since 4.4 that can aid in making sure

   

your design behaves as you expect, and of course additional modules.

   

 

   

One wire protocol, take a look at this thread. http://www.cypress.com/?app=forum&id=2232&rID=57302

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Ignore my prior post, that thread is not a One Wire Buss per se.

   

 

   

This might be of help, and there are links to examples for other processors you should be able to

   

port. http://en.wikipedia.org/wiki/1-Wire

   

 

   

Regards, Dana.

0 Likes
ArvindK_86
Employee
Employee
10 sign-ins 5 sign-ins 10 solutions authored

 As posted earlier in another thread, you can go through our appnote AN2163 - Interfacing to 1-Wire sensors.

   

 

   

It explains the protocol steps from a high level perspective, with example code on how you can implement it using any PSoC 1.

   

 

   

Also note that if you have a different sensor (than DS18S20), there are very few changes to be made in the code (like resolution and family code, which you can get from the sensor datasheet).

   

These changes can be made directly to the macros defined in DS18S20.h to suit your new sensor

   

 

   

-Arvind

0 Likes
ArvindK_86
Employee
Employee
10 sign-ins 5 sign-ins 10 solutions authored

And as Dana suggested, I would recommend you to use the latest version of PSoC Designer.

   

 

   

If at all you still want to continue using 4.4, you can add the OneWire usermodule files to it by copying the files to the correct folder. Please download the files (     OneWire_v1.3.3.zip) and do the following:

   

 

   

 

   

1. Unzip the one wire user module files to "Program Files\Cypress Microsystems\PSoC Designer\Data\StdUM" directory. 

   

2. Open PSoC Designer, but do not open any project. 

   

3. Execute the Tools >> Update Manifest menu. 

   

 

   

You should now be able to use OneWire usermodule from the DigitalComm section.

   

 

   

-Arvind

0 Likes