0

Those cheap USB case screens: how to tell the picture data apart from the commands in a USB capture

DEV Community Telling a video stream to a case LCD apart from the commands: JPEG and raw RGB565 in USB captures dev.to
preview

The little 3.5" and 5" USB screens people put in PC cases (and on desks as stat displays) are fun to hack on, but most of them only ship a Windows app. If you capture what that app sends, 99% of the bytes are picture data, and the handful of real commands (brightness, orientation, “start frame”) are easy to miss in between.

I wrote up what helped me separate them: JPEG frames give themselves away with FF D8 at the start and FF D9 at the end, raw RGB565 frames are exactly width x height x 2 bytes and look like slowly changing 16-bit values, and the commands are the short transfers that sit right before each frame or show up when you move a slider. Once you know the frame size, the short header in front of it (size, coordinates, a counter) usually falls out quickly.

The write-up uses examples from usb-rea, an open-source tool I made that does this split on a capture automatically and drafts a small Python driver, but the checks work just as well by hand in Wireshark.

If you have one of these screens that nothing on Linux supports yet, I am curious which ones, there are a lot of rebadged variants out there.

The little 3.5" and 5" USB screens people put in PC cases (and on desks as stat displays) are fun to hack on, but most of them only ship a Windows app. If you capture what that app sends, 99% of the bytes are picture data, and the handful of real commands (brightness, orientation, “start frame”) are easy to miss in between.

I wrote up what helped me separate them: JPEG frames give themselves away with FF D8 at the start and FF D9 at the end, raw RGB565 frames are exactly width x height x 2 bytes and look like slowly changing 16-bit values, and the commands are the short transfers that sit right before each frame or show up when you move a slider. Once you know the frame size, the short header in front of it (size, coordinates, a counter) usually falls out quickly.

The write-up uses examples from usb-rea, an open-source tool I made that does this split on a capture automatically and drafts a small Python driver, but the checks work just as well by hand in Wireshark.

If you have one of these screens that nothing on Linux supports yet, I am curious which ones, there are a lot of rebadged variants out there.

0

Real-Time CO2 Monitoring with Renesas EK-RA4M2 with indication light using BleuIO

Bluetooth low energy development
preview

cross-posted from: programming.dev/post/58622590

This project demonstrates how to integrate the Renesas EK-RA4M2 development board with the Renesas CO2 Sensor (RRH47000) and the BleuIO Dongle (SSD025) by Smart Sensor Devices, built on the Renesas Bluetooth Low Energy SoC DA14695. In this setup, the dongle advertises sensor data from the CO2 sensor, including CO2 concentration, humidity, and temperature.

The sensor data is displayed using the RTT Viewer.

cross-posted from: programming.dev/post/58622590

This project demonstrates how to integrate the Renesas EK-RA4M2 development board with the Renesas CO2 Sensor (RRH47000) and the BleuIO Dongle (SSD025) by Smart Sensor Devices, built on the Renesas Bluetooth Low Energy SoC DA14695. In this setup, the dongle advertises sensor data from the CO2 sensor, including CO2 concentration, humidity, and temperature.

The sensor data is displayed using the RTT Viewer.

0

I hit the Street-Lithium Motherlode today

preview

Yesterday, I’m building a DIY battery pack out of cells harvested from old laptops, thinking “Man, I wish I knew someone with an old broken e-bike or something”.

Very next day. I go for my daily walk. 1 block from my house, e-scooter on the curb, with a sign that says “FREE”. “Sold!” I said out loud, and carried the thing one-handed quickly back home (okay I only made it a few houses before I switched to two hands).

The escooter itself was held upright with zipties, rear wheel was present but not attached, rear tire was blown, and while it did power on and show something on the screen, the throttle didn’t do anything, and it was physically sticky (and thus very dangerous). And e-scooters are banned in my town (my whole province really), and they’re pretty dangerous, and I’m stupid enough to ride without a helmet, so I decided to scrap the scooter for batteries.

I found 30x DMEGC INR18650-26E, rated at 2600mAh at 0.5C, and rated for up to 3C discharge: e-foton.pl/userdata/…/DMEGC-INR18650-26E.pdf

I have no use for a 36v series battery pack or its BMS, so I pulled a single cell out of the nickel stripping and threw it in my tester, set for 2A discharge, 2A charge, 5 cycles, 10 minute rest period between:

i.imgur.com/egbT45Z.png

I got just over 2500mAh at 2C. Cell only rose ~3°C at end of discharge curve. Cell dropped from 4.1895v unloaded to 4.0250v under 2A, indicating internal DCIR 82.25mΩ. Datasheet states <25 mΩ(ACIR), but I don’t have an ACIR tester, however these DCIR values are very good and well within the expected difference.

TLDR: Got free e-scooter batteries. All my testing indicates they are near-new, in perfect health, and quite safe. 280Wh of energy storage, enough to watch old TV episodes on my phone for the first few days of the American Invasion.

Yesterday, I’m building a DIY battery pack out of cells harvested from old laptops, thinking “Man, I wish I knew someone with an old broken e-bike or something”.

Very next day. I go for my daily walk. 1 block from my house, e-scooter on the curb, with a sign that says “FREE”. “Sold!” I said out loud, and carried the thing one-handed quickly back home (okay I only made it a few houses before I switched to two hands).

The escooter itself was held upright with zipties, rear wheel was present but not attached, rear tire was blown, and while it did power on and show something on the screen, the throttle didn’t do anything, and it was physically sticky (and thus very dangerous). And e-scooters are banned in my town (my whole province really), and they’re pretty dangerous, and I’m stupid enough to ride without a helmet, so I decided to scrap the scooter for batteries.

I found 30x DMEGC INR18650-26E, rated at 2600mAh at 0.5C, and rated for up to 3C discharge: e-foton.pl/userdata/…/DMEGC-INR18650-26E.pdf

I have no use for a 36v series battery pack or its BMS, so I pulled a single cell out of the nickel stripping and threw it in my tester, set for 2A discharge, 2A charge, 5 cycles, 10 minute rest period between:

i.imgur.com/egbT45Z.png

I got just over 2500mAh at 2C. Cell only rose ~3°C at end of discharge curve. Cell dropped from 4.1895v unloaded to 4.0250v under 2A, indicating internal DCIR 82.25mΩ. Datasheet states <25 mΩ(ACIR), but I don’t have an ACIR tester, however these DCIR values are very good and well within the expected difference.

TLDR: Got free e-scooter batteries. All my testing indicates they are near-new, in perfect health, and quite safe. 280Wh of energy storage, enough to watch old TV episodes on my phone for the first few days of the American Invasion.

0

MicroTimer - A weather station/clock that runs indefinitely on indoor solar power

Imgur μ? - A weather station/clock that runs on indoor solar power imgur.com
preview

github.com/yucandu/ClockV3

MCU

STM32L412K8T6

Display

ST7305 168×384 2.9" MiP LCD ("Memory LCD") @ 0.25hz

Sensors

AHT20 — Temperature & Humidity
BMP280 — Barometric Pressure
DS3231SN — Real-Time Clock
MAX17055 — Fuel Gauge

The AHT20, BMP280, and DS3231SN are powered directly from MCU GPIO pins to minimize standby power consumption.

Power System

30 mAh LiPo battery (Bluetooth earbud battery)
TP4054 charger configured for 50 mA charge current
DFM8001 energy harvesting module
Two 30 mm × 30 mm × 3 mm amorphous silicon solar panels
    Recycled from dollar-store garden lights

Runs at ~150uA avg, according to INA228 coulomb counter (used as poor man’s power profiler). Sitting upside down on a desk in regular indoor lighting at night, solar panels harvest ~200uA. Coded entirely for STM32CubeIDE.

github.com/yucandu/ClockV3

MCU

STM32L412K8T6

Display

ST7305 168×384 2.9" MiP LCD ("Memory LCD") @ 0.25hz

Sensors

AHT20 — Temperature & Humidity
BMP280 — Barometric Pressure
DS3231SN — Real-Time Clock
MAX17055 — Fuel Gauge

The AHT20, BMP280, and DS3231SN are powered directly from MCU GPIO pins to minimize standby power consumption.

Power System

30 mAh LiPo battery (Bluetooth earbud battery)
TP4054 charger configured for 50 mA charge current
DFM8001 energy harvesting module
Two 30 mm × 30 mm × 3 mm amorphous silicon solar panels
    Recycled from dollar-store garden lights

Runs at ~150uA avg, according to INA228 coulomb counter (used as poor man’s power profiler). Sitting upside down on a desk in regular indoor lighting at night, solar panels harvest ~200uA. Coded entirely for STM32CubeIDE.

0

I tried switching from Arduino/ESP32/Platformio to STM32/CubeIDE.

play · youtube.com
YouTube Switching from Arduino code/PlatformIO to STM32CubeIDE www.youtube.com
preview

It was not fun. I learned nothing. But I did beat my old low current hiscore, so that was nice.

It was not fun. I learned nothing. But I did beat my old low current hiscore, so that was nice.

0

Open source laser engraver sells for just $64 fully assembled — it is small and low power but may be enough for your needs

Tom's Hardware Open source laser engraver sells for just $64 fully assembled — it is small and low power but may be enough for your needs www.tomshardware.com
preview

GitHub Link

A tech tinkerer has shared the full plans and resources necessary to build a compact desktop laser engraver. All the resources are available on GitHub, including the components list, 3D printer files, firmware, drivers, and software. Moreover, project creator Elias55745 is selling a fully assembled ‘mini laser printer’ created using these plans for just $64. They also intend to sell everything you need as a kit for self-assembly. However, the store is undergoing maintenance at the time of writing, so the shopping cart isn’t working, and you may see prices in Yen (I did).

GitHub Link

A tech tinkerer has shared the full plans and resources necessary to build a compact desktop laser engraver. All the resources are available on GitHub, including the components list, 3D printer files, firmware, drivers, and software. Moreover, project creator Elias55745 is selling a fully assembled ‘mini laser printer’ created using these plans for just $64. They also intend to sell everything you need as a kit for self-assembly. However, the store is undergoing maintenance at the time of writing, so the shopping cart isn’t working, and you may see prices in Yen (I did).

0

Build This Open-Source Graphics Calculator

Hackaday Build This Open-Source Graphics Calculator hackaday.com
preview

GH: github.com/El-EnderJ/NeoCalculator

Graphics calculators are one of those strange technological cul-de-sacs. They rely on outdated technology and should not be nearly as expensive as they are, but market effects somehow keep prices well over $100 to this day. Given that fact, you might like to check out an open-source solution instead.

NumOS comes to us from [El-EnderJ]. It’s a scientific and graphic calculator system built to run on the ESP32-S3 with an ILI9341 screen. It’s intended to rival calculators like the Casio fx-991EX ClassWiz and the TI-84 Plus CE in terms of functionality. To that end, it has a full computer algebra system and a custom math engine to do all the heavy lifting a graphic calculator is expected to do, like symbolic differentiation and integration. It also has a Natural V.P.A.M-like display—if you’re unfamiliar with Casio’s terminology, it basically means things like fractions and integrals are rendered as you’d write them on paper rather than in uglier simplified symbology.

GH: github.com/El-EnderJ/NeoCalculator

Graphics calculators are one of those strange technological cul-de-sacs. They rely on outdated technology and should not be nearly as expensive as they are, but market effects somehow keep prices well over $100 to this day. Given that fact, you might like to check out an open-source solution instead.

NumOS comes to us from [El-EnderJ]. It’s a scientific and graphic calculator system built to run on the ESP32-S3 with an ILI9341 screen. It’s intended to rival calculators like the Casio fx-991EX ClassWiz and the TI-84 Plus CE in terms of functionality. To that end, it has a full computer algebra system and a custom math engine to do all the heavy lifting a graphic calculator is expected to do, like symbolic differentiation and integration. It also has a Natural V.P.A.M-like display—if you’re unfamiliar with Casio’s terminology, it basically means things like fractions and integrals are rendered as you’d write them on paper rather than in uglier simplified symbology.

0

You, too, can install this cute open-source tamagotchi on your ESP32

XDA You, too, can install this cute open-source tamagotchi on your ESP32 www.xda-developers.com
preview

Remember tamagotchi? Those little digital pets really took the world by storm for a while, and they’re still going to this day. However, unlike the early days of the digital pet, we now have the resources and the know-how to make our own tamagotchis. We can even make them open-source so people can tweak them the way they want.

If you have an ESP32 sitting around and you think it’d be better served as a cute little creature that you need to take care of, then you can do a lot worse than check out this adorable project. While it’s still a work-in-progress, it’s already at the point where you can take care of a cute critter in your spare time. And when you’re busy. And just about all the time.

Remember tamagotchi? Those little digital pets really took the world by storm for a while, and they’re still going to this day. However, unlike the early days of the digital pet, we now have the resources and the know-how to make our own tamagotchis. We can even make them open-source so people can tweak them the way they want.

If you have an ESP32 sitting around and you think it’d be better served as a cute little creature that you need to take care of, then you can do a lot worse than check out this adorable project. While it’s still a work-in-progress, it’s already at the point where you can take care of a cute critter in your spare time. And when you’re busy. And just about all the time.

0

Why I stopped buying official ESP32 developer boards, and what I use instead

XDA Why I stopped buying official ESP32 developer boards, and what I use instead www.xda-developers.com
preview

I didn’t set out to avoid official ESP32 developer boards. In the beginning, the DevKitC was my default. It’s the board that shows up in every tutorial, the one Espressif clearly intended as a starting point. So I bought a couple, wired them up on breadboards, and started building projects. But somewhere along the way, I realized that what I was buying weren’t always official boards anyway, and as I branched out to things like the XIAO line from Seeed Studio, the gap between “official reference design” and “tool I actually want to use” became hard to ignore.

To be clear, it wasn’t the price that was the problem for me. Third-party boards from reputable vendors aren’t typically cheaper, and in most cases they’re actually more expensive. What you’re paying for is the stuff around the chip: battery charging, better connectors, basically just a form factor that doesn’t fight you.

None of this should come across as being anti Espressif. Espressif makes fantastic chips, and their official boards serve an important purpose. However, these reference designs are for, well, reference. Third-party boards often feel a lot closer to being a finished developer tool rather than a physical manifestation of documentation that an official Espressif board tends to feel like. The base boards are great, but for any project you want to build, a third-party board is likely to suit your needs a whole lot better.

I didn’t set out to avoid official ESP32 developer boards. In the beginning, the DevKitC was my default. It’s the board that shows up in every tutorial, the one Espressif clearly intended as a starting point. So I bought a couple, wired them up on breadboards, and started building projects. But somewhere along the way, I realized that what I was buying weren’t always official boards anyway, and as I branched out to things like the XIAO line from Seeed Studio, the gap between “official reference design” and “tool I actually want to use” became hard to ignore.

To be clear, it wasn’t the price that was the problem for me. Third-party boards from reputable vendors aren’t typically cheaper, and in most cases they’re actually more expensive. What you’re paying for is the stuff around the chip: battery charging, better connectors, basically just a form factor that doesn’t fight you.

None of this should come across as being anti Espressif. Espressif makes fantastic chips, and their official boards serve an important purpose. However, these reference designs are for, well, reference. Third-party boards often feel a lot closer to being a finished developer tool rather than a physical manifestation of documentation that an official Espressif board tends to feel like. The base boards are great, but for any project you want to build, a third-party board is likely to suit your needs a whole lot better.

0

DIY Battery Spot Welder: Build Your Own Power Pack Assembler

play · hackster.io
Hackster.io DIY Battery Spot Welder: Build Your Own Power Pack Assembler www.hackster.io
preview

Ever wanted to build custom battery packs for electric bikes, solar power banks, or RC projects but found commercial spot welders too expensive? I’ve got the perfect solution! In this Instructable, I’ll show you how to build a powerful yet affordable battery spot welder from scratch. This isn’t just another simple project—it’s a professional-grade tool that uses the classic NE555 timer and parallel MOSFETs to deliver precise, controlled welding pulses.

Ever wanted to build custom battery packs for electric bikes, solar power banks, or RC projects but found commercial spot welders too expensive? I’ve got the perfect solution! In this Instructable, I’ll show you how to build a powerful yet affordable battery spot welder from scratch. This isn’t just another simple project—it’s a professional-grade tool that uses the classic NE555 timer and parallel MOSFETs to deliver precise, controlled welding pulses.

0

BBTrack

play · hackster.io
Hackster.io BBTrack www.hackster.io
preview

Introduction

BBTrack is a hardware-hacking project that repurposes the optical trackpad from a BlackBerry 8520 mobile phone and transforms it into a compact USB HID pointing device for modern computers. The goal of the project is to retain the nostalgic charm of classic BlackBerry hardware while giving it a new and highly practical role — this time as a tiny, hackable pointing interface.

At the core of BBTrack is the RP2040 microcontroller, chosen for its flexibility, performance, and strong ecosystem support. On the firmware side, the device is powered by QMK, enabling robust USB HID functionality and making customization straightforward for makers and keyboard enthusiasts.

Introduction

BBTrack is a hardware-hacking project that repurposes the optical trackpad from a BlackBerry 8520 mobile phone and transforms it into a compact USB HID pointing device for modern computers. The goal of the project is to retain the nostalgic charm of classic BlackBerry hardware while giving it a new and highly practical role — this time as a tiny, hackable pointing interface.

At the core of BBTrack is the RP2040 microcontroller, chosen for its flexibility, performance, and strong ecosystem support. On the firmware side, the device is powered by QMK, enabling robust USB HID functionality and making customization straightforward for makers and keyboard enthusiasts.

0

Plug Into USB, Read Hostname And IP Address

Hackaday Plug Into USB, Read Hostname And IP Address hackaday.com
preview

GitHub Link: github.com/C4KEW4LK/rpi_usb_ip_display/tree/main

Ever wanted to just plug something in and conveniently read the hostname and IP addresses of a headless board like a Raspberry Pi? Chances are, a free USB port is more accessible than digging up a monitor and keyboard, and that’s where [C4KEW4LK]’s rpi_usb_ip_display comes in. Plug it into a free USB port, and a few moments later, read the built-in display. Handy!

The device is an RP2350 board and a 1.47″ Waveshare LCD, with a simple 3D-printed enclosure. It displays hostname, WiFi interface, Ethernet interface, and whatever others it can identify. There isn’t even a button to push; just plug it in and let it run.

GitHub Link: github.com/C4KEW4LK/rpi_usb_ip_display/tree/main

Ever wanted to just plug something in and conveniently read the hostname and IP addresses of a headless board like a Raspberry Pi? Chances are, a free USB port is more accessible than digging up a monitor and keyboard, and that’s where [C4KEW4LK]’s rpi_usb_ip_display comes in. Plug it into a free USB port, and a few moments later, read the built-in display. Handy!

The device is an RP2350 board and a 1.47″ Waveshare LCD, with a simple 3D-printed enclosure. It displays hostname, WiFi interface, Ethernet interface, and whatever others it can identify. There isn’t even a button to push; just plug it in and let it run.

0

Building A Simple Ribbon Synth

Hackaday Building A Simple Ribbon Synth hackaday.com
preview

YT Guide: www.youtube.com/watch?v=iUDOLJ1Ki84

The usual input device for playing a synthesizer is the good old piano keyboard. However, you don’t have to stick to such pedestrian interfaces when making music. [Daisy] has a fun build that shows us how to put together a ribbon synth that makes wonderful little noises.

Naturally, the heart of the build is a ribbon potentiometer (also known as soft pots). It’s essentially a touch sensitive strip that changes in resistance depending on where you touch it. You can slide your finger up and down to vary the output continuously; in musical contexts, they can behave rather like a fretless instrument. [Daisy] employs one of these potentiometers in such a role by hooking it up to a Daisy Seed microcontroller board, which reads it with an analog-to-digital converter (ADC). The resistance values are used to vary the pitch of a dual-saw synthesizer programmed in the plugdata framework.

YT Guide: www.youtube.com/watch?v=iUDOLJ1Ki84

The usual input device for playing a synthesizer is the good old piano keyboard. However, you don’t have to stick to such pedestrian interfaces when making music. [Daisy] has a fun build that shows us how to put together a ribbon synth that makes wonderful little noises.

Naturally, the heart of the build is a ribbon potentiometer (also known as soft pots). It’s essentially a touch sensitive strip that changes in resistance depending on where you touch it. You can slide your finger up and down to vary the output continuously; in musical contexts, they can behave rather like a fretless instrument. [Daisy] employs one of these potentiometers in such a role by hooking it up to a Daisy Seed microcontroller board, which reads it with an analog-to-digital converter (ADC). The resistance values are used to vary the pitch of a dual-saw synthesizer programmed in the plugdata framework.

0

Any Old TV Can Be A Clock With Arduino

Hackaday Any Old TV Can Be A Clock With Arduino hackaday.com
preview

If you’ve got an old black and white TV, it’s probably not useful for much. There are precious few analog broadcasters left in the world and black and white isn’t that fun to watch, anyway. However, with a little work, you could repurpose that old tube as a clock, as [mircemk] demonstrates.

The build is based around an Arduino Nano R3. This isn’t a particularly powerful microcontroller board, but it’s good enough to run the classic TVOut library. This library lets you generate composite video on an Atmel AVR microcontroller with an absolute minimum of supporting circuitry. [mircemk] paired the Arduino with a DS3231 real-time clock, and whipped up code to display the time and date on the composite video output. He then also demonstrates how to hack the signal into an old TV that doesn’t have a specific input for composite signals.

If you’ve got an old black and white TV, it’s probably not useful for much. There are precious few analog broadcasters left in the world and black and white isn’t that fun to watch, anyway. However, with a little work, you could repurpose that old tube as a clock, as [mircemk] demonstrates.

The build is based around an Arduino Nano R3. This isn’t a particularly powerful microcontroller board, but it’s good enough to run the classic TVOut library. This library lets you generate composite video on an Atmel AVR microcontroller with an absolute minimum of supporting circuitry. [mircemk] paired the Arduino with a DS3231 real-time clock, and whipped up code to display the time and date on the composite video output. He then also demonstrates how to hack the signal into an old TV that doesn’t have a specific input for composite signals.

0

Arduino-programmable environmental and air quality sensor kit features ENS160 and BME280 sensors

CNX Software - Embedded Systems News Arduino-programmable environmental and air quality sensor kit features ENS160 and BME280 sensors - CNX Software www.cnx-software.com
preview

Designed by Nova Radio Labs in the US, the Novaduino Environmental Sensor Kit is an Arduino-programmable air quality and weather monitoring solution built around the company’s own Novaduino Display Module. It provides VOCs, eCO₂, temperature, humidity, and barometric pressure data in real time, making it ideal for Smart Home experiments, classroom projects, or hobby weather-station builds.

The kit integrates a Sciosense ENS160 air-quality sensor and Bosch BME280 environmental sensor connected via Qwiic, which measures TVOCs, eCO₂, temperature, humidity, and pressure with an on-device AQI indicator. It includes the Novaduino display PCBA, 2.4-inch IPS touchscreen, buttons, rotary encoder, Feather M0 Express or RP2040 module support, headers, mechanical hardware, and optional 3D-printable enclosures (STL/F3D/STP). Designed for learning soldering, assembly, and Arduino programming, the kit is uncalibrated and intended for educational and experimental use only.

Designed by Nova Radio Labs in the US, the Novaduino Environmental Sensor Kit is an Arduino-programmable air quality and weather monitoring solution built around the company’s own Novaduino Display Module. It provides VOCs, eCO₂, temperature, humidity, and barometric pressure data in real time, making it ideal for Smart Home experiments, classroom projects, or hobby weather-station builds.

The kit integrates a Sciosense ENS160 air-quality sensor and Bosch BME280 environmental sensor connected via Qwiic, which measures TVOCs, eCO₂, temperature, humidity, and pressure with an on-device AQI indicator. It includes the Novaduino display PCBA, 2.4-inch IPS touchscreen, buttons, rotary encoder, Feather M0 Express or RP2040 module support, headers, mechanical hardware, and optional 3D-printable enclosures (STL/F3D/STP). Designed for learning soldering, assembly, and Arduino programming, the kit is uncalibrated and intended for educational and experimental use only.

0

Approximate clock eink display

preview

A project I keep thinking about for my kitchen when I get it done up is an approximate clock display, so an eink display showing something like

kenlim.github.io/pyWordyClock/

Or similar. I guess the latter running on a Pi of some description.

I would be new to most of this, can anyone point me to a good way of getting started?

A project I keep thinking about for my kitchen when I get it done up is an approximate clock display, so an eink display showing something like

kenlim.github.io/pyWordyClock/

Or similar. I guess the latter running on a Pi of some description.

I would be new to most of this, can anyone point me to a good way of getting started?

0

Exploring The Performance Gains Of Four-Pin MOSFETs

Hackaday Exploring The Performance Gains Of Four-Pin MOSFETs hackaday.com
preview

Over on YouTube [DENKI OTAKU] runs us through how a 4-pin MOSFET works and what the extra Kelvin source pin does.

A typical MOSFET might come in a 3-pin TO-247 package, but there are 4-pin variants which include an extra pin for the Kelvin source, also known as source sense. These 4-pin packages are known as TO-247-4. The fourth pin provides an additional source for gate current return which can in turn lessen the effect of parasitic inductance on the gate-source when switching current, particularly at high speed.

Over on YouTube [DENKI OTAKU] runs us through how a 4-pin MOSFET works and what the extra Kelvin source pin does.

A typical MOSFET might come in a 3-pin TO-247 package, but there are 4-pin variants which include an extra pin for the Kelvin source, also known as source sense. These 4-pin packages are known as TO-247-4. The fourth pin provides an additional source for gate current return which can in turn lessen the effect of parasitic inductance on the gate-source when switching current, particularly at high speed.