ESP8266 Gets Its Game On With Open Source Engine

This is likely not to come as much of a shock to you, but the ESP8266 is pretty popular. At this point, we’re more surprised when a project that hits the tip line doesn’t utilize this incredibly cheap WiFi-enabled microcontroller. If you’re making a gadget that needs to connect to the Internet, there’s a good chance some member of the ESP family is going to be a good choice. But is it a one-trick MCU?

ESP Little Game Engine Logo

Well, judging by software frameworks like the “Little Game Engine” created by [Igor], it looks like the ESP is expanding its reach into offline projects as well. While it might not turn the ESP8266 into a next-gen gaming powerhouse, we’ve got to admit that the demos shown off so far are pretty impressive. When paired with a couple of buttons and a TFT display such as the ILI9341, the ESP could make for a particularly pocket-friendly game system.

The game engine that [Igor] has developed provides the programmer with a virtual screen resolution of 128×128, a background layer, and 32 sprites which offer built-in tricks like collision detection and rotation. All while running at a respectable 20 frames per second. This environment is ideal for the sort of 2D scrolling games that dominated the 8 and 16-bit era of gaming, and as seen in the video after the break, it can even pull off a fairly decent clone of “Flappy Bird”.

In addition, [Igor] created an online emulator and compiler which allows you to develop games using his engine right in your web browser. You can load up a selection of example programs and execute them to see what the engine is capable of, then try your hand at developing your own game before ever having to put the hardware together. Incidentally, the performance of this online development environment is fantastic; with even the fairly complex “Flappy Bird” example code compiling and starting in the emulator nearly instantaneously.

This isn’t the first handheld game we’ve seen powered by the ESP8266, but it would be fair to say this one is a generational leap over its predecessors. Of course, if you really want to start throwing around some pixels, you might want to make the leap to the ESP32; which is the heart of the incredibly awesome (and tiny) PocketSprite.

Continue reading “ESP8266 Gets Its Game On With Open Source Engine”

OpenSCAD Gives You Parametric Boxes

OpenSCAD is one of the most powerful 3d modeling applications around. Its beauty is in its simplicity; if you need a box, you can just write the code for a box. If you need some bit of plastic to keep your 3D printer running, you can just write the code for that bit of plastic. Like all programming languages, OpenSCAD is only really powerful if you have a huge back-catalog of various components ready for reuse. That’s where [Mark]’s library for hinged boxes comes in handy. Every type of box you would ever want to create, from boxes with covers, magnet closures, or cases for your glasses is easily accessible with just a few lines of code.

The work presented here is an OpenSCAD script to generate two-piece hinged boxes, with rounded corners, a lid, interlocking rims, and optional snap fit, magnet, or screw closures. As you would expect from OpenSCAD, everything in this script is parametric. You can change any measurement or simply delete entire sections of the box.

The included examples consist of a small mini-Altoids tin-sized ‘Bee Box’ with a snap-fit lid. All of the relevant dimensions of the snap-fit lid are variables. Other examples include an eyeglass case and a box for small parts storage that interlock. If you have a few rolls of filament, a lot of time on your hands, and want to organize your workbench, you could do worse than checking out a few of these OpenSCAD boxes.

Miniature 3D Printed Forklift Is Quite Pallet-able

If you have a small logistics problem, we have the solution for you. [Leon] built a tiny little forklift with LED lighting, working forks, and remote control using a combination of 3D printing tech, some CNC work, and fine soldering skills.

The electronics for this build are based around a few servos and a pair of geared DC motors and are driven via an Arduino Mega. Connectivity and remote controllability are what you would expect from an Arduinified project. There’s an HC-05 Bluetooth module on the board and remote control is handled by a custom Android app.

Of note in this project are the forks that actually work, almost like a real forklift. This allows the mini Arduino forklift to pick up mini pallets, drop them somewhere, and have mini DIY enthusiasts come up to build mini-furniture for mini-Etsy, which will be prominently featured in the mini foyer of a mini two-story walkup. No, it’s not mini-gentrification; this mini forklift is helping the mini local economy.

You can check out the entire build video below, filmed in the usual maker demo method of speeding up the entire build process but somehow keeping the no-talking audio. We have a lot to thank [Jimmy DiResta] for, and it’s not just cinematography. All the files for this forklift are up on the Github should you want to build your own.

Continue reading “Miniature 3D Printed Forklift Is Quite Pallet-able”

DIY Reflow Oven Is Heavily Documented

[DJ Legion] decided he wanted a reflow oven so he bought a toaster oven and an assortment of parts including a solid state relay, a Teensy, a display, and a thermocouple. What makes this a different project is the amount of video documentation. The four videos below encompass about 50 minutes of information and he’s promising more to come.

We haven’t found his software — probably because he’s still working on it, but we’re watching his GitHub page expectantly. We really liked the 3D printed faceplate that integrated the controller into the oven. It almost looks like a commercial unit. The use of the woodgrain paper over the 3D printed parts was a nice touch.

[DJ] is not done, though. He wants to increase the heat up time and possibly add convection. He’s also planning on a new video that will show actually making a board and how he has refined the calibration curves.

We are impressed but would have been tempted to just grab a Reflowduino. The work’s already done, and you get wireless control and lots of other goodies. Of course, we also get the urge to do it yourself, so we can’t really throw stones. If you don’t want to mess with an oven, you can always raid the hair salon.

Continue reading “DIY Reflow Oven Is Heavily Documented”

Hackaday Links Column Banner

Hackaday Links: March 10, 2019

Do you like hamburgers? Everyone likes hamburgers. Inspired by a phone you could buy at Spencers in 1991, [Love Hulten] built a Game Burger Advance. The guts are a Raspberry Pi Zero, a standard LCD display and what appears to be a USB control pad. The fabrication is where this one really goes crazy. It’s a significant amount of laser-cut plywood or MDF stacked together into a laminate then sanded and painted to look like a hamburger. Actually, it’s a cheeseburger, but we don’t deal with the prescriptivist view of linguistics and Wendy’s doesn’t sell hamburgers, they sell cheeseburgers without cheese. Hamburgers are not cheeseburgers without cheese but I digress… Just be glad this links post isn’t me going off for two thousand words talking about language and cheeseburgers.

If you have a 2012 MacBook Pro, congratulations, you have one of the last good laptops Apple will ever build. [Docatl] over on Reddit has one of these fine machines, but found it was overheating. This Genius did what anyone would do — drilled some vents in the bottom of the laptop. The results are impressive, with stock temperatures climbing to 80º C when rendering video, and the post-drilled temps cooling down to a balmy 65º.

Here’s a Kickstarter for you. It’s an Arduino Zero in a narrow DIP-16 package, albeit with a USB connector hanging over the outline of a normal DIP-16 footprint. The specs are an ATSAMD21 Cortex-M0+ running at 48 MHz, 256kB of Flash, 32k of RAM, and an integrated bootloader.

Ha ha Tim Cook changed his name to Tim Square because Apple users are squares amirite?

We’re not going to get into a discussion about mental health or anything here, but TheFlightChannel just published a flight sim reenactment of the SeaTac Dash-8 Horizon Air incident from last summer. This video is absolutely fantastic.

The Sipeed K210 is a chip you should know about. It’s a RISC-V microcontroller that’s right up there with the fastest, most powerful STM32 chips, but it’s RISC-V and it costs eight dollars. Also, it has neural networks, because. We first heard about this chip as a preorder on Taobao (?!), but now it’s getting a slightly more official release. Seeed is working on a Raspberry Pi Hat for this chip, and they want your input. Right now we’re looking at two versions, one with WiFi and one without, and both can either work with a Raspberry Pi or as a standalone board. They have the basic layout, but they’d like to know what features the community would want.

From A Dead Laptop To A Portable KVM And PiTop

An essential tool of many sysadmins is a portable terminal ready to plug into an ailing rack-mounted server to administer first aid. At their simplest, they are simply a monitor and keyboard on a trolley, but more often they will be a laptop pre-loaded with tools for the purpose. Sysadmins will hang on tenaciously to now-ancient laptops for this application because they possess a hardware serial port.

[Frank Adams] has taken a different route with his emergency server crash cart, because while he’s used an old laptop he hasn’t hung onto it for its original hardware. Instead, he’s used a Teensy and an LVDS driver board to replace the motherboards of two old Dell Latitude laptops, one of which is a simple KVM device and the other of which is a laptop in its own right featuring a Raspberry Pi 3. He’s produced a video as well, which we’ve placed below the break.

There was a time when laptop display panels were seen as unhackable, but the advent of cheap driver boards has meant that conversions such as this one have become a relatively well-worn path. The job he’s done here is a particularly well-executed one though, making good use of the generous amount of space to be found in an older business-class laptop. There isn’t a battery because this application doesn’t demand one, however, with the battery compartment intact it does not seem impossible that a suitable charger/monitor board could be included along with a boost converter to provide his 12V supply.

This isn’t the first Pi laptop in a re-used commercial machine’s case we’ve seen, there was also this Sony Vaio.

Continue reading “From A Dead Laptop To A Portable KVM And PiTop”

The Fine Art Of Restoring Matchbox Cars

Did you have anything planned for the next hour or so? No? That’s good because if you’re anything like us, watching even one of the restorations performed on [Marty’s Matchbox Makeovers] is likely to send you down a deep dark rabbit hole that you never knew existed. Even if you can’t tell the difference between Hot Wheels and Matchbox (seriously, that’s a big deal in the community), there’s something absolutely fascinating about seeing all the little tips and tricks used to bring these decades-old toy cars back into like new condition.

Sketching a replacement part to be 3D printed.

You might think that all it takes to restore a Matchbox car is striping the paint off, buffing up the windows, and respraying the thing; and indeed you wouldn’t be too far off the mark in some cases. But you’ve got to remember that these little cars have often been through decades of some of the worst operating conditions imaginable. That is, being the plaything of a human child. While some of the cars that [Marty] rebuilds are in fairly good condition to begin with, many of them look like they’ve just come back from a miniature demolition derby.

The ones which have had the hardest lives are invariably the most interesting. Some of the fixes, like heating up the interior and manually bending the steering wheel back into shape, are fairly simple. But what do you do when a big chunk of the vehicle is simply gone? In those cases, [Marty] will combine cyanoacrylate “super glue” with baking powder to fill in voids; and after filing, sanding, and painting, you’d never know it was ever damaged.

When a car needs more than just paint to finish it off, [Marty] will research the original toy and make new water slide decals to match what it would have looked like originally. If it’s missing accessories, such as the case with trucks which were meant to carry scale cargo, he’ll take careful measurements so he can design and print new parts. With some sanding and a touch of paint, you’d never know they weren’t original.

There’s plenty of arcane knowledge to be gained from folks like [Marty] who have experience with scale models. We don’t often see much of that come our way, but when we do, we’re always impressed at the lengths individuals will go to get that perfect end result. Whether or not you think you’ll find yourself rebuilding a pocket-sized school bus anytime soon, we think there are lessons to be learned from those who might. Continue reading “The Fine Art Of Restoring Matchbox Cars”