BadUSB with Adafruit Trinkey QT2040


3 min read


To install the Nova firmware onto the Adafruit board, simply download the Trinkey uf2 file from the release page and copy it onto its boot drive. Details below.

What is the USB Nova

In 2022 I made the USB Nova. You can read more about it in my other Blog post I made a BadUSB. But the short version is it's an HID injection tool, much like the famous USB Rubber Ducky and other pentesting devices. But the Nova is Open Source and easier to use.

Like always, I try to build my tools so that it's easy to recreate them with easily accessible components. So here's the long overdue tutorial on how to make your own USB Nova using the Adafruit Trinkey QT2040 development board.

You can also find the instructions on - including how to build a USB Nova with the Raspberry Pi Pico.

Adafruit Trinkey QT2040

Adafruit Trinkey QT2040, 3D printed case, and screws

The Trinkey is a development from Adafruit that's based on the RP2040.

It's perfect for the USB Nova firmware because it already comes with a USB-A Plug, 8MB of flash, an RGB LED and a boot button that we can use to start scripts.

You don't need to solder anything to the board, and you don't need a cable. All you have to do to use it as a BadUSB is to flash the USB Nova firmware.

I even designed a simple case for it: (Requires 4x M2.5 3mm screws)

Of course, you could also use any other RP2040 dev board, but this one doesn't require any modifications. Most other boards don't support repurposing the boot button, so you'd have to solder a switch on.

Installing Nova firmware

  1. Plug the Trinkey into your computer while holding the BOOT button.

Trinkey being plugged into the computer while holding the boot button

  1. The RPI-RP2 drive should appear on your computer. (If it doesn't, try again)

  2. Download the latest USBNova_diy_trinkey_.uf2 file from the release page

USB Nova firmware release page

  1. Copy the downloaded uf2 file onto the RPI-RP2 drive. The Trinkey will update itself and reconnect.

Copied USB Nova firmware uf2 file on the RPI-RP2 drive

  1. Done! To run a script, press the boot button for 1 second.


Yep, it is that easy! Download and drag the uf2 firmware file onto the Trinkey boot drive, and you have a USB Nova.

For instructions on how to use the USB Nova, check

One thing to remember is that with this board, you don't have an attack mode switch. Instead, it will always start in setup mode, and by pressing the Trinkeys boot button, you begin the attack. Unfortunately, there is no way to start the DIY Nova in attack mode.

If you like this project, please consider buying a USB Nova or something else from to support my open-source hacking endeavours. Developing, documenting, manufacturing, distributing, and maintaining these tools is a ton of work.

Thanks! ❤️