cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor II

Hi everyone,

I want to read the temperature from a 1-Wire based digital thermometer DS18B20 and show it using UART communication. Can you tell me

how to do it as PSoC Creator 4.2 has no 1-Wire component?

I am using CY8CKIT-059PSoC5LP

MoTa_728816

best regards,

NA

0 Likes
Reply
1 Solution
Contributor II

Someone actually created a custom component to interface with that sensor:

Component to read DS18B20 digital temperature sensors

Without this though, you'd have to write the read/write functions in the firmware.

View solution in original post

3 Replies
Contributor II

Someone actually created a custom component to interface with that sensor:

Component to read DS18B20 digital temperature sensors

Without this though, you'd have to write the read/write functions in the firmware.

View solution in original post

New Contributor II

Hi,

I just write code but when I run it, it always shows 127° celcius. Can't find out the reason. can you help?

!

0 Likes
Reply
Moderator
Moderator

Hi,

Another bit banging example you can have a look at

PSoC4: Bit Banging 1 Wire Protocol (DS18B20 Thermometer) - Hackster.io

Best Regards,
Vasanth

0 Likes
Reply