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”

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”

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”

Raspberry Pi Laptop Uses The Official Touchscreen

We’ve seen a variety of home-made laptops using the Raspberry Pi and other single board computers over the years. Usually, they combine off-the-shelf USB keyboards and trackpads with HDMI monitor panels, and cases made from layered laser cut sheet, or 3D printed plastic.

[Surferboy]’s Raspberry Pi laptop is the latest effort to come before us, and its claim to fame is the use of the official Raspberry Pi 7″ touchscreen as a display. Full instructions and 3D printer files are available on Thingiverse so you can have a go at replicating it if a portable Pi is your thing.

He’s taken the bold step of not attempting to place all the Pi’s interfaces next to the outside of the case. Instead, he’s desoldered the Ethernet and USB ports. The USB connections were wired directly to the keyboard, display, and a couple of external ports on the right-hand side of his case. This leaves the finished laptop with no Ethernet. However, losing ethernet is a worthy tradeoff for the thinner package.

[Surferboy] also brought the GPIO header to a female socket on the rear of the unit. It’s unclear exactly what battery he uses except for a reference to the battery from his keyboard. Since a keyboard battery will be too small for Pi and display we are guessing a larger pack will be necessary.

Though the Ethernet port and battery issue would probably be a dealbreaker here this has the makings of a useful and compact laptop, it will be interesting to see if it is picked up and refined by the community.

Quite a few early Pi laptops used the Motorola Lapdock, a mobile-phone-into-netbook peripheral. Some others we’ve featured have been a bit chunky, but sometimes they can be objects of beauty.

Via Recantha.co.uk.

Nexus 5X Phone Resurrected By The Oven

Warranty shmarranty — toss the phone in the oven! There’s apparently a problem with the assembly of the Nexus 5X smartphones, and it looks like it is due to faulty BGA chip soldering. LG USA has had enough problems with the phone that they may not even have enough parts or new units to fix it, so they’re offering a refund. But we all know how it is to get attached to a device, right?

So [Alex] disassembled his beloved phone, pulled out the board in question, and gave it the XBox Red Ring Of Death treatment. He placed the board on some insulating aluminum foil, and baked it for six and a half minutes. Season with lemon and pepper, and serve! We’re honestly surprised that sticking the affected board into the oven at 195° C / 390° F for a few minutes would work at all. Isn’t that a low temperature for soldering, especially with a lead-free mix? Could it have been a problem with humidity after all? Continue reading “Nexus 5X Phone Resurrected By The Oven”

Ping Pong Ball Improves The Google Daydream Controller

[Matteo] has just released a new installment of his Google Daydream VR controller hack, which we first covered last year (when he got it working with iOS). This time around he’s managed to forge a half Daydream, half PlayStation Move controller hybrid.

The original controller only managed a mere 3 DOF (Degrees of Freedom) using the internal accelerometer; although this conveyed rotational motion around the 3 axis, transitional information was completely lacking. [Matteo] resolves this by forming a simple positional marker out of a white LED enclosed in a standard ping pong ball; He tracks this setup using an iSight camera.

To gel everything together, he adds motion tracking to his already extensively developed software stack, which enables him to unshackle the Daydream controller from Android. He deciphers the Bluetooth packets and streams the sensory information straight to a web browser over a webSocket connection.

sf-stack

The results are quite impressive and the tracking is smooth. Not only does this add to the final goal of hacking his way towards a platform independent VR motion controller, he aptly gets some inspiration from Sony, extends Google’s hardware and even manages to use Apple’s webcam along the way. How’s that for carving passages between the walled gardens of consumer electronics?

Continue reading “Ping Pong Ball Improves The Google Daydream Controller”

Good In A Pinch: The Physics Of Crimped Connections

I had a friend who was an electronics assembly tech for a big defense contractor. He was a production floor guy who had a chip on his shoulder for the engineers with their fancy book-learnin’ who couldn’t figure out the simplest problems. He claimed that one assembly wasn’t passing QC and a bunch of the guys in ties couldn’t figure it out. He sidled up to assess the situation and delivered his two-word diagnosis: “Bad crimp.” The dodgy connector was re-worked and the assembly passed, much to the chagrin of the guys in the short-sleeved shirts.

Aside from the object lesson in experience sometimes trumping education, I always wondered about that “bad crimp” proclamation. What could go wrong with a crimp to so subtly futz with a circuit that engineers were baffled? How is it that we can rely on such a simple technology to wire up so much of the modern world? What exactly is going on inside a crimped connection anyway?

Continue reading “Good In A Pinch: The Physics Of Crimped Connections”