Category Archives: Arduino

Watch this 3D-printed sculpture create an optical illusion


Math and art come together to blow your mind.


A group of German Makers have developed an animated, kinetic sculpture that produces a controlled 3D zoetrope optical illusion. Flux was designed to play with the eye’s perception of space and depth without using any sort of strobe or camera. Simply turn it on and watch it ‘deform.’

productshot.png

As you can see in the video below, a 3D-printed hemisphere rotates at a certain speed while emitting a specific light frequency based on the Fibonacci sequence. (For those unfamiliar with this sequence, it begins with zero then one, and each subsequent number is the sum of the previous two.)

explosion.png

Inside the device lies an Arduino Uno (ATmega328) that controls the motor speed by checking the actual speed with a Hall sensor and an Arduino Mini that shutters its 20W LED 48 times per second.

Be prepared to have your mind blown…

It’s never been so easy to build your own Arduino-based quadcopter


The YMFC-3D V2 flight controller enables everyone to create their own Arduino drone. 


Quadcopters, or “drones” as they are sometimes inaccurately known, seem to be getting a lot of attention currently. There are, of course, many off-the-shelf components to control your flying contraption, but if a stock flight controller (FC) isn’t geeky enough, you can always turn an Arduino Uno (ATmega328) into one.

Drone1.png

That’s exactly what Joop Brokking has done. As the creator puts it, “I made the YMFC-3D [Your Multicopter Flight Controller] V2 flight controller software so everybody can build their own Arduino quadcopter and having a great learning experience.”

The video below explains things nicely, but to summarize, his Arduino software is divided into three sketches that attempt to automate much of the configuration procedure. First, a setup program is loaded into the Uno, which outputs specific steps for the user to go through to set up the transmitter and gyroscope. Next, a separate program is employed to help calibrate the electronic speed controllers, commonly known as ESCs, that directly power the motors. Finally, the actual FC program is loaded into the Arduino, so you can actually test out and fly your ‘copter.

Dron2.png

For more information, as well as source code, you’ll want to check out Brokking’s website. He also has information there on his earlier version, which is meant for those already experienced with radio controlled flight and the Arduino.

One neat thing about a build like this is that, in theory, one could program the Uno to do all kinds of tricks, like control an LED strip while in flight or turn a servo. This concept could, it would seem, even be expanded to maneuver other kinds of RC vehicles. On the other hand, one would need to be careful not to tie up too much processing power and quite literally “crash” your system!

 

This Maker built an Arduino attachment for his stationary bike that let him pedal through a virtual world


For $40, you can add a virtual reality experience to your boring stationary bike.


As great of a calorie-burning exercise as it may be, riding a stationary bike is typically pretty boring. To add a little more excitement to the relatively dull workout, Paul Yan decided to enhance it with the help of virtual reality. The best part? Unlike commercial products that can cost upwards of a few hundred dollars, the Maker was able to create an “Arduino thingamajig” for just $40.

screen-shot-2016-01-24-at-1-25-26-am

The unit attaches to a bike and wirelessly communicates with an accompanying mobile device over Bluetooth Low Energy. It is equipped with an optical tachometer that’s responsible for measuring the revolution of a wheel; meaning, it can monitor the movement and speed of any stationary cycle or piece of exercise equipment with a rotating part.

“I’m using a mountain bike on an indoor trainer but the beauty of this non-invasive approach is that you could use it with treadmills, ellipticals, rowing machines, or anything that has a looping/revolving surface,” Yan explains.

img_5155

The attachment is placed next to the rear wheel, where it detects a paper strip on the tire as its starting point. Each time the wheel goes around, the Arduino sends a wireless message to the paired phone.

Using a custom app and a pre-fab virtual environment powered by the Unity 3D game engine, the smartphone is placed inside a VR viewer strapped to the cyclist’s face. Now instead of staring at the wall or TV while pedaling away, the wearer can immerse themselves in a 3D city. The virtual bike will only nudge forward whenever the app receives a message from the Arduino reporting that the physical bike’s wheel has made a complete rotation.

“We are effectively mapping the physical action of pedaling to movement in the virtual space to make an oversized gaming controller,” the Maker adds.

screen-shot-2016-01-23-at-1-34-51-am

The headset that Yan used only cost $10, and is compatible with Google Cardboard. He does advise those looking to build something similar that, “It wouldn’t be too much of a stretch to have the physical bike steer the direction of the virtual bike. Why not give the player total freedom to explore?”

When all is said and done, Yan’s project is certainly a fun and more engaging way of turning a mundane activity into something a lot more exciting — without breaking the bank or overcomplicating things. See it in action below!

Maker creates his own life-size BB-8


17-year-old Angelo Casimiro decided to build a fully-functional, smartphone-controlled BB-8.


Until Episode VII came out, if you were a true Star Wars fan, building a working R2-D2 replica would seem like the thing to do. With the emergence of BB-8, R2 now has competition for the coolest robot in the galaxy, and for which droid you should recreate.

FCU1F0BIJIZ6EZJ.MEDIUM

At first glance the BB-8, with its continuously-rotating body and a head that always stays nearly upright, looks like something that could only be made with computer graphics on a movie set. 17-year-old Maker Angelo Casimiro, however, proves that isn’t the case with his life-size, phone-controlled toy. The best part of it all? According to his exhaustive tutorial, the project should cost only around $120 — a little less than Sphero’s miniature device.

The physics student from De La Salle University in the Philippines was able to purchase most of the items from a hardware store while recycling pretty much everything else, like a Christmas ball for its eye, an old Wi-Fi router antenna, and roll-on deodorant balls for the mechanism of the droid’s head to keep it upright. BB-8’s head is made from styrofoam, and the body is a beach ball reinforced with papier-mâché.

FJVL86PIJIZ5GOW.LARGE

The secret to his BB-8 build is that inside the sphere is a two-wheeled vehicle. When it moves, this vehicle rolls around inside, changing the ball’s center of gravity and causing it to go across the floor. (Think of it like a giant hamster ball.) The head, in turn, is stuck to the top of the spherical body via a structure inside of the ball made out of wood and magnets. Control is accomplished using an Arduino Uno (ATmega328) with a motor shield and a Bluetooth module, which allows it to take signals from a smartphone via the “Arduino Bluetooth RC Car” app. There’s even an MP3 module and speaker that enables it to beep and talk just like in the film.

Though the concept of this bot is likely simpler than what you would have thought it would take to produce one of these, it still took a lot of work from several people to get things perfect! If you’d like to try it yourself, Casimiro has provided a detailed overview video, as well as a 47-step tutorial over on Instructables.

Watch a robot solve a Rubik’s Cube in one second


This Arduino-driven robot will unfix a Rubik’s Cube before you could even finish reading this sentence.  


Last November, 14-year-old Lucas Etter set a new world record for the fastest time to solve a Rubik’s Cube, becoming the first person to ever break the five-second barrier for unravel the iconic 3 x 3 x 3 puzzle. As impressive as that may be, nothing may compare to this duo’s latest project. That’s because software engineers Jay Flatland and Paul Rose have devised an automated mechanism that can crack it in just over a second.

Rubik.png

With an Atmel chip at its heart, the system is comprised of stepper motors, some 3D-printed parts and four webcams all connected to a Linux-based computer. The software engineers used the Kociemba algorithm to solve the puzzle, and have modified the Rubik’s Cube by drilling four holes into the middle of each of its six sides so the robot could manipulate it. Since the robot needs the cameras in order to function, the webcams are covered with a piece of paper until the cube is properly scrambled.

The team is now in the process of applying for the Guinness World Record. Pending all goes to plan, the robot will crush the current record holder’s time of 3.253 seconds.

This tennis racquet grunts like Sharapova (and others) when you swing it


A racquet that makes quite the racket.


Conventional wisdom says that tennis players grunt because it helps them apply the maximal force when they strike the ball. However, don’t be fooled, these noises are totally unnecessary and downright annoying. In fact, there are top names in the game like Maria Sharapova whose screams routinely top 100 decibels. This has led many, including the legendary Martina Navratilova, to call into question whether or not the behavior is actually a form of cheating.

Feature-590x363.jpg

Cognizant of this, Maker Seiya Kobayashi has come up with a hilarious solution for this problem: a racquet that does the grunting for you. You simply select one of four notable noisemakers — Serena Williams, Maria Sharapova, Novak Djokovic and Rafael Nadal — and the aptly named Grunting Racket will take care of the rest.

Pic3

This allows you to focus on your footwork and hitting the ball, while the combination of an Arduino Pro Mini (ATmega328), an accelerometer and speaker emits the obnoxious sounds. Additional components include a LiPo battery, an Adafruit Audio FX Sound Board and a button on the grip that lets you choose the player. These electronics are all housed inside the racquet’s handle. Kobayashi employed both Arduino and Processing sketches along the way to prototype his idea.

How it works is fairly simple: When a value from the accelerometer exceeds a particular threshold, the sound board will play one of the four tones. You can see (and hear) it action below!

[s/o to fellow tennis players Artie Beavis and David Scheltema]

Build a $200 laser engraver with Arduino


This DIY machine can engrave designs into wood, opaque plastic and leather.


Many people have a nice assortment of tools in their garage or Makerspace, but once you get into computer-controlled implements, both your capabilities and, normally, the price of them goes up a notch. Instructables user Macinblack20 decided to step into the world of laser engravers with his project, and according to his how-to article, it can be built for less than $200.

FSXZ3UNIJ8WWJWL.MEDIUM

His machine uses an Arduino Uno (ATmega328) running grbl, an open source CNC controller, to actuate two stepper motors. They move a one Watt laser in the X and Y axes on a gantry made out of OpenBuilds components. These parts, as well as a few others, are listed in the “materials” portion of his Instructables page. OpenBuilds appears to be an interesting option for Makers trying to source mechanical parts that can be hard to find or expensive.

FX8KAHHIJ8WWJWF.MEDIUM

Admittedly, employing a laser meant for engraving can be hazardous to your eyes, so you’ll definitely need a pair of laser safety glasses meant for the type of beam you’re using. Although an interesting build, don’t attempt something like this unless you’re absolutely confident that you can be safe with it.

F8VE81BIJ8WWJWB.MEDIUM

For a seemingly less hazardous build, you may want to check out the CNC EtchABot, an Etch A Sketch with knob controls as well as an automatic erasing mechanism.

Build an automated dehumidifier sump pump


A perfect project for those too lazy to walk down to the basement to empty their dehumidifier… or who forget to give their in-laws a gift on the holidays. 


This winter, Zachary J. Fields went home to visit his family, but neglected to buy a present for his in-laws for Christmas. After they asked him to go to the basement and empty the dehumidifier, he decided that instead of just doing the task once, he’d make a device that would do it automatically for them.

WP_20151231_13_39_31_Rich_LI (2).jpg

To accomplish this task, he used an Arduino Uno (ATmega328) to control a water pump via a relay. For water sensing, he employed two pairs of bare electrical wire. When each pair of wire is immersed, it conducts electricity from one lead to another. Unfortunately, water is a fairly poor conductor of electricity, so to compensate for this, each signal is amplified by a Darlington transistor pair before it is input into the Arduino.

Arduino-Uno-R3-top-600x600.jpg

Each pair of wire is set up on top of each other (in a nice braided configuration) so that water level can be read as “full” when both sensors are made, and “empty” when both are off. This allows the pump to start at the full level, then cut off when water is below the lower sensor. This is important so that the pump doesn’t suck air for a long time, possibly damaging components and wasting electricity.

If you’re tired of walking down to the basement to empty your dehumidifier, then you’ll probably want to take a look at this project.

This robot will save you from shoveling this winter


When was the last time you had to shovel snow from your driveway? What if you never had to again? 


It’s January, which for many of you means winter is well underway. Whether you simply hate the freezing cold or always seem to throw your back out while shoveling, what if there was a machine that could take care the tedious task for you without ever having to step foot outside? This is exactly what Vittorio Loschiavo decided to do by devising his own open source, remote-controlled Snow Plow Robot.

This piece of equipment is based on an Arduino Uno (ATmega328) and can be wirelessly maneuvered using a PlayStation 2 controller. The bot consists of an ordinary snowplow frame, which supports a motorized blade along with electric motors, wheels and caterpillar tracks.

If you absolutely hate shoveling, head over to Open Electronics’ exhaustive project page where you’ll find everything you need to get started.

This five-axis robotic arm will lend you a helping hand


One Maker decided to build his own 5-DOF robotic arm using ServoCity parts, a Pololu Mini Maestro controller and an Arduino Uno. 


If you’re wondering when you’ll get the time to work on all of your crazy projects, you might look forward to retirement. This is great if you’re close, though possibly discouraging for younger workers. Either way, 62-year-old “CyberMerin” decided to make his own robotic arm from scratch. As he puts it, “I promised myself was that when I did retire I was going to complete all those projects I had running around inside my head … That’s about 50 years or so of projects.”

F3ZX58PIJ3768IY.MEDIUM

He also notes that microprocessors didn’t exist years ago, and a machine shop was needed to make mechanical parts. It’s a great time to be alive for those that love to build stuff!

This particular project, a five-axis robotic arm is quite ambitious, works well and is extremely well-documented, even including pictures of 3D CAD models. Though complicated, the Arduino wiring is relatively simple since it communicates serially with a Mini Maestro USB servo controller. This allows the Maestro to do the “heavy lifting” for each servo. (Be sure to check out his article for a huge amount of background on building something like this.)

FKX61JCIJ3768LJ.LARGE

Human interface is handled by a nice graphic slider setup running in Processing 3. As shown in the video below it responds quickly to commands. (Check out around 3:00 when it stacks a green block on the other two.)

For an entirely different take on a robotic arm, here’s one that employs only three servos, a coffee tin for a base, and a gaming controller. Even with these limitations, it still manages to be able to manipulate objects.