Sample Code
Hardware Connection: Connect the 18B20 Temperature sensor to J1 port and the OLED to the IIC port in the Nezha Pro Breakout board.
Result: The value detected by 18B20 temperature sensor displays on the OLED screen in Fahrenheit and Celsius.
Specification
Item | Parameter |
---|---|
SKU | EF05041 |
Connection | RJ11 |
Type of Connection | Digital output |
Working Voltage | 3.3V |