This USB Drive Will Self-Destruct After Ruining Your Computer

Who would have thought that you could light up pyrotechnics on USB power? This USB keystroke injector that blows up after it’s used proves the concept.

Fully aware that this is one of those “just because you can doesn’t mean you should” projects, [MG] takes pains to point out that his danger dongle is just for dramatic effect, like a prop for a movie or the stage. In fact, he purposely withholds details on the pyrotechnics and concentrates on the keystroke injection aspect, potentially nasty enough by itself, as well as the dongle’s universal payload launching features. We’re a little bummed, because the confetti explosion (spoiler!) was pretty neat.

The device is just an ATtiny85 and a few passives stuffed into an old USB drive shell, along with a MOSFET to trigger the payload. If you eschew the explosives, the payload could be anything that will fit in the case. [MG] suggests that if you want to prank someone, an obnoxious siren might be a better way to teach your mark a lesson about plugging in strange USB drives.

While this isn’t the most dangerous thing you can do with a USB port, it could be right up there with that rash of USB killer dongles from a year or so ago. All of these devices are fun “what ifs”, but using them on anything but your own computers is not cool and possibly dangerous. Watching the smoke pour out of a USB socket definitely drives home the point that you shouldn’t plug in that thumbdrive that you found in the bathroom at work, though.

Continue reading “This USB Drive Will Self-Destruct After Ruining Your Computer”

Home Decorating With Tiny Arcade Cabinets

Thanks to the general miniaturization of electronics, the wide availability of cheap color LCD screens, and the fact that licensing decades old arcade games is something of a free-for-all, we can now purchase miniature clones of classic arcade cabinets for about $20 USD. In theory you could play these things, but given they’re less than 4 inches in height they end up being more of a desk novelty than anything. Especially since it seems like most of the effort went into making the cabinet itself; a classic example of “form over function”.

Unfortunately, if you want to buy these little arcade cabinets to use as decoration for your office or game room, they aren’t particularly well suited to the task. The “demo” mode where the game plays itself doesn’t last for very long, and even if it did, the game would chew through batteries at an alarming rate. [Travis] decided to tackle both issues head on by powering his Tiny Arcades over USB and locking them into demo mode.

The stock power for the Tiny Arcade comes from three AAA batteries, or 4.5 V. This made it easy enough to run over  5 V USB, and a four port USB charger is used to provide power to multiple machines at once. Forcing the game to stay in demo mode wasn’t much harder: a 555 timer was used to “push” the demo button with a frequency of every 10 seconds or so to keep the game up and running. A simple timer circuit was put together in the classic “dead bug” style, and sealed up with liquid rubber so it would play nice with the insides of the Tiny Arcade.

Since his little machines wouldn’t need their stock power switches anymore, [Travis] rewired the speaker lead through it. So now the machine stays on and in demo mode as long as it’s plugged into USB power, and you can flip the switch on the back to turn off the sounds. Perfect for sitting up on a shelf or the corner of your desk.

Usability issues not withstanding, there’s a pretty big (no pun intended) following for micro sized arcade cabinets. We’ve seen projects ranging from modding a Game Boy Advance to even tinier scratch builds.

Continue reading “Home Decorating With Tiny Arcade Cabinets”

Logic Analyzer Pushes The Limits Of Miniaturization

Careful not to sneeze while using this diminutive logic analyzer — you could send it flying across the bench.

Undertaken more for the challenge than as a practical bench tool, [Uwe Hermann]’s tiny logic analyzer is an object lesson on getting a usable circuit as small as possible. Sure, some sacrifices had to be made; it’s only an eight-channel instrument without any kind of input protection at all, and lacks niceties like an EEPROM. But that allows it to fit on a mere 11 x 11-mm fleck of PCB. That’s a pretty impressive feat of miniaturization, given that the Cypress microcontroller running the show is in QFN package that takes up 64-mm² all by itself. A micro-USB connector takes up much of the back side of the board and allows the analyzer to talk to sigrok, an open-source signal analysis suite.

Everything about the project is totally open, including the PCB files, so you can build your own if you feel up to the challenge. We’d strongly suggest you check out this primer on logic analyzers first, though, especially since it focuses on the capabilities of the sigrok suite.

Brute Forcing Passwords With A 3D Printer

Many of us use a 4 digit pin code to lock our phones. [David Randolph] over at Hak5 has come up a simple way to use a 3D printer to brute force these passwords. Just about every 3D printer out there speaks the same language, G-code. The same language used in CAD and CNC machines for decades.

[David] placed a numeric keypad on the bed of his printer. He then mapped out the height and positions of each key. Once he knew the absolute positions of the keys, it was easy to tell the printer to move to a key, then press and release. He even created a G-code file which would press every one of the 10,000 4 key pin combinations.

A file this large was a bit unwieldy though, so [David] also created a python script which will do the same thing — outputting the G-code and coordinates to brute force any 4 pin keypad. While a printer is quite a bit slower than Hak5’s own USB Rubber Ducky device (which acts as an automated keyboard), it will successfully brute force a password. Although most phones these days do limit the number of password attempts a user gets.

[David] admits this is probably useless in a clandestine/hacking application, but the video is still a great introduction to G-code and using 3D printers for non-printing functions.

Continue reading “Brute Forcing Passwords With A 3D Printer”

Rage Against The Dying Of The Light With A Raspi Night Vision Camera

One of the most interesting things about hacking is the difference between the vision we have at the beginning and the reality of we’ve built at the end. What began as a simple plan to build a night vision VR headset turned into a five-month adventure for [facelessloser] that culminated in this great-looking camera. He thought it would be easy, but almost every aspect presented some kind of challenge. The important thing is that he kept at it.

One of the major issues [facelessloser] encountered was power. He found that the Pi (Zero W), the screen, and the IR LEDs draw between 1.5 and 2A altogether. He was able to solve this one by using the charging board from a 2A power bank paired with a 1200mAh Li-Po built for the high draw required by vaping. If not for space issues, he might have used a 18650 or two.

Another challenge he faced was storing the video and images. He’d considered setting up the Pi as an access point to view them from a phone browser, but ultimately extended a USB port with an OTG cable to use flash drives. With a bit of Python he can watch for the drive to mount and then write to it. If the flash drive suddenly disappears, the Pi starts saving to the SD card.

There are two videos after the break, a walk through and a night vision demo. You’ll see a bit of a lag happening in the demo video—that’s because [facelessloser] is running the feed through PyGame first. No matter what nightlife you want to peep, it might be nice to add automated zoom with a rangefinder or get a closer look with some PiNoculars.

Continue reading “Rage Against The Dying Of The Light With A Raspi Night Vision Camera”

Tricked-Out Tablet Becomes Workbench Tool

The workbench of the typical electronics hobbyist today would probably be largely recognizable by Heathkit builders back in the 60s and 70s. But where the techs and tinkerers of yesteryear would have had a real dead-tree SAMS Photofact schematic spread out on the bench, today you’ll get more use out of a flat-screen display for data sheets and schematics, and this handy shop Frankentablet might be just the thing to build.

Tablets like the older Nexus 9 that [enginoor] used as the basis for this build have a little bit of a form-factor problem because unlike a laptop, a tablet isn’t very good at standing up on its own. To fix that, they found a suitable silicone skin for the Nexus, and with some silicone adhesive began bedazzling the back of the tablet. A bendy tripod intended for phones was added, and with the tablet able to stand on its own they maximized the USB port with a right angle adapter and a hub. Now the tablet has a USB drive, a mouse, and a keyboard, ready for perusing data sheets online. And hackers of a certain age will appreciate the eyeball-enhancing potential of the attached USB microscope.

[enginoor]’s bench tablet is great, but we’ve seen full-fledged bench PCs before too. Take your pick — wall mounted and floating, or built right into the workbench.

Thanks to [ccvi] for the tip.

Teensy Script Plays Nintendo Switch, Strikes Out

The most recent of the Zelda franchise, Breath of the Wild, is known for its many, many puzzles.  One of the more frustrating ones involved bowling with a giant snowball at the top of a hillside.  [Bertrand] did not like this, so he cheated the system hacked the Nintendo Switch so that he “genuinely earned” a strike every time he played.  He achieved this by writing a script for a Teensy module that got him those sweet rupees.

The Teensy houses an Atmel 90USB1286 microcontroller.  When paired with LUFA software, it can emulate numerous controllers including keyboards, joysticks, etc.  It also handily has a Mini-B USB connector located on its rear, allowing it to communicate to the Switch with ease.  After confirming the hardware was compatible, [Bertrand] looked towards the software side noticing the similarity between what already existed and what he was attempting to accomplish.  He happened upon this in a Splatoon 2 fork that allows players to draw posts. 

In essence, it takes image files as input and emulates the controls and buttons to draw a 1-bit version of the image automatically.  This takes care of syncing the hardware as well as how to simulate the button presses.  But instead of reading an image file, it needed to take a custom script as the input.  This required starting from scratch.  The first logical step — of course — was to create a language similar to Logo, a name that surely brings back memories of the time of big hair and shoulder pads.  He only needed a handful of simple commands to control Link:

typedef enum {
	UP,
	DOWN,
	LEFT,
	RIGHT,
	X,
	Y,
	A,
	B,
	L,
	R,
	THROW,
	NOTHING,
	TRIGGERS
} Buttons_t;

Continue reading “Teensy Script Plays Nintendo Switch, Strikes Out”