A robot that detects whether you are awake and gently taps you if not.

Wake-Up Robot Does It Gently

For hundreds of years, people have fallen asleep while reading in bed late at night. These days it’s worse, what with us taking phones to the face instead when we start to nod off. At least they don’t have pointy corners like books. While you may not want to share your bedroom with a robot, this wake-up robot by [Norbert Zare] may be just the thing to keep you awake.

Here’s how it works: a Raspberry Pi camera on a servo wanders around at eye level, and the Pi it’s attached to uses OpenCV to determine whether those eyes are open or starting to get heavy. The bot can also speak — it uses eSpeak to introduce itself as a bot designed not to let you sleep. Then when it catches you snoozing, it repeatedly intones ‘wake up’ in a bored British accent.

We were sure that the thing was designed to slap [Norbert] in the face a la [Simone Giertz]’s robot alarm clock, but no, that long-fingered hand just slowly swings down and gently taps [Norbert] on the arm (or whatever is in the path of the slappy hand). Check out the short demo and build video after the break.

Do you want to be awoken even more gently? Try a sunlight lamp. We’ve got dozens in stock, but this one gradually gets about as bright as the sun.

Continue reading “Wake-Up Robot Does It Gently”

Cheap Big Servo For Robot Arm

[Skyentific] is looking to push the hobbyist robotics state of the art. Motors and their gears, the actuators, are typically the most expensive part. For his build, he realised he needed big servos capable of delivering plenty of torque. Thus, he set about creating a 3D-printed design to get the job done on a budget. (Video, embedded below.)

Stepper motors are the order of the day here, chosen for their low cost compared to brushless solutions, particularly when taking control hardware into account. In this design, the stepper motor drives a sun gear as part of a bigger planetary gearbox with a high gear ratio. Cross-roller bearings are used to allow the servo to effectively handle both radial and axial loads. The servo as a whole is designed to fit neatly into the joints of the robot arm itself, and has external mounting points provisioned as such.

It’s a neat servo that somewhat apes those used on full-sized industrial designs, at least in the sense of being an integrated part of the joints of a robot arm. It also comes in at a relatively-cheap $32 based on the materials used by [Skyentific].

We’ve seen some related work from [Skyentific] before, too – like this interesting cable-driven joint. Video after the break.

Continue reading “Cheap Big Servo For Robot Arm”

Mechanical 7-segment display

A One-Servo Mechanical Seven-Segment Display

The seven-segment display may be a bit prosaic after all these years, but that doesn’t mean there aren’t ways to spice it up. Coming up with a mechanical version of the typical photon-based display is a popular project, of which we’ve seen plenty of examples over the years. But this seven-segment display is quite a mechanical treat, and a unique way to flip through the digits.

With most mechanical displays, we’re used to seeing the state of each segment changed with some kind of actuator, like a solenoid or servo. [Shinsaku Hiura] decided on a sleeker design using a 3D-printed barrel carrying one cam for each segment. Each hinged segment is attached to an arm that acts as a follower, riding on its cam and flipping on or off in a set pattern. Which digit is displayed depends on the position of the barrel, which is controlled with a single servo and a pair of gears. It trades mechanical complexity for electrical simplicity and overall elegance, and as you can see from the video below, it’s pretty snappy.

We think the best part of this build is figuring out the shape of the cams. We wonder how they compare to the cam profiles in [Greg Zumwalt]’s mechanical display; it uses two separate discs with grooves, but the principle is pretty much the same.

Continue reading “A One-Servo Mechanical Seven-Segment Display”

RC Minecraft Boat Patrols The Pool For Treasure

Looking to recreate those relaxing Minecraft fishing sessions in real life, [electrosync] recently set out to 3D print himself a blocky remote controlled boat, complete with a similarly cubic occupant to ride in it. Each element of the build, from the oars to the bobber on the end of the fishing line, has been designed to look as faithful to the source material as possible. In fact, the whole thing is so accurate to the game that it’s almost surreal to see it rowing around the pool.

That said, some of the resemblance is only skin deep. For example the rowing action, though it appears to be properly synchronized to the boat’s movement through the water, is completely for show. A standard propeller and rudder arrangement under the boat provide propulsion and directional control, and [electrosync] notes its actually powerful enough to push the boat very near to its scale top speed from the game, despite the exceptionally poor hydrodynamics of what’s essentially just a rectangle.

A look under the deck.

Speaking of which, [electrosync] even went through the trouble of printing the hull in wood-fill PLA and coating it in polyester resin to make sure it was watertight. Granted he could have just made the boat out of wood in the first place, saving himself the nearly 60 hours it took to print the hull parts, but that would have been cheating.

Beyond the servos and motors that move the boat and the oars, [electrosync] had to give his 3D printed fisherman a considerable amount of dexterity. Servos embedded into the 3D printed parts allow “Steve” to rotate at the hips and raise and lower his arm. With a fishing pole slipped into a hole printed into the hand, he’s able to cast out his magnetic bobber and see whats biting.

We’ve actually seen quite a number of projects that allow virtual objects inside Minecraft to interact with the real world, but comparatively few efforts to recreate objects from the game’s blocky universe, so the change of pace is nice.

Continue reading “RC Minecraft Boat Patrols The Pool For Treasure”

Quit Hunching Over Your Screen With A Little Robotic Help

[Norbert Zare] has identified a problem many of us suffer from – chronically bad posture. Its very common to see computer users hunched forwards over a screen, which eventually will lead to back problems. He mentions that most posture correction devices are pretty boring, so the obvious solution to [Norbert] was to build a simple robot to give you a friendly nudge into the correct position.

This simple Arduino-based build uses the ubiquitous MPU-6050 which provides 3-axis acceleration and 3-axis gyro data all processed on-chip, so it can measure where you’re going, which way you are orientated and how fast you are rotating. This is communicated via the I2C bus, so hooking into an Arduino or Raspberry Pi is a simple affair. There are plenty of Open Source libraries to work with this very common device, which helps reduce the learning curve for those unfamiliar with programming a fairly complex device.

At the moment, he is mounting the sensor on his body, and hard-wiring it, so there’s already some scope for improvement there. The operating premise is simple, if the body angle is more than 55 degrees off vertical, move the servos and shove the body back in to the correct position.

The project GitHub has the code needed, and the project page over on Hackaday.io shows the wiring diagram.

We have seen quite a few projects on this subject over the years, like this one that sends you mobile notifications, an ultrasonic rangefinder-based device, and one that even uses a webcam to keep an eye on you. This one has the silliness-factor, and we like that round these parts. Keep an eye on [Norbert] we’re sure there more good stuff to come!

Continue reading “Quit Hunching Over Your Screen With A Little Robotic Help”

Useless Machine Is A Clock

Useless machines are a fun class of devices which typically turn themselves off once they are switched on, hence their name. Even though there’s no real point, they’re fun to build and to operate nonetheless. [Burke] has followed this idea in spirit by putting an old clock he had to use with his take on a useless machine of sorts. But instead of simply powering itself off when turned on, this useless machine dislodges itself from its wall mount and falls to the ground anytime anyone looks at it.

It’s difficult to tell if this clock was originally broken when he started this project, or if many rounds of checking the time have caused the clock to damage itself, but either way this project is an instant classic. Powered by a small battery driving a Raspberry Pi, the single-board computer runs OpenCV and is programmed to recognize any face pointed in its general direction. When it does, it activates a small servo which knocks it off of its wall, rendering it unarguably useless.

[Burke] doesn’t really know why he had this idea, but it’s goofy and fun. The duct tape that holds everything together is the ultimate finishing touch as well, and we can’t really justify spending too much on fit and finish for a project that tosses itself around one’s room. On the other hand, if you’re looking for a more refined useless machine, we have seen some that have an impressive level of intricacy.

Thanks to [alchemyx] for the tip!

Continue reading “Useless Machine Is A Clock”

Smooth Servo Motion For Lifelike Animatronics

Building an animatronic robot is one thing, but animating it in a lifelike fashion is a completely different challenge. Hobby servos are cheap and popular for animatronics, but just letting it move at max speed isn’t particularly lifelike. In the video after the break, [James Bruton] demonstrates how to achieve natural motion with a simple animatronic head and a few extra lines of code.

Very little natural body movement happens at a constant speed, it’s always accelerating or decelerating. When we move our heads to look at something around us, our neck muscles accelerate our head sharply in the chosen direction and then slows down gradually as it reaches its endpoint. To do this in Arduino/C code, a new intermediate position for the servo is specified for each main loop until it reaches the final position. The intermediate value is the sum of 95% of the current position, and 5% of the target position. This gives the effect of the natural motion described above. The ratios can be changed to suit the desired speed.

The delay function is usually one of the first timing mechanisms that new Arduino programmers learn about, but it’s not suited for this application, especially when you’re controlling multiple servos simultaneously. Instead, the millis function is used to keep track of the system clock in the main loop, which fires the position update commands at the specified intervals. Adafruit wrote an excellent tutorial on this method of multitasking, which [James] based his code on. Of course, this should be old news to anyone who has been doing embedded programming for a while, but it’s an excellent introduction for newcomers.

Like most of [James]’s projects, all the code and CAD files are open source and available on GitHub. His projects make regular appearances here on Hackaday, like his mono-wheel balancing robot and mechanically multiplexed flip-dot display.

Continue reading “Smooth Servo Motion For Lifelike Animatronics”