Posts with «arduino» label

A Digital Magic 8-Ball? Signs Point to Yes

[FacelessTech] was recently charmed by one of our prized possessions as a kid — the Magic 8-Ball — and decided to have a go at making a digital version. Though there is no icosahedron or mysterious fluid inside, the end result is still without a doubt quite cool, especially for a project made on a whim with parts on hand.

It’s not just an 8-ball, it also functions as a 6-sided die and a direct decider of yes/no questions. Underneath that Nokia 5110 screen there’s an Arduino Pro Mini and a 3-axis gyro. Almost everything is done through the gyro, including setting the screen contrast when the eight ball is first powered on. As much we as love that aspect, we really like that [FacelessTech] included a GX-12 connector for easy FTDI programming. It’s a tidy, completely open-source build, and there’s even a PCB. What’s not to like? Be sure to check out the video after the break to see it in action.

Believe it or not, this isn’t the smallest Magic 8-Ball build we’ve seen. Have you met the business card version?

[via adafruit]

Reel in the Years with a Cassette Player Synth

Variable-speed playback cassette players were already the cool kids on the block. How else are you going to have any fun with magnetic tape without ripping out the tape head and running it manually over those silky brown strips? Sure, you can change the playback speed on most players as long as you can get to the trim pot. But true variable-speed players make better synths, because it’s so much easier to change the speed. You can make music from anything you can record on tape, including monotony.

[schollz] made a tape synth with not much more than a variable-speed playback cassette player, an Arduino, a DAC, and a couple of wires to hook it all up. Here’s how it works: [schollz] records a long, single note on a tape, then uses that recording to play different notes by altering the playback speed with voltages from a MIDI synth.

To go from synth to synth, [schollz] stood up a server that translates MIDI voltages to serial and sends them to the Arduino. Then the DAC converts them to analog signals for the tape player. All the code is available on the project site, and [schollz] will even show you where to add Vin and and a line in to the tape player. Check out the demo after the break.

There’s more than one way to hack a cassette player. You can also force them to play full-motion, color video.

Via adafruit

Want to learn Arduino ?
Visit my discord server:
https://discord.gg/FxnBnZx
ScottC 01 Oct 14:36
arduino  discord  

Electric Window Mechanism Into A Electric Screen Door

In many parts of the world leaving open a door or window is a good way to get a house full of bugs. Remembering to close doors behind them can be surprisingly hard for members of the human race, so the [DuctTape Mechanic] used the components from a car’s electric window to automate his sliding screen door.

After the excess pieces were cut of the rail, the motor and rail were mounted on top of the door frame. A long bolt is attached to the moving plate on the rail, which pushes on the pack of the door to close it. After closing, the mechanism returns to its open position, allowing the door to be opened by hand. The motor is controlled by an Arduino running a very simple sketch, which senses if the door is closed with a microswitch and starts a 10 second countdown once opened. Two relays are used to create an H-bridge circuit to drive the motor in both directions.

It doesn’t look like there is any provision to detect if it is obstructed. A simple solution could be to make the push rod spring-loaded, so it can slide over the door if there is excessive resistance. This project is successful as a proof of concept, but making the wiring neater and covering everything would be a welcome upgrade.

If you only want to let certain creatures into your house, we have no shortage of automated pet door for your hacking pleasure.

Voice Controlled Sofa Meets Your Every Beverage Need

It’s often taken for grated, but the modern world is full of luxuries. Home automation, grocery delivery, and even access to the Internet are great tools to have at hand, but are trivial to most of us. If these modern wonders are not enough for you, and the lap of luxury is still missing a certain je ne sais quoi, allow us to introduce you to the ultimate convenience: a voice controlled, beer-dispensing sofa with a built-in refrigeration system.

This is a project from [Garage Avenger] and went through a number of iterations before reaching this level of polish. Metal work on the first version didn’t fit together as expected, and there were many attempts at actual refrigeration before settling on repurposing an actual refrigerator. With those things out of the way, he was able to get to the meat of a project. The couch-refrigerator holds 12 beers, and they are on a conveyor belt which automatically places the next beer onto the automated drawer. When commanded (by voice, app, or remote) the sofa opens the drawer so the occupant can grab one easily without having to move more than an arm. Everything, including the voice recognition module, is controlled by an Arduino, as is tradition.

The attention to detail is excellent as well. The remote control contains a built-in bottle opener, for one, there are backlights and a glass cover for the refrigerator, and the drawer is retracted automatically when it senses the beer has been obtained. We couldn’t ask for much more from our own couches, except maybe that they take us where we want to go. But maybe it’s best to keep these two couch use cases separate for now.

Lego Ziplining Robot Climbs for Claps

The internet has given us plenty of cool robotics projects, but we don’t think we’ve seen one zipline before. At least not until now.

This cool little ziplining robot is courtesy of the folks over at [Tart Robotics]. As they described it, the robot moves using a 4-bar linkage mechanism with the motor’s torque “transferred to the arm mechanisms through a pair of bevel gears and a worm drive.” Even cooler, the robot is activated by clapping. The faster you clap, the faster the robot moves. That’s sure to wow your friends at your next virtual hacker meetup.

They had to do a bit of custom 3D printing work to get a few of the Lego components to connect with their non-Lego off-the-shelf bits, so that took a bit of time. Specifically, they had some cheap, non-branded DC motors that they used that did not naturally mate with the Lego Technic components used to create the rest of the robot’s body. Nothing a few custom 3D printing jobs couldn’t solve.

It always amazes us what cool contraptions you can put together with a few Lego blocks. What’s your favorite Lego project?

Parking Assistant Helps Back Up the Car Without Going Too Far

Sure, [Ty Palowski] could have just hung a tennis ball from the ceiling, but that would mean getting on a ladder, testing the studfinder on himself before locating a ceiling joist, and so on. Bo-ring. Now that he finally has a garage, he’s not going to fill it with junk, no! He’s going to park a big ol’ Jeep in it. Backwards.

The previous owner was kind enough to leave a workbench in the rear of the garage, which [Ty] has already made his own. To make sure that he never hits the workbench while backing into the garage, [Ty] made an adorable stoplight to help gauge the distance to it. Green mean’s he’s good, yellow means he should be braking, and red of course means stop in the name of power tools.

Inside the light is an Arduino Nano, which reads from the ultrasonic sensor mounted underneath the enclosure and lights up the appropriate LED depending on the car’s distance. All [Ty] has to do is set the distance that makes the red light come on, which he can do with the rotary encoder on the side and confirm on the OLED. The distance for yellow and green are automatically set from red — the yellow range begins 24″ past red, and green is another 48″ past yellow. Floor it past the break to watch the build video.

The humble North American traffic signal is widely recognized, so it’s a good approach for all kinds of applications. Teach your children well: start them young with a visual indicator of when it’s okay to get out of bed in the morning.

DIY Ergonomic Game Pad Lends a Hand

Does it seem like everyone you game against can do everything faster than you? Chances are good that they have some kind of dedicated game pad or macro pad with a bunch of custom shortcuts. If you can’t beat ’em, join ’em, but why buy one when you can build your own? [lordofthedum] did the smart thing when they built their own version of the Azeron game pad, which is an outrageously expensive but ergonomic and cool-looking macro pad that reminds us of the DataHand ergonomic keyboard.

Each finger hovers over a C-shaped group of three switches — one actuates by moving the finger forward, another by moving backward, and the third by pushing down like a regular button. The thumb gets a 4-way joystick. All of these inputs are wired up to an Arduino Pro Micro, which has sort of become the standard for DIY macro pads and keyboards. We think this looks fantastic, and really raises the bar for DIY macro pads.

Need a few more keys, but still want a thumb joystick? Check out the smooth and sweet Sherbet game pad.

Custom Strain Gauges Help Keep Paraglider Aloft

No matter what they’re flying, good pilots have a “feel” for their aircraft. They know instantly when something is wrong, whether by hearing a strange sound or a feeling a telltale vibration. Developing this sixth sense is sometimes critical to the goal of keeping the number of takeoff equal to the number of landings.

The same thing goes for non-traditional aircraft, like paragliders, where the penalty for failure is just as high. Staying out of trouble aloft is the idea behind this paraglider line tension monitor designed by pilot [Andre Bandarra]. Paragliders, along with their powered cousins paramotors, look somewhat like parachutes but are actually best described as an inflatable wing. The wing maintains its shape by being pressurized by air coming through openings in the leading edge. If the pilot doesn’t maintain the correct angle of attack, the wing can depressurize and collapse, with sometimes dire results.

Luckily, most pilots eventually develop a feel for collapse, sensed through changes in the tension of the lines connecting the wing to his or her harness. [Andre]’s “Tensy” — with the obligatory “McTenseface” surname — that’s featured in the video below uses an array of strain gauges to watch to the telltale release of tension in the lines for the leading edge of the wing, sounding an audible alarm. As a bonus, Tensy captures line tension data from across the wing, which can be used to monitor the performance of both the aircraft and the pilot.

There are a lot of great design elements here, but for our money, we found the lightweight homebrew strain gauges to be the real gem of this design. This isn’t the first time [Andre] has flown onto these pages, either — his giant RC paraglider was a big hit back in January.

Thanks to [mip] for the tip.

Finally, a Differently Useless Machine

Traditionally, the useless machine is a simple one that invites passersby to switch it on. When they do, the machine somehow, some way, turns itself off; usually with a finger or finger-like object that comes out from the box in what feels like an annoyed fashion. Honestly, that’s probably part of what drives people to turn them on over and over again.

But [Bart Blankendaal] has managed to turn the useless machine on its head. When this machine is switched to the on position, unseen forces inside the box will spin the toggle switch around 180° to the off position.

What’s really happening is that an Arduino is getting a signal from the toggle switch, and is then rotating it on a ball bearing with a stepper motor driven through an H-bridge.

It shouldn’t be too hard to make one of these yourself, given that [Bart] has provided the schematic and STLs. If we weren’t living in such touchy times, we might suggest building one of these into your Halloween candy distribution scheme somehow. Sell the switch as one that turns on a candy dispenser, and then actually dispense it after three or five tries.

Many see useless machines as tangible examples of existential quandary. Here is one that takes that sentiment a bit further by snuffing out a candle.