Build it step by step
0 of 7 doneCut test wires
Same length of each gauge.
Set the supply
Constant current at 1 A.
Place the sensor
2 cm above the wire.
Run three minutes
Note the rise.
Repeat at 2 A
Fresh cool wire.
Repeat at 3 A
Stop at 70 degrees.
Plot the results
Rise against current for each gauge.
How do you build a wire heating test?
Pass known currents through different wire gauges and measure temperature to see why wire size matters. You need Bench power supply 30 V 5 A, Hook-up wire 22 AWG solid (6 colours), Silicone wire 18 AWG (red and black), MLX90614 infrared thermometer and Arduino Nano. It takes 7 steps and about 60 minutes.
- Level
- Intermediate
- Time
- About 60 min
- Parts
- 5
Wiring
| From | To | Why |
|---|---|---|
| Bench supply plus | One end of the test wire (30 cm) | Current through the wire |
| Test wire other end | Bench supply minus | Return |
| Current limit knob | 1 A, then 2 A, then 3 A | Constant-current mode |
| MLX90614 SDA and SCL | Nano A4 and A5 | Temperature reading |
| MLX90614 VIN and GND | Nano 3V3 and GND | Power |
| Sensor distance | About 2 cm above the wire | Reading spot |
Code
With the supply in constant-current mode set to a small voltage, the wire's own resistance makes it warm, and the infrared sensor reads that heat without touching it. Run each wire for three minutes at 1 A, 2 A and then 3 A, noting the temperature rise at the end of each run, and compare thin 22 AWG solid hook-up wire with thicker 18 AWG silicone wire; the thin wire gets hot far sooner. Plot the rise against the current and use it to choose wire for your projects, with a margin of at least 30 percent. Safety matters here: use a heatproof surface, never leave it unattended, stop the test if the wire passes 70 degrees or the insulation smells or softens, do not touch the wire during a run, and keep the voltage low so the supply only delivers the set current. PVC insulation can give off fumes when overheated, so ventilate the room. Measure the emissivity effect by comparing with a thermometer taped to the wire, since shiny copper reads low. Arduino IDE, board "Arduino Nano" (try the Old Bootloader option if the upload fails).
Runs on a virtual Arduino Nano in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).
// Wire heating test: prints the wire temperature every second and flashes the LED above 70 C.
// Library: Adafruit MLX90614. Board: Arduino Nano.
#include <Wire.h>
#include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx;
const float LIMIT_C = 70.0;
float startT = 0;
void setup() {
Serial.begin(9600);
mlx.begin();
pinMode(LED_BUILTIN, OUTPUT);
startT = mlx.readObjectTempC();
Serial.print("Start temperature "); Serial.println(startT, 1);
}
void loop() {
float t = mlx.readObjectTempC();
Serial.print(t, 1); Serial.print(" C rise "); Serial.println(t - startT, 1);
if (t > LIMIT_C) {
Serial.println("TOO HOT: switch the supply off now");
for (int i = 0; i < 6; i++) { digitalWrite(LED_BUILTIN, HIGH); delay(100); digitalWrite(LED_BUILTIN, LOW); delay(100); }
}
delay(1000);
}What the serial monitor should show
Open the serial monitor at the baud rate in the code. This is what our simulator prints for a virtual Arduino Nano with its sensors at their default values. Your numbers will follow your real readings, but the format should match.
Start temperature 0.0 0.0 C rise 0.0
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Thin wire at 3 A | Much hotter than the thick wire |
| Thick wire at 1 A | Barely warm |
| Warning | LED flashes above 70 degrees |
| Cool-down | Returns to near room temperature |
If it does not work
Readings low
Shiny copper has low emissivity; compare with a stuck-on thermometer.
No rise
Check the supply is in current mode.
Sensor not found
Check the I2C wiring.
Wire smells
Stop and ventilate.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the wire heating test?
Bench power supply 30 V 5 A, Hook-up wire 22 AWG solid (6 colours), Silicone wire 18 AWG (red and black), MLX90614 infrared thermometer and Arduino Nano.
How long does the wire heating test take to build?
About 60 minutes for a intermediate maker, in 7 steps.
How do I know the wire heating test works?
Thin wire at 3 A: Much hotter than the thick wire. Thick wire at 1 A: Barely warm. Warning: LED flashes above 70 degrees.
Readings low: what should I check?
Shiny copper has low emissivity; compare with a stuck-on thermometer.
No rise: what should I check?
Check the supply is in current mode.
Sensor not found: what should I check?
Check the I2C wiring.
Wire smells: what should I check?
Stop and ventilate.
