DS18B20 Temperature Sensor Needs No Resistor
Vložit
- čas přidán 4. 08. 2024
- I wanted to see how the DS18B20 one wire digital temperature sensor worked in parasitic power mode compared to having previously tested it with its own power source (all at 5 volts on Arduino Uno) so I set up a customized scope trigger pulse from the OneWire library to help me lock on to the data bus.
While doing that, I also tested the concept of using Arduino's internal pull up resistor instead of a 4.7K external bus pull up resistor.
I ran into a few snags but this is my overall investigation and report!
Original DS18B20 project and sketch:
• DS18B20 Arduino Temper...
My modified OneWire.cpp file to give a debug scope trigger output:
github.com/GadgetReboot/misc_...
Josh's OneWireNoResistor research project:
wp.josh.com/2014/06/23/no-ext...
OneWire no resistor library:
github.com/bigjosh/OneWireNoR...
OneWire mainstream library:
github.com/PaulStoffregen/One...
Patreon: / gadgetreboot
Pinterest: www.pinterest.ca/GadgetReboot
Twitter: @GadgetReboot / gadgetreboot - Věda a technologie