A Trackball So Good You Can’t Buy It

The projects we feature on Hackaday are built to all standards, and we’d have to admit that things have left our own benches as bundles of wire and tape. Sometimes we see projects built to such a high standard that we’re shocked that they aren’t a high-end manufactured product, such as [jfedor2]’s two-ball trackball project. It combines a pair of billiard balls and a couple of buttons with a beautifully-designed 3D-printed case that looks for all the world as though it came from a premium peripheral brand.

Inside are a pair of PMW3360 optical sensors on PCBs mounted with a view into the billiard ball sockets, and for which the brains come courtesy of an RP2040 microcontroller. There are five PCBs in all, each having a set of purpose-built stand-offs to hold it. The result appears to be about as good a trackball as you’d hope to buy, except of course that you can’t. All the files to make your own are in the GitHub repository though, so all is not lost.

Over the years we’ve brought you a variety of trackball designs, including at least one other build using a billiard ball.

It’s Doom, This Time On A Bluetooth LE Dongle

By now most readers should be used to the phenomenon of taking almost any microcontroller and coaxing it to run a port of the 1990s grand-daddy of all first-person shooters, id Software’s Doom. It’s been done on a wide array of devices, sometimes only having enough power for a demo mode but more often able to offer the full experience. Latest to the slipgate in this festival of pixelated gore is [Nicola Wrachien], who’s achieved the feat using an nRF52840-based USB Bluetooth LE dongle.

Full details can be found on his website, where the process of initial development using an Adafruit CLUE board is detailed. A 16MB FLASH chip is used for WAD storage, and an SPI colour display takes us straight to that cursed base on Phobos. The target board lacks enough I/O brought out for connection to screen and FLASH, so some trickery with 7400 logic is required to free up enough for the task. Controls are implemented via a wireless gamepad using an nRFS1822 board, complete with streamed audio to a PWM output.

The result can be seen in the video below the break, which shows a very playable game of both Doom and Doom 2 that would not have disgraced many machines of the era. This was prototyped on an Adafruit Clue board, and that could be the handheld console you’ve been looking for!

Continue reading “It’s Doom, This Time On A Bluetooth LE Dongle”

Video Gaming Like It’s 1983: New Game Cartridges From Atari

If you remember anything from 1983, it’s likely to be some of the year’s popular culture highlights, maybe Return of the Jedi, or Michael Jackson’s Thriller. For anyone connected with the video gaming industry though, it’s likely that year will stick in the mind for a completely different reason, as the year of the infamous Great Video Games Crash. Overcapacity in the console market coupled with a slew of low quality titles caused sales to crash and a number of companies to go out of business, and the console gaming world would only recover later in the decade with the arrival of the Japanese 8-bit consoles from Nintendo and Sega. You might expect Atari to shy away from such a painful period of their history, but instead they are embracing it as part of their 50th anniversary and launching three never-released titles on cartridges for their 8-bit 2600 console.

Game footage from Aquaventure.
Game footage from Aquaventure.

The three games, Yars’ Return, Aquaventure, and Saboteur, are all unreleased titles from back in the day that never saw publication because of the crash, and are being released as limited edition specials through AtariXP, a new venture that the company says will offer “previously unreleased titles from Atari’s expansive library, rare-and-hard-to-find Atari IP physical media, and improved versions of classic games“. It’s fairly obviously an exercise in satisfying the collector’s market rather than one of video game publishing, but it will be interesting to see what emerges. In particular we hope someone will tear down one of these cartridges; will they find a set of old-school EPROMs inside or an EPROM emulator sporting a microcontroller and other 2020s trickery?

This is not of course the first time we’ve reported on collectable 2600 cartridges, but these ones haven’t spent 30 years in a landfill site.

Header image: Evan-Amos, Public domain.

Know Audio: Get Into The Groove

The legendary Technics SL1200 direct-drive turntable, as used by countless DJs. Dydric [CC BY-SA 2.5)], via Wikimedia Commons.
The legendary Technics SL1200 direct-drive turntable, as used by countless DJs. Photo by Dydric CC-BY-SA 2.5
For me, the vinyl record player is the spiritual home of my audio listening experience, probably because I’m of the last generation to grow up when vinyl was king. The 12″ album, with its full-size sleeve and copious sleeve notes, used to be an integral part of musical enjoyment that hasn’t been adequately replicated in the age of streaming.

And like anyone who became an adult while CD players were still expensive luxury items, I started my journey into Hi-Fi with a turntable set-up that sounded pretty good. Since a new generation have in recent years rediscovered vinyl, it’s once again something that should be part of any review of audio technology.

I would have started this piece with a full run-down of the constituent parts of a good turntable, but since that’s a piece that I wrote back in 2017, it’s time to investigate some of the audiophile claims about vinyl recordings. It’s fair to say that this is an area where a lot of complete rubbish is spouted by people who should know better, and that’s something I find immensely entertaining to poke fun at. Buckle up. Continue reading “Know Audio: Get Into The Groove”

NTP, Rust, And Arduino Make A Phenomenal Frequency Counter

Making a microcontroller perform as a frequency counter is a relatively straightforward task involving the measurement of the time period during which a number of pulses are counted. The maximum frequency is however limited to a fraction of the microcontroller’s clock speed and the accuracy of the resulting instrument depends on that of the clock crystal so it will hardly result in the best of frequency counters. It’s something [FrankBuss] has approached with an Arduino-based counter that offloads the timing question to a host PC, and thus claims atomic accuracy due to its clock being tied to a master source via NTP. The Rust code PC-side provides continuous readings whose accuracy increases the longer it is left counting the source. The example shown reaches 20 parts per billion after several hours reading a 1 MHz source.

It’s clear that this is hardly the most convenient of frequency counters, however we can see that it could find a use for anyone intent on monitoring the long-term stability of a source, and could even be used with some kind of feedback to discipline an RF source against the NTP clock with the use of an appropriate prescaler. Its true calling might come though not in measurement but in calibration of another instrument which can be adjusted to match its reading once it has settled down. There’s surely no cheaper way to satisfy your inner frequency standard nut.

For All Their Expense, Electric Cars Are Still The Cheapest

A criticism that we have leveled at the move from internal combustion vehicles to electric ones is that their expense can put them well beyond the range of the not-so-well-heeled motorist. Many of the electric vehicles we’ve seen thus far have been niche models marketed as luxury accessories, and thus come with a specification and list price to match. It’s interesting then to see a European report from LeasePlan looking at vehicle ownership costs which reveals that the total yearly cost of ownership (TCO) for an electric car has is now cheaper that comparable internal combustion vehicles across the whole continent in all but the fiercely competitive sub-compact segment.

TCO includes depreciation, taxes and insurance, fuel, and maintenance. Perhaps the most interesting story lies in electric cars progressing from being a high-depreciation, risky purchase to something you can sell on the second-hand market, even if they cost more up front. For example, the electric VW ID3 costs around $11,000 more than the comparable gas-powered VW Golf up front, but the higher resale price later offsets this and helps keep the TCO lower.

We’ve been following electric vehicles for a while now in the hope that an electric people’s car would surface, and have at times vented our frustration on the matter. It’s encouraging to see this particular trend as we believe it will encourage manufacturers to produce more accessible electric vehicles, especially given that we’ve just complained that driving electric seems like more of a rich man’s game.

(via Heise)

Header image: CEphoto, Uwe Aranas / CC-BY-SA-3.0.

So. What’s Up With All These Crazy Event Networks Then?

As an itinerant Hackaday writer I am privileged to meet the people who make up our community as I travel the continent in search of the coolest gatherings. This weekend I’ve made the trek to the east of the Netherlands for the ETH0 hacker camp, in a camping hostel set in wooded countryside. Sit down, connect to the network, grab a Club-Mate, and I’m ready to go!

Forget the CTF, Connecting To WiFi Is The Real Challenge!

There no doubt comes a point in every traveling hacker’s life when a small annoyance becomes a major one and a rant boils up from within, and perhaps it’s ETH0’s misfortune that it’s at their event that something has finally boiled over. I’m speaking of course about wireless networks.

While on the road I connect to a lot of them, the normal commercial hotspots, hackerspaces, and of course at hacker camps. Connecting to a wireless network is a simple experience, with a level of security provided by WPA2 and access credentials being a password. Find the SSID, bang in the password, and you’re in. I’m as securely connected as I reasonably can be, and can get on with whatever I need to do. At hacker camps though, for some reason it never seems to be so simple.

Instead of a simple password field you are presented with a complex dialogue with a load of fields that make little sense, and someone breezily saying “Just enter hacker and hacker!” doesn’t cut it when that simply doesn’t work. When you have to publish an app just so that attendees can hook up their phones to a network, perhaps it’s time to take another look . Continue reading “So. What’s Up With All These Crazy Event Networks Then?”