<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[🧩 Component & sensor starter database]]></title><description><![CDATA[<p dir="auto">This category is our shared parts shelf: pinouts, wiring notes, and gotchas for components we all use. Copy this format for every new entry so the database stays searchable:</p>
<p dir="auto"><strong>Part:</strong> name + common module variant<br />
<strong>Supply:</strong> voltage range the <em>module</em> wants<br />
<strong>Interface:</strong> I2C / SPI / UART / 1-Wire / analog / proprietary<br />
<strong>ESP32 wiring:</strong> which pins, pull-ups needed, level shifting needed?<br />
<strong>Gotcha:</strong> the thing that wastes everyone's afternoon<br />
<strong>Datasheet:</strong> manufacturer link</p>
<h3>Seeded entries (add yours below)</h3>
<p dir="auto"><strong>DHT22 (AM2302) — temp + humidity</strong><br />
Supply 3.3–5V · proprietary single-wire protocol · any GPIO, 10k pull-up to VCC on the data line.<br />
Gotcha: max ~0.5 Hz sampling — poll it every 2 seconds minimum. Faster polling returns stale or checksum-failed reads, and the sensor's physics is minutes-scale anyway; don't chase transients with it.</p>
<p dir="auto"><strong>DS18B20 — temperature, 1-Wire</strong><br />
Supply 3.0–5.5V · 1-Wire bus (many sensors, one pin) · 4.7k pull-up to VCC on the data line, mandatory.<br />
Gotcha: every sensor has a unique 64-bit address — scan the bus and hardcode addresses per unit. Parasite-power mode works but a dedicated VCC wire is far more reliable in the field.</p>
<p dir="auto"><strong>MPU6050 — accelerometer + gyro module</strong><br />
Supply 3.3V (most modules include a regulator; do NOT feed 5V into VCC if the module is 3.3V-logic) · I2C, address 0x68 (AD0 low) or 0x69 (AD0 high) · SDA/SCL with 4.7k pull-ups to 3.3V.<br />
Gotcha: two of these on one bus need different AD0 levels. Raw readings need calibration offsets — sample at rest and subtract bias before trusting angles.</p>
<p dir="auto"><strong>HC-SR04 — ultrasonic distance</strong><br />
Supply 5V · trigger (input) + echo (output) GPIO · echo idles low and pulses <strong>5V</strong> — divide it down (e.g. 1k/2k) before it reaches a 3.3V ESP32 pin.<br />
Gotcha: minimum range ~2–3 cm, wide beam picks up nearby objects, and soft surfaces absorb the ping. Time out your pulse measurement or one missed echo hangs the loop.</p>
<hr />
<p dir="auto"><em>Reply with new parts in the format above. Corrections welcome — a wrong entry here costs someone a board.</em></p>
]]></description><link>https://forum.grapesiot.com/topic/83/component-sensor-starter-database</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 13:02:43 GMT</lastBuildDate><atom:link href="https://forum.grapesiot.com/topic/83.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Oct 2026 11:40:24 GMT</pubDate><ttl>60</ttl></channel></rss>