New Part Day: The $15 ESP32 With Cellular

Cruise around AliExpress for long enough and you’ll find some interesting new hardware. The latest is the TTGO T-Call, an ESP32 breakout board that also has a cellular modem. Yes, it’s only a 2G modem, but that still works in a lot of places, and the whole thing is $15.

On board the TTGO T-Cal is the ESP-WROVER-B, the same module you all know and love that features a dual-core ESP running at 240 MHz with 4 MB of Flash and 8 MB of SRAM. Add to this WiFi and Bluetooth, and you have a capable microcontroller platform. Of note is that this board includes a USB-C port, ostensibly wired so that it behaves like a normal USB micro port. That’s neat, 2019 is the year USB C connectors became cheaper than USB micro connectors.

In addition to the ESP32 module, there’s also cellular in the form of a SIM800 module. This module has been around for a while and used in many, many cellular-connected projects and products like the ZeroPhone. This module is only a 2G module, and that’ll be going away shortly (if not already) in built-up areas, but this can serve as a building block for modules that have more Gees than a 2G module. That said, if you’re looking for a WiFi and cellular bridge for fifteen bucks, you could do a lot worse for a lot more money.

ESP32 Gets Advance Windowed Apps Using This VGA GUI Library

We featured [Fabrizio Di Vittorio]’s FabGL library for the ESP32 back in April of this year. This library allows VGA output using a simple resistor based DAC (3 resistors for 8 colors; 6 resistors for 64 colors), and includes functions for PS/2 mouse and keyboard input, a graphics library, and many of the miscellaneous functions you might need to develop games on the ESP32. Now, a GUI interface library has been added to ease application development.

The GUI, of course, runs on the VGA output. The library includes what you’d expect from a minimal windowing GUI, like keyboard and mouse support, windows with the usual minimize/maximize/close controls, and modal and message dialog boxes. For input controls, there are labels, text boxes, buttons, radio buttons, checkboxes, normal and editable combo boxes, and listboxes — you know, pretty much everything you need to develop a modern GUI application. All the code is open-source (GPL 3.0) and in the GitHub repo.

While the original FabGL had a game-development orientation, the addition of this new GUI functionality opens up a new range of applications. If you want to find out more about using the FabGL library, you can check out our previous coverage of the mostly game-oriented functions.

You can get a look at the new GUI functions in action in the video, after the break.

Continue reading “ESP32 Gets Advance Windowed Apps Using This VGA GUI Library”

Hacked Calipers Make Automated Measurements A Breeze

Now, digital calipers with wired interfaces to capture the current reading are nothing new. But the good ones are expensive, and really, where’s the fun in plugging a $75 cable into a computer? So when [Max Holliday] was asked to trick out some calipers for automating data capture, he had to get creative.

[Max] found that cheap Harbor Freight digital calipers have the telltale door that covers a serial connector, making them a perfect target for hacking. A little Internet sleuthing revealed the pinout for the connector as well as some details on the serial protocol used by most digital calipers: 24-bit packets is six four-bit words. [Max] used his SAM32, a neat open-source board with both a SAMD51 and an ESP32 that can run CircuitPython. An inverting buffer interfaces the serial lines to the board, which is just the right size to mount on the back of the caliper head. It’s hard to tell how [Max] is triggering readings, but the SAM32 is mounted as a USB device and sends keystrokes directly to a spreadsheet – yes, with the ESP32 it could have been wireless, but his client specifically requested a wired setup. Taking multiple readings is easy now that the user never has to swap calipers for a pen.

Cheap calipers like these are pretty hackable – you can add Bluetooth, turn them into DROs for a milling machine, or even make them talk.

Dry Your Boots With The Internet Of Things

If you live somewhere cold, where the rain, snow and slush don’t abate for weeks at a time, you’ve probably dealt with wet boots. On top of the obvious discomfort, this can lead to problems with mold and cause blisters during extended wear. For this reason, boot dryers exist. [mark] had a MaxxDry model that had a timer, but it wasn’t quite working the way he desired. Naturally, it was begging to be hooked up to the Internet of Things.

The brains of the dryer is an ESP32, a solid choice for such a project. With WiFi on board, connecting the device to the internet is a snap. Relays are used to control the fan and heater inside the boot dryer, while MQTT helps make the device controllable remotely. It can be manually switched on and off, or controlled to always switch on at a certain time of the day.

It’s a simple project that shows how easily a device can be Internet controlled with modern hardware. For the price of a cheap devboard and a couple of relays, [mark] now has a more functional dryer, and toasty feet to boot.

We don’t see a lot of boot hacks here, but this magnet-equipped footwear is quite impressive.

Monitor The Pollution On Your Commute

Commuting through the urban sprawl of a 21st century city brings exposure to significant quantities of pollution. For a Medway Makers member that meant the Isle of Dogs, London, and a drive through the Blackwall Tunnel under the Thames. When you can taste the pollution in the air it’s evident that this isn’t the best environment to be in, but just how bad is it? Time to put together an environmental monitoring and recording rig.

Into the build went an ESP32 module, an SPS30 particulate sensor, an MH-Z19 CO₂ sensor, an HTU21D temperature and humidity sensor, and a uBlox NEO 6M GPS module. The eventual plan is to add an SD card for data logging, but in the absence of that it connects to a Raspberry Pi running Grafana over InfluxDB for data analysis. The result provides a surprising insight into the environmental quality of not just a commute but of indoor life. We’re sorry to say that they don’t seem to have posted any of the code involved onto the Medway Makers writeup, though we hope that’s an oversight they’ll rectify by the time this has gone live.

This isn’t the first environmental monitor to grace these pages, indeed we’ve had quite a few as Hackaday Prize entries.

A Tetris Clock

We have had no shortage of clock projects over the years, and this one is entertaining because it spells the time out using Tetris-style blocks. The project looks good and is adaptable to different displays. The code is on GitHub and it relies on a Tetris library that has been updated to handle different displays and even ASCII text.

[Brian] wanted to use an ESP8266 development board for the clock, but the library has a bug that prevents it from working, so he used an ESP32 board instead. The board, a TinyPICO, has a breakout board that works well with the display.

Continue reading “A Tetris Clock”

Captivating ESP32 Camera Hack

You can never have enough DIY devices at home, so when you look at an ESP32 module that comes with the camera, you automatically start getting ideas. [Daniel Padilla] wanted a way to deploy DIY camera modules without the hassle of configuring them so he made one that looks like an access point and starts streaming as soon as you connect to it.[GitHub]

The code he provides allows the ESP32 to appear as an Open Access Point which you can connect to from a PC or smartphone. The awesome sauce here is that the ESP32 resolves all DNS requests to a redirect in a similar manner to what happens when someone connects to an open Wi-Fi access point in a mall, Instead of a captive portal page that asks the user to authenticate or accept terms and conditions, [Daniel Padilla]’s code instead redirects to the streaming page et voila! Instant camera stream, and it is that simple.

We love this project because it is an elegant way to solve a problem, and it also teaches newbies about captive portals and their implementation. We covered a cheap ESP32 Webcam in the past and this project also comes with code for you to get started. We would love to see what you come up with next.