LegoDuino For Kid-friendly Microcontrollers

Lego

[J. Benschop] is teaching his nine-year-old son electronics by giving him a few wires, LEDs, and batteries. Eventually, the son looked over at his dad’s workbench and wondered what the little bug-shaped rectangles did. Microcontrollers and embedded programming are just a bit too advanced for someone who hasn’t hit a double-digit age, but [J] figured he could still have his son experience the awesomeness of programming electronics by building a custom electronic Lego microcontroller system.

This isn’t as complex as a Lego Mindstorms system. Really, it’s only an ATMega and a 2.4 GHz wireless transceiver. Still, that’s more than enough to add a few sensors and motor drivers, and an awesome introduction to electronics development. The enclosure for the LegoDuino is, of course, compatible with every Lego brick on the planet. It’s made from a 6×16 plate, three blocks high, with enough room for the electronics, three AA batteries, and the IO headers.

Programming an ATMega, even with the Arduino IDE, is a little beyond the capacity of [J. Benschop]’s nine-year-old son, so he made a few changes to the Minibloq programming environment to support the newly created LegoDuino. It’s a graphical programming language that kids of just about any age can pick up quickly, and with the included RF transceiver inside the ‘Duino, it can even be programmed wirelessly.

It’s an amazing piece of work, and much, much simpler than even the noob-friendly Lego Mindstorms. Not as powerful, though, but when you’re just teaching programming and electronics, you really don’t need much.

 

Sentrifying A Nerf Gun

vulcan

[Brittliv] made the mistake of getting her friends into Nerf weaponry, and so began the race to mutually secured destruction via foam darts. She may have the upper hand in this war, because her Nerf Vulcan sentry gun is both incredibly powerful and is able to be operated autonomously with a webcam featuring a friend or foe identification system.

The azimuth and elevation mount for the gun is made out of plywood, with each axis controlled by a single servo attached to an Arduino. Of course a stock Nerf gun would be fairly boring, so [BrittLiv] increased both the voltage going to the gun’s motor and the strength of the gun by replacing a 2kg spring with a 5kg spring.

Targets are tracked with a webcam using Processing and a bit of code from Project Sentry Gun. One interesting feature is a friend or foe tracking system; if the gun sees someone wearing a t-shirt with the Instructables logo, the target is identified as a friend and is not brutally mowed down with plastic darts.

Continue reading “Sentrifying A Nerf Gun”

Designing A Marble Track From Scratch

Woodworker extraordinaire [Matthais] was approached by a toy company to create a ‘marble run’ toy. [Matthais]’ jig-building skills are beyond reproach, so whipping up a prototype for this toy was pretty easy for him.

The basic unit of construction for this marble run is a simple ramp block with inputs and outputs at either end. These were crafted from blocks of wood, with the ramp carved out with a slot mortising machine. To make the side cuts on each block, [Matthais] used his pantograph router and a jig that cuts the wood for marble inputs on either side.

After taking his creation to a hackerspace for some very large kids to play with, [Matthais] found a few problems with his initial design. The blocks didn’t want to stay aligned when marbles were moving down the ramps, so a small mortise and tenon – looking very much like a piece of Lego – were added in several locations on the underside of each block.

Making one of something is relatively easy, but [Matthais] is making hundreds of pieces for his marble run prototype, each interchangeable with another. That’s impressive for something crafted by hand, but when you’re a master at making jigs like [Matthais], everything goes by pretty easily.

Adding WiFi To A Kid’s Tablet

tab

[Mick] has been playing around with the VTech Innotab – a $70 tablet computer aimed at kids – for a while now. He’s successfully turned this tablet soon to be found at yard sales the world over into a Linux tablet and can play everything from those magical LucasArts SCUMM adventure games to Angry Birds. What his tablet is missing, though, is any sort of Internet connection. He recently fixed this by soldering a USB WiFi adapter directly to the CPU of his InnoTab.

In all fairness, there’s not a terrible amount of software hackery going on here. VTech’s InnoTab 2s uses the same chipset as the cheaper InnoTab 2 but has an additional board soldered directly to the mainboard. This additional board provides a WiFi connection with an RT5370 chipset; soldering a WiFi dongle onto the InnoTab 2’s CPU D+ and D- USB lines effectively turns it into the WiFi enabled InnoTab 2s.

It’s an impressive piece of work for a low-power tablet that one can safely assume is both bullet and childproof. [Mick] was also able to mount a USB thumb drive on his upgraded kid’s tablet, so if you’re looking for a cheap tablet that doesn’t need much horsepower, you might want to check out your local Toys ‘R Us.

Giving An RC Tank A Fire Control Computer

tank

[Vincent] plays around with remote control tanks, and even though his current model is a WWII-era armor piece, he’d still like modern accoutrements such as a fire control computer and laser sighting for his main gun. His latest project did just that (French, Google translation) with the help of an Arduino, a few modifications to the receiver, and an IR rangefinder.

The stock RC tank includes servos to move the turret and the requisite electronics to fire an Airsoft gun. The precision of the mechanical movements inside the turret weren’t very precise, though, so [Vincent] had to gear down the servos to turn large movements into slight adjustments. After that, he installed an IR rangefinder and laser diode onto the barrel that allowed the gun to sight a target and read its distance.

After some experimentation with the rangefinder and laser, [Vincent] plotted data from firing a few BBs at a whole bunch of distances and targets. The graph came out fairly linear, and after plugging this into a graphing calculator, he was able to find an equation that took into account the distance and angle so the Arduino-powered fire control computer would hit its mark.

The accuracy of the gun is very impressive, all things considered. [Vincent] is able to accurately fire BBs downrange and hit an 8×12 cm target at five meters. You can check out that action below.

Continue reading “Giving An RC Tank A Fire Control Computer”

Giving Toys An Electronic Voice

sound

Whether it’s a Furby or Buzz Lightyear’s button that plays, ‘To infinity and beyond’, most digital audio applications inside toys are actually simple affairs. There’s no Arduino and wave shield, and there’s certainly no Raspi streaming audio from the Internet. No, the audio inside most toys are one or two chip devices capable of storing about a minute or so of audio. [makapuf] built an electronic board game for his kids, and in the process decided to add some digital audio. The result is very similar to what you would find in an actual engineered product, and is simple enough to be replicated by just about anyone.

[makapuf]’s game is based on Game of the Goose, only brought into the modern world with electronic talking dice. An ATtiny2313 was chosen for the microcontroller and an AT45D 4 Megabit Flash module provided the storage for 8 bit/8khz audio.

The electronic portion of the game has a few functions. The first is calling out numbers, which is done by playing recordings of [makapuf] reading, ‘one’, ‘two’, ‘three’, … ‘twelve’, ‘thir-‘, ‘teen’ and so on. This data is pumped out over a pin on the ATtiny through a small amplifier and into a speaker. After that, the code is a simple matter of keeping track of where the players are on the board, keeping score, and generating randomish numbers.

It’s an exceptional exercise in engineering, making a quite complicated game with a bare minimum of parts. [makapuf] estimated he spent under $4 in parts, so if you’re looking to add digital audio to a project on the cheap, we can’t imagine doing better.

You can see a video of [makapuf]’s project after the break.

Continue reading “Giving Toys An Electronic Voice”

How Does That Ship Get Into The Bottle?

Meet [Ray Gascoigne]. He’s a ship builder. Well, he builds ships in bottles. He’s been doing it for years and years and years and you can see it in his hands. The details are fantastic on the ships, but I really love hearing about the tools. He talks about how much things have changed over the years from having to build your own specialized tiny drill bits from broken needles to being able to just walk right down to the store and buy some.

The part that I found most interesting is this video, as amazingly beautiful as it is, never shows the insertion and erection of a full ship.