Rubik’s Cube Solver Made Out Of Popsicle Sticks And An Arduino

rubix cube solver

[Matt] recently learned both how to solve a Rubik’s cube and the basics of an Arduino. Putting the two together, he decided to try his hand at making an automatic Rubik’s Cube solver!

We’ve seen this done quite a few times using LEGO Mindstorms, but we’re much more impressed with [Matt’s] clever use of popsicle sticks and mechanical linkages…. The device uses just two servos. One to rotate the base, and the second to flip the cube over.

He’s using an Arduino UNO (R3) with 2 Hitec HS-311 hobby servos, some popsicle sticks, hot glue, a paper towel roll, and a bit of plywood. He wrote the code to solve the cube himself, and has shared it on GitHub — but he didn’t stop there and decided to create a GUI to go with it using Python.

It’s not that fast, but it’ll solve a cube in about 20 minutes — stick around after the break to see it in action!

Continue reading “Rubik’s Cube Solver Made Out Of Popsicle Sticks And An Arduino”

Build A Bass Master 3000 Carnival Game

Bass Master 3000

We’ve all been there. You are having fun walking around the carnival when you suddenly find yourself walking past the carnival games. The people working the booths are taunting you, trying to get you to play their games. You know the truth, though. Those games are rigged. You don’t know how they do it. You just know that they do… somehow.

Now you can put your worries to rest and build your own carnival game! [John] built his own “Bass Master 3000” style carnival game and posted an Instructable so you can make one too.

The game is pretty straightforward. You have a giant fish-shaped target with a wide open mouth. You take hold of a small fishing reel with a rubber ball on the end. Your goal is to cast the ball out and hit the fish in its big mouth. If you hit the mouth, you get to hear a loud buzzer and see some flashing lights. The system also uses a webcam to take a candid photo of the winner. A computer screen shows all of the winners of the day.

The brain of the system is an Arduino Yún. The Yún is similar to an Uno but it also has some extra features. Some good examples are an Ethernet port, a wireless adapter, and an SD card slot. The mouth sensors are just two piezo elements. Each sensor is hooked up to the Arduino through a small trim pot. This allows you to dial in the sensitivity of each sensor. The lights and the buzzer are controlled via a relay, triggered by a 5V digital pin on the Arduino.

The Yún actually has a small on-board Linux computer that you can communicate with from inside the Arduino environment. This allows [John] to use the Yún to actually take photos directly from a web cam, store them on the local SD card, and display them on a local web server. The web server runs a simple script that displays a slide show of all of the photos stored on the card.

The final piece of the game is the physical target itself. The target is painted using acrylic paint onto a small tarp. The tarp is then attached to a square frame made from PVC pipe. The mouth of the fish is cut out of the tarp. A large piece of felt is then placed behind the hole with the piezo sensors attached. A short length of copper pipe helps to weigh down the bottom of the felt and keep it in place. The important thing is to make sure the felt isn’t touching the tarp. If it touches, it might be overly sensitive and trigger even when a player misses.

Now you know how to build your own Bass Master 3000 carnival game. Whether you rig the game or not is up to you. Also, be sure to check out a video of the system working below. Continue reading “Build A Bass Master 3000 Carnival Game”

A SI5351 clock generator chip and an Arduino

Generate Clocks With The SI5351 And An Arduino

If you’re dealing with RF, you’ll probably have the need to generate a variety of clock signals. Fortunately, [Jason] has applied his knowledge to build a SI5351 library for the Arduino and a breakout board for the chip.

The SI5351 is a programmable clock generator. It can output up to eight unique frequencies at 8 kHz to 133 MHz. This makes it a handy tool for building up RF projects. [Jason]’s breakout board provides 3 isolated clock outputs on SMA connectors. A header connects to an Arduino, which provides power and control over I2C.

If you’re looking for an application, [Jason]’s prototype single-sideband radio shows the chip in action. This radio uses two of the SI5351 clocks: one for the VFO and one for the BFO. This reduces the part count, and could make this design quite cheap.

The Arduino library is available on Github, and you can order a SI5351 breakout board from OSHPark.

Bluetooth Security And Capacitive Sensing Tool Cabinet Handles

Locking tool cabinet

[Andy] needed a new set of locks for his tool cabinets at work, but not wanting to carry around another key (or to remember a combination!) he decided to throw this little hack together — solenoid locking, capacitive sensing, tool cabinet door handles.

To do this he’s using a Bluetooth low energy breakout board coupled with an Arduino, two solenoid locks, and two capacitive sensors. He’s modified a pre-existing iPhone app to control the system, dubbed: The BlueLock Control.

When [Andy] is present with his phone, the system can be activated, allowing for automatic unlocking the moment you touch the metal handle. Usually he leaves it unlocked for the majority of the work day, but as soon as the day is done it’s just a simple swipe on his phone to engage lock mode for the night. And just in case he’s also added manual push-buttons for both solenoids in case anything goes wrong with the capacitive sensors. Cool hack [Andy!]

While you’re at it, why not make a keyless entry system for your car using Bluetooth too?

 

Handheld Game System Powered By Arduino

DIY Handheld Game System

These days, it’s easy enough to play games on the go. If you have a smart phone, you are pretty much set. That doesn’t mean you can’t still have fun designing and building your own portable gaming system, though.

[randrews] did just that. He started out by purchasing a small memory LCD display from Adafruit. The screen he chose is low power as far as screens go, so it would be a good fit for this project. After testing the screen with a quick demo program, it was time to start designing the circuit board.

[randrews] used Eagle to design the circuit. He hand routed all of the traces to avoid any weird issues that the auto router can sometimes cause. He made an efficient use of the space on the board by mounting the screen over top of the ATMega chip and the other supporting components. The screen is designed to plug in and out of the socket, this way it can be removed to get to the chip. [randrews] needs to be able to reach the chip in order to reprogram it for different games.

Once the board design was finished, [randrews] used his Shapeoko CNC mill to cut it out of a copper clad board. He warns that you need to be careful doing this, since breathing fiberglass dust is detrimental to living a long and healthy life. Once the board was milled out, [randrews] used a small Dremel drill press to drill all of the holes.

The final piece of the puzzle was to figure out the power situation. [randrews] designed a second smaller PCB for this. The power board holds two 3V coin cell batteries. The Arduino expects 5V, so [randrews] had to use a voltage regulator. This power board also contains the power switch for the whole system.

The power board was milled and populated. Then it was time to do some measurements. [randrews] measured the current draw and calculates that he should be able to get around 15 hours of play time using the two 3V coin cell batteries. Not bad considering the size.

[via Reddit]

Infrared Controlled Remote Firework Igniter

Firework Igniter

With Independence Day just around the corner, American hackers are likely to find themselves blowing things up in the name of Independence. It’s all great fun but it can also be dangerous. The standard ignition method of “use a lighter and run away really fast” is not exactly safe. Instead of lighting your fireworks the old-fashioned way, why not follow [Facelesstech’s] example and build your own infrared controlled remote igniter?

The first step was to decide how to actually ignite the firework fuse. [Facelesstech] had seen others use a car cigarette lighter for this purpose and he decided to follow in their footsteps. He started by removing the cigarette lighter from his own car and pulling it apart. Only one component was needed for this hack. The main heating element is a small disk with a “stem” on the end. If you apply 12V to the stem and attach the outer edge of the disk to ground, the igniter will quickly become hot.

[Facelesstech] originally thought he could just solder some wires to the device. However, the heating element gets so hot that the solder just melts every time it’s turned on. He then got creative and drilled a hole in a small block of wood that fits the heating element. The element is bolted into the wood and the bolt is used as a conductor for the electrical power.

The heating element is powered via a 12V relay. The relay is controlled by an Arduino Nano. The Nano allows two modes of operation. With the first mode, you simply press a button and the Nano will start a five second timer. The idea is to give you enough time to run to a safe distance before the firework is ignited. This isn’t much different from the old-fashioned method, but it does give you a slightly extended fuse. The second mode is where the project really shines. The Nano is also hooked up to an infrared receiver. This allows [Facelesstech] to press a button on an old television infrared remote control to active the igniter. This is a clever solution because it allows you to get to a safe distance without having to run a long wire. It’s also simple and inexpensive. Be sure to watch the video test of the system below. Continue reading “Infrared Controlled Remote Firework Igniter”

Network Controlled Decorative LED Matrix Frame

LED-Pixel-FrameThere is nothing better than a project that you can put on display for all to see. [Tristan’s] most recent project, a Decorative LED Matrix Frame, containing 12×10 big square pixels that can display any color, is really cool.

Having been built around a cheap IKEA photo frame this project is very doable, at least for those of you with a 3D printer. The 3D printer is needed to create the pixel grid, which ends up looking very clean in the final frame. From an electronics perspective, the main components are a set of Adafruit Neopixel LED strips, and an Arduino Uno with an Ethernet shield. The main controller even contains a battery backup for the real time clock (RTC) when the frame is unplugged; a nice touch. Given that the frame is connected to the local network, [Tristan] designed the frame to be controlled by a simple HTML5 interface (code available on GitHub). This allows any locally connected device to control the frame.

Be sure to check out the build details, they are very well done. If you are still not convinced how cool this project is, be sure to check out a video of it in action after the break! It makes us wish that you could play Tetris on this frame. Very nice job [Tristan]!

Continue reading “Network Controlled Decorative LED Matrix Frame”