Posts | Comments

Planet Arduino

Archive for the ‘linear actuator’ Category

Aren’t ball races and marble runs fun? Wouldn’t they be so much more enjoyable if you didn’t have to climb back up the ladder each time, as it were, and reset the thing? [Johannes] wrote in to tell us about a wee robot with the Sisyphean task of setting a ball bearing on a simple but fun course, collecting it from the end, and airlifting it back to the start of the track.

[Johannes] built this ‘bot to test small-scale resin printing strength as well as the longevity of some tiny linear actuators from Ali that may or may not be available at a moment’s notice. The point was to see how these little guys fared when connected directly to an Arduino or other microcontroller, rather than going the safer route with a motor driver of some kind.

Some things worked well, like the c-clips that keep the axles together, and using quick pulses to release the magnetically-linked ball from the gripper. Other aspects didn’t work out so well. Tiny resin parts do not respond well to force, for starters. And then there’s the actuators themselves. The connections are fragile and the motors are weak, but they vary wildly in quality from piece to piece, so YMMV. Some lose steps, and others occasionally seize. But you wouldn’t know any of that from the graceful movement capture in the video below. Although it appears to be automated, the bot is under remote control because of the motor issues.

Not into ball runs? There are other Sisyphean tasks available, such as moving sand around in the name of meditation.

If you like solving puzzles out in the real world, you’ve probably been to an escape room before, or are at least familiar with its concept of getting (voluntarily) locked inside a place and searching for clues that will eventually lead to a key or door lock combination that gets you out again. And while there are plenty of analog options available to implement this, the chances are you will come across more and more electronics-infused puzzles nowadays, especially if it fits the escape room’s theme itself. [Alastair Aitchison] likes to create such puzzles and recently discovered how he can utilize a USB powered plasma globe as a momentary switch in one of his installations.

The concept is pretty straightforward, [Alastair] noticed the plasma globe will draw significantly more current when it’s being touched compared to its idle state, which he measures using an INA219 current shunt connected to an Arduino. As a demo setup in his video, he uses two globes that will trigger a linear actuator when touched at the same time, making it an ideal multiplayer installation. Whether the amount of fingers, their position on the globe, or movement make enough of a reliable difference in the current consumption to implement a more-dimensional switch is unfortunately not clear, but definitely something worth experimenting with.

In case you’re planning to build your own escape room and are going for the Mad Scientist Laboratory theme, you’ll obviously need at least one of those plasma globes sparking in a corner anyway, so this will definitely come in handy — maybe even accompanied by something slightly larger? And for all other themes, you can always resort to an RFID-based solution instead.

Arduino boards are great for controlling small servo motors, but what if you need something to provide linear travel? As spotted on Reddit, while the answer here is a little less straightforward, YouTuber Potent Printables has a great solution. It uses 3D-printed components, along with a dab of epoxy and fastener hardware to convert either a micro or standard continuous rotation servo into a rack-and-pinion mechanism.

The project can be seen in the video below with an Arduino Uno and motor shield, though any Arduino capable of PWM output should have no problem with this setup. Since the servos used here are meant for continuous rotation, travel distance is based only on timing. Depending on the application, you may want add a simple microswitch or other sensing mechanism for feedback.

This is a general purpose linear servo actuator (pusher style). Two sizes have been designed, for different space constraints and force outputs.

These use continuous rotation servos which helps keep the cost very low. Off the shelf actuators of this type can cost around $70 USD.

The “mini” version will fit in smaller spacers, but has a much lower force output. The “large” version has a higher force output, but is…larger in size than the “mini.”

Extremely good linear actuators can be expensive and heavy, but what if you need something for relatively light applications? In the video below, James Bruton explains how you can make one using parts including a DC motor with a quadrature encoder, 3D-printed mounting, and a lead screw assembly.

His device uses an Arduino Uno for control, using pins 2 and 3 as interrupts to ensure correct rotation—and thus linear travel—sensing. Proper movement is facilitated with a pair of PID loops to regulate both the position and velocity, even under differing load and battery conditions. 

Arduino code and CAD information can be found on GitHub, while an explanation of the project is seen in the video below. 

It’s a dream come true: remote control of a real car. Besides being a lot of fun, a life-size RC vehicle has some practical applications, like performing rescue operations or delivering supplies to dangerous areas. For [Carter], [Dave], [Ryan], and [Sean], the dream became reality in the span of 24 caffeine-and-chicken-finger-fueled hours during an Ohio State University hackathon. They dubbed the system MagiKarpet because it sits in place of the floor mat and runs on pixies.

The plan was to control the throttle, brake, and steering of a Chevy Cobalt using a PlayStation controller. For added fun, a camera mounted high above the back bumper would provide a third-person view, and this feed would be displayed on a monitor in the backseat. Everything is controlled by an Arduino Mega. A beefy linear actuator works the brake and is attached temporarily with a band of Shapelock that slips around the pedal. The throttle is pushed by a lever attached to a car window motor. Another motor connects to the steering wheel with cables that can turn it 90° left and right. Although the build was successful, they ran into a couple of issues. But what’s a hackathon experience without a few problems?

The linear actuator was jammed for about an hour after some early testing, but they got it unstuck. The PS controller was borked, so they had to roll their own joysticks. The school wouldn’t let them actually drive it around because of safety (killjoys but we get it), so they put it up on a jack to demonstrate it for the judges. They took second place, though we can’t imagine what would have beat this. Check out the complete build video after the break.

You might remember these guys from last year around this time. They took first place at the same hackathon with Robottermilk Puncakes, a app-controlled pancake machine. Now that you’re hungry for pancakes, feast your eyes on this endless one.


Filed under: Arduino Hacks, car hacks

We have a pretty good guess where [Krizbleen] hides away any seasonal presents for his family: behind his shiny new secret library door. An experienced woodworker, [Krizbleen] was in the process of finishing the attic in his home when he decided to take advantage of the chimney’s otherwise annoying placement in front of his soon-to-be office. He built a false wall in front of the central chimney obstacle and placed a TV in the middle of the wall (directly in front of the chimney) flanked on either side by a bookcase.

If you touch the secret book or knock out the secret sequence, however, the right-side bookcase slides gently out of the way to reveal [Krizbleen’s] home office. Behind the scenes, a heavy duty linear actuator pushes or pulls the door as necessary, onto which [Krizbleen] expertly mounted the bookcase with some 2″ caster wheels. The actuator expects +24V or -24V to send it moving in one of its two directions, so the Arduino Uno needed a couple of relays to handle the voltage difference.

The effort spent here was immense, but the result is seamless. After borrowing a knock-detection script and hooking up a secondary access button concealed in a book, [Krizbleen] had the secret door he’d always wanted: albeit maybe a bit slow to open and close. You can see a video of its operation below.


Filed under: Arduino Hacks, home 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