Hackaday Links Column Banner

Hackaday Links: September 6, 2015

The MeArm is a cool little robot arm that can be controlled with just about any microcontroller. There’s a new version of it up on Thingiverse.

Here’s something to get kids interested in robotics: the GoBox is a robot kit with multiple ‘missions’ delivered monthly. The robot is based on the Raspberry Pi and Scratch – the Apple II and BASIC of today, I guess.

What happens when a popular electronics YouTuber completely debunks a product? Hundreds of dislikes appear on the YouTube videos he made. Hundreds of dislikes from Vietnam appeared on [Dave Jones]’ videos debunking the Batterizer. In fact, more people from Vietnam disliked the video than viewed it. Yes, weird YouTube dislike farms like this exist, and if you can do it on the Internet, you can also pay people to do it on the Internet.

The ESP8266 is slowly becoming a board that’s as easy to use as an Arduino. Now there’s a board that turns it into an Arduino.

The Vintage Computer Festival Midwest was last week,  and [chris537a] shot a video of all the cool stuff. [vikram4819] put an album up on imgur. Yes, someone was selling a Sparcbook for $300. I’m holding out for a PowerPC ThinkPad, though…

Washington DC area hackers, don’t forget to RSVP for the Hackaday Meetup on Saturday. Bring a hack to show off and spend the evening socializing with the Hackaday community. Check out the announcement post for more info.

Hacklet 73 – Parallax Propeller Projects

In 2006, Parallax, Inc wasn’t new to the electronics business. They’d been around since 1987. Still, for a relatively small company, jumping into custom chips is a big leap. Parallax didn’t just jump into some cookie cutter ASIC, they made their own parallel multi-core microcontroller. Designed by [Chip Gracey], the Parallax Propeller has 8 cores, called cogs. Cogs are connected to I/O pins and other resources by a hub. The Propeller saw commercial success, and continues to have a loyal following. This week’s Hacklet is about some of the best Propeller projects on Hackaday.io!

wozWe start with retrocomputing prop star [Jac Goudsmit] and L-Star: Minimal Propeller/6502 Computer. [Jac] loves the classic 6502 processor. Inspired by [Ben Heckendorn’s] recent Apple I build, [Jac] wanted to see if he could replicate an Apple I with minimal parts. He built upon the success of his Software-Defined 6502 Computer project and created L-Star. The whole thing fits on a Propeller proto board with room to spare. The project uses a 6502, with a Propeller handling just about everything else. The system takes input from a PS-2 keyboard, and outputs via composite video, just like the original Apple I. As you can see from the photo, it’s quite capable of displaying Woz in ASCII. [Jac] has expanded the L-Star to support the Ohio Scientific C1P and CompuKit UK101, both early 6502 based computers.

 

bbotNext up is [Mike H] with B-BOT. B-BOT is a balancing robot. [Mike] used B-BOT to learn about designing with the Propeller and programming in SPIN, the Prop’s built-in interpreted language. While slower than assembler, SPIN was plenty fast enough to solve the classic inverted pendulum problem. B-BOT’s primary sensor is a Pololu AltIMU-10. This module contains a gyro, accelerometer, compass, and altimeter all on one tiny board. Locomotion comes in the form of two stepper motors. Command and control is via X-Bee radio modules. All the parts live on a custom PCB [Mike] milled using his CNC router.

 

xynq[Antti.lukats] created Soft Propeller, his entry in the 2015 Hackaday Prize. Soft Propeller doesn’t use a hardware Propeller at all. The core of the system is a Xilinx Zynq-7 chip, which contains an FPGA and a Dual Core ARM A9+ processor. Back in 2014, Parallax released the Verilog HDL code for the Propeller core. [Antti] has taken this code and ported it over the Zynq-7. With 256Kb of RAM, 16 MB of Flash and an LED, the entire system fits in a DIP package smaller than a stick of gum.

 

pipmanFinally, we have [Christian] with Pipman GPS Watch. There’s just something about the Pip-boy from the Fallout video game series. This Personal Information Processor (PIP) has spawned hundreds of projects from cosplayers and electronics hobbyists alike. [Christian’s] version uses a 4D systems TFT LCD to display those awesome graphics. Input comes through a 5 way navigation switch. A GPS and compass module provide all the navigation data Pipman needs. At the center of it all is a Parallax Propeller programmed in SPIN. [Christian] has a working prototype on his bench. He’s now working on modeling a 3D printed case with Blender.

There are a ton of Propeller projects on Hackaday.io. If you want to see more, check out our Propeller Project list! Did I miss your project? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Embed With Elliot: Practical State Machines

Raindrops on roses, and whiskers on kittens. They’re ok, but state machines are absolutely on our short list of favorite things.

There are probably as many ways to implement a state machine as there are programmers. These range from the terribly complex, one-size-fits-all frameworks down to simply writing a single switch...case block. The frameworks end up being a little bit of a black box, especially if you’re just starting out, while the switch...case versions are very easy to grok, but they don’t really help you write clear, structured code.

In this extra-long edition of Embed with Elliot, we’ll try to bridge the middle ground, demonstrating a couple of state machines with an emphasis on practical coding. We’ll work through a couple of examples of the different ways that they can be implemented in code. Along the way, we’ll Goldilocks solution for a particular application I had, controlling a popcorn popper that had been hacked into a coffee roaster. Hope you enjoy.

Continue reading “Embed With Elliot: Practical State Machines”

Why IoT Will Fail (and How To Save It)

Buzzword technology has two possible fates: they fail and disappear or they succeed and disappear. Remember at one time “multimedia” and “networking” were buzzwords. They succeeded and now they’ve vanished into ubiquity. Of course, there are plenty of failed buzzwords (like telecosm) that you probably don’t even remember. They just vanished into obscurity.

Unless you’ve been living under the CNC mill in your local hackerspace, you’ve probably heard or read about the “Internet of Things” (IoT). Companies big and small have realized that getting in early on The Next Big Thing is good for share prices and, right now, IoT is where everyone is trying to make a play.

There’s two things I’d observe, though: First, IoT is far from new. Connecting embedded systems to the Internet is old hat (I even wrote a book called Embedded Internet Design way back in 2003). Second, the way it is going, IoT–in its current incarnation–is doomed.

Continue reading “Why IoT Will Fail (and How To Save It)”

Retrotechtacular: Häfla Hammerforge Healed

Visit any renaissance fair across the United States this fall and you’ll undoubtedly find a blacksmith. He’ll be sweating away in a tent, pounding on a piece of glowing steel set against an anvil. While the practice of the single blacksmith endures today, high-production ‘works of days past required increasing amounts of muscle. The more tireless the muscle, the better. The manual efforts of the blacksmith were replaced by huge hammers, and the blacksmith needed only to turn the piece between impressions and maintain a healthy respect for the awesome crushing power of the machine.

Last week, blacksmith enthusiasts completed restoration work on the Häfla hammer in Finspang, Sweden. The 333 year old hydraulic hammer hadn’t been used since 1924, when operations ceased at the Häfla Hammerforge. The ‘works was built in 1682 and used the German method of forging, which had been introduced to Sweden in the 1500s. Steel production was revolutionized in the 1800s by the Bessemer process, which resulted in a much stronger product. Continue reading “Retrotechtacular: Häfla Hammerforge Healed”

atom drawing

The Eulogy Of Local Hidden Variables

During the early 1900’s, [Einstein] was virtually at war with quantum theory. Its unofficial leader, [Niels Bohr], was constantly rebutting Einstein’s elaborate thought experiments aimed at shooting down quantum theory as a description of reality. It is important to note that [Einstein] did not disagree with the theory entirely, but that he was a realist. And he simply would not believe that reality was statistical in nature, as quantum theory states. He would not deny, for example,  that quantum mechanics (QM) could be used to give a probable location of an electron. His beef was with the idea that the electron doesn’t actually have a location until you try to measure it. QM says the electron is in a sort of “superposition” of states, and that asking what this state is without measurement is a meaningless question.

So [Einstein] would dream up these incredibly complex hypothetical thought experiments with the goal of showing that a superposition could not exist. Now, there is something to be said about [Einstein] and his thought experiments. He virtually dreamed up his relativity theory while working as a patent clerk at the ripe old age of 26 years using them. So when he had a “thought” about something, the whole of the scientific world stopped talking and listened. And such was the case on the 4th of May, 1935.

Continue reading “The Eulogy Of Local Hidden Variables”

Hackaday Links Column Banner

Hackaday Links: August 30, 2015

A month ago, we ran a post about [Jim]’s rare and strange transparent microchips. He’s back at it again, this time taking a look at the inner workings of MOSFETs

The Unallocated Space hackerspace is moving, and they’re looking for a few donations to get the ball rolling.

Yes, it’s a Kickstarter for a 3D printer, but the LumiPocket is interesting, even if only on the basis of the engineering choices. It’s a UV laser resin printer, and they’re using a SCARA arm to move the laser around. They’re also doing a top-down resin tank; it requires more resin, but it seems to work well enough.

Around DC or northern Virginia? We’re going to be there on September 11th through the 13th. We’re holding a Hackaday Prize Worldwide meetup at Nova Labs in Reston, Virgina. Sign up now! Learn KiCAD with [Anool]! Meet [Sudo Bob]! It’ll be a blast.

Not around DC or NOVA? This Wednesday we’ll be hosting another chat on .io.

The GEnx is one of the most beautiful and advanced engines in the world, and that means [Harcoreta] oven on the RC groups forums has made one of the most beautiful electric ducted fans in the world. On the outside, it looks like a GEnx, including reverse thrust capabilities, but inside it’s pure electronics: a brushless motor rotates a 100mm, 18-blade fan. He’s hoping to mount it on a Bixler (!). We can’t wait for the video of the maiden.