Fail Of The Week: Talking Chinese Calculator Synth Orchestra

There are times when you set out to do one thing, and though you do not achieve your aim you succeed in making something else that’s just a bit special. [TheKhakinator] sent us something he described as a fail, but even though we’re posting it as one of our Fail Of The Week series we think the result still has something of the win about it. It may not be the amazing hack he hoped it would become, but that really does not matter in this case.

On his travels in China his attention was caught by an everyday electronic gadget, an electronic calculator  that speaks the numbers and operations in Chinese as you use it. He bought a few of them, hoping that when he got them back to his bench he’d find an EEPROM containing the samples, which he could replace with his own for a cheap but low bitrate sampler.

Sadly this neat hack was not to be, for when he tore the surprisingly well-built calculators down he found only an epoxy blob concealing a single chip. All was not lost though, for while investigating the device’s features he discovered that as well as speaking Chinese numbers and operands it also had a selection of alarm tunes built-in, plus a mode in which it operated as a rudimentary electronic organ. He leaves us with a couple of videos we’ve posted below the break, first his teardown, and then a virtual orchestra of calculators playing dance music as he forgets the fail and concentrates on the win.

Continue reading “Fail Of The Week: Talking Chinese Calculator Synth Orchestra”

Squoze Your Data

I have a confession to make. I enjoy the challenge of squeezing software into a tiny space or trying to cut a few more cycles out of a loop. It is like an intricate puzzle. Today, of course, there isn’t nearly as much call for that as there used to be. Today even a “small” microcontroller has a ton of memory and resources.

Even so, there’s still a few cases where you need to squeeze those last few bytes out of memory. Maybe you are trying to maximize memory available for some purpose. Maybe you are anticipating mass production and you are using the smallest microcontroller you can find. Or maybe you’re doing the 1 kB Challenge and just want some advice.

One way to find techniques to maximize resources is to look at what people did “in the old days.” Digital Equipment computers once had a special character set called Squoze (or sometimes DEC Radix-50). This technique can be useful when you need to get a lot of strings into memory. The good news is that you can reliably get 3 characters into 2 bytes (or, as DEC did, 6 characters into 4 bytes). The bad news is that you have to pick a limited character set that you can use. However, that’s not always a big problem.

Continue reading “Squoze Your Data”

The Future Travels Of The Travelling Hackerbox

For the past year, I’ve been organizing a very special project over on hackaday.io. It’s the Travelling Hacker Box, a box full of random electronics junk, sibling to the The Great Internet Migratory Box Of Electronics Junk, and a project that has already traveled more than 25,000 miles. Earlier this month, I said the Hackerbox is going international, I asked for contributors to receive the project in faraway lands, and now it’s time for the final report. This is where the Travelling Hackerbox will be going over the next year.

Continue reading “The Future Travels Of The Travelling Hackerbox”

Step Up To The 1 KB Challenge

1 kilobyte. Today it sounds like an infinitesimally small number. Computers come with tens of gigabytes of ram, and multiple terabytes of storage space. You can buy a Linux computer with 1 gig of RAM and secondary storage as big as the SD card you throw at it. Even microcontrollers have stepped up their game, with megabytes of flash often available for program storage.

Rapidly growing memory and storage are a great testament to technology marching forward to the beat of Moore’s law. But, we should be careful not to forget the techniques of past hackers who didn’t have so much breathing room. Those were the days when code was written in assembly. Debugging was accomplished with an expensive ICE (an In Circuit Emulator… if you were working for a big company), or a few LEDs if you were hacking away in your basement.

To keep these skills and techniques in play, we’ve created The 1 kB Challenge, a contest where the only limit is what you can do with 1 kB of program memory. Many Hackaday contests are rather loose with constraints — anyone can enter and at least make the judging rounds. This time 1 kB is a hard limit. If your program doesn’t fit, you’re disqualified, and that is a challenge worth stepping up to.

That said, this is Hackaday, we want people to be creative and work around the rules. The important thing to remember is the spirit of the design constraints: this is about doing all you can with 1 kB of program space. Search out the old and wise tricks, like compressing your code and including a decompression program in your 1 kB. Crafty hacks to squeeze more into less is fine. Using the 1 kB as a bootloader to load more code from an SD card is not fine.

Prizes

Any Hackaday contest needs some awesome prizes, and this one is no different.

Continue reading “Step Up To The 1 KB Challenge”

Hackaday Links Column Banner

Hackaday Links: November 20, 2016

The Raspberry Pi 2 is getting an upgrade. No, this news isn’t as big as you would imagine. The Raspberry Pi 2 is powered by the BCM2836 SoC, an ARM Cortex-A7 that has served us well over the years. The ‘2836 is going out of production, and now the Raspberry Pi foundation is making the Pi 2 with the chip found in the Raspberry Pi 3, the BCM2837. Effectively, the Pi 2 is now a wireless-less (?) version of the Pi 3. It still costs $35, the same as the Pi 3, making it a rather dumb purchase for the home hacker. There are a lot of Pi 2s in industry, though, and they don’t need WiFi and Bluetooth throwing a wrench in the works.

So you’re using a Raspberry Pi as a media server, but you have far too many videos for a measly SD card. What’s the solution? A real server, first off, but there is another option. WDLabs released their third iteration of the PiDrive this week. It’s a (spinning) hard disk, SD card for the software, and a USB Y-cable for powering the whole thing. Also offered is a USB thumb drive providing 64 GB of storage, shipped with an SD card with the relevant software.

Mr. Trash Wheel is the greatest Baltimore resident since Edgar Allan Poe, John Waters, and Frank Zappa. Mr. Trash Wheel eats trash, ducks, kegs, and has kept Inner Harbor relatively free of gonoherpasyphilaids for the past few years. Now there’s a new trash wheel. Professor Trash Wheel will be unveiled on December 4th.

YOU MUST VOICE CONTROL ADDITIONAL PYLONS. With an ‘official’ StarCraft Protoss pylon and a Geeetech voice recognition module, [Scott] built a voice controlled lamp.

Everyone loves gigantic Nixie tubes, so here’s a Kickstarter for a gigantic Nixie clock. There are no rewards for just the tube, but here’s a manufacturer of 125mm tall Nixies.

Here’s an interesting think piece from AdvancedManufacturing.org. The STL file format is ancient and holding us all back. This much we have known since the first Makerbot, and it doesn’t help that Thingiverse is still a thing, and people don’t upload their source files. What’s the solution? 3MF and AMF file formats, apparently. OpenSCAD was not mentioned in this think piece.

Hackenings: Technologica Incognita Parties After SHA2017 Plans

Welcome to [Hackenings], our weekly calendar of what’s going on in the global hackerspace community this week. As ever, if you have any upcoming events that you’d like us to cover, email us at tips@hackaday.com and put [Hackenings] in the subject so that we don’t miss it.

TechInc Turns Five!

Technologia Incognita is a five-year-old hackerspace in Amsterdam, and they’re having a party on the 26th. How do you celebrate five years of social hacking, creative cooking, and general geekery? With more of the same, plus drinks. If you’ve never been to TechInc, you’ll find directions here.

The TechInc crew is not all play and no work, however. Their party coincides with the end of the second organizational planning meeting for SHA2017, a summer outdoor camping hacker camp/festival/conference that’s going to take place next summer, not coincidentally just outside of Amsterdam.

The European hacker scene is a little bit like international soccer / football — every four years there’s a World Cup, and in the off years there are equally important regional tournaments. The German Chaos Communication Camp and the Dutch series-of-camps-that-changes-name-every-time are like this, but for us. If you missed the CCC last summer, or ToorCamp this summer, then start making plans for SHA2017 next summer.

Don’t Forget Dublin

We mentioned this last week, but TOG Hackerspace in Dublin is having a 36 hour hackathon starting today (the 19th). This looks like a great time to get together with other nerds and make something crazy in a shortish amount of time. If you’re anywhere nearby, you should head on over. After all, it’s for science!

3D Printering: Smartphone Resin Printers Actually Work

Last spring, the world saw something amazing. It was a device that would revolutionize the planet, save the world, and turn your smartphone into a 3D printer. Kickstarters aren’t known for selling themselves short. I speak, of course, of the OLO 3D printer, later renamed the ONO 3D printer, ostensibly because of a trademark dispute.

While filament-based 3D printers are extremely capable and slicing software is only getting better, resin-based printers are able to produce prints of nearly unparalleled quality. If you want high-resolution objects and fine detail, a resin printer is the way to go. These resin printers, however, are a bit more expensive than your traditional filament printers. A few hundred dollars will buy you a serviceable i3 clone, and less than a thousand will get you a real Prusa capable of printing in four colors. The premier desktop resin printer, the Form 2 from Form Labs, starts at $3500 USD.
Continue reading “3D Printering: Smartphone Resin Printers Actually Work”