@zcapr17 wrote:
I've got my @4tronix Picon Zero working with some servos and an analog light sensor, however I need some help getting a DS18B20 temperature sensor to work.
I have followed the worksheet here, but when the input is set to the DS18B20-type (i.e.:
pz.setInputConfig(2, 2)
), it just reports a value of zero.To troubleshoot, I set the input connected to the DS18B20 to Analog (i.e.:
pz.setInputConfig(2, 1)
), and it then reports values of ~23 at room temperature. Additionally, I have also noticed that setting any of the inputs to DS18B20-type causes that input and all higher-numbered inputs to report zero values, which is weird! Something is wrong somewhere...My Picon Zero has firmware version 8, and as per the guide I'm not using pullup resistor.
Any ideas?
Posts: 5
Participants: 2