Automated Dice Tester Uses Machine Vision To Ensure A Fair Game

People take their tabletop games very, very seriously. [Andrew Lauritzen], though, has gone far above and beyond in pursuit of a fair game. The game in question is Star War: X-Wing, a strategy wargame where miniature pieces are moved according to rolls of the dice. [Andrew] suspected that commercially available dice were skewing the game, and the automated machine-vision dice tester shown in the video after the break was the result.

The rig is a very clever design that maximizes the data set with as little motion as possible. The test chamber is a box with clear ends that can be flipped end-for-end by a motor; walls separate the chamber into four channels to test multiple dice on each throw, and baffles within the channels assure randomization. A webcam is positioned below the chamber to take a snapshot of each “throw”, which is then analyzed in OpenCV. This scheme has the unfortunate effect of looking at the dice from the table’s perspective, but [Andrew] dealt with that in true hacker fashion: he ignored it since it didn’t impact the statistics he was interested in.

And speaking of statistics, he generated a LOT of them. The 62-page report of results from his study is an impressive piece of work, which basically concludes that the dice aren’t fair due to manufacturing variability, and that players could use this fact to cheat. He recommends pooled sets of dice to eliminate advantages during competitive play. 

This isn’t the first automated dice roller we’ve seen around these parts. There was the tweeting dice-bot, the Dice-O-Matic, and all manner of electronic dice throwers. This one goes the extra mile to keep things fair, and we appreciate that.

Continue reading “Automated Dice Tester Uses Machine Vision To Ensure A Fair Game”

Lego Goes Underwater, With Model Submarines And Missiles

It is fun to make a toy vehicle with Lego, but it is even more fun to make one that actually works. [PeterSripol] made two Lego submarines, and you can see them in the video below. There isn’t a lot of build information, but watching the subs fire missiles and then getting destroyed by depth charges is worth something.

One of the subs is larger and uses a rudder to steer. It was apparently harder to control than the other smaller sub which used two motors thrusting opposite one another to steer. Looks like fun.

Continue reading “Lego Goes Underwater, With Model Submarines And Missiles”

Circuit Bending Those Adorable Voices

Leapfrog make some pretty awesome kids electronics. Especially admirable is the low cost, the battery life, and the audio quality of these devices. This circuit bending hack takes advantage of those audio circuits by turning the Alphabet Pal into your lead vocalist. The performance in the demo video begins with some impressive tricks, but just wait for it because by the end the little purple caterpillar proves itself an instrument worthy of a position beside that fancy Eurorack you’ve been assembling.

The image above provides a great look inside the beastie. [Jason Hotchkiss] mentions he’s impressed by the build quality, and we have to agree. Plus, look at all of those inputs — this is begging to leave toyland and join the band. With an intuitive sense that can only be gained through lots of circuit-bending experience, he guessed that the single through-hole resistor on the PCB was used to dial in the clock speed. That made it easy to throw in a trimpot for pitch-bending and he moved on to figure out individual note control.

All of those caterpillar feet are arranged in a keyboard matrix to detect button presses. After pulling out the oscilloscope for a bit of reverse engineering, [Jason] grabbed a PIC microcontroller and added it to the same solder points as the stock ribbon connector. The result is that the buttons on the feet still work, but now the Alphabet Pal also has MIDI control.

Take a look at the writeup for full details, and the video after the break to hear it in action. If you’re a fan of circuit-bent toys, this pretty pink keyboard hack always impressed us, especially the spring reverb that was added!

Continue reading “Circuit Bending Those Adorable Voices”

Keep The Kids Entertained With A Time Machine

We often hear it said that today’s kids don’t go out and play as much as they did in the past, but honestly, it’s hard to really blame them. Have you seen some of the games they have now? It’s going to take something a little more exciting than a game of stickball to get them off the couch when they’ve got 4K and VR game systems to play with.

Circuit to control ATX PSU

Which is exactly why [Bobek] is building his kids a time machine. Not a literal one, of course. The Flux Capacitor technology required has yet to be mastered. But it does allow the player to “travel” through time through videos which are played by punching in specific codes they have to unlock by solving puzzles in the real world. Then again, keeping keeping kids active and mentally engaged might as well be “going back in time” in some people’s eyes.

By the looks of things, [Bobek] still has a little work to do on the project, but it’s far enough along that we can get an idea. Inside the bottom of the heavy duty plastic case he’s installed an ATX power supply and a Raspberry Pi 3, and an top of that, there’s a metal plate that holds the power button, an RGB backlit keyboard, and a Vacuum Florescent Display.

After powering on the system, the kids punch in the codes they’ve earned on the keyboard. If accepted, it starts the corresponding presentation which goes over the sights and sounds of the time period they’ve unlocked. In the video after the break you can see [Bobek] test the device with a small display hanging off the end of an HDMI cable, but presumably the system will eventually get an integrated display. The kids could also plug it into the TV, but at that point you might be going full circle.

We’ve seen several examples of hackers creating their own electronic gadgets to keep their children entertained. The line might be a little blurry, but we’d rather see kids use their imagination to “fly” a spaceship in their bedroom than play Roblox on their phone.

Continue reading “Keep The Kids Entertained With A Time Machine”

Wandel Weaponizes Waste With Lego And A Raspberry Pi

Before 3D printers, there was LEGO. And the little bricks are still useful for putting something together on the quick. Proof is YouTuber [Matthias Wandel]’s awesome bottle cap shooter build that uses rudimentary DIY computer vision to track you and then launch a barrage of plastic pieces at you.

This is an amazing project that has a bit of something for everyone. Lets start with the LEGO. [Matthias Wandel] starts with making a crossbow designed launcher and does an awesome job with showing us how it works in a video. The mechanism is an auto reloading and firing system that can be connected to a stepper motor. Next comes the pan and tilt mechanism which allows the turret to take better aim at moving targets: more LEGO and stepper motors.

The target tracker uses color matching in a program that curiously uses no OpenCV. It compares consecutive frame and then filters out red objects – the largest red dot is it. Since using a fisheye lens on the Raspbery Pi camera adds distortion, [Matthias Wandel] uses a jig made with more Legos to calibrate the image.

The final testing involved having his own child walk around the room being hunted but the autonomous machine. Kids do love toys even if they are trying to shoot bottle caps at them.

Want more Lego inspiration? Check out the Lego Quadcopter Mod and the Lego Tank with the ESP8266.

Continue reading “Wandel Weaponizes Waste With Lego And A Raspberry Pi”

Bringing A Child’s Play Kitchen To Life

Given how many adults will go out of their way to avoid spending any extended amount of time in the kitchen, it’s pretty amazing how much children love playing in their miniature versions. Especially since they tend to be pretty simple: usually they’re little more than different sized boxes made out of MDF to represent the refrigerator, oven, and microwave. Of course, some kids are fortunate enough to have hackers and makers for parents.

[Brian Lough] wanted to get his two year old daughter her own play kitchen, but wasn’t terribly impressed with anything on the market. So he decided to start with the IKEA Duktig and add in his own personal touches to turn the stark white playset into something that would really get his daughter’s imagination going. With the liberal application of RGB LEDs and microcontrollers, her kitchen is sure to be envy of the sandbox.

Being the class act that he is, [Brian] starts his write-up acknowledging the various IKEA Duktig hacks and modifications that served as inspiration for his own build. Most of the prior art out there relates to making the microwave and oven a bit more exciting with the addition of lights and sounds, which ultimately ended up being the way he approached his daughter’s version as well.

For the oven, [Brian] decided to add some big arcade buttons over the door which would change the color of the RGB LEDs inside. He thought this association would be a good way to help his daughter learn her colors, since she’ll be able to see the oven change color when she presses the corresponding button. He also added a knob to control the intensity of the light, meant to be analogous to the temperature control in a real oven.

The modifications to the microwave are a bit more extensive, including a “timer” made out of a TM1637 LED display in a 3D printed panel complete with a buzzer to indicate when the plastic food has been thoroughly illuminated. [Brian] even made it so the LEDs in the NeoPixel ring light up in a spinning pattern to cast some shadows and simulate movement. He notes that the microwave was actually a bit overwhelming to his daughter at first, but after a couple months of getting used to the functions, she enjoys it as much as the oven.

While hacking a play kitchen might be new territory for him, [Brian] is no stranger to building awesome stuff. We’ve previously seen him put together a YouTube subscriber counter in the style of Tetris, and he even managed to create a gorgeous looking display out of shoelaces of all things.

Building An RC Air Boat From Garbage

What do you get when you combine an old optical drive, some empty soda bottles, and a microcontroller? Well…nothing, really. That’s still just a pile of rubbish. But if you add in a battery, an RC receiver, and some motors, you’re getting dangerously close to a fun little toy to kick around the pond as [Antonio Rizzo] recently demonstrated.

A couple of plastic bottles lashed together make up the hull of the boat, and [Antonio] has used the internal frame of an old optical drive bent at a 90 degree angle to hold the two small DC motors. In a particularly nice touch, the drive’s rubber anti-vibration bushings are reused as motor mounts, though he does admit it was just dumb luck that the motors were a perfect fit.

For the electronics, [Antonio] has paired a custom motor controller up with the uChip, a diminutive Arduino-compatible microcontroller in a narrow DIP-16 package. Wireless communication is provided by an off-the-shelf cPPM receiver such as you might see used in a small plane or quadcopter.

The whole build is powered by a common 18650 lithium-ion battery, which could also be easy enough to recover from the trash given how common they are in laptop batteries; though if you threw a new cell into this build we wouldn’t hold it against you. Everything is put into a high-tech plastic sandwich bag to provide minimum of waterproofing with the minimum of effort.

If using a commercial RC receiver and transmitter is a bit too mainstream for your tastes, you could always roll your own radio.

Continue reading “Building An RC Air Boat From Garbage”