Posts | Comments

Planet Arduino

Archive for the ‘snake’ Category

Small in size, low-resolution, blocky segments, and a limited color palette — all characteristics of the typical vacuum fluorescent display, any of which would seem to disqualify them as the display of choice for a lot of applications. But this is Hackaday, and we don’t really pay much attention to what we’re supposed to do, but rather to what’s fun and cool to do. So when we see something like a VFD game console, we just have to sit up and take notice.

In a lot of ways, the design of [Simon Boak]’s Arduino-based VFD console is driven by his choice of display. The Noritake Itron GU20X8-301 VFD is a “tricolor” display with eight rows of 20 rectangular pixels. Each pixel is composed of six short linear segments, with alternating red and blue colors. Turning on either set of segments yields one of the two base colors, while turning on both yields a sorta-kinda whitish color, if you squint a bit.

[Simon] chose a two-piece design for his console, with a separate controller and display. The controller holds the Arduino Nano and all the controls, plus a piezo buzzer for fun. The display case connects to the controller with a ribbon cable and holds the VFD power supply and driver. To celebrate the retro look of the VFD, both cases are decked out with woodgrain side panels. [Simon] chose appropriately blocky games for the console, like Snake, Conway’s Game of Life, and the venerable snow demo. We’d imagine Pong would be a good choice too, as well as perhaps Tetris if the display were flipped on its side.

We really like the look of this console, and we appreciate putting an otherwise obsolete display to use in a creative way. If you want to learn a little more about these displays, check out this love letter to the VFD.

It makes sense considering evolution, but nature comes up with lots of different ways to do things. Consider moving. Land animals walk on four feet or two, some jump, and some use peristalsis or otherwise slither. Oddly, though, mother nature never developed the wheel (although the mother-of-pearl moth’s caterpillar will form its entire body into a hoop and roll away from attackers). Human-developed robots which, on the other hand, most often use wheels. Even a tank track has wheels within. [Joesinstructables] latest robot still uses wheels, but it emulates the slithering motion of a snake, He calls it the Lake Erie Mamba.

The most interesting thing about the robot is that it can reconfigure and move in several different modalities. Like the caterpillar, it can even form a wheel like an ouroboros and roll. You can see that at the end of the video, below.

The base configuration slithers and uses 12 segments, each containing a servo motor. [Joe] uses a key fob remote to drive the snake, although it can move by itself, too. The brains are — what else — an Arduino. In some configurations, the snake carries its own brain and power. In others, there’s a scary-looking wiring harness necessary when the snake becomes a wheel because it has no room in that configuration for the extra items.

Real snakes have different ways they move, and so does the Lake Erie Mamba. In the slithering configuration, passive wheels convert a sine or cosine wave motion into linear motion. [Joe] explains the math behind the motion. If you take off the passive wheels, the snake can move like an inch worm. Turning is complicated in this mode since it can only go forward or backward without some changes. The segments can reconfigure to put a drive wheel in play to introduce the desired lateral motion.

Real snakes can combine the two kinds of motion to “sidewind” and the Mamba can do that too. This does require reconfiguration of the segments and driving some segments with a sine wave and others with a cosine wave.

This isn’t the first time we’ve seen the ouroboros trick. If you think robotic snakes couldn’t possibly be useful, think again. Of course the modular robot that captured our hears is Dtto, which claimed the Grand Prize in last year’s Hackaday Prize.


Filed under: Arduino Hacks, robots hacks

[Chris Grill] got his hands on a pet boa constrictor, which requires a fairly strict temperature controlled environment. Its enclosure needs to have a consistent temperature throughout, or the snake could have trouble regulating its body temperature. [Chris] wanted to keep tabs on the temp and grabbed a few TTF-103 thermistors and an Arduino Yun, which allowed him to log the temperature on each side of the enclosure. He used some code to get the temp reading to the linux side of an Arduino Yun, and then used jpgraph, a PHP graphing library, to display the results.

snakemainBut that wasn’t good enough. Why not get a little fancy and have Amazon’s Echo read the temps back when you ask! Getting it setup was not so bad thanks to Amazon’s well documented steps to get custom commands set up.

He eventually lost the battle to get the Echo to talk to the web server on the Yun due to SSL issues, but he found an existing workaround by using a proxy.


Filed under: Arduino Hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook