Compare the exact DHT11 and AM2302 parts against the same temperature, humidity, response and data-freshness requirements. Their names alone do not establish accuracy, polling interval, pinout or suitability; the applicable documentation and assembled-product tests decide the choice.
The project and the selection decision
Consider a hypothetical indoor environmental monitor that reports room temperature and relative humidity to a controller. It is not a safety device. Its sensor must represent the air in the occupied space rather than the temperature inside a warm electronics enclosure.
Hypothetical project requirements: In noncondensing room air from 18 to 30°C and 30 to 70% relative humidity, temperature error must be no more than ±1°C and humidity error no more than ±3 percentage points RH. After a humidity step, the reading must reach 90% of the change within 60 seconds, under airflow and test conditions defined in the validation plan. Reported readings must be no more than 10 seconds old. The project owner must confirm these requirements before release.
Compare an Aosong DHT11 bare sensor with an Aosong AM2302 bare sensor. Either bare package can give the PCB team control over placement and enclosure airflow. Keep the choice open until the applicable documentation and product tests cover the requirements above.
Illustrative screening example: The project's humidity-error limit is ±3 percentage points RH. Historical Aosong DHT11 V1.3 gives ±5 percentage points RH as a typical figure at 25°C and 5 V, without condensation; historical AM2302 V1.2 gives ±2 percentage points RH as a typical figure at 25°C and 5 V. Both documents exclude hysteresis and nonlinearity from those stated accuracy conditions. Confirm the full conditions and applicable revision for each ordered part.
- The AM2302 typical figure is 1 percentage point below the project limit: 3 − 2 = 1.
- The DHT11 typical figure is 2 percentage points above it: 5 − 3 = 2.
These are typical figures, not guaranteed limits over the project's humidity and temperature range. The arithmetic identifies an AM2302 candidate for closer evaluation; it does not establish that either part meets the error, response-time or freshness requirements. Check applicable maximum-error information and test representative assembled products against a reference with known uncertainty before choosing.
That is not yet a purchase authorization. The engineering record should identify:
- Manufacturer and ordered designation: the specific Aosong DHT11 or AM2302 candidate.
- Configuration: bare sensor, with its exact package and lead configuration confirmed before footprint release.
- Controlling documentation: the manufacturer-confirmed document revision applicable to the ordered item.
- Part revision or date code: recorded where the manufacturer defines or supplies one.
- Approved source and traceability evidence: established before production purchasing.
Historical Aosong AM2302 V1.2 is useful evidence for examining an AM2302 design, but its values are conditional on the exact ordered part and applicable document revision. Its document revision must not be assumed to be the physical revision of an offered part or the current governing document. If Aosong or the approved source cannot establish the item-to-document relationship, keep the selection open.
Identity-and-evidence decision matrix
| Decision point | DHT11 candidate | DHT22/AM2302 candidate | Release evidence |
|---|---|---|---|
| Identity | Aosong DHT11 is a candidate only when the ordered item is traceable to that manufacturer. | Target Aosong AM2302. DHT22 is often called AM2302, but a filename or marketplace label does not prove equivalence or origin. | Manufacturer designation, source traceability, marking and applicable documentation agree. |
| Document revision | Aosong DHT11 V1.3_20170331 is one historical reference; older documents differ. | Historical Aosong AM2302 V1.2 is a reference, not automatic proof of the ordered item’s current requirements. | Manufacturer confirms which document applies to the ordered configuration. |
| Measurement fit | Compare the applicable limits, tolerances and test conditions with the project requirements. | Make the same comparison for the identified AM2302. | The documented operating and measurement conditions support the intended use, followed by assembly validation. |
| Interface and package | Verify the exact package, connections and protocol; do not inherit them from another document or module. | Verify the exact bare-sensor connections and protocol for the ordered version. | Controlled drawing, electrical documentation, footprint review and assembled-board checks. |
| Assembly | Follow the handling and installation instructions applicable to the ordered DHT11. | Historical Aosong AM2302 V1.2 prohibits reflow and wave soldering for that documented product/version. | The planned process is permitted by the applicable instructions and does not expose the sensor to an unauthorized process. |
| Final decision | Select if evidence and product tests show it meets the requirements. | Select if evidence and product tests show it meets the requirements. | Approved BOM and validation record; otherwise retain an unresolved selection. |
AM2303 is a different document/part, not an interchangeable source for AM2302 limits or connections. Similarly, a supplier listing that says “DHT22/AM2302” is a lead to investigate, not proof of the manufacturer, configuration or governing revision.
Why the revision matters
Historical Aosong DHT11 V1.3_20170331 and older documents conflict on matters including ranges, sampling and even descriptions of the humidity element. Do not resolve those conflicts by combining the most convenient statement from each source. Ask which document applies to the exact ordered item.
When comparing the applicable specifications, distinguish typical values from maximum limits and record their test conditions. Resolution is not accuracy: a display may show small increments without the measurement being accurate to that increment. A permitted measuring interval is not the sensor’s response time. A reported output range is not proof that the complete product is qualified throughout that range.
Bare sensor or module?
A bare sensor gives the PCB team control over placement, electrical components and the route between the sensing element and ambient air. It also puts the responsibility for the footprint, pull-up, decoupling, installation method and exposed-sensor protection on the product design.
A module may simplify some of those decisions, but it is a separate assembly with its own identity. Its board supplier may not be the sensor manufacturer, and a module name may not identify the sensor actually fitted. Before approving a module, record its manufacturer, exact part number and revision as well as the identity and documentation of its sensor.
For either form, verify:
- Package dimensions, lead or connector orientation, mating direction and mechanical clearances against the exact drawing and a representative item.
- Every pin’s function and numbering. A module connector must not be assumed to preserve a bare sensor’s pin order.
- Mounting, strain relief and access to ambient air in the intended enclosure.
- Any onboard pull-up, supply decoupling or other circuitry, including where it connects and which voltage rail it uses.
- Module-to-module and lot changes that could affect the sensor, circuitry, connector or documentation.
A module is not automatically easier to place accurately. Its carrier board, mounting hardware and nearby electronics can alter airflow and temperature. The bare-sensor preference in this example remains conditional on the installation and handling evidence.
PCB and interface integration checklist
Use the exact sensor and, where relevant, module documentation to complete this checklist before committing the layout.
Electrical design
- Confirm the sensor supply limits and the controller GPIO’s input thresholds, voltage tolerance and operating modes.
- Identify the data-line pull-up and its rail. Ensure the pull-up voltage is compatible with the controller and all devices on the line. Check whether a module already has a pull-up before adding another; combined pull-ups affect current and signal behavior.
- Provide supply decoupling as required for the actual design, accounting for any capacitor already on a module. Check power sequencing and whether an unpowered device could be driven through the signal connection.
- Verify the exact protocol, signal direction, timing, startup requirements and permitted measuring interval from the applicable documentation. Do not assume that a one-second polling rule applies to every DHT11 or DHT22-labeled item.
- Define transaction timeouts and checksum handling according to that protocol. A timeout or invalid frame must not silently become a valid measurement.
- Define when the last valid reading becomes stale, how the controller reports that state, and what happens after communication resumes. A fresh timestamp must not be assigned to an old value.
- Evaluate cable length, capacitance, connector transitions and pull-up loading against the actual interface. Assess the electromagnetic environment, grounding and protection needs rather than assuming a bench-length connection will behave the same way in the installed product.
A schematic review should include the complete path from the sensor through any module circuitry, cable and controller pin. The complementary sensor PCB guide can help frame the placement and integration review.
Measurement placement
Place the sensor where the enclosure can expose it to representative room air. Review heat from the controller, power circuitry and sensor itself, as well as conduction through board copper and leads. An isolated-looking footprint is not proof that the sensor has reached ambient temperature.
Also evaluate enclosure vents, airflow direction, dust and other contamination. Consider whether the intended environment can cause condensation and what the product should do if readings become invalid or recovery is needed. These are design-specific questions: a sensor’s output range alone does not establish suitability for outdoor, industrial or safety use.
Assembly and handling plan
Check the exact sensor’s handling, storage, cleaning and installation instructions before choosing the PCB assembly process. Historical Aosong AM2302 V1.2 prohibits reflow and wave soldering for the product/version documented there. That restriction must not be generalized to every DHT22-labeled module or to a different, independently documented product.
For a bare AM2302, a practical process route is to complete board thermal processing first, then install the sensor using a method permitted by the applicable manufacturer instructions. The instructions must also govern any local heat, handling or exposure limits; do not assume that “hand solder” automatically makes an unspecified process acceptable.
Plan inspection and rework around the installed sensor. Confirm whether flux residues, solvents, washing, coating and other cleaning or finishing operations are permitted. If they are not, sequence or redesign those operations so the sensitive element is not exposed. Protect the air path without sealing or contaminating it.
The production documentation should include the approved sensor orientation, installation sequence, inspection points and traceability records. A substitute module, connector or sensor source is a change to review, not a drop-in replacement merely because its listing uses the same family name.
When the design and assembly requirements are ready to communicate, use the quote page to submit the relevant PCB and assembly information. For the sensor installation sequence, review the proposed approach with the through-hole assembly provider and confirm the handling arrangements for the order. To discuss the project or clarify an open question, contact HILPCB.
Release test plan for representative assemblies
This is a proposed project-specific validation plan, not a claim that tests have been run or a prescribed sample count. Set the acceptance limits, production-representative configurations, sample and lot coverage, and test record format before testing. Include the manufacturer’s applicable limits when defining conditions; do not expose a sensor to undocumented conditions merely to fill a test matrix.
1. Establish the evidence and acceptance criteria
Record the sensor manufacturer, designation, applicable document revision, source, lot or available date code, PCB revision, enclosure revision and software version for each tested assembly. Include the installed sensor and any module or cable configuration.
Define the project’s temperature and RH conditions, allowable measurement error, response requirement, startup behavior and data-freshness limit. State how reference uncertainty will be considered in the pass decision. Criteria should distinguish a measurement failure from an invalid or stale-data indication; a device should not pass by continuing to display an old plausible value.
2. Compare measurements with a reference
Use a calibrated reference with known uncertainty appropriate to the project’s acceptance limits. Measure representative production assemblies at the project’s specified temperature and RH conditions. Allow the reference, sensor, enclosure and surrounding environment to soak and stabilize sufficiently for each comparison, and record the stabilization approach.
Test the assembled enclosure with normal powered heat sources operating. Place the reference so it represents the air the product is intended to measure, while recognizing that gradients and airflow can make two locations differ. Record temperature and RH error, the conditions, uncertainty and any observed instability. Judge against the predefined criteria, not against display resolution.
3. Evaluate response and failure behavior
Use project-defined changes in environmental conditions to evaluate response, separately from the permitted measurement interval. Record the starting and ending conditions, stabilization approach and time behavior used for the comparison.
Exercise the documented startup and communication paths on representative assemblies. Check the product’s handling of timeouts, invalid or checksum-failing data, stale readings and recovery. Include the intended cable and connection configuration when assessing communication. Pass criteria should state what the controller reports and how quickly it must recognize loss of valid data.
4. Review the installed environment and release
Evaluate airflow, powered self-heating, board copper effects, contamination and any credible condensation scenario relevant to the stated project. Define what observations or failures require design changes. Do not infer long-term environmental qualification from a single successful bench comparison.
Review the results against the predefined criteria and measurement uncertainty. Resolve failures before release, and retain the traceable records. Changes to the sensor source or revision, module circuitry, PCB, enclosure, cable, firmware or assembly process should trigger a documented impact assessment and any appropriate revalidation. For broader measurement-planning context, see humidity controller test and measurement.
FAQ
Is DHT22 always the same part as AM2302?
No. DHT22 is often called AM2302, but a label or filename does not establish the manufacturer or exact configuration. Verify the ordered item and its applicable manufacturer-controlled documentation.
Can I use AM2303 documentation for an AM2302?
No. AM2303 is a different document/part. Obtain the documentation confirmed to apply to the ordered AM2302 instead.
Does a finer reported resolution mean better accuracy?
No. Resolution describes output increments; accuracy depends on the applicable error limits, conditions and the assembled product. Compare measurements against a reference with known uncertainty.
Is a sensor module automatically ready to connect?
No. Verify its connector and pin functions, pull-up rail, onboard decoupling, supply and GPIO compatibility, mechanical fit and sensor identity. The module manufacturer and revision matter as well as the sensor name.
Can the selected sensor go through PCB reflow?
Do not assume so. Historical Aosong AM2302 V1.2 prohibits reflow and wave soldering for its documented product/version. Check the instructions for the exact ordered item and plan installation after board thermal processing where required.

