Researching Factorio…For Science

Science has affirmatively answered a lot of questions that, looking back, could be seen as bizarre to have asked in the first place. Questions like “can this moldy cheese cure disease” or “can this rock perform math if we give it some electricity.”  Among the more recent of this list is the question of whether or not the video game Factorio, in which the player constructs an elaborate factory, can be used as the basis for other academic work. As [Kenneth Reid] discusses in this talk, it most certainly can.

If you haven’t played the game, it’s a sort of real-time strategy (RTS) game where the player gathers materials to construct a factory while defending it from enemies. On the surface it might seem similar to Age of Empires or Starcraft, but its complexity is taken to extremes not found in other RTS games. The complexity hides nuance, and [Kenneth] points out that it’s an excellent simulator to study real-world problems such as vehicle routing problems, decision making, artificial intelligence, bin packing problems, and production planning, among a whole slew of other interesting areas of potential research.

[Kenneth] and his partners on this project also developed some software tools with interacting with a Factorio game without having to actually play it directly. The game includes an API which the team used to develop tools so that other researchers can use it as a basis for simulations and studies. There was a research paper published as well for more in-depth reading on the topic. We shouldn’t be too surprised that a game can be used in incredibly productive ways like this, either. Here’s another example of a toy being used to train engineers working in industrial automation.

Continue reading “Researching Factorio…For Science”

Front Door Keys Hidden In Plain Sight

If there’s one thing about managing a bunch of keys, whether they’re for RSA, SSH, or a car, it’s that large amounts of them can be a hassle. In fact, anything that makes life even a little bit simpler is a concept we often see projects built on to of, and keys are no different. This project, for example, eliminates the need to consciously carry a house key around by hiding it in a piece of jewelry.

This project sprang from [Maxime]’s previous project, which allowed the front door to be unlocked with a smartphone or tablet. This isn’t much better than carrying a key, since the valuable piece of electronics must be toted along in place of one. Instead, this build eschews the smartphone for a ring which can be worn and used to unlock the door with the wave of a hand. The ring contains an RFID which is read by an antenna that’s monitored by a Wemos D1 Mini. When it sees the ring, a set of servos unlocks the door.

The entire device is mounted on the front of the door about where a peephole would normally be, with the mechanical actuators on the inside. It seems just as secure (if not more so) than carrying around a metal key, and we also appreciate the aesthetic of circuit boards shown off in this way, rather than hidden inside an enclosure. It’s an interesting build that reminds us of some other unique ways of unlocking a door.

Continue reading “Front Door Keys Hidden In Plain Sight”

Playdate Handheld Turned Typewriter

The Playdate is an interesting gaming system. It’s a handheld, has a black and white screen, and superficially reminds us a little bit of the original Game Boy, right down to the button layout. But the fact that it has a second controller that pops out of the side, that this controller is a crank, and that the whole system was made by the same people that made Untitled Goose Game, makes us quite intrigued. Apparently it has made an impact on others, too, because this project turns the gaming system into a typewriter.

The Playdate doesn’t have native support for USB accessories unless it’s plugged into this custom 3D printed dock. Inside of the dock is a Teensy 4.1 which handles some translation between the keyboard and the console. Once the dock is taken care of the text editor needs to be side-loaded to the device as well. The word processor has the ability to move the cursor around, insert and delete text, and the project’s creator, [t0mg], plans to add more features in future versions like support for multiple files, changing the font, and a few other things as well.

For anyone interested in recreating this project, all of the printable files, the text editor, and the schematics are all available in the GitHub repo. It’s an impressive project for a less well-known console that we haven’t seen many other hacks for, unless you count this one-off Arduboy project which took some major inspiration from the Playdate’s crank controller.

Ebike Charges In The Sun

Ebikes are slowly taking the place of many cars, especially for short trips. Most ebikes can take riders at least 16 kilometers (10 miles) without too much effort, at a cost that’s often a single-digit percentage of what the same trip would have been with an internal combustion engine. If you’re interested in dropping the costs of your ebike trips even further, or eliminating it entirely, take a look at this small ebike with integrated solar panels.

While any battery can be charged with a sufficiently large array of solar panels and the correct electronics to match the two systems together, this bike has a key that sets it apart from most others: it can charge while it is being used to power the bike. Most ebikes don’t have charging enabled during rides, so if you want to use the sun while riding to extend the range of the bike you’ll need to find one like this. This bike uses two 50 W panels on the two cargo areas of the bike, attached to a 400 W MPPT charge controller. The Lectric XP 2.0 ebike has a motor with a peak rating of 850 W, but in a low pedal-assist mode the solar panels likely output a significant fraction of the energy used by the electric drivetrain.

Even if the panels don’t provide the full amount of energy needed for riding around, the project’s creator [Micah] lives in Florida, so just setting the bike outside in the sun for six to eight hours is enough to replenish most of the battery’s charge. It’s probably not going to win any solar-powered bike races anytime soon, but for an efficient, quick bike to ride around town it’s not too shabby.

Organizational Inspiration From The Discount Tool Company

When in need of any tool to get a job done quickly, or only for a small number of times, it’s great to have a local “discount tool” company locally for some working, yet often low-quality solution to whatever problem might arise. While there are some gems, most of these tools won’t last through heavy, sustained use like their more expensive counterparts will. On the other hand, there are other things to be had at these discount shops, such as inspiration for tackling a storage problem.

This particular storage system comes from Harbor Freight, and uses a set linked crosshairs, the center of which is hollowed out. A set of movable compartments sits on top with feet that can interlock inside the crosshairs. This allows much more efficient use of space within the toolboxes, but [Alan] wanted it to be useful for more that that. He designed and implemented the Storage Case Base Template (SCBT) which allows for a container of any size to be fitted with a similar crosshair network.

With this non-proprietary system implemented and printed, the original goal of reducing the clutter in [Alan]’s workspace was accomplished. The 3D printing files can be modified easily for any space, and are available both on Thingiverse and Printables. For some other ways of packing a lot into a small space, we featured this tiny workshop a while back that’s packed with storage hacks.

Printed Axial Generator Is Turned By Hand

While desktop 3D printing is an incredible technology, it’s got some pretty clear limitations. Plastic parts can be produced quickly in a 3D printer but can be more expensive or take longer to make than parts from materials like wood. Plastic parts can also be weaker than materials like metal. If a 3D printer is all you have on hand, though, you can often make some design choices that improve the performance of a plastic part over other materials. That’s what [1970sWizard] did to make this axial hand-cranked generator.

Besides a few pieces of off-the-shelf hardware and the wire and magnets, the entire generator is printed. The actual generator is made from coils of wire with exposed leads which snap into a plastic disc which acts as the generator’s stator. The magnets also snap into a separate disc which is the rotor of the generator and is attached to the drivetrain, with no glue or fasteners required. A series of gears on two other axes convert the torque from the hand crank into the high speed necessary to get usable electricity out of the generator.

The separate gear shafts were necessary to keep from needing a drillpress, which would have allowed fewer axes to be used. This entire machine can be built almost entirely with a desktop 3D printer, though, which was one of the design goals. While it’s largely a proof-of-concept, the machine does generate about 100 mW of power which is enough to slowly charge USB devices, power lights, or provide other sources of very small amounts of energy. If you do have access to some metalworking tools, though, take a look at this hand-cranked emergency generator.

Continue reading “Printed Axial Generator Is Turned By Hand”

A Simple Stove, Built For Beans

Sitting around a campfire or fireplace is an aesthetically pleasing experience in most situations, and can even provide some warmth. But unless you have a modern wood-burning appliance, it’s likely that most of the energy available in the biomass is escaping as un-burned vapors. Surprisingly, solving this problem is almost as easy as buying a can of beans at the store, and the result is a very efficient stove which can be used for heat in a pinch.

[Robert] is demonstrating this gasifier stove, not with beans but using both a can of peas and a larger can of potatoes. Various holes are drilled in each can in a specific pattern, and then the smaller pea can is fitted inside the larger potato can. Once a fire is going, the holes allow for air to flow in a way which traps the escaping un-burned vapors from the fuel and burns them as they flow through the contraption. No moving parts are required; this is all powered by the natural airflow that’s produced by the heat of the fire.

The result of a build like this is not only a stove which can extract a much higher percentage of the available fuel, but also quires much less fuel for a given amount of heat, and produces a much cleaner, less smokey fire. [Robert] also added a screen mantle which allows for this to be used more as a heat source, but similar builds can also be used just as effectively for cooking, too.

Continue reading “A Simple Stove, Built For Beans”