
Data-Logging Thermometer
ہدایات
Solder headers to the microSD shield
Solder headers to the microSD shield
Solder the stacking headers to the microSD shield.
- Seat the headers in the shield from the top.
- Tack one pin at each end first, then check the header sits square before doing the rest.
- Give each joint about two seconds of heat.
اس مرحلے کے لیے مواد:
microSD Shield1 ٹکڑادرکار اوزار:
Ryobi ONE+ RSI18-0 Cordless Soldering IronWire the probe — pin by pin
Wire the probe — pin by pin
Stack the shield on the Uno, then wire the probe on the breadboard.
- Probe red → Arduino 5V
- Probe black → Arduino GND
- Probe yellow (data) → Arduino D2
- 4.7 kΩ resistor between D2 and 5V
The shield already uses D11 MOSI, D12 MISO, D13 SCK and D8 as card select. Leave those four alone.
The 4.7 kΩ pull-up is not optional. The 1-Wire bus is open-drain: without it the bus never rises and every reading comes back -127.اس مرحلے کے لیے مواد:
Temperature Sensor - Waterproof (DS18B20)1 ٹکڑا
Arduino Uno R3 SMD1 ٹکڑا
Resistor Kit - 1/4W (500 total)1 کٹ
Breadboard - Classic1 ٹکڑا
Jumper Wires Premium M/M 20 AWG - 15.5 cm (Pack of 10)1 پیکPower it, and decide how it will run
Power it, and decide how it will run
For setup and for reading the serial monitor, the USB-B cable from the computer both powers the board and carries the upload.
To leave it logging away from a computer, feed 7–12 V into the Uno's barrel jack instead, or a regulated 5 V into the 5V pin. Do not do both at once.
The card only receives what was written and closed. Pulling power mid-write loses at most the sample in flight, because the sketch closes the file after every line.اس مرحلے کے لیے مواد:
USB-B Cable1 ٹکڑاFormat the card
Format the card
Format the microSD card as FAT32.
The Arduino SD library cannot read exFAT, which is what cards larger than 32 GB are formatted with from the factory. A card that 'does not work' is nearly always this.Upload the logging sketch
Upload the logging sketch
Install OneWire and DallasTemperature via Library Manager. SD and SPI ship with the IDE. Select Tools → Board → Arduino Uno, then Upload.
Verify against a known point
Verify against a known point
Put the probe in a stirred ice-water bath — ice and water together, not ice alone.
- A correct DS18B20 settles at 0.0 °C ± 0.5.
- A constant -127 means no sensor on the bus: pull-up missing or data on the wrong pin.
- A constant 85.0 is the sensor's power-on default — it was read before its first conversion finished.
مواد
7- 1 ٹکڑا$14.00
- $10.00
- 1 ٹکڑا$27.00
- 1 ٹکڑا$10.00
درکار اوزار
1CC0 پبلک ڈومین
یہ بلیو پرنٹ CC0 کے تحت جاری کیا گیا ہے۔ آپ اجازت لیے بغیر اس کام کو نقل، ترمیم، تقسیم اور کسی بھی مقصد کے لیے استعمال کرنے کے لیے آزاد ہیں۔
میکر کی حمایت کریں ان کے بلیو پرنٹ کے ذریعے پروڈکٹس خرید کر جہاں وہ میکر کمیشن وینڈرز کی طرف سے مقرر، کماتے ہیں، یا اس بلیو پرنٹ کی نئی تکرار بنائیں اور آمدنی شیئر کرنے کے لیے اسے اپنے بلیو پرنٹ میں کنکشن کے طور پر شامل کریں۔