Giant Spider Roams The Streets

There is a giant spider the size of  a house stretching its massive, delicate legs as it parades through the French city of Nantes. Is the Arthropod Apocalypse upon us? Fortunately not, for this arachnid is the latest in a series of performance pieces by a French theatre company, La Machine.

Like the rest of La Machine’s productions, this spider is a large hydraulically controlled model driven not by a computer with a single operator but by a team of operators perched inside and underneath the mechanism who turn the operation of the spider’s legs into a piece of complex choreography. They in turn are aided by a team on the street who ensure that any manoeuvres are executed safely. The spider only gives the appearance of walking as it is supported on a hydraulic arm from a wheeled vehicle that carries its power plant, so freed of the requirement for support from its legs it can move with extreme grace.

The video below shows the spider inching its way underneath a set of tram cables. There is more video on the page linked above.

Continue reading “Giant Spider Roams The Streets”

Code Craft – Embedding C++: Multitasking

We’re quite used to multitasking computer systems today. Our desktops run email, a couple of browsers in different workspaces, a word processor, and a few other applications, apparently all at once. Looking behind the scenes using a system monitor or task manager program reveals a multitude of other programs running in support of our activities. Of course, any given CPU is running a maximum of one program at a time. Multitasking is simply the practice of switching between active processes fast enough to give the illusion of simultaneity.

The roots of multiasking go way back. In the early days, when computers cost tons of money, the thought of an idle system was anathema. Teletype IO was slow compared to the processor, and leaving the processor waiting idle for a card reader to slurp in the next card was outrageous. The gurus of the time worked to fill that idle time with productive work. That eventually led to systems that would run multiple programs at one time, and eventually to more finely grained multitasking within a program.

Modern multitasking depends on support from the underlying API of an operating system. Each OS uses its own techniques, making it difficult to write portable code. The C++ 2011 standard increased the portability of the language by adding concurrency routines to the Standard Template Library (STL). These routines use the API of the OS. For instance, the Linux version uses the POSIX threading library, pthread. The result is a minimal, but useful, capability for building upon in later standards. The C++ 2017 standard development activities include work on parallelism and concurrency.

In this article, I’ll work through some of the facilities for and pitfalls in writing threaded code in C++.

Continue reading “Code Craft – Embedding C++: Multitasking”

LEGO Monowheel Corners Like It’s On Rails

[Jason]’s at it again. This time the LEGO maestro is working on a LEGO BB-8 droid. As a first step he’s made a motorized monowheel that not only races along hallways and through living rooms at the peril of any passing people, but turns as well.

To drive it forward there’s an axle that runs across the center of the wheel and a motor that rotates that axle. He’s also included some weight bricks. Without the mass of those bricks for the rotation to work against, the motor and axle would just spin in place while the friction of the floor keeps the wheel from rotating. If you’ve seen the DIYer’s guide to making BB-8 drive systems, you’ll know that this is classified as an axle drive system.

LEGO monowheel interior shown while leaning to turn
LEGO monowheel interior shown while leaning to turn

For steering the monowheel left or right he has another mass located just above the axle. Shifting the mass to the left causes the monowheel to lean and move in that direction. Shifting the mass to the right makes the wheel move to the right in the same fashion. Being ever efficient, [Jason] has the motor that shifts the mass doubling as the mass itself.

As with any proof-of-concept, there are still some issues to work out. When turning the wheel left or right it can tip onto its side. Ridges on both sides of the wheel’s circumference reduce the chances of that happening but don’t eliminate it altogether. Also, the steering mass/motor doesn’t yet have a self-centering mechanism; after a turn it’s up to the person holding the remote control to find center. If the mass isn’t correctly centered after a turn, there tends to be some wobble.

As always, we’re looking forward to seeing how [Jason] solves those issues but first he’ll have to put it back together since, as you can see from the video below, it didn’t quite pass the stair test.

Continue reading “LEGO Monowheel Corners Like It’s On Rails”

Highlights From Robotic Shipwreck Exploration

DIY Research Vessel in use, while ROV is busy below. [Source: NYT]
DIY Research Vessel in use, while ROV is busy below. [Source: NYT]
OpenROV shared the results of their June 2016 underwater expedition to locate and robotically explore the wreck of the S.S. Tahoe, currently sitting at a depth of 150m in Lake Tahoe. Back in 1940 the ship was intentionally scuttled in shallow water, but unexpectedly slid to a much deeper depth. OpenROV used a modified version of their new Trident design to dive all the way down to the wreck and take a good look at things, streaming it over the internet in the process.

We previously covered the DIY research vessel that was designed and created as a floating base station for the ROV while it located and explored the wreck, and now the results are in! The video highlights of the expedition are below, as is a video tour of the ROV used and the modifications required to enable it to operate at 150m.

Continue reading “Highlights From Robotic Shipwreck Exploration”

R/C Bot Takes Your Strawberries Away

Don’t let the friendly smile on this RC cart fool you, it will take your strawberries away — though that’s kinda the point. It’s an RC car that [transistor-man] and a few friends modified for carrying freshly picked strawberries at strawberry fields so that you don’t have to.

RC strawberry carrying robot before putting on the cooler
RC strawberry carrying robot – WIP

They started with an older Traxxas Emaxx, a 4-wheel drive RC monster truck. The team also bought a suitable sized water cooler at a local hardware store. A quick load test showed that 5lbs collapsed the springs and shock absorbers, causing the chassis to sink close to the ground. The team had two options: switching to stronger springs or locking out the springs altogether. They decided to replace one set of shocks with metal plates effectively locking them. After that it was time for some CAD work, followed by the use of a water jet to cut some aluminum plate. They soon had a mounting plate for the water cooler to sit in. This mounting plate was attached to 4 posts which originally held the vehicle’s Lexan body. A bungee cord wrapped around the cooler and posts on the mounting plate holds the cooler in place.

Thermal image of bad MOSFET
Thermal image of bad MOSFET

Some initial testing showed that the vehicle moved too fast even in low gear and tended to tip over, as you can see in the first video below. Some practice helped but a 3:1 reduction planetary gearbox brought the vehicle down to walking speed, making a big difference. A trip was arranged to go to local strawberry picking field at Red Fire Farms, but not without some excitement first. At 1AM the UNIK 320A High Voltage Speed controller emitted some magic smoke. A quick check with a thermal-camera found the culprit, one of the MOSFETs had failed, and after swapping it with one that was close enough they were back in business.

As you can see in the second video below, testing in the strawberry field went very well, though it wasn’t without some tipping. Kids also found it a fun diversion from picking strawberries, alternating between mock fright and delight.

Continue reading “R/C Bot Takes Your Strawberries Away”

Hackaday Prize Entry: Selfie Bot Let’s You Vlog Hands Free

[Sergey Mironov] sent in his SelfieBot project. His company, Endurance Robots, sells a commercial version of the bot, which leads us to believe that in a strange and maybe brilliant move he decided to just sell the prototype stage of the product development as a kit. Since he also gave away the firmware, STLs, BOM, and made a guide so anyone can build it, we’re not complaining.

The bot is simple enough. Nicely housed hobby servos in a 3D printed case take care of the pan and tilt of the camera. The base of the bot encloses the electronics, which are an Arduino nano, a Bluetooth module, and the support electronics for power and motor driving.

To perform the face tracking, the build assumes you have a second phone. This is silly, but isn’t so unreasonable. Most people who’ve had a smart phone for a few years have a spare one living in a drawer as back-up. One phone runs the face tracking software and points the bot, via Bluetooth, towards the user. The other phone records the video.

The bot is pretty jumpy in the example video, but this can be taken care of with better motors. For a proof-of-concept, it works. A video of it in action after the break.

Continue reading “Hackaday Prize Entry: Selfie Bot Let’s You Vlog Hands Free”

Tissue-Engineered Soft Robot Swims Like A Stingray

We’re about to enter a new age in robotics. Forget the servos, the microcontrollers, the H-bridges and the steppers. Start thinking in terms of optogenetically engineered myocytes, microfabricated gold endoskeletons, and hydrodynamically optimized elastomeric skins, because all of these have now come together in a tissue-engineered swimming robotic stingray that pushes the boundary between machine and life.

In a paper in Science, [Kevin Kit Parker] and his team at the fantastically named Wyss Institute for Biologically Inspired Engineering describe the achievement. It turns out that the batoid fishes like skates and rays have a pretty good handle on how to propel themselves in water with minimal musculoskeletal and neurological requirements, and so they’re great model organisms for a tissue engineered robot.

The body is a laminate of silicone rubber and a collection of 200,000 rat heart muscle cells. The cardiomyocytes provide the contractile force, and the pattern in which they are applied to the 1/2″ (1.25cm) body allows for the familiar undulating motion of a stingray’s wings. A gold endoskeleton with enough stiffness to act as a spring is used to counter the contraction of the muscle fibers and reset the system for another wave. Very clever stuff, but perhaps the coolest bit is that the muscle cells are genetically engineered to be photosensitive, making the robofish controllable with pulses of light. Check out the video below to see the robot swimming through an obstacle course.

This is obviously far from a finished product, but the possibilities are limitless with this level of engineering, especially with a system that draws energy from its environment like this one does. Just think about what could be accomplished if a microcontroller could be included in that gold skeleton.

Continue reading “Tissue-Engineered Soft Robot Swims Like A Stingray”