Hacking On The Weirdest ESP Module

Sometimes I see a component that’s bizarre enough that I buy it just to see if I can actually do something with it. That’s the case with today’s example, the ESP-14. At first glance, you’d ask yourself what AI Thinker, the maker of many of the more popular ESP8266 modules, was thinking.

The ESP-14 takes the phenomenally powerful ESP8266 chip and buries it underneath one of the cheapest microcontrollers around: the 8-bit STM8S003 “value line” chip. Almost all of the pins of the ESP chip are locked inside the RF cage’s metal tomb — only the power, bootloader, and serial TX/RX pins see the light of day, and the TX/RX pins are shared with the STM8S. The rest of the module’s pins are dedicated to the STM8S. Slaving the ESP8266 to an STM8S is like taking a Ferrari and wrapping it inside a VW Beetle.

I had never touched an STM8 chip before, and just wanted to see what I could do with this strange beast. In the end, ironically, I ended up doing something that wouldn’t be too far out of place on Alibaba, but with a few very Hackaday twists: a monitor for our washer and dryer that reports power usage over MQTT, programmed in Forth with a transparent WiFi serial bridge into the chip for interactive debugging without schlepping down into the basement. Everything’s open, tweakable, and the Forth implementation for the STM8S was even developed here on Hackaday.io.

It’s a weird project for the weirdest of ESP modules. I thought I’d walk you through it and see if it sparks you to come up with any alternative uses for the ESP8266-and-STM8S odd couple that is the ESP-14.

Continue reading “Hacking On The Weirdest ESP Module”

Unconventional Homopolar Motor

As a hacker, chances are that you have built a homopolar motor, as you only need three things: a battery, a magnet and some copper wire. There are zillions of videos on YouTube. This time we want to show you [Electric Experiments Roobert33]´s version. Definitely a fresh twist on the ubiquitous design that you see everywhere. His design is a bit more complicated, but the result makes the effort worthwhile.

regla_mano_derecha_laplace
Right hand rule for the Lorenz force. By Jfmelero, via Wikimedia Commons

The homopolar motor was the first electric motor ever built. Created  Michael Faraday in 1821, it works because of the Lorentz force. This force acts on any current-carrying conductor that is immersed in a magnetic field which is perpendicular to the current. These motors really have no practical applications, but are an excellent way to learn basic aspects of electromagnetism.

In this setup, there are two conductive rings placed above a wooden base, connected to the battery terminals. Neodymium magnets are connected by a conductive rod that pivots in the center of the rings, closing the circuit and allowing the flow of current. Then the Lorentz force makes its magic and pushes the rod and magnets in a circular motion.

Very clean and well-edited work, as are other videos by [Electric Experiments Roobert33]. You may want to replicate this nice motor, or you can also make the simpler version to start experimenting.

Continue reading “Unconventional Homopolar Motor”

The Future Of Artificial Intelligence

Last week we covered the past and current state of artificial intelligence — what modern AI looks like, the differences between weak and strong AI, AGI, and some of the philosophical ideas about what constitutes consciousness. Weak AI is already all around us, in the form of software dedicated to performing specific tasks intelligently. Strong AI is the ultimate goal, and a true strong AI would resemble what most of us have grown familiar with through popular fiction.

Artificial General Intelligence (AGI) is a modern goal many AI researchers are currently devoting their careers to in an effort to bridge that gap. While AGI wouldn’t necessarily possess any kind of consciousness, it would be able to handle any data-related task put before it. Of course, as humans, it’s in our nature to try to forecast the future, and that’s what we’ll be talking about in this article. What are some of our best guesses about what we can expect from AI in the future (near and far)? What possible ethical and practical concerns are there if a conscious AI were to be created? In this speculative future, should an AI have rights, or should it be feared?

Continue reading “The Future Of Artificial Intelligence”

CheetahBeam: More Proof That Cats Are Your Overlord

We don’t know what cats see when they see a red laser beam, but we know it isn’t what we see. The reaction, at least for many cats — is instant and extreme. Of course, your cat expects you to quit your job and play with it on demand. While [fluxaxiom] wanted to comply, he also knew that no job would lead to no cat food. To resolve the dilemma, he built an automated cat laser. In addition to the laser module, the device uses a few servos and a microcontroller in a 3D printed case. You can see a video, below. Dogs apparently like it too, but of course they aren’t the reason it was built.

If you don’t have a 3D printer, you can still cobble something together. The microcontroller is an Adafruit Pro Trinket, which is essentially an Arduino Pro Mini with some extra pins and a USB port.

Continue reading “CheetahBeam: More Proof That Cats Are Your Overlord”

Ingenious Use Of 3D Printer Gives Simba The Mane He Deserves

Here at Hackaday, we love clever 3D prints. This amazing lion statue remixed by [ _primoz_], makes us feel no different. It is no secret that FDM 3D printers have come a long way, propelled by the enthusiastic support from the open source community.

However, FDM 3D printers have some inherent limitations; some of which arise from a finite print nozzle diameter, tracing out the 3D object layer by layer. Simply put, some print geometries and dimensions are just unattainable. We discussed the solution to traditional FDM techniques being confined to Planer layers only in a previous article.

The case in point here is a 3D printed lion whose original version did not fully capture its majestic mane. [_primoz_] solution was to construct a support cylinder around the head and form the actual hair as a series of planar bristles, which were one extrusion wide.

6d2b2c7253516ff7b54ee1d3be0aa6a7_display_large

This was followed by some simple post processing, where a heat gun was used to form the bristles into a dapper mane.

The result is rather glorious and we can’t wait for someone to fire up a dual extruder and bring out the flexible filament for this print!

[via Thingiverse]

Wood And Rubber Band Pinball

As pinball has evolved, it has gone from a simple gravity based game to an electromechanical one.  As the 20th century came to a close, pinball games added digital elements as well, matrix displays replaced electromechanical scoreboards, and LEDs replaced incandescent bulbs. While the game got more creative as new technologies became available, the basics of the pinball never changed – keep the ball alive using your skill with the flippers (and the occasional nudge.) [Garagem Fab Lab] has taken the basics of the pinball machine and, with some wood and elastic bands, has created a very nice desktop pinball machine.

The plans for the game require getting the wood cut by a CNC mill, but they could probably be easily created using a jigsaw. Instead of electrical buttons and solenoids, pieces of wood push the flippers out and elastics reset them when released. The bumpers, too, are simple dowels with rubber bands wrapped around them. The launching mechanism is a bit of bungee cord tied onto a piece of wood and used like a flipper to speed the ball into the play area.

The build is a throwback to the earliest pinball machines. Sure, there’s no reaction from the bumpers when they’re hit, they’re just passive, but the game looks fun. It would be a great base to add in some sensors, a microcontroller, and a display to keep track of scores if one was so inclined. Other DIY pinball machines we’ve seen are this pinball game built with Meccano and lasers, as well as this completely 3D-printed machine.

Tying Knots With Industrial Robots

We’re not ashamed to admit that we desperately want a pair of high-end industrial robot arms to play around with. We don’t know where we’d put them — maybe the living room? — but we know that we’d figure something out.
This demo aims to get Boy Scouts interested in robotics by applying the beastly arms to something that all kids love, learning to tie knots. (If you ask us, they’ve got it backwards.) Anyway, there are two videos embedded below for you to peek at.

Continue reading “Tying Knots With Industrial Robots”