Stewart Platform Ball Bearing Balancer

PID balancing a ball on a plate

For their Mechanical Engineering senior design project at San Jose State University, [Tyler Kroymann] and [Robert Dee] designed and built a racing motion simulator. Which is slightly out of the budget of most hackers, so before they went full-scale, a more affordable Arduino powered Stewart platform proof of concept was built. Stewart platforms typically use six electric or hydraulic linear actuators to provide motion in six degrees of freedom (6 DOF), surge (X), sway (Y), heave (Z), pitch, roll, and yaw. With a simple software translation matrix, to account for the angular displacement of the servo arm, you can transform the needed linear motions into PWM signals for standard hobby servos.

The 6 DOF platform, with the addition of a resistive touch screen, also doubled as a side project for their mechatronic control systems class. However, in this configuration the platform was constrained to just pitch and roll. The Arduino reads the resistive touch screen and registers the ball bearing’s location. Then a PID compares this to the target location generating an error vector. The error vector is used to find an inverse kinematic solution which causes the actuators to move the ball towards the target location. This whole process is repeated 50 times a second. The target location can be a pre-programmed or controlled using the analog stick on a Wii nunchuck.

Watch the ball bearing seek the target location after the break.

Thanks to [Toby] for sending in this tip.

[Read more...]

NFC Ring Lock Box

NFC Ring Lock Box

[Nairod785] wanted to build a lock box that would lock from the inside. He started with an inexpensive, plain wooden box. This kept the cost down but would also allow him to easily decorate the box later on using a wood burning tool.

To keep the box locked, he installed a simple latch on the inside. The latch is connected to a servo with string. When the servo rotates in one direction, it pulls the string and releases the latch. When the servo is rotated in the opposite direction, the latch closes and locks the box once again.

If you are going to have a locked box, then you are also going to need a key to open it. [Nairod785] used a ring with a built-in NFC tag, similar to the ring featured back in March. Inside of the box is a PN532 NFC module. The walls of the box were a little too thick for the reader to detect the ring, so [Nairod785] had to scratch the wall thickness down a bit. The NFC module is connected to an Arduino Nano. Communications are handled with I2C.

The NFC ring actually has two different NFC tags in it; one on each side. [Nairod785] had to program both of the tag ID’s into the Arduino to ensure that the ring would work no matter the orientation.

The system is powered by a small rechargeable 5V battery. [Nairod785] wired up a USB plug flush with the box wall so he can easily charge up the battery while the box is locked. It also allows him to reprogram the Arduino if he feels so inclined. There is also a power switch on the side to conserve energy.

Roboceratops: A Robot Dinosaur That Defies Extinction

roboceratopsInspired by a childhood love of dinosaurs, [Robert] set out to build a robotic dinosaur from the Ceratopsian family. After about a year of design, building, and coding, he has sent us a video of Roboceratops moving around gracefully, chomping a rope, and smoothly wagging his tail.

Roboceratops is made from laser-cut MDF and aluminium bars in the legs. That’s not cookie dough on those legs, it’s upholstery foam, and we love the way [Robert] has shaped it. Roboceratops has servos in his jaw, neck, tail, and legs for a total of 14-DOF. You can see the servo specifics and more in the video description. [Robert] has full kinematic control of him through a custom controller and is working to achieve total quadrupedal locomotion.

Inside that custom controller is an Arduino Mega 2560, an LCD, and two 3-axis analog joysticks that control translation, height, yaw, pitch, and jaw articulation. For now, Roboceratops receives power and serial control through a tether, but [Robert] plans to add an on-board µC for autonomous movement as well as wireless, a battery, an IMU, and perhaps some pressure/contact detection in his feet.

The cherry on top of this build is the matching, latching custom carry case that has drawers to hold the controller, power supply, cable, tools, and spare parts. Check out Roboceratops after the break.

[Read more...]

THP Hacker Bio: nsted

 

thp-contestant-bio-nsted

Have you ever wanted to build a robot arm, or even a full robot, but were put off by the daunting task of making all of those articulations work? Moti could make that a lot easier. The project seeks to produce smart servo motors which can connect and communicate in many different ways. It’s a great idea, so we wanted to know more about the hacker behind the project. After the jump you’ll find [nsted's] answers to our slate of question for this week’s Hacker Bio.

[Read more...]

ServoBender, The Electronic Pedal Steel

Servo

You’ve most certainly heard a pedal steel guitar before, most likely in any ‘old’ country song, or more specifically, any country song that doesn’t include the word ‘truck’ in its lyrics. Pedal steels are strange devices, looking somewhat like a 10-string guitar with levers that change the pitch of individual strings. Historically, there have been some attempts to put a detuning mechanism for individual strings in normal electric guitars, but these are somewhat rare and weird. [Gr4yhound] just nailed it. He’s come up with the perfect device to emulate a pedal steel in a real guitar, and it sounds really, really good.

The imgur album for this project goes over the construction of the ServoBender in a bit more detail than the video. Basically, four servos are mounted to a metal plate below the bridge. Each servo has a spring and cam system constructed out of 3D printed parts. The detuning is controlled by an Arduino and a few sustain pedals retrofitted with hall effect sensors. Simple, really, but the effect is astonishing.

[Gra4hound]‘s contraption is actually very similar to a B-Bender where a guitarist pushes on the neck to raise the pitch of the B string. This setup, though, is completely electronic, infinitely adjustable, and can be expanded to all six strings. Very, very cool, and it makes us wonder what could be done with one of those freaky robot guitars, a soldering iron, and a bit of code.

Video below, because you should watch it again.

[Read more...]

Attiny PWM Generator and Servo Tester

PWM-Servo-Tester

Having the right tool for the job makes all the difference, especially for the types of projects we feature here at Hackaday. [Jan_Henrik's] must agree with this sentiment, one of his latest projects involves building a tool to generate a PWM signal and test servos using an Attiny25/45/85.

Tools come in all kinds of different shapes and sizes. Even if it might not be as widely used as [Jan_Henrik's] earlier work that combines an oscilloscope and signal generator, having a tool that you can rely upon to test servos and generate a PWM can be very useful. This well written Instructable provides all the details you need to build your own, including the schematic and the necessary code (available on GitHub). The final PWM generator looks great. For simple projects, sometimes a protoboard is all you need. It would be very cool to see a custom PCB made for this project in the future.

What tools have you build recently? Indeed, there is a tool for every problem. Think outside the (tool) box and let us know what you have made!

The Un-Digital Robotic Arm

556When you think of a robotic arm, you’re probably thinking about digital control, microcontrollers, motor drivers, and possibly a feedback loop. Anyone who was lucky enough to have an Armatron knows this isn’t the case, but you’d still be surprised at how minimal a robotic arm can be.

[viswesh713] built a servo-powered robotic arm without a microcontroller, and with some interpretations, no digital control at all. Servos are controlled by PWM signals, with a 1 ms pulse rotating the shaft one way and a 2 ms pulse rotating the shaft the other way. What’s a cheap, popular chip that can easily be configured as a timer? Yep, the venerable 555.

The robotic arm is actually configured more like a Waldo with a master slave configuration. [viswesh] built a second arm with pots at the hinges, with the resistance of the pots controlling the signal output from a 556 dual timer chip. It’s extremely clever, at least until you realize this is how very early robotic actuators were controlled. Still, an impressive display of what can be done with a simple 555. Videos below.

[Read more...]

Follow

Get every new post delivered to your Inbox.

Join 93,784 other followers