Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
FREEDOM251

Freedom251 › Blog › Chrome

A Thermal Camera That Uses WebUSB: How the RP2040-and-Lepton Browser Camera Works

By Freedom251 Team · · 6 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A custom thermal camera called Picothermal sends live infrared images to a phone or computer over USB-C, then lets a Chrome-based browser operate it through WebUSB. It is not a conventional webcam: an RP2040 microcontroller speaks directly to a FLIR Lepton 3.5 thermal core, while JavaScript in the browser handles the device protocol. The result is a camera that needs no separately maintained companion app, but does require a compatible Chromium browser and custom firmware.

What the WebUSB thermal camera is

Adafruit’s October 13, 2026 report describes builder Cezar Chirila’s Picothermal project. The design replaces an earlier 32×24-pixel MLX90640 sensor with a FLIR Lepton 3.5, reported at 160×120 pixels. The camera connects through USB-C to a host phone or computer; that host supplies the browser interface and display.

As an Amazon Associate I earn from qualifying purchases.

Hackaday’s October 15, 2026 coverage describes the same architecture: the Lepton sensor is connected to an RP2040, and a browser landing page starts the camera. This is a custom embedded instrument rather than an off-the-shelf USB webcam.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How WebUSB operates the camera

WebUSB is a browser API for non-standard USB hardware. Chrome’s documentation says its purpose is to make USB safer and easier to use from the web. After the camera is plugged in, a page calls the WebUSB device chooser; the user selects the camera and grants access. Browser JavaScript can then open the USB connection, exchange the project’s commands and image data, and render the thermal view.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

That approach moves the device protocol into the web page instead of a native desktop or mobile application. Chirila’s stated reason for choosing WebUSB was that the camera could work from a browser page “with no app to maintain.” Hackaday summarizes the user experience as visiting a landing page in a browser that supports WebUSB and using the camera.

Browser support

Use Chrome or another Chromium-based browser with WebUSB enabled. The Adafruit report specifically notes that Firefox does not support WebUSB, so a Firefox-only workflow will not connect to this project. A browser chooser permission is still required; simply plugging in the cable does not automatically give a page access to the device.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Hardware inside the design

Part Role and reported details
Thermal core FLIR Lepton 3.5, reported as a 160×120 infrared array in the project coverage.
Microcontroller RP2040, handling the sensor interface, USB descriptors and device protocol.
Host connector USB-C; the connected phone or computer provides the browser, display and USB host connection.
Voltage regulation A buck converter steps 5 V to 3.3 V, with several LDO regulators for the required rails.
Built-in accessories No integrated battery, charger, screen or microSD card is described.

The Lepton family is an LWIR OEM camera-module line with 80×60 and 160×120 variants, multiple field-of-view choices and radiometric-capable models. Teledyne FLIR’s product information distinguishes those options, so “Lepton” alone does not identify one resolution, lens or temperature-measurement capability.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to use a browser-based thermal camera

  1. Use compatible hardware. Assemble the RP2040, Lepton core, USB-C connection and regulated power circuitry, or obtain a completed build that exposes the project’s USB interface.
  2. Connect the cable. Plug the camera into a phone or computer with USB host support. Because the design has no internal battery, the USB connection is also the camera’s power path.
  3. Open a Chromium browser. Use Chrome or another browser based on Chromium with WebUSB support. Do not expect Firefox to provide the required API for this project.
  4. Visit the project landing page. The page contains the browser-side JavaScript that knows how to communicate with the RP2040 device.
  5. Choose the camera in the USB dialog. Approve the browser permission when the device chooser appears. WebUSB access is permission-gated rather than automatic.
  6. Start the stream. Once the page opens the USB interface, its code requests thermal frames and draws them on screen. Disconnecting the cable, denying permission or using an unsupported browser prevents this step.

What you must build or integrate

Sensor and breakout hardware

The natural starting point is a FLIR Lepton thermal camera module. A FLIR Lepton breakout board can simplify the mechanical, power and signal connections during prototyping, but it does not by itself turn the sensor into a WebUSB camera. The RP2040 firmware, USB descriptors and browser protocol remain necessary.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Firmware and USB protocol

The microcontroller must initialize the Lepton, package frames and expose a USB interface that the page understands. This is the principal engineering difference from a UVC camera: the device is not presenting a standard webcam stream that operating systems already know how to open. The browser code and firmware must agree on endpoints, commands, framing and data format.

Power design

The reported build converts 5 V USB power to 3.3 V and uses additional LDO regulators. A Lepton design therefore needs a correctly sequenced, adequately regulated supply; USB-C provides the connection, but it does not remove the need to design the power rails. There is no stated battery-life figure because the reported hardware has no built-in battery.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

WebUSB versus a conventional UVC thermal camera

Consideration WebUSB Picothermal design UVC thermal camera or phone accessory
Browser operation Requires Chrome or compatible Chromium WebUSB support and a permission grant. Usually appears as a standard camera, or relies on the accessory maker’s supported app.
Native app or driver Project goal is no separately maintained app; browser JavaScript carries the protocol. May use operating-system camera support, a driver or a vendor app.
Reported sensor resolution 160×120 with the Lepton 3.5 used in the project. Varies by product and sensor.
Radiometric temperature data Not established by the project reports; it depends on the chosen Lepton model and firmware. Varies; a visible heat image does not automatically mean calibrated temperature measurement.
Field of view Depends on the selected Lepton lens configuration. Depends on the product’s optics.
USB complexity Requires custom descriptors, firmware and browser-side protocol code. Standard UVC handling can reduce host-side integration work.
Open implementation Designed around a custom RP2040-and-browser stack. Often depends on the manufacturer’s software and documentation.
Total build cost Not stated; includes the Lepton module, controller, regulators, PCB or breakout and assembly. Varies by accessory and software bundle.

Which Lepton module should you choose?

Choose by resolution, lens and measurement requirements rather than by the family name alone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Resolution: the project’s Lepton 3.5 is reported at 160×120. Teledyne FLIR also lists 80×60 Lepton variants.
  • Field of view: select the lens that matches your working distance and scene coverage; the family includes multiple options.
  • Radiometry: if you need numerical temperature readings, verify that the exact module is radiometric-capable and that the firmware preserves the required data. The project reports do not establish measurement accuracy.
  • Integration: confirm the breakout’s voltage requirements, connectors and mechanical fit before designing the RP2040 board.
  • Availability: listings and stock for a Lepton 3.5 can change, so verify the exact part and seller before purchase.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Limits and practical failure points

  • Unsupported browser: Firefox will not provide the WebUSB path identified for this project. Switch to Chrome or another compatible Chromium browser.
  • No chooser entry: check the USB cable, power rails, USB descriptors and whether the firmware is exposing the expected interface.
  • Permission denied: reconnect the device and repeat the browser permission flow, selecting the correct USB device.
  • Image works but temperatures are unreliable: a 160×120 thermal image is not proof of radiometric accuracy. Confirm the Lepton variant, calibration behavior and data handling separately.
  • Phone incompatibility: the phone must support USB host operation and a Chromium browser with WebUSB; the reports do not promise support for every handset.

No independent frame-rate, thermal-accuracy, power-draw or battery-life measurements are established for the reported build. Those figures should be treated as unknown until measured for a particular hardware revision and browser.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Frequently Asked Questions

Can a FLIR Lepton work over WebUSB?

Yes, in a custom design such as Picothermal: an RP2040 connects to the Lepton, exposes a custom USB interface and a Chromium page exchanges the device protocol. A Lepton module alone is not automatically a WebUSB camera.

Do I need a separate app or driver?

The project is intended to avoid a separately maintained native app by putting the protocol in browser JavaScript. You still need the project firmware, landing page and a browser with WebUSB support.

Does this provide calibrated temperature readings?

Not necessarily. Radiometric capability depends on the exact Lepton model and implementation; the project reports establish the thermal image resolution, not measurement accuracy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

ChromeDIY hardwareFLIR LeptonRP2040thermal camerasWebUSB

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.