Pi-Powered Robot Plays Puzzle & Dragons

Have you heard of the iPhone game Puzzle & Dragons? We understand it’s big in Japan. The puzzle part is all about rearranging colored orbs and grouping them together so they disappear and give you points. It’s also part RPG—each color is linked to a little guy, and every combo makes the matching-colored guy a little stronger. Then you fight monsters and take loot.

A YouTube user named [Junya Sakamoto] built a robot to play the game for him. It analyzes the board to come up with the best possible series of moves and then executes them using a Raspberry Pi. You can see what the robot is planning on the screen of a connected laptop. A couple of motors controlled with a Gertbot move a stylus up and down the screen and the phone itself back and forth.

There are two videos after the break. The first one is a combination build and demo video that proves this robot can do a lot more than just while away the hours playing Puzzle & Dragons. The second video demonstrates just how awesome it is at playing Puzzle & Dragons.

We like game-playing robots quite a bit around here. Here’s a Legoduino robot that plays Jurassic Park Builder. This other robot was built to test apps, but it plays Angry Birds in its spare time.

Continue reading “Pi-Powered Robot Plays Puzzle & Dragons”

BBQ Thermometers Get Serious

You can write with a fifty cent disposable pen. Or you can write with a $350 Montblanc. The words are the same, but many people will tell you there is something different about the Montblanc. Maybe that’s how [armin] feels about meat thermometers. His version uses a Raspberry Pi and has a lengthy feature list:

  • 8 Channel data logging
  • Plotting
  • Webcam (USB or Raspicam)
  • Alarms via a local beeper, Web, WhatsApp, or e-mail
  • Temperature and fan control using a PID
  • LCD display

You can even use a Pi Zero for a light version. There’s plenty of information on Hackaday.io, although the full details are only in German for the moment. As you can see in the video below, this isn’t your dollar store meat thermometer.

Even though a disposable pen does the same job as a Montblanc, most of us would rather have a Montblanc (although Hackday would have to hand out some pretty steep raises before we start using the Meisterstück Solitaire Blue Hour Skeleton 149).

We might have done more with an ESP8266 and then done more work on the client, but we have to admit, this is one feature-packed thermometer. We’ve seen simpler ones that use Bluetooth before, along with some hacks of commercial units.

Continue reading “BBQ Thermometers Get Serious”

Robo Car Via 3G

[Emil Kalstø] has a pretty solid remote control car. We don’t mean a little car with a handheld remote you can drive around the neighborhood. [Emil’s] car has a camera and a cell phone so that it can go anywhere there’s 3G or 4G networking available.

The video (see below) shows the results (along with [Emil’s] little brother acting as a safety officer). The video offers tantalizing detail you might find useful if you want to reproduce a similar vehicle. However, it stops short of providing complete details.

The two batteries onboard will power the vehicle for over 20 hours of continuous use. The 30W motor is reduced with a chain drive to go about “walking speed.” There’s a Raspberry Pi with a Huawei 3G USB dongle onboard and [Emil] uses an XBox controller to do the steering from the warmth of his living room. Of course, a Pi can’t handle a big motor like that directly, so a Phidgets USB motor controller does the hard work. The software is written using Node.js.

The camera mount can swivel 230 degrees on a servo so that the operator can scan the road ahead. The video mentions that steering the car required a heavy-duty servo with metal gears (an earlier attempt with nylon gears didn’t work out).

Overall, it looks like a solid build. We hope [Emil] will share code and more details soon. If you can’t wait (and your insurance is paid up), you might have a go at an even bigger car. Surprisingly, there’s more than one example of that.

Continue reading “Robo Car Via 3G”

New Angle On Raspberry Pi Zero Hub

Collectively, the Hackaday readers sigh, “Not another Pi Zero hub!!!”. But [Sean Hodgins’] hub is different. It has a new angle, literally. Besides, it’s an entry in the Hackaday and Adafruit Pi Zero Contest .

1514291454445337873[Sean Hodgins’] acute approach is orthogonal to most of the other hubs we’ve seen. He’s mating the hub at right angles to the Zero. The hub plugs into both the on-the-go USB port and the USB power port. No extra cables or wiring needed. [Sean] plans to release the design on GitHub after his Kickstarter campaign ends. He’s supplying bare boards for those who like the smell of solder paste.

This project nicely triangulates the issues of adding a hub to the Zero. The physical connection is solid with the boards connecting via the USB connectors. Power is supplied through the hub the way the Pi expects, which means all the protections the Pi Foundation built into the onboard conditioning are left in place. This also reduces surge problems that might occur when back powering through a hub and hot swapping USB devices. Another neat feature is the notched corner leaving the HDMI port accessible. Similarly, the Pi’s GPIO pins are free of encumbrance. One drawback is the hub is fused at 2 amps, just like the Pi. It would be nice to have a little more headroom for power hungry USB devices. Maybe another 0.5 amp to allow for the Zero’s usage.

[Sean] snaps the two together after the break.

Continue reading “New Angle On Raspberry Pi Zero Hub”

Code Craft: Cross Compiling For The Raspberry Pi

Sometimes there’s just no place like your desktop. You’ve already got your favorite development tools and references setup or installed and it’s a pain when you’re trying to work on an unfamiliar, or simply uncustomized, system. On your desktop everything is at your fingertips. If you want to search the web, the browser is just an alt-tab away. If you need a calculator, it’s right there to run. Your editor highlights syntax in your favorite colors already.

When developing on a Raspberry Pi, you leave all these creature comforts behind unless you spend the time to configure the Pi to your liking. Then it all gets wiped when you install a new distribution, like the recent change from Wheezy to Jessie. Even then it’s frustrating to switch back and forth between the desktop and the Pi because there is always something on the other system that you need. My usual comment is, “dirty word”, literally.

Cross-developing on your desktop is a very workable solution. We’re going to walk through setting up your desktop and a Pi to do this. This means loading a Pi ARM toolchain on your desktop and a debugging server on the Pi. This’ll let you develop and debug from in the comfort of your desktop. An added advantage is when you put that Pi in a robot you can debug over a wireless link.

Continue reading “Code Craft: Cross Compiling For The Raspberry Pi”

Cramming A Pi Zero Into A USB Hub

We kinda feel bad posting all these awesome hacks you can do with a Raspberry Pi Zero when we know most of our audience here probably doesn’t have one due to the backlog of orders… but regardless — here’s another one you can try — if you have one anyway. A Raspberry Pi USB Hub!

In case you didn’t know, Amazon has a series of electronics accessories called Amazon Basics — and they’re actually pretty good quality accessories. One of them is a 7-port, 4A USB hub. Looking at this [gittenlucky] figured he might just have enough room to fit a Pi Zero inside… and as it turns out. He did.

Continue reading “Cramming A Pi Zero Into A USB Hub”