Temperature measurement with DS18B20 sensor.

已关闭 已发布的 2 年前 货到付款
已关闭 货到付款

Hello,

I need a code to read the temperature from the DS18B20 sensor. It stores the measured value in 2 char variables and converts it to a string.

Processor : PI32MX120F032B

Compiler : C32 v2.02

MPLAB X IDE v5.20

PIC32 crystal : 8 MHz

Input/output pin : RB2

Temperature measurement - resolution : 12 bit

To Do:

1. software for PIC32MX120, which reads the temperature and stores the result in 2 char variables (low_value, hign_value).

2. It then creates the resulting temperature value as a float variable and converts it to a string.

3. The software measures both positive and negative values.

4. The resulting code will be based on a 1-wire library from Microchip.

Use the Delay1us (xx) and DelayMs (unsigned t) functions for the delay function. Attached is my application. You add code to the GetTemperature() function.

Thank you.

微控制器 电子 C 编程

项目ID: #31398875

关于项目

8个方案 远程项目 活跃的2 年前

有8名威客正在参与此工作的竞标,均价$208/小时

xaainulabideen

For more details inbox me so that we can discuss in detail. For more details inbox me so that we can discuss in detail. For more details inbox me so that we can discuss in detail.

$140 USD 在7天内
(67条评论)
6.6
hayat38402

We are a team of Electrical and Electronics engineers, we have successfully completed 1000+ Projects for multiple regular clients from OMAN, UK, USA, Australia, Canada, France, Germany, Lebanon and many other countries 更多

$250 USD 在7天内
(33条评论)
5.7
Devpro11

Hello Dear Client! *********************************************************** SHARING IDEAS AND INSPIRATIONS FOR YOUR PROJECT. PROVIDING A GOLDEN OPPORTUNITY TO RECEIVE THE BEST TECHNICAL SERVICE. ******************** 更多

$180 USD 在3天内
(13条评论)
5.2
sikanderabbas48

I am an Electrical Engineer having specialization in Electronics Control and Power, teaching at well known University in Pakistan. I have done my BS degree in Electrical Engineering with specialization in Power. . I h 更多

$100 USD 在2天内
(24条评论)
4.3
intellisenseIN

Hi, We can do the Temperature measurement with DS18B20 sensor. We are a professional team. We have skills in:- 1. IOT products development 2. Microcontrollers based circuit design – STM32, STM8S, Pic32 etc 3. Smart P 更多

$300 USD 在7天内
(4条评论)
4.3
omer19

hello, I have seen that you need an experienced C++ expert for Temperature measurement with DS18B20 sensor. . I am a professional C++ expert with more than 10 years experience. I have carefully understood your proj 更多

$140 USD 在7天内
(2条评论)
2.0
antoniomccardoso

I have the code already. Your code is doing delays with cpu cycles, it should be with timers and interrupts. Your "1wire.h" is just a copy of a pdf you found from microship. The harder part of the project was done, l 更多

$200USD 在1天里
(0条评论)
0.0