Reading and Writing 1-Wire (iButton) devices with PSoC 3/5/5LP

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

cross mob
lock attach
Attachments are accessible only for community members.
kemic_264446
Level 4
Level 4
First like received

 PSoC Designer for PSoC1 has a 1-Wire component which can be used to interface with 1-Wire devices such as iButtons.

   

PSoC Creator for PSoC 3/5/5LP Does not have a 1-Wire component.

   

Interfacing to a 1-Wire device is so simple that maybe it's just not worth creating a whole compeont for.

   

On my blog site I have written up what is required to detect, read from and write to a 1-Wire device. The project is based around the CY8CKIT-050 but is easily portable to just about any device or dev kit.

   

The main article is here.

   

The complete project is attached to this post.

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Kenny, glad to hear from you again! And with some new sw!! Will go and have a look into!

   

 

   

Bob

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

Very usefull project.

   


   

Some useful reference material -

   


   

     

   

            http://www.maximintegrated.com/en/app-notes/index.mvp/id/3989

   


   

Regards, Dana.

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

Let me add a couple of projects:
I had a PSoC5 project for one  sensor DS18b20.  
In the new project for PSoC4  added search sensors (preferably no more than 8 )and color display.
I hope this is useful for someone.   TFT240x320_ThempLogger.zip

0 Likes
ViDv_264506
Level 5
Level 5
50 sign-ins 25 sign-ins 5 solutions authored

 Hi pavloven

   

thanks for sharing your Temp_Logger. Nice piece of SW.

   

Regards, 

   

Viktor

0 Likes
kemic_264446
Level 4
Level 4
First like received

 Hi Bob

   

I've been pretty quiet on PSoC for a while now, but I do like to tinker with it from time to time.

0 Likes
kemic_264446
Level 4
Level 4
First like received

 Hi Dana

   

Thanks for adding the Maxim data sheet.

   

One thing my project won't do is detect and communicate when there are more than one 1-wire devices on the wire.

   

It should not be too hard to add that to the project, and I will leave that as an exercise for the reader!

0 Likes