Skip to product information
1 of 3

Axiometa

DHT11

DHT11

SKU:AX22-0011

Regular price $2.99
Regular price Sale price $2.99
Sale Sold out
Taxes included. Shipping calculated at checkout.
This AX22-sized board drops a trusty DHT11 onto a 22 × 22 mm PCB so you can read ambient temperature and relative humidity with a single-wire digital protocol. A built-in 4.7 kΩ pull-up makes the data line plug-and-play, while the sensor’s 1 Hz refresh rate is perfect for dashboards, smart lamps, or environmental loggers that don’t need sub-second updates. Just issue a read command and your microcontroller—whether you’re coding in the Arduino IDE, MicroPython, or MicroBlocks—gets reasonably accurate (±2 °C / ±5 % RH) climate data in one shot. Snap it into any AX22 backplane and you’ve added reliable local weather sensing to your project with zero fuss.
View full details
  • Technical Details

    - 22 mm × 22 mm square
    - 4× ⌀2.7 mm Mounting Holes
    - 20 – 90 % RH, ±5 % RH accuracy
    - 0 – 50 °C, ±2 °C accuracy
    - 1 Hz update rate, single-wire protocol
    - On-board 4.7 kΩ pull-up resistor
    - 3.3 V, 5.0 V
    - Arduino IDE Compatible
    - MicroPython Compatible
    - MicroBlocks Compatible

    Material Datasheet 
  • Pinout

  • Interface

  • Top

  • Bottom

Arduino Example Code

example.ino
// Define the analog pin connected to the LM335Z
const int lm335Pin = 15;

// Calibration values
const float voltageReference = 5.0; // Voltage reference of the Arduino (5V or 3.3V)
const float lm335VPerDegreeC = 0.01; // LM335Z outputs 10mV per degree Celsius

void setup() {
  // Initialize serial communication
  Serial.begin(9600);
}

void loop() {
  // Read the analog value from the LM335Z
  int sensorValue = analogRead(lm335Pin);

  // Convert the analog value to voltage
  float voltage = sensorValue * (voltageReference / 1023.0);

  // Convert the voltage to temperature in Celsius
  float temperatureC = voltage / lm335VPerDegreeC;

  // Display the temperature in Celsius
  Serial.print("Temperature (C): ");
  Serial.println(temperatureC);

  // Add a delay before the next reading
  delay(1000);
}

        
  • First time setup

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • Automatic Street Lights

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • How Does an LDR work ?

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.