Hey all.
I've just made up a PCB (first since high-school!) designed to run a cooling fan in my AV/TV cabinet. Regulator, IR receiver and fan via PWM all work great. However I've also got a Dallas DS18B20 temperature sensor on the board that's all wired up to Pin 3 on my Picaxe 08M. I'd tried the sensor on a breadboard for testing and all worked fine. But now that I'm working on the final program for my little project I'm getting compile errors when trying to read the temperature on Pin 3. Am I right in guessing that Pin 3 of the 08M can't be used with the Dallas DS18B20 sensor? I can't find anything to suggest this in the Picaxe PDFs but on the Dallas specsheet it does appear that the DS18B20 both sends and receives data via it's "one wire", which would explain why the input-only Pin 3 ain't working for me.
Am I right here? Any assistance would be greatly appreciated I spent all yesterday etching, drilling and mounting components on my PCB so I'm a bit bummed out now that it isn't working as planned
I've just made up a PCB (first since high-school!) designed to run a cooling fan in my AV/TV cabinet. Regulator, IR receiver and fan via PWM all work great. However I've also got a Dallas DS18B20 temperature sensor on the board that's all wired up to Pin 3 on my Picaxe 08M. I'd tried the sensor on a breadboard for testing and all worked fine. But now that I'm working on the final program for my little project I'm getting compile errors when trying to read the temperature on Pin 3. Am I right in guessing that Pin 3 of the 08M can't be used with the Dallas DS18B20 sensor? I can't find anything to suggest this in the Picaxe PDFs but on the Dallas specsheet it does appear that the DS18B20 both sends and receives data via it's "one wire", which would explain why the input-only Pin 3 ain't working for me.
Am I right here? Any assistance would be greatly appreciated I spent all yesterday etching, drilling and mounting components on my PCB so I'm a bit bummed out now that it isn't working as planned