[Mathieu] wrote in with his laser target practice game. It’s not the most amazing hack in the history of hackery, but it’s an excellent example of the type of simple and fun things you can do with just a little bit of microcontrollering.
First off, the gun is a broken toy gun that used to shoot something other than red collimated light beams. The Arduino knockoff inside reacts to a trigger pull and fires the laser for around 200 milliseconds. The gun also has a “gas gauge” that fills up with repeated shots and cools down over time. And therein lies the game — a simple race to ten, where each player only has a fixed number of shots over time.
The targets are simply a light sensor, scorekeeping LED display, and a buzzer that builds tension by beeping at you as the countdown timer ticks down. The bodies are made out of 3D-printed corners that connect some of [Mathieu]’s excess wooden goat-cheese lids.
All the code is up on GitHub so you can make your own with stuff that you’ve got lying around the house. The “gun” can be anything that you can embed a laser in that makes it aimable. Good clean fun!
Well all know cellular automata from Conway’s Game of Life which simulates cellular evolution using rules based on the state of all eight adjacent cells. [Gavin] has been having fun playing with elementary cellular automata in his spare time. Unlike Conway’s Game, elementary automata uses just the left and right neighbors of a cell to determine the next cell ahead in the row. Despite this comparative simplicity, some really complex patterns emerge, including a Turing-complete one.
[Gavin] started off doing the calculations by hand for fun. He made some nice worksheets for this. As we can easily imagine, doing the calculations by hand got boring fast. It wasn’t long before his thoughts turned to automating his cellular automata. So, he put together an automatic cellular automator. (We admit, we are having a bit of fun with this.)
This isn’t the first time we’ve seen DIYers sending music over a laser beam but the brothers [Armand] and [Victor] are certainly in contention for sending the music the longest distance, 452 meter/1480 feet from their building, over the tops of a few houses, through a treetop and into a friend’s apartment. The received sound quality is pretty amazing too.
In case you’ve never encountered this before, the light of the laser is modulated with a signal directly from the audio source, making it an analog transmission. The laser is a 250mW diode laser bought from eBay. It’s powered through a 5 volt 7805 voltage regulator fed by a 12V battery. The signal from the sound source enters the circuit through a step-up transformer, isolating it so that no DC from the source enters. The laser’s side of the transformer feeds the base of a transistor. They included a switch so that the current from the regulator can either go through the collector and emitter of the transistor that’s controlled by the sound source, giving a strong modulation, or the current can go directly to the laser while modulation is provided through just the transistor’s base and emitter. The schematic for the circuit is given at the end of their video, which you can see after the break.
They receive the beam in their friend’s apartment using solar cells, which then feed a fairly big amplifier and speakers. From the video you can hear the surprisingly high quality sounds that results. So check it out. It also includes a little Benny Hill humor.
We’ve seen a proliferation of real-life video game builds lately, but this one is a jaw-dropper! [Tomer Daniel] and his crew of twelve hackers, welders, and coders built a Space Invaders game for GeekCon 2016.
[Tomer] et al spent more time on the project than the writeup, so you’re going to have to content yourselves with the video, embedded below, and a raft of photos that they sent us. ([Tomer] wrote in and wanted to thank each of you, and his sponsors, by name, but that would be a couple paragraphs on its own. Condider yourselves all thanked!) Continue reading “Real-Life Space Invaders with Drones and Lasers”→
The inspiration for this project came from two of [Ted]’s projects, one requiring response curves for LEDs, and laser diodes for another. This would give him a graph of optical output vs. current, angular light output distribution, and the lasing threshold for laser diodes. This data isn’t always available in the datasheet, so a homebrew tool is the only option.
The high-level design of this tool is basically a voltmeter and ammeter measuring a glowy diode, producing IV curves and measuring optical output. That takes care of all the measurements except for the purely optical properties of a LED. This is measured by a goniometer, or basically putting the device under test on a carriage attached to a stepper motor and moving it past a fixed optical detector.
If you’re wondering why this device is needed and a simple datasheet is insufficient, check this out. [Ted] measured the efficiency of a Luxeon Z LED, and found the maximum efficiency is right around 10mA. The datasheet for this LED shows a nominal forward current of 500mA, and a maximum of 1000mA. If you just looked at the datasheet, you could easily assume a device powered for years by a coin cell would be impossible. It’s not, and [Ted]’s device gave us this information.
The Zapper gun from the original Nintendo was ahead of its time. That time, though, was around 30 years ago and the iconic controller won’t even work with most modern televisions. With a little tinkering they can be made to work, but if you want to go in a different direction they can be made to do all kinds of other things, too. For example, this one can shoot green lasers and be used as a mouse.
The laser pointer was installed in the gun using a set of 3D printed rings to make sure the alignment was correct. It’s powered with a Sparkfun battery pack and control board which all fit into the gun’s case. The laser isn’t where the gun really shines, though. There’s a Wiimote shoved in there too that allows the gun to be used as a mouse pointer when using it with a projector. Be sure to check out the video below to see it in action. Nothing like mixing a little bit of modern Nintendo with a classic!
The Wiimote is a great platform for interacting with a computer. Since the Wii was released it’s been relatively easy to interface with them via Bluetooth. One of the classic Wiimote hacks is using an IR pen and projector to create a Smart Board of sorts for a fraction of the price. They’ve also been used with some pretty interesting VR displays.
[Seb Lee-Delisle]’s NES lightgun gave us pause as the effect is so cool we couldn’t quite figure out how he was doing it at first. When he pulls the trigger there erupts the beam of light Sci Fi has trained us to expect, then it explodes in a precision sunburst of laserlight at the other end as smoke gently trails from the end of the barrel. This is a masterpiece of hardware and trickery.
The gun itself is a gutted Nintendo accessory. It looks like gun’s added bits consist of two LED strips, a laser module (cleverly centered with two round heatsinks), a vape module from an e-cigarette, a tiny blower, and a Teensy. When he pulls the trigger a cascade happens: green light runs down the side using the LEDs and the vape module forms a cloud of smoke in a burst pushed by the motor. Finally the laser fires as the LEDs finish their travel, creating the illusion.
More impressively, a camera, computer, and 4W Laser are waiting and watching. When they see the gun fire they estimate its position and angle. Then they draw a laser sunburst on the wall where the laser hits. Very cool! [Seb] is well known for doing incredible things with high-powered lasers. He gave a fantastic talk on his work during the Hackaday Belgrade conference in April. Check that out after the break.