Testing DIY battery pack on E-bike

[GreatScott] Tests His DIY Battery Pack On His E-Bike

[GreatScott] has now joined the ranks of Electric Bike users. Or has he? We previously covered how he made his own lithium-ion battery pack to see if doing so would be cheaper than buying a commercially made one. But while it powered his E-bike conversion kit on his benchtop, turning the motor while the wheel was mounted in a vice, that’s no substitution for a real-world test with him on a bike on the road.

Since then he’s designed and 3D printed an enclosure for his DIY battery pack and mounted it on his bike along with most of the rest of his E-bike kit. He couldn’t use the kit’s brake levers since his existing brake levers and gear-shift system share an enclosure. There also weren’t enough instructions in the kit for him to mount the pedal assistance system. But he had enough to do some road testing.

Based on a GPS tracker app on his phone, his top speed was 43 km/h (27 miles per hour). His DIY 5 Ah battery pack was half full after 5 km (3.1 miles) and he was able to ride 11.75 km (7.3 miles) on a single charge. So, success! The battery pack did the job and if he needs to go further then he can build a bigger pack with some idea of how it would improve his travel distance.

Sadly though, he had to remove it all from his bike since he lives in Germany and European rules state that for it to be considered an electric bike, it must be pedal assisted and the speed must the be progressively reduced as it reaches a cut-off speed of 25 km/h (15 miles per hour). In other words, his E-bike was more like a moped or small motorcycle. But it did offer him some good opportunities for hacking, and that’s often enough. Check out his final assembly and testing in the video below.

Continue reading “[GreatScott] Tests His DIY Battery Pack On His E-Bike”

Strike A Chord With This LED Ukulele

You may laugh off the ukulele as a toy or joke instrument, and admittedly, their starting price tag and the quality that usually comes with such a price tag doesn’t help much to get a different opinion on that. But it also makes it the perfect instrument for your next project. After all, they’re easy to handle, portable, and cheap enough to use a drill and other tools on them without too much regret. Plus, a little knowledge to play can get you far, and [Elaine] can teach you the essential, “all the pop songs use it”, four chords with her Arduino powered LED Ukulele.

As first step, [Elaine] drilled holes in her ukulele’s fingerboard to place some LEDs at all the positions required to play the four chords C, G, Am, and F. Connected to an Arduino attached to the ukulele’s back, each chord will light up its associated LEDs to indicate the finger positions required to play the chord itself. Taking the teaching part a step further, her next step is to extend each LED with a second, light sensing one, and read back if the fingers are placed at the correct position.

[Elaine] has already plans to turn the ukulele into an interactive game next. And if four chords are eventually not enough for you anymore, have a look at another LED based project teaching to play any major, minor and major seventh chord on the ukulele.

Talking To Laptop Batteries With The ESP8266

It’s not something you often give a lot of thought to, but the modern consumer laptop battery is a pretty advanced piece of technology. Not only does it pack several dozen watt-hours of energy into a relatively small and lightweight package, but it features integrated diagnostic capability to make sure all those temperamental lithium cells are kept in check. Widely available and extremely cheap thanks to the economies of scale (unless you try to get them from the OEM, anyway), they’re a very compelling option for powering your projects.

Of course, it also helps if, like [teliot] you have a bunch of the things lying around. For reasons we won’t get into, he’s got a whole mess of Acer AL12x32 battery packs which he wanted to use for something other than collecting dust. He had the idea of hooking one up to a solar panel and using it as a power supply for some ESP8266 projects but wanted to be able to talk to the battery for status and diagnostic information. After studying the Smart Battery System (SBS) protocol the batteries use, he was able to come up with some code that lets him pull 37 separate fields of information from the pack’s onboard electronics using his ESP8266.

Battery consumption over time

It took some fiddling with a multimeter to figure out which pin did what on the eight pin interface of the battery. Two of the pins need to be shorted to enable the dual 12 VDC pins to kick in. Technically that’s all you really need to do if you want to utilize the battery in a low-tech sort of way. But to actually get some information from the battery, [teliot] had to identify the two pins which are for the System Management Bus (SMBus) interface where the SBS data lives.

Once he knew which pins to talk to the battery on, the rest was fairly easy. SBS is well documented, and the SMBus interface is very similar to I2C. Like all the cool kids are doing these days, his code publishes the battery info to MQTT where he can plot it and get finely grained info on the performance of his solar power system.

This isn’t the first time we’ve seen a hacker wrangle laptop batteries through SMBus, but it’s always nice to get multiple perspectives on a topic. If you plan on making this kind of thing part of your standard bag of tricks, you might even want to take the time to build a dedicated SMBus scanner.

[via /r/esp8266]

Stretching My Skills: How (and Why) I Made My Own Compression Sleeves

Have you ever noticed how “one size fits all” often means “one size poorly fits all”? This became especially clear to me when I started using a compression sleeve on my arm. Like any hacker, this seemed like something I could fix, so I gave it a shot. Boy, did I learn a lot in the process.

A little over a year ago, I started dropping things. If I was holding something in my left hand, chances were good that it would suddenly be on the ground. This phenomenon was soon accompanied by pain and numbness, particularly after banging on a keyboard all day.

At best, my pinky and ring fingers were tired all the time and felt half dead. At worst, pain radiated from my armpit all the way to my fingertips. It felt like my arm had been electrocuted. Long story short, I saw a neurologist or two, and several co-pays later I had a diagnosis: cubital tunnel syndrome.

Continue reading “Stretching My Skills: How (and Why) I Made My Own Compression Sleeves”

Muscle Your Way Into Music

Inspired by an old Old Spice commercial, [Juliodb96] decided he too wanted to make music by flexing his muscles. An Arduino and a MyoWare sensor did the trick. However, he also tells you how to make your own sensors, if you are so inclined. You can see the instrument in action in the video below.

If you use the ready-made MyoWare sensors, this is a pretty easy project. You just respond to sensor input by playing some notes. If you decide to roll your own, you’ll have some circuit building ahead of you.

In particular, the signal conditioning for the sensors involves filtering to eliminate signals not in the 20 Hz to 300 Hz passband, several amplifiers, a rectifier, and a clipper. This requires 3 IC packages and a handful of discrete components.

Unlike the original commercial (see the second video, below), there are no moving parts for actuating actual instruments. However, that wouldn’t be hard to add with some servo motors, air pumps, and the like. This may seem frivolous, but we had to wonder if it could be used to allow musical expression for people who could not otherwise play an instrument.

This isn’t the first time we’ve seen the MyoWare in action. We’ve even talked about signal processing that is useful for this kind of application.

The Robots Were Coming! The Robots Were Coming!

The recent influx of home assistants proves that everything old is new again. If we told you about a life-sized robot that was self-charging, had a map of your home for navigation, and responded to voice commands, you’d assume we were going to point you to a Kickstarter or a new product release. Instead, we will point you to this post about a robot marketed in 1985.

You have to put all this in context. In 1985 the personal computer was practically a solution in search of a problem. Back then it was wildly popular to predict that every home would one day have a computer. But we weren’t quite sure what they were going to be doing with it. Home finance, games, and storing recipes were all popular guesses. A few far-sighted folks realized that music, photos, and even video might one day be major selling points. Everyone wanted a piece of this market but no one really understood what the market would look like.

Continue reading “The Robots Were Coming! The Robots Were Coming!”

Rolling Old School With Copy Protection From The 1980s

Oh, for the old days when sailing the seas of piracy was as simple as hooking a couple of VCRs together with a dubbing cable. Sure, the video quality degraded with each generation, but it was so bad to start out with that not paying $25 for a copy of “Ghostbusters” was a value proposition. But then came The Man with all his “rules” and “laws” about not stealing, and suddenly tapes weren’t so easy to copy.

If you’ve ever wondered how copy protection worked in pre-digital media, wonder no more. [Technology Connections] has done a nice primer on one of the main copy protection scheme from the VHS days. It was dubbed “Analog Protection System” or “Analog Copy Protection” by Macrovision, the company that developed it. Ironically, Macrovision the company later morphed into the TiVo Corporation.

The idea for Macrovision copy protection was to leverage the difference between what a TV would accept as a valid analog signal and what the VCR could handle. It used the vertical blanking interval (VBI) in the analog signal, the time during which the electron beam returns to the top of the frame. Normally the VBI has signals that the VCR uses to set its recording levels, but Macrovision figured out that sending extra signals in the VBI fooled the VCR’s automatic gain controls into varying the brightness of the recorded scenes. They also messed with the vertical synchronization, and the effect was to make dubbed tapes unwatchable, even by 1985 standards.

Copy protection was pretty effective, and pretty clever given the constraints. With Digital Rights Management, it’s easier to put limits on almost anything — coffee makers, arcade games, and even kitty litter all sport copy protection these days. It almost makes us nostalgic for the 80s.

Continue reading “Rolling Old School With Copy Protection From The 1980s”