Vista Normal

Hay nuevos artículos disponibles. Pincha para refrescar la página.
AnteayerIT And Programming

Google Drive Now Bootable

3 Julio 2024 at 02:00

USB drives are incredibly useful, both storing files for transport between different computers and for creating bootable drives that let us use or install other operating systems on our computers. While online file storage systems like Dropbox and Google Drive have taken over a large percentage of the former task from USB drives, they have not been able to act as bootable media, ensuring that each of us have a few jump drives lying around. That might not be the case anymore, though, as this guide is the first we know of to be able to use Google Drive to boot to a Linux system.

Unlike the tried-and-true jump drive methods, however, this process is not straightforward at all. It relies on two keys, the first of which is FUSE which allows a filesystem to be created in userspace. The second is exploiting a step in boot process of Linux systems where the kernel unpacks a temporary filesystem, called initramfs, in order to load the real filesystem. Normally a user doesn’t interact much with this step, but that doesn’t mean it’s impossible. A tool called dracut allows using an existing Linux installation to build a custom initramfs and in this case, the custom initramfs is built to include the proper support for both networking and FUSE.

The proof of concept in this demonstration originally ran in a container, using an existing project called google-drive-ocamlfuse to interact with Google Drive itself. From there, after sorting out some issues with root access, networking, malfunctioning symlinks, and various timeouts on the (perhaps predictably) slow system, the whole contraption was moved over to a laptop so it could be tested on real hardware. Everything runs, and although the original creator of this behemoth admits it is a bit “silly” they note that there may be some real-world use cases for something like this. We still won’t expect everyone to throw out their jump drives anytime soon, though. If you’re not feeling like your Linux skills are up to the challenge of something like this, we’d recommend you start with our own [Al Williams]’s Linux Fu series.

Almost Google Glass in 1993

1 Julio 2024 at 02:00

You might think Google Glass was an innovative idea, but [Allison Marsh] points out that artist [Lisa Krohn] imagined the Cyberdesk in 1993. Despite having desk in the name, the imagined prototype was really a wearable computer. Of course, in 1993, the technology wasn’t there to actually build it, but it does look like [Krohn] predicted headgear that would augment your experience.

Unlike Google Glass, the Cyberdesk was worn like a necklace. There are five disk-like parts that form a four-key keyboard and something akin to a trackpad. There were two models built, but since they were nonfunctional, they could have any imagined feature you might like. For example, the system was supposed to draw power from the sun and your body, something practical devices today don’t really do, either.

She also imagined a wrist-mounted computer with satellite navigation, a phone, and more. Then again, so did [Chester Gould] when he created Dick Tracy. The post also talks about a more modern reimagining of the Cyberdesk last year.

While this wasn’t a practical device, it is a great example of how people imagine the future. Sometimes, they miss the mark, but even then, speculative art and fiction can serve as goals for scientists and engineers who build the actual devices of the future.

We usually think about machines augmenting our intelligence and senses, but maybe we should consider more physical augmentation. We do appreciate seeing designs that are both artistic and functional.

Swapping Vinyl for Cardboard with this ESP32 Turntable

30 Junio 2024 at 08:00

Cardboard is a surprisingly durable material, especially in its corrugated form. It’s extremely lightweight for its strength, is easy to work, can be folded and formed into almost any shape, is incredibly inexpensive, and when it has done its duty it can be recycled back into more paper. For these reasons, it’s often used in packaging material but it can be used to build all kinds of things outside of ensuring that products arrive at their locations safely. This working cardboard record player is one example.

While the turntable doesn’t have working records in the sense that the music is etched into them like vinyl, each has its own RFID chip embedded that allows the ESP32 in the turntable’s body to identify them. Each record corresponds to a song stored on an SD card that instructs the ESP32 to play the appropriate song. It also takes care of spinning the record itself with a small stepper motor. There are a few other details on this build that tie it together too, including a movable needle arm held on with a magnet and a volume slider.

As far as a building material goes, cardboard is fairly underrated in our opinion. Besides small projects like this turntable, we’ve also seen it work as the foundation for a computer, and it even has the strength and durability to be built into a wall or even used as shelving material. And, of course, it’s a great material to use when prototyping new designs.

Portable, Full-Size Arcade Cabinets

27 Junio 2024 at 20:00

Believe it or not, there was a time when the only way for many of us to play video games was to grab a roll of quarters and head to the mall. Even though there’s a working computer or video game console in essentially every house now doesn’t mean we don’t look back with a certain nostalgia on those times, though. Some have turned to restoring vintage arcade cabinets and others build their own. This hackerspace got a unique request for a full-sized arcade cabinet that was also easily portable as well.

The original request was for a portable arcade cabinet, and the original designs were for a laptop-like tabletop arcade. But further back-and-forth made it clear they wanted full-size cabinets that just happened to also be portable. So with that criteria in mind the group started building the units. The updated design is modular, allowing the controls, monitor, and Raspberry Pi running the machines to be in self-contained units, with the cabinets in two parts that can quickly be assembled on-site. The base is separate and optional, with the top section capable of being assembled on the base or on something like a tabletop or bar, and the electronics section quickly drops in.

While the idea of a Pi-powered arcade cabinet is certainly nothing new, the quick build, prototyping, design, and final product that’s mobile and quickly assembled are all worth checking out. There is even more information on the build at the project’s GitHub page including Fusion 360 models. If you need your cabinets to be even more portable, this tabletop MAME cabinet is a great place to start.

ESP-Hosted Turns ESP32 Into Linux WiFi/BT Adapter

25 Junio 2024 at 20:00
Showing a Raspberry Pi 4 board connected to an ESP32 devboard using jumper wires for the purposes of this project

While we are used to USB WiFi adapters, embedded devices typically use SDIO WiFi cards, and for good reasons – they’re way more low-power, don’t take up a USB port, don’t require a power-sipping USB hub, and the SDIO interface is widely available. However, SDIO cards and modules tend to be obscure and proprietary beyond reason. Enter ESP-Hosted – Espressif’s firmware and driver combination for ESP32 (press release)(GitHub), making your ESP32 into a WiFi module for either your Linux computer (ESP-Hosted-NG) or MCU (ESP-Hosted-FG). In particular, ESP-Hosted-NG his turns your SPI- or SDIO-connected ESP32 (including -S2/S3/C2/C3/C6 into a WiFi card, quite speedy and natively supported by the Linux network stack, as opposed to something like an AT command mode.

We’ve seen this done with ESP8266 before – repurposing an ESP8089 driver from sources found online, making an ESP8266 into a $2 WiFi adapter for something like a Pi. The ESP-Hosted project is Espressif-supported, and it works on the entire ESP32 lineup, through an SDIO or even SPI interface! It supports 802.11b/g/n and even Bluetooth, up to BLE5, either over an extra UART channel or the same SDIO/SPI channel; you can even get BT audio over I2S. If you have an SPI/SDIO port free and an ESP32 module handy, this might just be the perfect WiFi card for your Linux project!

There are some limitations – for instance, you can’t do AP mode in the NG (Linux-compatible) version. Also, part of the firmware has blobs in it, but a lot of the firmware and all of the driver are modifiable in case you need your ESP32 to do even more than Espressif has coded in – this is not fully open-source firmware, but it’s definitely way more than the Broadcom’s proprietary onboard Raspberry Pi WiFi chip. There’s plenty of documentation, and even some fun features like raw transport layer access. Also, of note is that this project supports ESP32-C6, which means you can equip your project with a RISC-V-based WiFi adapter.

Title image from [zhichunlee].

Harmonic Table Keyboard Brings Old Idea Back to Life

17 Junio 2024 at 20:00

If you missed the introduction of the Axis-49 and Axis-64 keyboards by C-Thru Music, you’re definitely not alone. At the time it was a new musical instrument that was based on the harmonic table, but it launched during the Great Recession and due to its nontraditional nature and poor timing, the company went out of business. But the harmonic table layout has a number advantages for musicians over other keyboard layouts, so [Ben] has brought his own version of the unique instrument to life in his latest project.

Called the Midihex, the keyboard has a number of improvements over the version from C-Thru Music, most obviously its much larger 98 playable keys and five function keys. The keys themselves are similar to Cherry MX keys but which use Hall-effect sensors. This style of key allows the device to send continuous key position information to the host computer, and since this is a MIDI instrument, this capability allows it to support a MIDI protocol called MIDI Polyphonic Expression (MPE) which allows each note to be more finely controlled by the musician than a standard MIDI instrument. The PCB is powered by a Teensy 4.1 at the core.

For any musicians that haven’t tried out a harmonic table before, an instrument like this might be worth trying out. The layout provides easier chord and scale patterns, and for beginner musicians it can have a much shallower learning curve than other types of instruments. If you can’t find an original Axis-49 or Axis-64 anywhere to try out, though, we actually posted a teardown of one way back in 2009 when the company was still producing instruments.

Play Giant Tetris On Second-Floor Window

28 Mayo 2024 at 20:00

Sometimes it seems like ideas for projects spring out of nothingness from a serendipitous set of circumstances. [Maarten] found himself in just such a situation, with a combination of his existing Tetris novelty lamp and an awkwardly-sized window on a second-floor apartment, he was gifted with the perfect platform for a giant playable Tetris game built into that window.

To make the giant Tetris game easily playable by people walking by on the street, [Maarten] is building as much of this as possible in the browser. Starting with the controller, he designed a NES-inspired controller in JavaScript that can be used on anything with a touch screen. A simulator display was also built in the browser so he could verify that everything worked without needing the giant display at first. From there it was on to building the actual window-sized Tetris display which is constructed from addressable LEDs arranged in an array that matches the size of the original game.

There were some issues to iron out, as would be expected for a project with this much complexity, but the main thorn in [Maarten]’s side was getting his controller to work in Safari on iPhones. That seems to be mostly settled and there were some other gameplay issues to solve, but the unit is now working in his window and ready to be played by any passers-by, accessed by a conveniently-located QR code. Tetris has been around long enough that there are plenty of unique takes on the game, like this project from 2011 that uses Dance Dance Revolution pads for controllers.

Ribbon Cable Repair Saves Touch ID

Por: Lewin Day
21 Mayo 2024 at 23:00

Some might consider a broken ribbon cable to be unsalvagable. They’re delicate and fragile as can be, and sometimes just fussing with them further is enough to cause additional damage. However, with the right set of skills, it’s sometimes possible to achieve the unthinkable. As [Master Liu] demonstrates, you can indeed repair a broken ribbon cable, even a tiny one.

The video concerns a ribbon cable linked to a Touch ID fingerprint sensor from an Apple device. It’s common to break these ribbon cables when repairing a phone, and doing so causes major problems. The Touch ID device is paired with the host phone, and cannot easily be replaced. Thus, repair is justified if at all possible.

The repair involves scraping back the outer coating on the two sections of ribbon cable to reveal the copper pads underneath. The copper is then coated with flux and solder to prepare them to be rejoined. Ultra-fine strands of wire are used to join the individual traces. Then, the repaired section is coated in some kind of sealant or epoxy to hold the joint together and protect it from failing again. The theory is easy, it’s just the execution that’s hard.

Ribbon cable repair is becoming one of our favorite topics of late. Sometimes you just need a steady hand and the guts to have a go. Video after the break.

This Tiny Game Boy Lets the Real Thing Play Online

Por: Tom Nardi
13 Mayo 2024 at 11:00

Back in 2021, [stacksmashing] found that it took little more than a Raspberry Pi Pico and some level-shifters to create a USB connection with the Game Boy’s link port. Add in the proper software, and suddenly you’ve got online multiplayer for the classic handheld. The hardware was cheap, the software open source, and a good time was had by all.

Inspired by both the original project and some of the hardware variations that have popped up over the years, [weiman] recently set out to create a new version of the USB link adapter that fits inside a miniature 3D printed Game Boy.

The big change from the original design is that this is using the far smaller, but equally capable, RP2040-Zero development board. This is mated with a SparkFun logic level converter board (or a clone of one from AliExpress) by way of a custom PCB that also includes the necessary edge connectors to connect directly to a Game Boy Link Cable.

Once the PCB is assembled, it’s dropped into the 3D printed Game Boy shell. [weiman] really worked some nice details into the case, such as aligning the d-pad and buttons in such a way that pressing them engages either the RESET or BOOTSEL buttons on RP2040-Zero. The screen of the printed handheld also lines up with the RGB LED on the top of the dev board, which can produce some cool lighting effects.

The original project from [stacksmashing] was an excellent example of the capabilities of the Pi Pico, and we’re glad to see it’s still being worked on and remixed by others. Even though the state of Game Boy emulation is nearly perfect these days, there’s still something to be said for working with the original hardware like this.

3D-Printed Macro Pad Plate Is LEGO-Compatible

30 Abril 2024 at 23:00
Most of a three-key macro pad featuring a 3D-printed, LEGO-compatible plate.

We love LEGO, we love keyboards, and when the two join forces, we’re usually looking at a versatile peripheral that’s practically indestructible. Such seems to be the case with [joshmarinacci]’s LEGO-compatible 3D-printed plate for a three-key macro pad. For a first foray into scratch-built keyboard construction, we think this is pretty great.

The idea here is threefold: the plate holds the switches in place, negates the need for a PCB, and makes it possible to build the case completely out of LEGO. In fact, [joshmarinacci]’s plan for the keycaps even includes LEGO — they are going to 3D print little adapters that fit the key switch’s stem on one side, and the underside of a 2×2 plate on the other.

Although [joshmarinacci]’s plan is to design a PCB for the next version, there is plenty to be said for combining the plate and the PCB by printing guides for the wires, which we’ve seen before. We’ve also seen LEGO used to create a keyboard stand that fits just right. 

Via KBD

Ancient Cable Modem Reveals Its RF Secrets

22 Abril 2024 at 20:00

Most reverse engineering projects we see around here have some sort of practical endpoint in mind. Usually, but not always. Reverse-engineering a 40-year-old cable modem probably serves no practical end, except for the simple pleasure of understanding how 1980s tech worked.

You’ll be forgiven if the NABU Network, the source of the modem [Jared Boone] tears into, sounds unfamiliar; it only existed from 1982 to 1985 and primarily operated in Ottawa, Canada. It’s pretty interesting though, especially the Z80-based computer that was part of the package. The modem itself is a boxy affair bearing all the hallmarks of 1980s tech. [Jared]’s inspection revealed a power supply with a big transformer, a main logic board, and a mysterious shielded section with all the RF circuits, which is the focus of the video below.

Using a signal generator, a spectrum analyzer, and an oscilloscope, not to mention the PCB silkscreen and component markings, [Jared] built a block diagram of the circuit and determined the important frequencies for things like the local oscillator. He worked through the RF section, discovering what each compartment does, with the most interesting one probably being the quadrature demodulator. But things took a decidedly digital twist in the last compartment, where the modulated RF is turned into digital data with a couple of 7400-series chips, some comparators, and a crystal oscillator.

This tour of 80s tech and the methods [Jared] used to figure out what’s going on in this box were pretty impressive. There’s more to come on this project, including recreating the original signal with SDRs. In the mean time, if this put you in the mood for other videotext systems of the 80s, you might enjoy this Minitel terminal teardown.

❌
❌