Arduino, Accelerometer, And TensorFlow Make You A Real-World Street Fighter

A question: if you’re controlling the classic video game Street Fighter with gestures, aren’t you just, you know, street fighting?

That’s a question [Charlie Gerard] is going to have to tackle should her AI gesture-recognition controller experiments take off. [Charlie] put together the game controller to learn more about the dark arts of machine learning in a fun and engaging way.

The controller consists of a battery-powered Arduino MKR1000 with WiFi and an MPU6050 accelerometer. Held in the hand, the controller streams accelerometer data to an external PC, capturing the characteristics of the motion. [Charlie] trained three different moves – a punch, an uppercut, and the dreaded Hadouken – and captured hundreds of examples of each. The raw data was massaged, converted to Tensors, and used to train a model for the three moves. Initial tests seem to work well. [Charlie] also made an online version that captures motion from your smartphone. The demo is explained in the video below; sadly, we couldn’t get more than three Hadoukens in before crashing it.

With most machine learning project seeming to concentrate on telling cats from dogs, this is a refreshing change. We’re seeing lots of offbeat machine learning projects these days, from cryptocurrency wallet attacks to a semi-creepy workout-monitoring gym camera.

Continue reading “Arduino, Accelerometer, And TensorFlow Make You A Real-World Street Fighter”

Pizza Oven Build Exercises Forgotten Gym Ball

See, this is what happens when pizza lovers follow their dreams. It probably started innocently enough for [phammy57]—he got a pizza stone, then maybe one of those big rocking pizza cutters. Maybe he even learned how to toss the dough high in the air. But every time [phammy57] slid one of those homemade pies into the electric oven, the nagging feeling grew a little stronger. Eventually, he gave in to making pizza the way it’s supposed to be made, and built a wood-fired oven.

The most intriguing thing about this build is also the most important: this pizza preparer pivots on a gym ball, which served as the base for forming the oven. To do this, [phammy57] pushed the ball halfway through a hole in a big piece of plywood, effectively creating the world’s largest Pogo Bal (remember those?). Then he applied plastic wrap to the ball as a mold release, and laid down a thick mixture of vermiculite, cement, and water.

[phammy57] built the base from lightweight blocks, sculpting a nice arch for the top of the wood storage area. Once the dome was fastened to the base with the opening cut and outlined with brick, he cut a vent hole and built the chimney. Finally, it was time to add insulating blanket material, chicken wire, more vermiculite, and coat of plaster to finish. Take a brief look inside after the break.

It’s a long process of building, curing, and burning in, but the end result looks fantastic. We bet it pizzas like a champ, too. Probably gives this 45-second pizza oven a run for its money.

[Ed Note: If you’re still having trouble parsing the title, try it out with “build” as a noun and “exercises” as a verb.]

Continue reading “Pizza Oven Build Exercises Forgotten Gym Ball”

Keeping Clocks On Time, The Swiss Way

Could there be a worse fate for a guy with a Swiss accent than to be subjected to a clock that’s seconds or even – horrors! – minutes off the correct time? Indeed not, which is why [The Guy With the Swiss Accent] went to great lengths to keep his IKEA radio-controlled clock on track.

For those who haven’t seen any of [Andreas Spiess]’ YouTube videos, you’ll know that he pokes a bit of fun at Swiss stereotypes such as precision and punctuality. But really, having a clock that’s supposed to synchronize to one of the many longwave radio atomic clocks sprinkled around the globe and yet fails to do so is irksome to even the least chrono-obsessive personality. His IKEA clock is supposed to read signals from station DCF77 in Germany, but even the sensitive receivers in such clocks can be defeated by subterranean locales such as [Andreas]’ shop. His solution was to provide a local version of DCF77 using a Raspberry Pi and code that sends modulated time signals to a GPIO pin. The pin is connected to a ferrite rod antenna, which of course means that the Pi is being turned into a radio transmitter and hence is probably violating the law. But as [Andreas] points out, if the power is kept low enough, the emissions will only ever be received by nearby clocks.

With his clock now safely synced to an NTP server via the tiny radio station, [Andreas] can get back to work on his other projects, such as work-hardening copper wire for antennas with a Harley, or a nuclear apocalypse-Tweeting Geiger counter.

Continue reading “Keeping Clocks On Time, The Swiss Way”

Your Next Robot Needs Googly Eyes, And Other Lessons From Disney

There are so many important design decisions behind a robot: battery, means of locomotion, and position sensing, to name a few. But at a library in Helsinki, one of the most surprising design features for a librarian’s assistant robot was googly eyes. A company called Futurice built a robot for the Oodi library and found that googly eyes were a very important component.

The eyes are not to help the robot see, because of course they aren’t functional — at least not in that way. However without the eyes, robot designers found that people had trouble relating to the service robot. In addition, the robot needed emotions that it could show using the eyes and various sounds along with motion. This was inspired, apparently, by Disney’s rules for animation. In particular, the eyes would fit the rule of “exaggeration.” The robot could look bored when it had no task, excited when it was helping people, and unhappy when people were not being cooperative.

Continue reading “Your Next Robot Needs Googly Eyes, And Other Lessons From Disney”

Glitching LED Display Proves Crowd Favorite

There’s something enchanting about the soft glow of a properly diffused LED, and this is only improved by greater numbers of LEDs. [Manoj Nathwani] was well aware of this, setting out to build a large display using ping-pong balls for their desirable optical qualities.Unfortunately, not everything went to plan, but sometimes that’s not all bad.

The matrix, built back in 2016 for EMF Camp, was sized at 32×18 elements, for a total of 576 pixels. This was achieved with the use of 12 WS2811 LED strips, with the lights set out on a 50mm grid. Cheap knock-off pingpong balls were used for their low cost, and they proved to be excellent diffusers for the LEDs.

With everything wired up to a NodeMCU, basic testing showed the system to be functioning well. However, once the full matrix was assembled in the field, things started to fall over. Basic commands would work for the first 200 LEDs or so, and then the entire matrix would begin to glitch out and display random colors. Unable to fix the problem in the field, [Manoj] elected to simply run the display as-is. Despite the problems, passers-by found the random animations to be rather beautiful anyway, particularly at night.

After the event, [Manoj] determined the issue was due to the excessive length of the data line, which in the final build was 48 meters long. While the problem may be rectified when [Manoj] revisits the project, the audience seemed to appreciate the first revision anyway.

LED displays will be a hacker staple until the heat death of the universe. Ping pong balls will also likely retain their position as a favorite diffuser. If you’ve got a great LED build of your very own, be sure to hit up the tips line!

3D Printed Spuds Are Begging To Be Fired

The ballistics of humble potato is a time-honoured research topic for everyone who likes things that go bang. The focus of such work is usually on the launcher itself, with the projectiles being little more than an afterthought. [drenehtsral] decided that the wares of the local organic ammunition supplier were not good enough for him and his minions, so he designed and then 3D printed some rifled potato cannon slugs.

The design was done using OpenSCAD, has a number of adjustable parameters like infill and rifling. We doubt that the rifling introduces any spin, since it is being fired from a smooth bore barrel, but as always 3D printing brings the capability to quickly test different ideas. A quick search on Thingiverse shows a number of 3D printed spuds, so [drenehtsral] is not the first give it a go. However, this did bring to our attention that the field of spud gun projectiles is begging to be explored.

There is enough space inside a projectile to fit an IMU and logging electronics, which would give some very nice empirical data (providing you can recover it of course) on spin, acceleration, and trajectory that can be used to further improve designs. Spring loaded stabilising fins would be cool, and maybe someone can even manage to implement some form of guidance? The possibilities are endless! If you’re up for the challenge, please document your work it and let us know.

As you would expect we have no shortage of potato cannon themed content, ranging from cartridge firing and bolt action versions to antenna launchers and Arduino-powered fire control systems.

A Curiously Strong Z80 In Your Pocket

Like many hackers, [Tom Szolyga] has soft spot for the venerable Z80. The number of instructions and registers made it relatively easy to program in ASM, and he still has fond memories of the refreshingly straightforward CP/M operating system he used to run on them back in the day. In fact, he loves Z80 computers so much he decided to build one that he could carry around in his pocket.

The result is the Minty Z80, so-called because it lives inside a tin formerly inhabited by every hacker’s favorite curiously strong mint. But the goal of this build wasn’t just to make it small, but also make it convenient to work with. [Tom] is using a ATmega32A to help interface the Z84C0008 microprocessor with the modern world, which allows for niceties such as support for a micro SD card. There’s no onboard USB-to-serial capability, but with an external adapter connected to the Minty’s header, it’s easy to use log into this microcosm of classic computing with a terminal emulator running on a computer or mobile device.

[Tom] has provided the schematics and Bill of Materials for the Minty Z80 on the project’s page, but as of the latest update, he’s holding off on releasing the board files until he’s sure that all the bugs have been worked out. There’s no word yet if he found any show stoppers in the first iteration of the board design, but he’s posted a picture of the fully assembled miniature retrocomputer in all its glory which seems like a good sign.

The design of the Minty Z80 is similar to that of the Z80-MBC2 by [Just4Fun], but on an even smaller scale. It’s encouraging to see several projects leveraging modern design and components to prevent classic computing from becoming little more than a distant memory.