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”

Gear Up Your Gear Knowledge With Gears

Gears are fairly straightforward way to couple rotational motion, and the physics topics required to understand them are encountered in an entry level physics classroom, not a university degree. But to really dig down to the root of how gears transfer motion may be somewhat more complex than it seems. [Bartosz Ciechanowski] put together an astonishingly good interactive teaching tool on gears, covering the fundamentals of motion up through multi-stage gear trains.

Illustrating the distance traveled at different points on the disc

The post starts at the beginning – not “how to calculate a gear ratio” – but how does rotational motion work at all. The illustrations help give the reader an intuitive sense for how the rate of rotation is measured and what that measurement actually represents in the real world. From there [Bartosz] builds up to describing how two discs touching edge to edge transfer motion and the relationship of their size on that process. After explaining torque he has the fundamentals in place to describe why gears have teeth, and why they work at all.

Well written explanatory copy aside, the real joy in this post is the interactivity. Each concept is illustrated, and each illustration is interactive. Images are accompanied by a slider which lets you adjust what’s shown, either changing the speed of a rotating gear or advancing the motion of two teeth interlocking. We found that being able to move through time this way really helped form an intuitive understanding of the concepts being discussed. This feels like the dream of interactive multimedia textbooks come to life.

Cheap Strain Relief By Casting Hot Glue In A 3D Print

[Daniel Roibert] found a way to add cheap strain relief to JST-XH connectors, better known to hobby aircraft folks as the charging and balance connectors on lithium-polymer battery packs. His solution is to cast them in hot glue, with the help of 3D printed molds. His project provides molds fitted for connectors with anywhere from two to eight conductors, so just pick the appropriate one and get printing. [Daniel] says to print the mold pieces in PETG, so that they can hold up to the temperature of melted glue.

The 3D models aren’t particularly intuitive to look at, but an instructional video makes everything clear. First coat the inside surfaces of the mold with a release agent (something like silicone oil should do the trick) and then a small amount of hot glue goes in the bottom. Next the connector is laid down on top of the glue, more glue is applied, and the top of the mold is pressed in. The small hole in the top isn’t for filling with glue, it’s to let excess escape as the mold is closed. After things cool completely, just pop apart the mold (little cutouts for a screwdriver tip make this easy) and trim any excess. That’s all there is to it.

One last thing: among the downloads you may notice one additional model. That one is provided in split parts, so that one can make a mold of an arbitrary width just by stretching the middle parts as needed, then merging them together. After all, sometimes the STL file is just not quite right and if sharing CAD files is not an option for whatever reason, providing STLs that can be more easily tweaked is a welcome courtesy. You can watch a short video showing how the whole thing works, below.

Continue reading “Cheap Strain Relief By Casting Hot Glue In A 3D Print”

Converted Car Lets Toddlers Tool Around

A few years ago, a professor at the University of Delaware started a project called Go Baby Go. It’s designed to bring fun and affordable mobility to small children with disabilities. The idea is to modify Power Wheels cars to make them easier for disabled kids to operate, and to teach as many people as possible how to do it in the process. The [South Eugene Robotics Team] is taking this a step further by replacing the steering wheel with a joystick that controls two motors with an Arduino Nano.

In the first instance you replace the foot pedal with a push button. The plans also call for a PVC frame, a high-backed seat, and a seat belt to make it safer. The end result is a fun ride the kid can control themselves that functions a lot like a power wheelchair, but is much more affordable. It has the added bonus of being a fun conversation piece for the other kids instead of a weird scary thing.

They also replace the front wheels with 5″ casters, because being able to spin around in circles is awesome. Their project shows how to do the entire conversion in great detail, starting with a standard ride-on car that comes with some assembly required. Motor past the break to check out a short demo with an extremely happy child tooling around in a fire truck.

If these kids get too wild, they’re gonna need traction control for these things.

Continue reading “Converted Car Lets Toddlers Tool Around”

How To Hack A Portable Bluetooth Speaker By Skipping The Bluetooth

Portable Bluetooth speakers have joined the club of ubiquitous personal electronics. What was once an expensive luxury is now widely accessible thanks to a prolific landscape of manufacturers mass producing speakers to fit every taste and budget. Some have even become branded promotional giveaway items. As a consequence, nowadays it’s not unusual to have a small collection of them, a fertile field for hacking.

But many surplus speakers are put on a shelf for “do something with it later” only to collect dust. Our main obstacle is a side effect of market diversity: with so many different speakers, a hack posted for one speaker wouldn’t apply to another. Some speakers are amenable to custom firmware, but only a small minority have attracted a software development community. It doesn’t help that most Bluetooth audio modules are opaque, their development toolchains difficult to obtain.

So what if we just take advantage of the best parts of these speakers: great audio fidelity, portability, and the polished look of a consumer good, to serves as the host for our own audio-based hacks. Let’s throw the Bluetooth overboard but embrace all those other things. Now hacking these boxes just requires a change of mindset and a little detective work. I’ll show you how to drop an Arduino into a cheap speaker as the blueprint for your own audio adventures.

Continue reading “How To Hack A Portable Bluetooth Speaker By Skipping The Bluetooth”

Little Hex Tricks Make Little Displays A Little Easier

Depending on the device in hand and one’s temperament, bringing up a new part can be a frolic through the verdant fields of discovery or an endless slog through the grey marshes of defeat. One of the reasons we find ourselves sticking with tried and true parts we know well is that interminable process of configuration. Once a new display controller is mostly working, writing convenience functions to make it easier to use can be very satisfying, but the very first thing is figuring out how to make it do anything at all. Friend of Hackaday [Dan Hienzsch] put together a post describing how to use a particular LED controller which serves as a nice walkthrough of figuring out the right bitmath to make things work, and includes a neat trick or two.

The bulk of the post is dedicated to describing the way [Dan] went about putting together his libraries for a 7-segment display demo board he makes. At its heart the board uses the IS31FL3728 matrix driver from ISSI. We love these ISSI LED controllers because they give you many channels of control for relatively low cost, but even with their relative simplicity you still need to do some bit twiddling to light the diodes you need. [Dan]’s post talks about some strategies for making this easier like preconfigured lookup tables with convenient offsets and masking bits to control RGB LEDs.

There’s one more trick which we think is the hidden star of the show; a spreadsheet which calculates register values based on “GUI” input! Computing the bit math required to control a display can be an exercise in frustration, especially if the logical display doesn’t fit conveniently in the physical register map of the controller. A spreadsheet like this may not be particularly sexy but it gets the job done; exactly the kind of hack we’re huge fans of here. We’ve mirrored the spreadsheet so you can peek at the formulas inside, and the original Excel document is available on his blog.

Car Alternators Make Great Electric Motors; Here’s How

The humble automotive alternator hides an interesting secret. Known as the part that converts power from internal combustion into the electricity needed to run everything else, they can also themselves be used as an electric motor.

The schematic of a simple automotive alternator, from US patent 3329841A filed in 1963 for Robert Bosch GmbH .
The schematic of a simple automotive alternator, from US patent 3329841A filed in 1963 for Robert Bosch GmbH.

These devices almost always take the form of a 3-phase alternator with the magnetic component supplied by an electromagnet on the rotor, and come with a rectifier and regulator pack to convert the higher AC voltage to 12V for the car electrical systems. Internally they have three connections to the stator coils which appear to be universally wired in a delta configuration, and a pair of connections to a set of brushes supplying the rotor coils through a set of slip rings. They have a surprisingly high capacity, and estimates put their capabilities as motors in the several horsepower. Best of all they are readily available second-hand and also surprisingly cheap, the Ford Focus unit shown here came from an eBay car breaker and cost only £15 (about $20).

We already hear you shouting “Why?!” at your magical internet device as you read this. Let’s jump into that.

Continue reading “Car Alternators Make Great Electric Motors; Here’s How”