Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ds18b20 not giving measurements #26

Open
sbruynin opened this issue May 5, 2021 · 5 comments
Open

ds18b20 not giving measurements #26

sbruynin opened this issue May 5, 2021 · 5 comments

Comments

@sbruynin
Copy link

sbruynin commented May 5, 2021

I loaded the latest firmware to a CC2350+2195 but cannot get the temperature sensor to work. I tried router and enddevice firmware and connected a ds18b20 sensor to P0_7.

Zigbee2MQTT:info 2021-05-05 17:38:35: MQTT publish: topic 'zigbee2mqtt/0x00124b001adfb0a3', payload '{"0000000000000000":-999.99,"adc_volt":6.17,"cpu_temperature":10.53,"dig_input":1,"external_humidity":null,"external_temperature":null,"linkquality":0,"reason":"timer","s0_counts":0,"state":"OFF"}'
I can get messages from P1.3 (switch), from P2.0 (dig in) and from timer but not from P0.7

I guess this value pair should be the sensor reading: "0000000000000000":-999.99 or "external_temperature":null
Do I need to configure the ds18b20 elsewhere?

@sbruynin
Copy link
Author

sbruynin commented May 8, 2021

This is a Zbos sniffer output of what I receive from the ZigUP module.
Can somebody give me a hint on where to look in the code to correct the DS18b20 measurement.

210508 ZigUP trace

@sbruynin sbruynin closed this as completed May 8, 2021
@sbruynin sbruynin reopened this May 8, 2021
@formtapez
Copy link
Owner

Did you connected the sensor like this?
image

@sbruynin
Copy link
Author

sbruynin commented May 8, 2021

Yes, but I didn't use the board as draw above (yet). I used a CC2530+CC2591.
I don' t know enough of the EBYTE E18-MS1 versus the module I used to understand if the problem comes from there.
I also tried a DHT22, that gave same result.

@sbruynin
Copy link
Author

sbruynin commented May 8, 2021

Sensor data is connected to P0_7 of the CC2530 with a pull_up of 4K7.

@sbruynin
Copy link
Author

I ordered some E18-MS1 chips to test. I assume the CC2350 with amplifier causes the problem. Somebody some ideas what the difference can be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants