LuaRadio Brings More Options To SDR

GNURadio is the swiss-army-knife of software-defined radio suites: it does everything and anything. It has a great GUI overlayer that makes creating radio flows fairly simple. There are only two areas where we could quibble with the whole system — it’s a gigantic suite of software, and it’s a lot harder to code up in Python than it is to use the GUI.

[Vanya Sergeev] started up his LuaRadio project to deal with these shortcomings. If you’re looking for the full-GUI experience, you’re barking up the wrong tree here. LuaRadio is aimed at keeping things easy to code and keeping the codebase small and tidy.

That doesn’t mean that it departs entirely from GNURadio’s very successful flow-graph programming paradigm, however, and if you’re comfortable with the procedure of hooking up a signal source to a filter block to an output, you’ll be doing fine here as well. Check out the obligatory FM radio demo — the “hello world” of SDR — and you’ll see how it works: instantiate the various blocks in code, and then issue “connect” commands to link them together.

LuaRadio’s main selling points are its size and the ease of programming it by hand. It’s got great documentation to boot. It’s written as a library that’s embeddable in your C code, so that you can write standalone programs that make use of its functionality.

LuaRadio is a new project and it doesn’t have a GUI either. It may not be the ideal introduction to SDR if you’re afraid of typing. (If you are new to SDR, start here.) But if you want to code up your SDR by coding, or run your radio on smaller devices, it’s probably worth a look. It’s at v0.1.1, so we’re looking forward to hearing more from LuaRadio in the future. Any of you out there use it? We’d love to hear in the comments.

Refurbishing Armored Tablets

Who can resist the insane deals on bizarre hardware that pop up on auction websites? Not [Dane Kouttron], for sure. He stumbled on Armor X7 ruggedized tablets, and had to buy a few. They’d be just perfect for datalogging in remote and/or hostile locations, if only they had better batteries and were outfitted with a GSM data modem… So [Dane] hauled out his screwdrivers and took stuff apart. What follows is a very detailed writeup of the battery management system (BMS), and a complete teardown of this interesting tablet almost as an afterthought.

First, [Dane] tried to just put a bunch more batteries into the thing, but the battery-management chip wouldn’t recognize them. For some inexplicable reason, [Dane] had the programmer for the BMS on-hand, as well as a Windows XP machine to run the antiquated software on. With the BMS firmware updated (and the manufacturer’s name changed to Dan-ger 300!) everything was good again.

Now you may not happen to have a bunch of surplus X7 ruggedized tablets lying around. Neither do we. But we can totally imagine needing to overhaul a battery system, and so it’s nice to have a peek behind the scenes in the BMS. File that away in your memory banks for when you need it. And if you need even more power, check out this writeup of reverse-engineering a Leaf battery pack. Power to the people!

Looptaggr: Endless Graffiti

If your problem is how to put out a maximum amount of repetitive graffiti with a minimum amount of effort, we’ve got your solution. Or rather, [Ariel Schlesinger] and [Aram Bartholl] had your solution way back in 2010. The banner image says it all.

Of course, it doesn’t have to be graffiti that you’re spraying. This idea could be easily adapted to stencil that repeating floral pattern that my grandmother had on her walls too. It’s like a patterned paint roller, but for a spray can.

There’s room for improvements here. For instance, we can’t cut out stencils to save our life but we know where to find a laser cutter. From the look of things, they could use a slightly bigger stencil and something to catch the drips. There’s probably an optimal size for this gizmo, which calls for experimentation.

We’re somewhat obsessed with graffiti machines. Whether it’s a graffiti quadcopter or the elegant and non-permanent sidewalk-chalker style bots, we like machines that make “art”. What’s your favorite graffiti hack?

Thanks [n0p;n0p;n0p;] for the (archival) tip!

Custom Firmware Unlocks Fitness Tracker

[Mikhail] sent us a teaser video for a hack he’d done (embedded below). He takes a Bluetooth LE fitness tracker dongle and reflashes it spit out the raw accelerometer data and trigger events. He then wrote a phone app that receives the data and uses the device as an alarm, an on/off switch, a data-logging device, and more.

bottom_draw

We thought it was cool enough that we asked [Mikhail] for more detail, and he delivered in spades! Inside the device is a Nordic NRF51822, their ARM Cortex + Bluetooth chip, an accelerometer, and a bunch of LEDs. [Mikhail] mapped out the programming headers, erased the old flash, and re-filled it with his own code. He even added over-the-air DFU re-flashing capability so that he wouldn’t have to open up the case again.

Continue reading “Custom Firmware Unlocks Fitness Tracker”

Mechanical Horse-Bike

Oh [Rodger Cleye]! You had us at “unicycle, duct tape, styrofoam, and tie wraps”. But watching the horse-bike in action (video below) is just about enough for us to go out and make one ourselves. (For our child, naturally. We’re far too dignified.)

If you trawl around [Rodger]’s YouTube channel, you’ll see no end of odd motorized vehicles. Like last year’s motorized horse project, or this stormtrooper speeder. But there’s just something about the way that the horse’s legs move along with the rider that is slightly more enchanting. (That’s the “unicycle” part of the build.) And, we assume, the rider gets a little bit more exercise to boot.

We’ve featured a few builds of [Rodger]’s before, including his motorized couch build that’s obviously controlled from the seat-mounted coconut, and of course a pneumatic Boba Fett rocket.

Horrible Macro Rig Makes Good Photos

We love horrible hacks like this. It’s a lens and a ring of LEDs, taped to a cell phone. Powered through crocodile clips, also taped to the cell phone. There’s nothing professional here — we can think of a million ways to tweak this recipe. But the proof of the pudding is in the tasting.

Continue reading “Horrible Macro Rig Makes Good Photos”

What Could Go Wrong: SPI

Serial Peripheral Interface (SPI) is not really a protocol, but more of a general idea. It’s the bare-minimum way to transfer a lot of data between two chips as quickly as possible, and for that reason alone, it’s one of my favorites. But that doesn’t mean that everything is hugs and daffodils. Even despite SPI’s simplicity, there are still a few ways that things can go wrong.

In the previous article in this series, inspired by actual reader questions, I looked into troubleshooting asynchronous serial connections. Now that you’ve got that working, it’s time to step up to debugging your SPI bus! After a brief overview of the system, we’ll get into how to diagnose SPI, and how to fix it.

Continue reading “What Could Go Wrong: SPI”