Hi,
At the beginning, I work with LCD through i2c (it done), then show up the temperature of DS18B20 or DHT22/11 through OneWire (1Wire). And I can not get thing done with search device method (notthing show up on LCD because no device through OneWire has been deteced).
In addition, I uploaded a same hex on my real board, I Work fine (detected 1 devices, get ROM CODE, Show temperature...)
Conclusion, Do anyone succeed in searching and show up value with these devices DS18B20 and DHT22/11 or any advice for solution?
Thanks.
![Can not search and get value from OneWire Ds18B20 or HDT22/11 E795024bd2ff6a226ab1fcfcdd061a36](https://i120.fastpic.org/thumb/2022/0607/36/e795024bd2ff6a226ab1fcfcdd061a36.jpeg)
At the beginning, I work with LCD through i2c (it done), then show up the temperature of DS18B20 or DHT22/11 through OneWire (1Wire). And I can not get thing done with search device method (notthing show up on LCD because no device through OneWire has been deteced).
In addition, I uploaded a same hex on my real board, I Work fine (detected 1 devices, get ROM CODE, Show temperature...)
Conclusion, Do anyone succeed in searching and show up value with these devices DS18B20 and DHT22/11 or any advice for solution?
Thanks.
![Can not search and get value from OneWire Ds18B20 or HDT22/11 _a35603c5bc69144f6fa2c4fa99753ca4](https://i120.fastpic.org/thumb/2022/0607/a4/_a35603c5bc69144f6fa2c4fa99753ca4.jpeg)
![Can not search and get value from OneWire Ds18B20 or HDT22/11 _e570f83b15c9149c0e496980098a1514](https://i120.fastpic.org/thumb/2022/0607/14/_e570f83b15c9149c0e496980098a1514.jpeg)
![Can not search and get value from OneWire Ds18B20 or HDT22/11 _15359103fb68ed8e5c6e0c471f406b77](https://i120.fastpic.org/thumb/2022/0607/77/_15359103fb68ed8e5c6e0c471f406b77.jpeg)
![Can not search and get value from OneWire Ds18B20 or HDT22/11 _e06f0a9bd1afe38a462eaf611035dd46](https://i120.fastpic.org/thumb/2022/0607/46/_e06f0a9bd1afe38a462eaf611035dd46.jpeg)
![Can not search and get value from OneWire Ds18B20 or HDT22/11 _4d6778c3b43a51c19df600ac475618d8](https://i120.fastpic.org/thumb/2022/0607/d8/_4d6778c3b43a51c19df600ac475618d8.jpeg)
![Can not search and get value from OneWire Ds18B20 or HDT22/11 E795024bd2ff6a226ab1fcfcdd061a36](https://i120.fastpic.org/thumb/2022/0607/36/e795024bd2ff6a226ab1fcfcdd061a36.jpeg)
- Attachments
LcdI2c_DS18B20_DHT22.zip
- You don't have permission to download attachments.
- (10 Kb) Downloaded 3 times
Last edited by arcachofo on Wed Jun 08, 2022 6:55 pm; edited 1 time in total (Reason for editing : Mark as solved (green color))