Temperature measurement with DS18B20 sensor.
$30-250 USD
货到付款
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.
项目ID: #31398875
关于项目
有8名威客正在参与此工作的竞标,均价$208/小时
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.
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 更多
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 更多
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 更多
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 更多