You just pointed a Seek Thermal or FLIR ONE at your breadboarded Arduino project and saw the voltage regulator glowing white-hot. Your first instinct might be to tape a fan to it or swap the part, but without understanding the underlying thermal physics, you are just guessing. A thermal imaging camera for Arduino debugging is only as useful as the math you apply to the hotspots it reveals.
The direct answer to 'is it too hot?' depends on the silicon junction, not just the plastic case. Most microcontrollers and linear regulators max out at a junction temperature ($T_J$) of 125°C. However, if your camera reads >85°C on the outside of the plastic package, the internal silicon is likely pushing 110°C or higher, accelerating electromigration and risking thermal shutdown. To fix it, we need to calculate the thermal path and select a proper heatsink.
Decoding the Hotspot: Thermal Path Math and Rθ
Heat flows from the silicon die to the ambient air through a series of thermal resistances, measured in °C/W. The fundamental equation governing your PCB's survival is:
$T_J = T_A + P_D \times (R_{\theta JC} + R_{\theta CS} + R_{\theta SA})$
- $T_J$: Junction temperature (the silicon die, max usually 125°C).
- $T_A$: Ambient air temperature around the board.
- $P_D$: Power dissipated as heat (in Watts).
- $R_{\theta JC}$: Junction-to-Case resistance (internal to the IC package).
- $R_{\theta CS}$: Case-to-Sink resistance (thermal paste/pad interface).
- $R_{\theta SA}$: Sink-to-Ambient resistance (the heatsink and airflow).
Let us run a real-world scenario. You are powering a custom Arduino shield with an LM340-5.0 (an LM7805 equivalent in a TO-220 package) dropping 12V down to 5V to drive relays and an ESP32. Your load draws 500mA. The power dissipated as heat is $P_D = (12V - 5V) \times 0.5A = 3.5W$. According to the TI LM340/LM7805 Datasheet, the TO-220 package has an $R_{\theta JC}$ of 5.0 °C/W.
We want to keep the junction under 100°C for longevity, and our room ambient ($T_A$) is 25°C. Assuming a standard thermal paste gives us an $R_{\theta CS}$ of 1.5 °C/W, we can solve for the maximum allowable heatsink resistance ($R_{\theta SA}$):
$100 = 25 + 3.5 \times (5.0 + 1.5 + R_{\theta SA})$
$75 = 3.5 \times (6.5 + R_{\theta SA})$
$21.4 = 6.5 + R_{\theta SA}$
$R_{\theta SA} = 14.9 °C/W$
You need a heatsink with a thermal resistance of 14.9 °C/W or lower. Without one, the bare TO-220 tab has an $R_{\theta JA}$ of roughly 65 °C/W, which would drive the junction to a catastrophic $25 + (3.5 \times 65) = 252°C$, triggering internal thermal shutdown long before the silicon melts.
Heatsink Selection and Derating Curves
Knowing we need an $R_{\theta SA}$ of ≤ 14.9 °C/W, we can look at standard extruded aluminum profiles. A common, cost-effective choice is the Aavid Thermalloy 532602B02500G, a stamp-extruded TO-220 heatsink rated at roughly 13.5 °C/W in natural convection. This gets us safely under our 14.9 °C/W target.
Heatsink datasheets rate $R_{\theta SA}$ in free, open air. If you mount this Arduino setup inside a sealed IP65 project box, the 'ambient' air inside the box will rise as the 3.5W heater warms the trapped volume. Furthermore, you must read the manufacturer's derating curve. A heatsink rated for 13.5 °C/W at a 30°C delta might effectively perform at 18 °C/W if the internal box ambient climbs to 55°C due to poor ventilation. If $T_A$ inside the box hits 55°C, your new $T_J$ becomes $55 + 3.5 \times (6.5 + 13.5) = 125°C$. You are now right on the edge of the silicon's absolute maximum rating.
When interpreting a derating curve on a datasheet, look for the 'Power Dissipation vs. Ambient Temperature' graph. It typically shows a flat line up to 25°C, followed by a steep linear decline. This slope tells you exactly how many watts you must subtract from your maximum power budget for every degree your enclosure's internal temperature rises above room temperature.
Enclosures, Airflow, and Failure Signatures
If your thermal imaging camera shows a localized hotspot that natural convection cannot fix, you have two mechanical options: increase airflow or spread the thermal mass.
What Airflow Buys You: Adding forced convection drastically alters the boundary layer of stagnant air clinging to the heatsink fins. Slapping a 40x40x10mm 5V fan (like a Noctua NF-A4x10) onto the Aavid heatsink mentioned above drops its effective $R_{\theta SA}$ from 13.5 °C/W down to approximately 4.5 °C/W. This single change drops the junction temperature from 95°C down to 63°C.
Failure Signatures of Thermal Stress: When you ignore the hotspots your camera reveals, the hardware fails in predictable, often invisible ways before the magic smoke appears:
- BGA Underfill Delamination: Modules like the ESP32-WROOM-32 use Ball Grid Array connections under the RF shield. Repeated thermal cycling causes the silicon die and the FR4 PCB to expand at different rates (Coefficient of Thermal Expansion mismatch), eventually cracking the microscopic solder bumps.
- Electrolytic Capacitor Drying: The Arrhenius equation dictates that the lifespan of an electrolytic capacitor halves for every 10°C rise in temperature. A cap rated for 2,000 hours at 105°C will dry out and lose capacitance in just 250 hours if your voltage regulator bakes it at 125°C.
- BJT Thermal Runaway: If your Arduino circuit uses bipolar junction transistors for high-side switching, remember that $V_{BE}$ drops as temperature rises. A hot BJT draws more base current, which makes it hotter, drawing even more current until it shorts out.
Thermal Imaging Camera Arduino FAQs
What is the best thermal imaging camera for Arduino PCB debugging?
The 'best' camera depends on whether you need a handheld diagnostic tool or an embedded sensor. Here is how the top contenders compare in 2026:
| Model | Type | Resolution | Best Use Case | Approx. Price |
|---|---|---|---|---|
| InfiRay P2 Pro | Smartphone Dongle | 256 x 192 | High-res PCB hotspot hunting; macro lens add-on available. | $299 |
| FLIR ONE Gen 3 | Smartphone Dongle | 80 x 60 (IR) | Quick continuity checks; MSX blends visible/IR edges. | $199 |
| Seek Thermal CompactPRO | Smartphone Dongle | 320 x 240 | Dense SMD boards where pixel count matters for tiny 0402 parts. | $499 |
How do I interface an MLX90640 thermal imaging camera array with an Arduino?
If you want to build an embedded thermal vision system rather than just debugging, the Melexis MLX90640 is the industry standard 32x24 Far-IR array. It communicates via I2C, but there is a critical hardware trap: do not use an Arduino Uno. The MLX90640 requires reading 768 floating-point temperature values per frame, plus interpolation buffers. An ATmega328P will instantly run out of SRAM.
Use an ESP32 DevKit v1 or an Arduino Portenta. Wire the SDA/SCL pins to the ESP32's default I2C bus (GPIO 21/22), add 4.7kΩ pull-up resistors to 3.3V, and initialize the I2C clock to at least 400kHz (1MHz is required if you want a usable 16Hz refresh rate). Use the Adafruit_MLX90640 library, ensuring you allocate the frame buffer in the ESP32's PSRAM if your specific board variant supports it.
How hot is too hot for an ESP32 or Arduino microcontroller?
There are three distinct thermal limits on any microcontroller board, and your camera might only show you the surface temperature:
- The Silicon Junction (125°C Max): The ESP32's internal Tensilica cores and the ATmega2560's AVR core will typically trigger internal thermal shutdown or experience severe timing drift (oscillator skew) if the die exceeds 125°C.
- The PCB Substrate (FR4 Tg ~130°C): Standard FR4 fiberglass has a Glass Transition Temperature ($T_g$) around 130°C to 140°C. Above this, the board softens, and copper traces can delaminate from the vias.
- The Solder Joints (183°C to 217°C): Leaded solder melts at 183°C; SAC305 lead-free melts at 217°C. While your silicon will die long before the solder melts, localized short circuits can push trace temperatures high enough to reflow solder, causing the part to literally fall off the board.
As a rule of thumb: if your thermal camera reads 90°C on the black plastic epoxy of the microcontroller, assume the internal junction is already at 110°C. It is time to add copper pours, thermal vias, or active cooling.






