Axiometa
DHT11
DHT11
SKU:AX22-0011
Regular price
$2.99
Regular price
Sale price
$2.99
Unit price
per
Taxes included.
Shipping calculated at checkout.
Couldn't load pickup availability



-
Pinout
-
Interface
PCB Design
-
Top
-
Bottom
Arduino Example Code
// 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);
}
Guides and Blogs
-
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.