Putting The Magic Smoke Back In A Cooked Scooter

When [Vitor Melon] found out there was a custom firmware (CFW) available for his Xiaomi Mijia M365 Pro electric scooter that would increase his top end speed, naturally he installed it. Who wouldn’t want a little more performance out their hardware? But while the new firmware got the scooter running even better than stock, he does have a cautionary tale for anyone who might decide to ride their Mijia a bit harder than the fine folks at Xiaomi may have intended.

Now to be clear, [Vitor] does not blame the CFW for the fact that he cooked the control board of his Mijia. At least, not technically. There was nothing necessarily wrong with the new code or the capabilities it unlocked, but when combined with his particular riding style, it simply pushed the system over the edge. The failure seems to have been triggered by his penchant for using the strongest possible regenerative breaking settings on the scooter combined with a considerably higher than expected velocity attained during a downhill run. Turns out that big 40 flashing on the display wasn’t his speed, but an error code indicating an overheat condition. Oops.

Results of the PCB repair.

After a long and embarrassing walk home with his scooter, complete with a passerby laughing at him, [Vitor] opened the case and quickly identified the problem. Not only had the some of the MOSFETs failed, but a trace on the PCB had been badly burned through. Judging by the discoloration elsewhere on the board, it looks like a few of its friends were about to join in the self-immolation protest as well.

After a brief consultation with his graybeard father, [Vitor] replaced the dead transistors with higher rated versions and then turned his attention to the damaged traces. A bit of wire and a generous helping of solder got the main rail back in one piece, and he touched up the areas where the PCB had blackened for good measure.

A quick test confirmed the relatively simple repairs got the scooter up and running, but how was he going to prevent it from happening again? Reinstalling the original firmware with its more conservative governor was clearly no longer an option after he’d tasted such dizzying speeds, so instead he needed to find out some way to keep the controller cooler. The answer ended up being to attach the MOSFETs to the controller’s aluminum enclosure using thermal pads. This allows them to dissipate far more heat, and should keep a similar failure from happening again. You might be wondering why the MOSFETs weren’t already mounted this way, but unfortunately only Xiaomi can explain that one.

With their rapidly rising popularity hackers have been coming up with more and more elaborate modifications for electric scooters, and thanks to their wide availability on the second hand market, it’s likely the best is still yet to come when it comes to these affordable vehicles.

Balanced Design And How To Know When To Quit Optimizing

I got a relatively inexpensive 6040 CNC machine, and have been spending most weekends making the thing work, and then cutting stuff, learning the toolchain, and making subsequent improvements. Probably 90% of my machine time has been on making improvements. It’s not that the machine was bad — I got the version with ballscrews and a decently solid frame — but it’s that it somehow didn’t work together as a whole. It’s just an incredibly unbalanced design.

Let’s start with the spindle motor. It’s a 2.2 kW water-cooled beast that is capable of putting tons of work into a piece and spinning at very high speed. Yet to keep up with the high speed spindle, the motors that move it around would have to be capable of high speeds as well — it’s a feeds and speeds thing if you’re not a CNC geek. And they can’t. Instead, the stepper motors that came with the kit are designed for maximum force at low speeds. Which can make sense for some machines, but for one with a slightly flexible X-axis like this one, that’s wasted as well. The frame just can’t handle the low-end grunt that the motors are capable of, so it can’t take advantage of the spindle’s power either. The design is all over the place.

Over the last two months’ of weekends, I’ve been going through this iterative procedure of asking “what is my limiting factor right now?”, working on fixing that thing up, running it some, and then asking the question again. And it’s a good general procedure, and I believe that it’s getting me to the machine I want at the minimum cost of time, money, and effort.

At first, it was the driver hardware/software with its emulated USB parallel port, so I swapped out the controller for an Arduino running GRBL, soldered directly to the DB-25 that comes out of the back. At least it can put out pulses fast enough to order the motors around, but they would still stall out at high speeds. Swapping the stepper motors out for a high-speed pair only cost me €40, which makes you wonder why they didn’t just put the right motors on in the first place. The machine now travels fast enough to make use of the high-speed spindle, and I’m flying through plywood and plastics without leaving burn marks. It’s a huge win for not much money.

The final frontier is taking big bites out of aluminum. The spindle can do it, but I fear I’m up against the frame’s rigidity on the X-axis. For whatever reason, they went with unsupported rods on the X, which are significantly more flexible than an axis that’s backed up by more metal. And this is where the limiting factor may actually be my time and patience, rather than money. I just can’t bear to disassemble and reassemble the thing again. So for now, it’s going to be small nibbles, taking advantage of the machine’s speed, if not yet the spindle’s full horsepower.

But it’s odd, because this machine is a bundle of good parts. It’s just that they haven’t been chosen to work together optimally; the frame doesn’t work with the stepper motors, which don’t work with the spindle. If they went through my procedure of saying “what’s the limiting factor?” they could have saved themselves €100 by just shipping it with a wimpier spindle, which would have been a balanced, if anemic, machine. Or they could have built it with the right motors for more speed. Or supported rails for more grunt. Or both!

I’ll never know why they quit optimizing their design when they did. Maybe they never got past the slow USB/parallel port speed? But I’m near the end of my path, and I can tell because the limiting ingredient isn’t a simple upgrade, or even mere money anymore, but my own willpower.

How can you tell when you’re at the top of a mountain in a dense fog? A step you take in any direction would lead you downhill. How can you tell when you’re satisfied with a project’s state? When you don’t have the need, or desire, to undertake the next most obvious improvement.

Time’s Almost Up For The FrankenFMs: The Impending Switchoff Of Analog TV

In a time when multi-channel digital TV is the norm it’s a surprise to find that a few low-power analog stations are still clinging on in some American cities. These are sometimes fill-in stations for weak signal areas, or more usually the so-called “FrankenFM” stations who transmit static images or digital patterns and derive income from their sound channel lying at the bottom end of the FM band to form unintended radio stations. Their days are numbered though, because the FCC is requiring that they be turned off by July 13th. There’s a way forward for the broadcasters to upgrade to low-power digital, but as you might expect they’re more interested in retaining the FrankenFM frequency from which they derive income.

The industry is represented by the LPTV coalition, who have requested permission to retain their FM frequency alongside their digital service. This has faced stiff opposition from other broadcasters, who see the very existence of the FrankenFM stations as a flagrant flouting of the rules that shouldn’t be rewarded. The FCC have yet to make a ruling, so there remains a slim chance that they may win a reprieve.

The sad tale of the few lingering analog TV stations in the USA is a last flickering ember of a once-huge industry that has been eclipsed without anyone but a few vintage technology geeks noticing, such has been the success of digital broadcasting. But analog TV is a fascinating and surprisingly intricate system whose passing however faint is worth marking.

Header: Tiia Monto, CC BY-SA 3.0.

Motorcycle Needs Custom Latching Switches For Turn Signals

While modern cars have been getting all kinds of fancy features like touch screens, Bluetooth, crumple zones, and steering wheel controls, plenty of motorcycles have remained firmly in the past. Some might have extra options like a fuel gauge or even ABS if you’re willing to spend extra, but a good percentage of them have the bare minimum equipment required by law. That equipment is outdated and ripe for some improvements too, like this ergonomic custom turn signal switch built with custom latching switches.

Since motorcycle turn signals don’t self-cancel like car signals the rider has to cancel it themselves, usually by pushing an inconveniently tiny button. This assembly consists of four separate switches, two of which control the left and right turn signals. Since both can’t be on at the same time, they include circuitry that can detect their position and a small motor that can physically de-latch them if the other one is pressed. The entire assembly is 3D printed, including the latching mechanism, and they are tied together with a small microcontroller for the controls.

The truly impressive part of this build is the miniaturization, since all four buttons have to be reached with the thumb without removing the hand from the handlebar. The tiny circuitry and mechanical cam for latching are impressive and worth watching the video for. And, if you need more ergonomic improvements for your motorcycle there are also some options for cruise control as well, another feature often lacking in motorcycles.

Continue reading “Motorcycle Needs Custom Latching Switches For Turn Signals”

Battery Of The Future, Now Buildable Yourself

In theory, batteries and capacitors are fairly simple. One stores energy chemically and the other stores energy in an electric field. In practice though, building an energy storage device that has a practical amount of energy density is delicate, complex work. But if you have access to a few chemical compounds it’s actually not too difficult to produce useful batteries and electrolytic capacitors with the use of ionic liquids.

Ionic liquids are conductive liquids with a few other important qualities. Almost all of the ones shown can be built with relatively common compounds, and most of the products have advantageous physical qualities, making them stable and relatively safe for use. With some equipment found in a chemistry lab it’s possible to produce a wide variety of these liquids without too much hassle (although one method outlined uses an inert gas chamber), and from there batteries and capacitors can be built by allowing the ionic liquids to be absorbed into the device.

The video below shows the production of several of these devices and then illustrates their effects by running a small LED light. While they’re probably not going to be used to create DIY electric cars anytime soon, the production and improvement of atypical energy storage devices will be the key to a large part of the energy needs of society now and into the future, especially aluminum batteries like these.

Continue reading “Battery Of The Future, Now Buildable Yourself”

A Discrete Logic Word Clock

Self-acclaimed computer nerd [Kevin Koster] was tired of designing new TTL-logic clocks before finishing his previous designs. So he finally buckled down and completed this unique word clock, which uses only a handful of TTL chips. We can’t disagree with his friends who complained that they can’t read [Kev]’s handwriting, so perhaps this diagram will make it clearer.

Besides being a nice logic-only project, this will give an example to younger folks how much effort went into things which are so simple to implement today. We don’t see a Karnaugh map on the project page for sorting out the logic diodes driving the minutes LEDs. If [Kev] did it on the fly, as the rat’s nest of diodes on the schematic would suggest, we’re not sure whether to scold him or be impressed (he does redraw that logic very neatly on a separate sheet).

No worries about high speed wiring on this project. The main oscillator derives time from the 50 Hz AC transformer power supply, and outputs a reference clock signal of 16.7 mHz (not MHz), or once per minute. This is divided down to 3.3 mHz for the 5-minutes counter and again to 277 uHz for the hour counter. If you live in a 60 Hz power mains country, you’d have to modify the oscillator section. Or you could contact [Kev] on his site, as he is considering making this available as a kit worldwide. If you like word clocks, we’ve covered quite a few of them before, including this crazy-complex rear-projection one.

A Different Kind Of 3D Printer: Desktop Holograms

Holograms aren’t new, but a desktop machine that spits them out could be available soon, presuming LitiHolo’s Kickstarter pans out. The machine will have a $1600 retail price and fits in a two-foot square. It can generate 4×5 inch holograms with 1mm hogels (the holo equivalent of a pixel).

The machine allows for 23 view zones per hogel and can create moving holograms with a few seconds of motion — like the famous kiss-blowing holograms.

Continue reading “A Different Kind Of 3D Printer: Desktop Holograms”