Maybe you’ve never programmed an Arduino before. Or maybe you have, but nothing beyond das blinkenlights. Maybe your soldering iron sits in a corner of your garage, gazing at you reproachfully every time you walk by, like a ball begging to be thrown. Maybe you’ve made a few nifty projects, but have never interfaced them with a PC. If this describes you, then this article and project is just what you need. So grab your favorite beverage, tuck in and prepare to get motivated.
[Anuj Dutt] has not only made a really cool project, he has also done a most excellent job at documenting it. It’s an Arduino controlled “RADAR” like project that uses the familiar Parallax ultrasonic sensor. It’s mounted to a servo and feeds data to a PC where a custom VB.NET program translates the data in to a cool “green radar sweep” screen. It also pushes text to an LCD which reveals the distance from the target.
[Anuj Dutt] hand rolled his Arduino just because, but ran into some trouble getting everything to talk to the PC. He wound up using the ultra user friendly FTDI to save the day. Be sure to check out the video below to see the project in action. [Anuj] published the code for both the Arduino and PC in the video description.
Continue reading “Green-Sweep for Your Ultrasonic Rangefinder”
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.
Continue reading “Stewart Platform Ball Bearing Balancer”
[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.
Inspired 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.
Continue reading “Roboceratops: A Robot Dinosaur That Defies Extinction”
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.
Continue reading “THP Hacker Bio: nsted”
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.
Continue reading “ServoBender, The Electronic Pedal Steel”
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!