Hackaday Links: January 31, 2016

[Damien] has been working on MicroPython for a while now. We did an interview with him a while ago about porting Python to tiny microcontrollers, and soon the BBC micro:bit will be getting Python into the hands of millions of British schoolchildren. Now [Damien] has a Kickstarter to get MicroPython to the bare metal of an ESP8266. That would be extremely interesting; there’s a lot you can do with an easily scriptable Internet Thing running Python.

A little over a month ago, [Renier] won the Hackaday Prize Best Product competition with the Vinduino, a device that cuts water usage of vinyards (and orchards, I guess) by 25%. Now he’s won the IoT awards for Best DIY Project.

We have lost a great inventor. [Artur Fischer], inventor of the plastic drywall plug, fischertechnik, the plastic wall plug, photo flash light, and holder of over 1100 patents (more than the great Edison), passed away this week.

Who remembers Glider? That old Macintosh game where you fly a paper airplane around a house is now available on GitHub. The creator of Glider, [John Calhoun] put all the code up a few days ago. If you have Metrowerks Code Warrior sitting around on an old box, feel free to dig around.

 In the ‘this guy totally won’t get sued’ column is MagSafe for iPhones. The MagSafe power adapter is Apple’s largest contribution to humanity, but they are a little protective about it.

We have two calls for the community: [jimie] had a go at programming the latest, coolest, open source radio. Programming it is hard. Has anyone found an improved guide? Second, I now have a Tadpole Computer that was former property of Quallcom. I can’t find any info on getting *nix or *BSD on it. Anyone have any experience?

Tribed 3D Printer Configuration Doesn’t Ever Need To Be Leveled

[Jeremie Francois] has been thinking about ways to improve tool height adjustment and bed leveling in his 3D printer for a long time. His dream was to never ever think about Z height again. A dream that’s shared by many. These days, a lot of 3D printers have a mechanism for auto leveling in the software of the 3D printer. This works pretty well, but for various mechanical reasons, it’s better to have the bed itself be level.

[Jeremie]’s approach is pretty clever. Since you can define any plane mathematically with three points, he has three Z-axis lead screws. This lets him tilt the bed at any angle he likes. Once he had the mechanics in place, he added some force sensitive resistors, an Arduino, and wrote an extension for the popular Marlin firmware. That’s when the problems started.

It turns out that solidly mounting the bed to the resistors transmitted way too many vibrations. The solution was a layer of neoprene rubber. The neoprene also acts as a cushion, so the nozzle won’t break the glass bed during the leveling procedure.

The video after the break is a bit wavy, due to YouTube’s terrible auto-stabilizing software, but if you watch closely, you can see the system at work.

Continue reading “Tribed 3D Printer Configuration Doesn’t Ever Need To Be Leveled”

ESP8266 Transmits Television On Channel 3

We’ve seen a lot of ESP8266 projects in the past, but this one most definitely qualifies as a hack. [Cnlohr] noticed that the ESP8266, when overclocked, could operate the I2S port at around 80MHz and still not lose DMA data. He worked out how to create bit patterns that generate RF around 60MHz. Why is that interesting? Analog TVs can receive signals around that frequency on channel 3.

As you can see in the video below, the output is monochrome only and is a little snowy. It also will lose frames on some WiFi events, but this is all forgivable when you consider this very inexpensive module isn’t meant to do video output at all.

Continue reading “ESP8266 Transmits Television On Channel 3”

Hacking The Internet Of Things: Decoding LoRa

Getting software-defined radio (SDR) tools into the hands of the community has been great for the development and decoding of previously-cryptic, if not encrypted, radio signals the world over. As soon as there’s a new protocol or modulation method, it’s in everyone’s sights. A lot of people have been working on LoRa, and [bertrik] at RevSpace in The Hague has done some work of his own, and put together an amazing summary of the state of the art.

LoRa is a new(ish) modulation scheme for low-power radios. It’s patented, so there’s some information about it available. But it’s also proprietary, meaning that you need a license to produce a radio that uses the encoding. In keeping with today’s buzzwords, LoRa is marketed as a wide area network for the internet of things. HopeRF makes a LoRa module that’s fairly affordable, and naturally [bertrik] has already written an Arduino library for using it.

So with a LoRa radio in hand, and a $15 RTL-SDR dongle connected to a laptop, [bertrik] got some captures, converted the FM-modulated chirps down to audio, and did a bunch of hand analysis. He confirmed that an existing plugins for sdrangelove did (mostly) what they should, and he wrote it all up, complete with a fantastic set of links.

There’s more work to be done, so if you’re interested in hacking on LoRa, or just having a look under the hood of this new modulation scheme, you’ve now got a great starting place.

The Infinite Monkey Cage And General Relativity

If you are British, you probably already know where this is going. For the rest of you, it might help to know that The Infinite Monkey Cage is an odd little show on BBC  Radio 4 (and they’ve been on tour, too). It is the show that asks a question you probably never asked: “What would happen if a physicist and a comedian had a radio show?”

The answer, it turns out, is some science information that is anything but dry. If you are prone to listening to radio programs or podcasts, you might find some interesting tidbits in the Cage. A two-part episode on general relativity was especially interesting although it isn’t exactly like their regular program.

The physicist in question is [Brian Cox] who is an Advanced Fellow of particle physics at the University of Manchester. The comic, [Robin Ince] is not only a comedian, but also a writer, an impressionist, and has an honorary doctorate from Royal Holloway, University of London.

If you poke around the BBC’s site, you can find plenty of episodes to stream or download. General relativity is just one of the topics. You might also enjoy episodes on artificial intelligence or the science of sound.

If you need more comedy connections, consider that [Eric Idle] is responsible for the theme song. Of course, we cover relativity (and other topics) in a hopefully amusing style. Americans typically get British humor, or they don’t.  There’s no in between. The good part about these is that if you don’t get the humor, there’s still the science content. Contrast this to the very funny (if you get it) Look Around You series that is probably not the best place to get scientific information (see the video below).

Continue reading “The Infinite Monkey Cage And General Relativity”

How A Hacker Jump Starts A Car

Here’s the Scenario: you need to get somewhere in a hurry. The problem is that your car has a dead battery and won’t turn over. The Obvious solution would be to call a friend for a jump. But is the friendless hacker out of luck in such a situation? Not if you can whip up a quick parts bin jump starter.

Clearly, [Kedar Nimbalkar]’s solution would be practical only under somewhat bizarre circumstances, so we’ll concentrate on what we can learn from it. A spare PC power supply provides the electrons – [Kedar]’s 250W supply pushes 15A at 12 volts, which is a pretty respectable amount of current. The voltage is a little anemic, though, so he pops it up to 14.2 volts with a 150W boost converter cooled with a PC fan. A dual panel meter reads out the voltage and current, but a VOM could substitute in a pinch. About the only thing you might not have on hand is a pair of  honking 10A diodes to keep current from creeping back into the boost converter. [Kedar] claims he got enough of a charge back in the battery in five minutes to start his car.

As jump-starting goes, this hack is a bit of a stretch. It’s not the first time we’ve seen a MacGyver’d jump starter, though, and you never know when the principles and hardware behind these hacks will come in handy.

Continue reading “How A Hacker Jump Starts A Car”

Pacman Proves Due Is More Than Uno

If you’re wondering what the difference is between the good ol’ Arduino Uno and one of the new-school Arduinos like the Arduino Due, here’s a very graphic example: [DrNCX] has written a stunning Pacman clone for the Due that seems to play just like the arcade. (Video embedded below the break.)

001The comparison between the Uno and Due isn’t quite fair. The Due runs on an 84 MHz, 32 bit ARM Cortex-M3 processor. It’s in a different league from the Uno. Still, we view this as an example of the extended possibilities from stepping up into a significantly faster micro. For instance, the video is output to both an ILI9341 TFT screen and external 8-bit VGA at once.

Besides using some very nice (standard) libraries for the parts, it doesn’t look like [DrNCX] had to resort to any particular trickery — just a lot of gamer-logic coding. All the code is up on GitHub for you to check out.

Can the old Arduinos do this? For comparison, the best Pacman we’ve seen on an AVR platform is the ATmega328-based RetroWiz, although it is clocked twice as fast as a stock Uno. And then there’s Hackaday Editor [Mike Szczys]’s 1-Pixel Pacman, but that’s cheating because it uses a Teensy 3.1, which is another fast ARM chip. People always ask where the boundary between an 8-bit and 32-bit project lies. Is a decent Pacman the litmus test?

Continue reading “Pacman Proves Due Is More Than Uno”