Temperature reading from DS18B20 on PSoC 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.
NaAh_4673366
Level 3
Level 3
5 likes given First like received First like given

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
1 Solution
KyTr_1955226
Level 6
Level 6
250 sign-ins 10 likes given 50 solutions authored

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
KyTr_1955226
Level 6
Level 6
250 sign-ins 10 likes given 50 solutions authored

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.

lock attach
Attachments are accessible only for community members.

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
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

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