Tricking Duck Hunt To See A Modern LCD TV As CRT

A must-have peripheral for games consoles of the 1980s and 1990s was the light gun. A lens and photo cell mounted in a gun-like plastic case, the console could calculate where on the screen it was pointing when its trigger was pressed by flashing the screen white and sensing the timing at which the on-screen flying spot triggered the photo cell.

Unfortunately light gun games hail from the era of CRT TVs, they do not work with modern LCDs as my colleague [Will Sweatman] eloquently illustrated late last year. Whereas a CRT displayed the dot on its screen in perfect synchronization with the console output, an LCD captures a whole frame, processes it and displays it in one go. All timing is lost, and the console can no longer sense position.

[Charlie] has attacked this problem with some more recent technology and a bit of lateral thinking, and has successfully brought light gun games back to life. He senses where the gun is pointing using a Wiimote with its sensor bar on top of the TV through a Raspberry Pi, and feeds the positional information to an Arduino. He then takes the video signal from the console and strips out its sync pulses which also go to the Arduino. Knowing both position and timing, the Arduino can then flash a white LED stuck to the end of the light gun barrel at the exact moment that part of the CRT would have been lit up, and as far as the game is concerned it has received the input it is expecting.

He explains the timing problem and his solution in the video below the break. He then shows us gameplay on a wide variety of consoles from the era using the device. More information and his code can be found on his GitHub repository.

Continue reading “Tricking Duck Hunt To See A Modern LCD TV As CRT”

Four Of Our Favorite Hardware Talks

The Hackaday SuperConference is the greatest gathering of hardware hackers on the planet. Last year at the SuperCon, we saw talks on building systems from scratch, creating new and interesting uses for technology, and bringing those electronic bits to market. What are we talking about? Here are four of the best talks from last year’s Hackaday SuperConference:

Continue reading “Four Of Our Favorite Hardware Talks”

Shell Game

A lot of us spend a lot of time switching between Windows and Linux. Now that platforms like the Raspberry Pi are popular, that number is probably increasing every day. While I run Linux on nearly everything I own (with the exception of a laptop), my work computers mostly run Windows. The laptop is on Windows, too, because I got tired of trying to get all the fancy rotation sensors and pen features working properly under Linux.

What I hate most about Windows is how hard is it to see what’s going on under the hood. My HP laptop works with a cheap Dell active stylus. Sort of. It is great except around the screen edges where it goes wild. Calibration never works. On Linux, I could drill down to the lowest levels of the OS if I were so inclined. With Windows, it is just tough.

War is Shell

One place where Linux always used to have an advantage over DOS and Windows was the shell. There are lots of variations available under Linux, but bash seems to be the current pick for most people. If you want more power, you can move to some alternatives, but even bash is pretty powerful if you learn how to use it and have the right external programs (if you don’t believe it, check out this web server).

Continue reading “Shell Game”

Citizen Scientist Radio Astronomy (and More): No Hardware Required

We sometimes look back fondly on the old days where you could–it seems–pretty easily invent or discover something new. It probably didn’t seem so easy then, but there was a time when working out how to make a voltage divider or a capacitor was a big deal. Today–with a few notable exceptions–big discoveries require big science and big equipment and, of course, big budgets. This probably isn’t unique to our field, either. After all, [Clyde Tombaugh] discovered Pluto with a 13-inch telescope. But that was in 1930. Today, it would be fairly hard to find something new with a telescope of that size.

However, there are ways you can contribute to large-scale research. It is old news that projects let you share your computers with SETI and protein folding experiments. But that isn’t as satisfying as doing something personally. That’s where Zooniverse comes in. They host a variety of scientific projects that collect lots of data and they need the best computers in the world to crunch the data. In case you haven’t noticed, the best computers in the world are still human brains (at least, for the moment).

Their latest project is Radio Meteor Zoo. The data source for this project is BRAMS (Belgian Radio Meteor Stations). The network produces a huge amount of readings every day showing meteor echoes. Detecting shapes and trends in the data is a difficult task for computers, especially during peak activity such as during meteor showers. However, it is easy enough for humans.

Continue reading “Citizen Scientist Radio Astronomy (and More): No Hardware Required”

Review: Monoprice Maker Ultimate 3D Printer

A few months ago, a very inexpensive 3D printer appeared on Monoprice. My curiosity for this printer was worth more than $200, so I picked one of these machines up. The Monoprice MP Select Mini is an awesome 3D printer. It’s the perfect printer to buy for a 13-year-old who might be going through a ‘3D printing phase’. It’s a great printer to print a better printer on. This printer is a sign the 3D printing industry is not collapsing, despite Makerbot, and foreshadows the coming age of consumer 3D printers.

The MP Select Mini isn’t Monoprice’s only 3D printer; the printer I bought was merely the ‘good’ printer in the good-better-best lineup. Since my review of the MP Select Mini, Monoprice has introduced their top of the line, the Maker Ultimate 3D printer. Monoprice asked if I would like to take a look at this offering, and I’m more than happy to oblige.

After a week of burn-in, I can safely say you’re not wasting your money on this $700 3D printer. It’s not a starter printer — it’s one that will last you a long time. 2016 is the beginning of the age of consumer 3D printers, and the Monoprice Maker Ultimate is more than proof of this.

Continue reading “Review: Monoprice Maker Ultimate 3D Printer”

Impressive Junkyard CNC Made From Fancy Garbage

We’ll just come out and say it, [reboots] has friends with nice garbage. Sure, some of us have friends who are desperately trying to, “gift,” us a CRT monitor, hope dropping like a rock into their stomach when they realize they can’t escape the recycling fee.  [reboots] has friends who buy other people’s poorly thought out CNC projects and then gift him with the parts.

After dismantling the contraption he found himself with nice US and Japanese made linear motion components. However, he needed a CNC controller to drive it all. So he helped another friend clean out their garage and came away with a FlashCut CNC controller.

Now that he had a controller and the motion components whirring nicely, he really needed a frame to put it all in. We like to imagine that he was at a friend’s  barbeque having a beer. In one corner of the yard was an entire Boeing 747.  A mouldering scanning electron microscope with a tattered and faded blue tarp barely covering its delicate instrumentation sat in another corner. Countless tech treasures were scattered about in various states. It was then that he spotted a rusting gamma ray spectrometer in the corner that just happened to have the perfect, rigid, gantry frame for his CNC machine.

Of course, his friend obliged and gladly gave up the spectrometer. Now it was time to put all together. The gantry was set on a scavenged institutional door. The linear motion frames were bolted in place. Quite a few components had to be made, naturally, of scrap materials.

spindletest2Most people will start by using a handheld router for the spindle. The benefits are obvious: they’re inexpensive, easy to procure, and generally come with mounts. But, there are some definite downsides, one of the most glaring of which is the lack of true speed control.

Even routers that allow you to adjust the speed (a fairly common feature on new models) generally don’t actually regulate that speed. So, you end up with a handful of speed settings which aren’t even predictable under load. Furthermore, they usually rely on high RPMs to do their work. For those reasons, handheld woodworking routers aren’t the best choice for a mill that you intend to cut metal with.

[reboots] noticed this problem while building this machine and came up with an inexpensive way to build a speed-controlled spindle. His design uses a brushless DC motor, controlled through a hobby ESC (electronic speed control), which uses a belt to drive the spindle. The spindle itself is mounted using skateboard bearings, and ends in an E11 collet (suitable for light machining in aluminum).

With the ESC providing control of the brushless motor, he’s able to directly control the spindle speed via software. This means that spindle speeds can be changed with G-code, allowing for optimized feeds and speeds for different operations. The belt-drive increases torque while separating the motor from the spindle, which should keep things cool, and reduce rotating mass on the spindle itself. Now all [reboots] needs to do is add a DIY tool changer!

Fixing The Ampere: Redefining The SI Unit

We all know that it’s not the volts that kill you, it’s the amps. But exactly how many electrons per second are there in an amp? It turns out that nobody really knows. But according to a press release from the US National Institute of Standards and Technology (NIST), that’s all going to change in 2018.

The amp is a “metrological embarrassment” because it’s not defined in terms of any physical constants. Worse, it’s not even potentially measurable, being the “constant current which, if maintained in two straight parallel conductors of infinite length, of negligible circular cross-section, and placed 1 meter apart in vacuum, would produce between these conductors a force equal to 2 x 10–7 newton per meter of length.” You can’t just order a spool of infinite length and negligible cross-section wire and have it express shipped.

So to quantify the exact number of electrons per second in an amp, the folks at NIST need an electron counter. This device turns out to be a super-cooled, quantum mechanical gate that closes itself once an electron has passed through. Repeatedly re-opening one of these at gigahertz still provides around a picoamp. Current (tee-hee) research is focused on making practical devices that push a bit more juice. Even then, it’s likely that they’ll need to gang 100 of these gates to get even a single microamp. But when they do, they’ll know how many electrons per second have passed through to a few tens of parts per billion. Not too shabby.

We had no idea that the amp was indirectly defined, but now that we do, we’re looking forward to a better standard. Thanks, NIST!

Thanks [CBGB123B] for the tip!