Open-Source Robotic Arm For All Purposes

A set of helping hands is a nice tool to have around the shop, especially if soldering or gluing small components is a common task. What we all really want, though, is a robotic arm. Sure, it could help us set up glue or solder but it can do virtually any other task it is assigned as well. A general-purpose tool like this might be out of reach of most of us, unless we have a 3D printer to make this open-source robotic arm at home.

The KAUDA Robotic Arm from [Giovanni Lerda] is a five-axis arm with a gripping tool and has a completely open-source set of schematics so it can be printed on any 3D printer. The robot arm uses three stepper motors and two servo motors, and is based on the Arduino MEGA 2560 for control. The electrical schematics are also open-source, so getting this one up and running is just an issue of printing, wiring, and implementing some software. To that end there are software examples available, and they can easily be modified to fit one’s robotic needs.

A project like this could be helpful for any number of other projects, or also just as a lesson in robotics for yourself or even in a classroom, since many schools now have their own 3D printers. With everything being open-source, this is a much simpler endeavor now than other projects we’ve seen that attempted to get robotic arms running again.

Continue reading “Open-Source Robotic Arm For All Purposes”

Deep-Sleep Problems Lead To Forensic Investigation Of Troublesome Chip

When you buy a chip, how can you be sure you’re getting what you paid for? After all, it’s just a black fleck of plastic with some leads sticking out of it, and a few laser-etched markings on it that attest to what lies within. All of that’s straightforward to fake, of course, and it’s pretty easy to tell if you’ve got a defective chip once you try it out in a circuit.

But what about off-brand chips? Those chips might be functionally similar, but still off-spec in some critical way. That was the case for [Kevin Darrah] which led to his forensic analysis of potentially counterfeit MCU chips. [Kevin] noticed that one of his ATMega328 projects was consuming way too much power in deep sleep mode — about two orders of magnitude too much. The first video below shows his initial investigation and characterization of the problem, including removal of the questionable chip from the dev board it was on and putting it onto a breakout board that should draw less than a microamp in deep sleep. Showing that it drew 100 μA instead sealed the deal — something was up with the chip.

[Kevin] then sent the potentially bogus chip off to a lab for a full forensic analysis, because of course there are companies that do this for a living. The second video below shows the external inspection, which revealed nothing conclusive, followed by an X-ray analysis. That revealed enough weirdness to warrant destructive testing, which showed the sorry truth — the die in the suspect unit was vastly different from the Atmel chip’s die.

It’s hard to say that this chip is a counterfeit; after all, Atmel may have some sort of contract with another foundry to produce MCUs. But it’s clearly an issue to keep in mind when buying bargain-basement chips, especially ones that test functionally almost-sorta in-spec. Caveat emptor.

Counterfeit parts are depressingly common, and are a subject we’ve touched on many times before. If you’d like to know more, start with a guide.

Continue reading “Deep-Sleep Problems Lead To Forensic Investigation Of Troublesome Chip”

Digital Expression Via Harmonica

There is a good chance you clicked on this article with a mouse, trackball, trackpad, or tapped with your finger. Our hands are how most of us interact with the digital world, but that isn’t an option for everyone, and [Shu Takahashi] wants to give them a new outlet to express themselves. Some folks who cannot use their hands will be able to use the Magpie MIDI, which acts as a keyboard, mouse, MIDI device, and eventually, a game controller. This universal Human Interface Device (HID) differs from a mouth-operated joystick because it has air pressure sensors instead of buttons. The sensors can recognize the difference between exhalation and inhalation, so the thirteen ports can be neutral, positive, or negative, which is like having twenty-six discrete buttons.

The harmonica mounts on an analog X-Y joystick to move a mouse pointer or manipulate MIDI sound like a whammy bar. [Shu] knows that a standard harmonica has ten ports, but he picked thirteen because all twenty-six letters are accessible by a puff or sip in keyboard mode. The inputs outnumber the Arduino Leonardo’s analog inputs, so there is a multiplexor to read all of them. There was not enough time to get an Arduino with enough native ports, like a Teensy, with HID support baked in. Most of the structure is 3D printed, so parts will be replaceable and maybe even customizable.

Even with two working hands, we like to exercise different hardware, but the harmonica is a nifty tool to have attached to your computer.

Continue reading “Digital Expression Via Harmonica”

Putting The Firmware In Your Firmware

Performing over-the-air updates of devices in the field can be a tricky business. Reliability and recovery is of course key, but even getting the right bits to the right storage sectors can be a challenge. Recently I’ve been working on a project which called for the design of a new pathway to update some small microcontrollers which were decidedly inconvenient.

There are many pieces to a project like this; a bootloader to perform the actual updating, a robust communication protocol, recovery pathways, a file transfer mechanism, and more. What made these micros particularly inconvenient was that they weren’t network-connected themselves, but required a hop through another intermediate controller, which itself was also not connected to the network. Predictably, the otherwise simple “file transfer” step quickly ballooned out into a complex onion of tasks to complete before the rest of the project could continue. As they say, it’s micros all the way down.

The system de jour

Continue reading “Putting The Firmware In Your Firmware”

Mirrored Music Machine Reflects Circadian Rhythms

Interactive artist [Daric Gill] wrote in to share the incredible electronic sculpture he’s been working on for the past year. It’s called the Circadian Machine, and it’s a sensor-enabled mindfulness music-and-lights affair that plays a variety of original compositions based on the time of day and the circle of fifths. This machine performs some steady actions like playing chimes at the top of each hour, and a special sequence at solar noon.

This cyberpunk-esque truncated hexagonal bi-pyramid first geolocates itself, and then learns the times for local sunrise and sunset. A music module made of a Feather M4 Express and a Music Maker FeatherWing fetches astronomical data and controls the lights, speakers, and a couple of motion sensors that, when tripped, will change the lights and sounds on the fly. A separate Feather Huzzah and DS3231 RTC handle the WiFi negotiation and keep track of the time.

On top of the hourly lights and sound, the Circadian Machine does something pretty interesting: it performs another set of actions based on sunrise and sunset, basically cramming an entire day’s worth of actions between the two events, which seems like a salute to what humans do each day. Check out the build notes and walk-through video after the break, then stick around for the full build video.

The internet is rife with information just begging to be turned into art. For instance, there are enough unsecured CCTV cameras around the world with primo vantage points that you can watch a different sunrise and sunset every hour of every day.

Continue reading “Mirrored Music Machine Reflects Circadian Rhythms”

GitHub’s Move Away From Passwords: A Sign Of Things To Come?

Later this month, people who use GitHub may find themselves suddenly getting an error message while trying to authenticate against the GitHub API or perform actions on a GitHub repository with a username and password. The reason for this is the removal of this authentication option by GitHub, with a few ‘brown-out’ periods involving the rejection of passwords to give people warning of this fact.

This change was originally announced by GitHub in November of 2019, had a deprecation timeline assigned in February of 2020 and another blog update in July repeating the information. As noted there, only GitHub Enterprise Server remains unaffected for now. For everyone else, as of November 13th, 2020, in order to use GitHub services, the use of an OAuth token, personal token or SSH key is required.

While this is likely to affect a fair number of people who are using GitHub’s REST API and repositories, perhaps the more interesting question here is whether this is merely the beginning of a larger transformation away from username and password logins in services.

Continue reading “GitHub’s Move Away From Passwords: A Sign Of Things To Come?”

A Tentacle That’s A Work Of Art

We all bring our own areas of expertise to our work when we build the projects that find their way in front of Hackaday writers, for instance a software developer brings clever brains to their microcontroller, or an electronic engineer might bring a well-designed piece of circuitry. [Yvo de Haas] is a mechanical engineer, and it’s pretty clear from his animatronic tentacle that he has used his expertise in that field to great effect.

If you think it looks familiar then some readers may recall that we saw a prototype model back in February at Hacker Hotel 2020. In those last weeks before the pandemic hit us with lockdowns and cancellations he’d assembled a very worthy proof of concept, and from what we can see from his write-up and the video below he’s used all the COVID time to great effect in the finished product. Back in February the control came via a pair of joysticks, we’re particularly interested to see his current use of a mini tentacle as a controller.

At its heart is a linkage of 3D-printed anti-parallelograms linked by gears, with cables holding the tension and controlling the movement of the tentacle from a set of winches. The design process is detailed from the start and makes a fascinating read, and with its gripper on the end we can’t wait for an event that goes ahead without cancellation at which we can see the tentacle for real.

If you’d like to see more of [Yvo]’s work, maybe you remember his wearable and functioning Pip-Boy, and his working Portal turret.

Continue reading “A Tentacle That’s A Work Of Art”