Esper Makes Virtual Reality From Live Reality

There’s a scene in Bladerunner where Deckard puts a photograph in a magical machine that lets him zoom and enhance without limit, and even see around obstacles. In today’s climate, this is starting to seem more plausible, what with all the cameras everywhere. [Jasper van Loenen] explores this concept in Esper, a technological art installation he created in Seoul, Korea during an artist residency.

Esper is a two-part piece that turns virtual reality on its head by showing actual reality in VR. It covers two adjoining rooms, one to record reality, and the other for real-time virtual viewing on headsets. The first is outfitted with 60 ESP32 cameras on custom mounts, all pointing in different directions from various perches and ceiling drops. [Jasper] used an Android app based on openFrameworks to map the cameras’ locations in 3D space. The room next door is so empty, it’s even devoid of FOMO. You don’t want to miss this one, so check it out after the break.

Recreating sci-fi props is all fun and games until the dystopia arrives. Then again, the fact that we can all easily access 70,000 or so insecure surveillance cameras is a pretty good start.

Continue reading “Esper Makes Virtual Reality From Live Reality”

ESP32 Rover With PCB Chassis Is Ready To Roll

The microcontrollers are cheap, the sensors are cheap, even the motors are cheap. So why are all the good wheeled robotics platforms so expensive? [Dimitris Platis] wanted to develop an affordable platform for experimenting with rovers, but the cheap plastic chassis he was using gave him all sorts of problems. So he did what any good hacker would do, and built a better version himself.

Interestingly, [Dimitris] decided to go with a chassis made from two PCB panels. The motors, mounted to small angled brackets, bolt directly to the lower PCB. These aren’t your standard $2 DC cans either. Each JGB37-520 gearhead motor comes complete with an encoder that allows your software to determine speed, distance, and direction. The upper PCB connects to the lower with several rows of pin headers, and plays host to whatever electronics payload you might be experimenting with at the time.

For the controller, [Dimitris] says the ESP32 is hard to beat by pretty much any metric you want to use. With integrated wireless and considerable computational power, there’s plenty of options for controlling your little rover either remotely or autonomously. But he also says that every effort has been made to ensure that you could switch out the microcontroller with something else should you want to spin up a customized version.

The whole idea reminds us a bit of quadcopters we’ve seen in the past, where the PCB wasn’t just being used structurally as a place to bolt the motors and hardware to, but actually contained functional traces and components that reduced how much wiring you needed to do. Naturally, this means that any damage to the chassis might cripple the electronics, but presumably, that’s what the big foam bumpers are there for.

[Dimitris] designed this project for educational use, so he assumes you’ll want to build 10 or 12 of these for your whole classroom. In those quantities, he says each bot will cost around $60. If you wanted to reduce the price a bit more, he says swapping the motors would be your best bet as they’re the single most expensive component of the design. That said, $60 for a quality open source rover platform sounds pretty fair to us.

Still too much? You could check out one of the 3D printable rover designs we’ve covered over the years. Or see if you can get lucky and pick up a cheap robot from the clearance rack and hack it.

LoRa Mesh Network With Off-the-Shelf Hardware

An ideal application for mesh networking is off-grid communication; when there’s no cellular reception and WiFi won’t reach, wide-area technologies like LoRa can be used to create ad hoc wireless networks. Whether you’re enjoying the outdoors with friends or conducting a rescue operation, a cheap and small gadget that will allow you to create such a network and communicate over it would be a very welcome addition to your pack.

That’s exactly the goal of the Meshtastic project, which aims to take off-the-shelf ESP32 LoRa development boards and turn them into affordable mesh network communicators. All you need to do is buy one of the supported boards, install the firmware, and starting meshing. An Android application that will allow you to use the mesh network to send basic text messages is now available as an alpha release, and eventually you’ll be able to run Signal over the LoRa link.

Navigating to another node in the network.

Developer [Kevin Hester] tells us that these are still the very early days, and there’s plenty of work yet to be done. In fact, he’s actively looking to bring a few like-minded individuals onto the project. So if you have experience with the ESP32 or mobile application development, and conducting private communications over long-range wireless networks sounds like your kind of party, this might be your lucky day.

From a user’s perspective, this project is extremely approachable. You don’t need to put any custom hardware together, outside of perhaps 3D printing a case for your particular board. The first time around you’ll need to flash the firmware with esptool.py, but after that, [Kevin] says future updates can be handled by the smartphone application.

Incidentally, the primary difference between the two boards is that the larger and more expensive one includes GPS. The mesh networking side of things will work with either board, but if everyone in your group has the GPS-equipped version, each user will be able to see the position of everyone else in the network.

This isn’t the first time we’ve seen LoRa used to establish off-grid communications, and it surely won’t be the last. The technology is perfect for getting devices talking where there isn’t any existing infrastructure, and we’re excited to see more examples of how it can be used in this capacity.

Flashing Sonoff Devices With Tasmota Gets Easier

Tasmota is an alternative firmware for ESP boardsĀ  that provides a wealth of handy features, and [Mat] has written up a guide to flashing with far greater ease by using Tasmotizer. Among other things, it makes it simple to return your ESP-based devices, like various Sonoff offerings, to factory settings, so hack away!

Tasmotizer is a front end that also makes common tasks like backing up existing firmware and setting configuration options like, WiFi credentials, effortless. Of course, one can’t really discuss Tasmotizer without bringing up Tasmota, the alternative firmware for a variety of ESP-based devices, so they should be considered together.

Hacks based on Sonoff devices are popular home automation projects, and [Mat] has also written all about what it was like to convert an old-style theromostat into a NEST-like device for about $5 by using Tasmota. A video on using Tasmotizer is embedded below, so give it a watch to get a head start on using it to hack some Sonoff devices.

Continue reading “Flashing Sonoff Devices With Tasmota Gets Easier”

Lil’ ESP32 Bot Does Remote Surveillance, And It’s Easy

Digital cameras have been around for a long time, as have small remote control robotics platforms. However, combining the two has really only come into its own in the last decade or so, as more bandwidth has become available to the home tinkerer. This ESP32-CAM surveillance bot is a great example of what was once hard becoming trivially easy.

It’s a case of standing on the shoulders of giants. The ESP32-CAM is a device that allows one to stream live video images over a network using existing example code. In this case, it’s combined with an L298N DC motor driver which allows the Adafruit robot platform to be steered like a tank via its two wheels. A pair of SG90 servos then serve as a pan/tilt mechanism to further improve the robot’s field of view.

If you aimed to attempt this back in 2010, you’d have spent six months figuring out how to get a microcontroller to talk to a small camera module. Only then could you consider solving the multitude of other problems presented by getting the video feed off the bot to somewhere useful. These days, you can order a bunch of parts online and have it up and running in a couple hours. This project from 2013 serves as an example of how much things have changed in the intervening years. Video after the break.

Continue reading “Lil’ ESP32 Bot Does Remote Surveillance, And It’s Easy”

MQTT And The Internet Of Conference Badges

Today, nearly every modern consumer device wants to connect to the Internet for some reason. From your garage door opener to each individual smart bulb, the Internet of Things has arrived in full force. But the same can’t be said for most of our beloved conference badges. Wanting to explore the concept a bit, [Ayan Pahwa] set out to create his own MQTT-connected badge that he’s calling CloudBadge.

As this was more of a software experiment, all of the hardware is off-the-shelf. The badge itself is an Adafruit PyBadge, which doesn’t normally have any networking capabilities, but does feature a Feather-compatible header on the back. To that [Ayan] added a AirLift FeatherWing which allows him to use the ESP32 as a co-processor. He also added a strip of NeoPixel LEDs to the lanyard, though those could certainly be left off if you’re not looking to call quite so much attention to yourself.

The rest was just a matter of software. [Ayan] came up with some code that uses the combined hardware of the PyPadge and ESP32 to connect to Adafruit.io via MQTT. Once connected, the user is able to change the name that displays on the screen and the colors of the RGB LEDs through the cloud service. If you used something like this for an actual conference badge, the concept could easily be expanded to do things like flashing the badge’s LEDs when a talk the wearer wanted to see is about to start.

The modern conference badge has come a long way from simple blinking LEDs, offering challenges that you’ll likely still be working on long after the event wraps up. Concerns over security and the challenge of maintaining the necessary infrastructure during the event usually means they don’t include networking features, but projects like CloudBadge show the idea certainly has merit.

Continue reading “MQTT And The Internet Of Conference Badges”

Emulating A Bluetooth Keyboard With The ESP32

Most people associate the ESP family of microcontrollers with WiFi, which makes sense as they’ve become the solution of choice for getting your project online quickly and easily. But while the WiFi capability might be the star of the show, the ESP32 also comes equipped with Bluetooth; we just don’t see people using it nearly as often. If you’re looking to get started using Bluetooth on the ESP32, then this simple wireless macro keypad from [Brian Lough] would be a great way to get started.

From a hardware standpoint, this project is incredibly straightforward. All you need to do is connect a membrane keypad up to the GPIO pins on the ESP32. Adding in a battery is a nice touch, and you probably would want to put it into a enclosure of some sort, but as a proof of concept it doesn’t get much easier than this. In this case [Brian] is using the TinyPICO board, but your personal ESP32 variant of choice will work just as well.

The rest of the project is all software, which [Brian] walks us through in the video after the break. There’s a preexisting library for Bluetooth Human Interface Device (HID) emulation on the ESP32, but it needs to be manually installed in the Arduino IDE. From there, he demonstrates how you can build up a functioning keyboard, including tricks such as sending multiple virtual keys at once.

In the past we’ve seen the ESP32 used to create a Bluetooth game controller, but the ability to emulate a keyboard obviously offers quite a bit more flexibility. With a practical demonstration of how easy as it is to turn this low-cost microcontroller into a wireless input device, hopefully we’ll start seeing more projects that utilize the capability.

Continue reading “Emulating A Bluetooth Keyboard With The ESP32”