Interfacing With A Digital Speedometer

After swapping the engine out in his scooter, [James Stanley] made an unfortunate discovery. The speedometer was digitally controlled, and while the original engine had a sensor which would generate pulses for it to interpret, his new engine didn’t. Learning that the original sensor would pull the signal wire to ground each time it detected a tooth of one of the spinning gears, [James] reasoned he needed to find a way to detect the scooter’s speed and create these pulses manually.

To find the scooter’s speed, he installed a magnet on the front wheel and a hall effect sensor on the fork to detect each time it passed by. Since the wheel is of a known circumference, timing the pulses from the sensor allows calculation of the current speed. A GPS receiver could be used if you wanted fewer wires, but the hall effect sensor on the wheel is simple and reliable. With the speed of the scooter now known, he needed to turn that into a signal the speedometer understands.

Speedometer controller potted with resin.

[James] wrote a program for an ATmega that would take the input from the wheel sensor and use it to create a PWM signal. This PWM signal drives a transistor, which alternates the speedometer sensor wire between low and floating. With a bit of experimentation, he was able to come up with an algorithm which equated wheel speed to the gearbox speed the speedometer wanted with accuracy close enough for his purposes.

While the software side of this project is interesting in its own right, the hardware is an excellent case study in producing robust electronic devices suitable for use on vehicles. [James] 3D printed a shallow case for the circuit board, and potted the entire device with black polyurethane resin. He even had the forethought to make sure he had a debugging LED and programming connector before he encapsulated everything (which ended up saving the project).

While the specific scenario encountered by [James] is unlikely to befall others, his project is an excellent example of not only interfacing with exiting electronics but producing rugged and professional looking hardware without breaking the bank. Even if scooters aren’t your thing, there are lessons to be learned from this write-up.

For all you two wheeled hackers out there, we’ve covered similar projects designed for bicycles, as well as some very slick digital speedometer mods for motorcycles.

How Much Of A Battery Pack Does Your Electric Car Need?

[Elon Musk] recently staged one of his characteristic high-profile product launches, at which he unveiled a new Tesla electric semi-truck. It was long on promise and short on battery pack weight figures, so of course [Real Engineering] smelled a rat. His video investigating the issue is below the break, but it’s not the link that caught our eye for this article. As part of the investigation he also created an online calculator to estimate the battery size required for a given performance on any electric vehicle.

It’s not perfectly intuitive, for example it uses SI units rather than real-world ones so for comparison with usual automotive figures a little mental conversion is needed from kilometres and hours to metres and seconds if you’re a metric user, and miles if you use Imperial-derived units. But still it’s a fascinating tool to play with if you have an interest in designing electric cars or conversions, as you can tweak the figures for your chosen vehicle indefinitely to find the bad news for your battery pack cost.

It’s very interesting from a technical standpoint to see a credible attempt at an electric truck, and we hope that the existing truck manufacturers will show us more realistic prototypes of their own. But we can’t help thinking that the overall efficiency of electric long-distance trucking could be improved hugely were they to make a truck capable of hauling more than one trailer at once. Any safety issues could be offset by giving these super-trucks their own highways, and with such dedicated infrastructure the power could be supplied from roadside cables rather than heavy batteries. In such circumstances these long trains of electrically hauled containers could be rather successful, perhaps we might call them railroads.

Continue reading “How Much Of A Battery Pack Does Your Electric Car Need?”

Camping In A…. Corolla?

A weekend away camping in the wilds can do wonders for one’s sanity, and the joy of spending it in a recently converted camping vehicle adds to the delight. In a twist on the conventional camper, redditor [Gongfucius] and his wife have converted their 2005 Toyota Corolla into the perfect getaway vehicle for two.

To make enough room, the rear seating had to go, and removing it was deceptively easy. [Gongfucius] was able to build and fit a platform peppered with storage hatches that could snap into place and cover the trunk and backseat — covering it with felt for added comfort. A mattress was cut to size out of five inch memory foam and his wife sewed fitted coverings to them. More storage nooks in the trunk keep necessities at hand.

Continue reading “Camping In A…. Corolla?”

Boxes, Form An Orderly Queue Behind The Armchair!

If you have ever been to a hacker camp, you’ll know the problem of transporting all your stuff to your hackerspace village, or to wherever you’ll be basing yourself for the duration. The car park is always too far away, whatever trolley you’ve brought along is never big enough, and the terrain you have to drag everything over feels more like the Chilkoot Trail than a city sidewalk.

[Jana Marie Hemsing] and [Lucy Fauth] have an effective solution to all your hacker camp transport woes, in the form of a motorized platform designed to carry a storage box. Underneath the platform are a pair of hoverboard motors and their controller board reflashed with a custom firmware.

You might be now looking at it and thinking “So what?”, for a single platform is handy but hardly a comprehensive transport solution. What makes this one impressive though is that it’s not a single board, instead there is a swarm of them for which they appear to have implemented some form of optical following system which is teased through the video we’ve placed below the break and with this Tweet, but not in detail yet in the wiki page. A neat train of platforms follows the lead one, transporting everything with minimum fuss. What can we say, except “We want one too!”. There is some code to be found in a GitHub repository, should you be interested in having a go for yourself.

Continue reading “Boxes, Form An Orderly Queue Behind The Armchair!”

Jeep Wrangler Dome Light Mod

If you’re the owner of a Jeep Wrangler, you may have experienced some frustration with the interior dome light. For those not in the know, removing the doors on a warm day or for a bit of fun can lead to a dead battery. This happens because the Wrangler’s light stays on unless the fuse or light are removed, or a custom shutoff switch is added — at the expense of troublesome wiring. You could say it’s a Jeep Thing. [Tim Nummy] offers a solution with minimal modifications.

First off, pop the switch out of the door and set it aside. As a replacement, [Tim Nummy] has managed to salvage a door light switch from an old Mercedes. In addition to the same momentary-off function as the Wrangler’s stock switch, the button on the new one can be pulled out and locked for a secondary off position. Many machines and appliances use this same type of switch in their safety interlocks as a service position. [Tim] didn’t want to cut apart the wiring in the Wrangler in case something goes awry down the line, so for now he has filed down some spade terminals to slot into the Mercedes plug. He’s also 3D printed a nut to nicely secure the new switch in place. Check out his how-to video after the break!

Continue reading “Jeep Wrangler Dome Light Mod”

Hacker Challenge: Sail The Atlantic

We found it incredible that — apparently — no one has sailed an autonomous sailboat across the Atlantic successfully. Compared to an electric craft, sail-powered platforms ought to reduce having to carry batteries or other fuel and enable long-duration missions. The problem, of course, is the sailing conditions in the Atlantic.

The challenge is the focus of the Microtranssat challenge which started in 2010. You can think of the challenge as a race, but not in the conventional sense. Participants can launch their 8 foot (or less) craft any time between July and December, and it doesn’t matter which direction they go. They simply have to cross the Atlantic. If more than one boat makes it, the fastest is the winner.

The current leader is the SailBuoy. This Norwegian entry has made it halfway, but no further. However, it has sailed quite a distance in other places, so perhaps it will make it soon. You can see SailBuoy afloat in the video below.

Continue reading “Hacker Challenge: Sail The Atlantic”

Retrotechtacular: How To Repair A Steam Locomotive

Steam locomotives, as a technological product of the 19th century, are not what you would imagine as fragile machines. The engineering involved is not inconsequential, there is little about them that is in any way flimsy. They need to be made in this way, because the huge energy transfer required to move a typical train would destroy lesser construction. It would however be foolish to imagine a locomotive as indestructible, placing that kind of constant strain on even the heaviest of engineering is likely to cause wear, or component failure.

A typical railway company in the steam age would therefore maintain a repair facility in which locomotives would be overhauled on a regular basis, and we are lucky enough to have a 1930s film of one for you today courtesy of the British London Midland and Scottish railway. In it we follow one locomotive from first inspection through complete dismantling, lifting of the frame from the wheels, detaching of the boiler, inspection of parts, replacement, and repair, to final reassembly.

We see steps in detail such as the set-up of a steam engine’s valve gear, and it is impressed upon us how much the factory runs on a tight time schedule. Each activity fits within its own time window, and like a modern car factory all the parts are brought to the locomotive at their allotted times. When the completed locomotive is ready to leave the factory it is taken to the paint shop to emerge almost as a new machine, ready for what seems like a short service life for a locomotive, a mere 130 thousand miles.

The video, which we’ve placed below the break, is a fascinating glimpse into the world of a steam locomotive servicing facility. Most Hackaday readers will never strip down a locomotive, but that does not stop many of them from having some interest in the process. Indeed, keen viewers may wish to compare this film with “A Study in Steel“, another film from the LMS railway showing the construction of a locomotive.

LMS Jubilee class number 5605, “Cyprus”, the featured locomotive in this film, was built in 1935, and eventually scrapped in 1964 as part of the phasing out of steam traction on British railways.

Continue reading “Retrotechtacular: How To Repair A Steam Locomotive”