Posts with «bluetooth» label

Game Controller Cuts the Rug

There’s an iconic scene from the movie Big where [Tom Hanks] and [Robert Loggia] play an enormous piano by dancing around on the floor-mounted keys. That was the first thing we thought of when we saw [jegatheesan.soundarapandian’s] PC joystick rug. His drum playing (see the video below) wasn’t as melodious as [Hanks] and [Loggia] but then again they probably had a musical director.

At the heart of the project is, of course, an Arduino. An HC-05 provides a Bluetooth connection back to the PC. We thought perhaps an Arduino with USB input capability like the Leonardo might be in use, but instead, [jegatheesan] has a custom Visual Basic program on the PC that uses SendKeys to do the dirty work.

The switches are more interesting made with old CDs, foil, and sponges. The sponge holds the CDs apart until you step on them and the foil makes the CDs conductive. He uses a lot of Fevicol in the project–as far as we can tell, that’s just an Indian brand of PVA glue, so Elmer’s or any other white glue should do just as well.

The glue also handles the fabric parts. When a project says “no sewing” we realize how some people feel about soldering. The CD/foil/sponge switches might be useful in other contexts. We’d be interested in how the sponges wear with prolonged use.

We’ve seen other giant controllers before. Of course, if you really want a big controller, you can’t beat a Nissan (the link is dead, but the video will give ou the idea).

Filed under: Arduino Hacks

Upgrade your USB keyboard to Bluetooth with this Arduino device

If you have an old keyboard lying around and wish it were wireless, Maker DastardlyLabs has a solution.

The “HID Relay” is a small adapter that uses an Arduino Pro Mini, a Bluetooth module, a USB host shield, and a few other components to upgrade any USB keyboard to Bluetooth. DastardlyLabs has made three videos to explain the entire “Bluetooth-ification” process–which can be found below.

So far, the method has worked with all of the keyboards that DastardlyLabs has tested it on, as well as most mice (except for one “gamingish” USB mouse). The Arduino source code and build notes are available on GitHub. The HID Relay was inspired by a recent Arduino hack by Evan Kale. 

Hand Waving Unlocks Door

Who doesn’t like the user interface in the movie Minority Report where [Tom Cruise] manipulates a giant computer screen by just waving his hands in front of it? [AdhamN] wanted to unlock his door with hand gestures. While it isn’t as seamless as [Tom’s] Hollywood interface, it manages to do the job. You just have to hold on to your smartphone while you gesture.

The project uses an Arduino and a servo motor to move a bolt back and forth. The gesture part requires a 1sheeld board. This is a board that interfaces to a phone and allows you to use its capabilities (in this case, the accelerometer) from your Arduino program.

The rest should be obvious. The 1sheeld reads the accelerometer data and when it sees the right gesture, it operates the servo. It would be interesting to do this with a smart watch, which would perhaps look a little less obvious.

We covered the 1sheeld board awhile back. Of course, you could also use NFC or some other sensor technology to trigger the mechanism. You can find a video that describes the 1sheeld below.

Filed under: Arduino Hacks

Convert Any USB Keyboard to Bluetooth

[DastardlyLabs] saw a video about converting a PS/2 keyboard to Bluetooth and realized he didn’t have any PS/2 keyboards anymore. So he pulled the same trick with a USB keyboard. Along the way, he made three videos explaining how it all works.

The project uses a stock DuinoFun USB mini host shield with a modification to allow it to work on 5V. An Arduino mini pro provides the brains. A FT-232 USB to serial board is used to program the Arduino. A standard Bluetooth module has to have HID firmware installed. [Dastardly] makes a homemade daughterboard–er, shield–to connect it to the Arduino.

The result is a nice little sandwich with a USB plug, a Bluetooth antenna, and some pins for reprogramming if necessary. Resist the urge to solder the Bluetooth board in–since it talks on the same port as the Arduino uses for programming, you’ll have to remove it before uploading new code.

If you need help reprogramming the HC-05 Bluetooth module, we’ve covered that before. This project drew inspiration from [Evan’s] similar project for PS/2 keyboards.

Filed under: Arduino Hacks
Hack a Day 04 Sep 18:01

How to Develop a Sellable Bluetooth Low-Energy (BLE) Product

Bluetooth Low-Energy (BLE) is a great bluetooth solution for your electronics product even if energy use isn't a factor.

Read more on MAKE

The post How to Develop a Sellable Bluetooth Low-Energy (BLE) Product appeared first on Make: DIY Projects and Ideas for Makers.

Bluetooth and Arduino Vaporizer Upends Stoner Stereotypes

Back in the day, stoners were content to sit around, toke on a joint, mellow out, and listen to the Grateful Dead or something. Nowadays, they practically need a degree in electrical engineering just to get high. [Beiherhund] sent us his VapeBox build. Like so many projects on Hackaday, we’re not going to make one ourselves, but we appreciate a well-done project.

First off, there’s a home-built induction heater. A 30A current sensor and switch-mode power supply regulate the amount of juice going to the coil that surrounds the heating chamber. [Beiherhund] discovered that brass doesn’t have enough internal resistance to heat up in an induction heater, so he built a stainless steel insert into the chamber. Optimal temperature is monitored from outside the chamber by a MLX90614 IR thermometer.

Fans, controlled by PWM, keep the box cool. Lights, an LCD, an HC-05 Bluetooth unit, and everything else are all tied to the obligatory Arduino that serves as the brains. A cell-phone application lets [Beiherhund] control all the functions remotely. (We’re guessing, just because he could.) It’s wrapped up in a nice acrylic case. The video, embedded below, starts with real details at 4:28.

Before you loyal Hackaday commenteers get on your high horses (tee-hee!) bear in mind that smoking dope is legal in a number of states in the USA, and that Hackaday has an international readership. We don’t encourage drug abuse or soldering in shorts and flip-flops.

Filed under: misc hacks

Building a water collection vessel with an Arduino Mega

As part of an electrical and electronic engineering course at Singapore Polytechnic, a group of students were challenged to build an aquatic vehicle that could collect samples from one and two meters underwater. After three months of hard work, the Imp Bot was brought to life!

Imp Bot is controlled by a mobile application made using the MIT App Inventor. Communication is achieved via a Bluetooth module hooked up to an Arduino Mega, while an onboard GPS sensor is used to log sampling locations in the app. Power is provided by a LiPo battery, which supplies high current to the two DC motors responsible for moving the 11-pound vessel around.

The sampler is actually a simplified Van Dorn Water Sampler, an ingenious method of water collection based upon elasticity and a quick-release mechanism. The main body of the vessel was initially made using laser-cut acrylic pieces assembled with PVC pipes, but the structure was too weak so they decided to use aluminium L-brackets instead.

Want to learn more? Check out the team’s video below, as well as read the story on one of the student’s blogs here. The code is also available on GitHub.

Hackaday Prize Entry: Dtto Modular Robot

A robot to explore the unknown and automate tomorrow’s tasks and the ones after them needs to be extremely versatile. Ideally, it was capable of being any size, any shape, and any functionality, shapeless like water, flexible and smart. For his Hackaday Prize entry, [Alberto] is building such a modular, self-reconfiguring robot: Dtto.

To achieve the highest possible reconfigurability, [Alberto’s] robot is designed to be the building block of a larger, mechanical organism. Inspired by the similar MTRAN III, individual robots feature two actuated hinges that give them flexibility and the ability to move on their own. A coupling mechanism on both ends of the robot allows the little crawlers to self-assemble in various configurations and carry out complex tasks together. They can chain together to form a snake, turn into a wheel and even become four (or more) legged walkers. With six coupling faces on each robot, that allow for connections in four orientations, virtually any topology is possible.

Each robot contains two strong servos for the hinges and three smaller ones for the coupling mechanism. Alignment magnets help the robots to index against each other before a latch locks them in place. The clever mechanism doubles as an ejector, so connections can be undone against the force of the alignment magnets. Most of the electronics, including an Arduino Nano, a Bluetooth and a NRF24L01+ module, are densely mounted inside one end of the robot, while the other end can be used to add additional features, such as a camera module, an accelerometer and more. The following video shows four Dtto robots in a snake configuration crawling through a tube.

The HackadayPrize2016 is Sponsored by:

Filed under: robots hacks, The Hackaday Prize

A Robot In A Day

While building a robot (nearly) from scratch isn’t easy, it needn’t be a lengthy process.  Is it possible to build a bot in a single day? With some musical motivation (a 10 hour loop of the A-Team theme song), [Tyler Bletsch] answers with a resounding ‘yes’ in the shape of his little yellow robot that he built for a local robotics competition.

Designing and fabricating on the fly, [Bletsch] used Sketchup to design the chassis, and OpenSCAD to model the wheels while the former was being 3D printed. Anticipating some structural weakness, he designed another version that could bolt to wood if the original failed, but the addition of some metal support rods provided enough stability. Mouse pad material gave the wheels ample traction. An Arduino with the L298 control module receives input via an HC-06 Bluetooth board. Eight AA batteries provide 12V of power to two Nextrox mini 12V motors with an integrated voltmeter to measure battery life.

Lacking a proper drive belt provided a bit of a challenge, so [Bletsch] — in an ingenious expression of resourcefulness — cobbled together an effective solution with some superglue and 3D printing filament packaging; the heat pressed parts proved to be strong and flexible. Waste not maker skills in action!

Arduino code was borrowed from a TerrorBytes student — the organization hosting the competition — and adapted by [Bletsch]. A python script combined with a joystick emulator he made in Google App inventor and some control equations from WPILiB allowed him to control his new robot from his phone.

Whether they are expressing your maker skills, assisting with your luggage or with your board meetings, robots can be a valuable inclusion in everyday life — or just a fun way to spend one day of it.

Filed under: robots hacks

Dtto is a self-reconfigurable modular robot

An entry in this year’s Hackaday Prize, Dtto is a snake-like robot designed to be modular and self-reconfigurable.

Inspired by Bruce Lee’s famous water quote, Dtto can transform into various shapes by changing the position and connection of its 3D-printed modules. As Hackaday points out, each section of Dtto is a double-hinged joint. When two come together, magnets help them align. A servo-controlled latch solidly docks the sections, which then work in unison. Impressively, it can connect and separate segments autonomously – without any human intervention. Creator Alberto believes the versatility of the bot will enable it to perform rescue missions, explore unknown environments, and operate in space.

The open-source robot consists of an Arduino Nano, a Bluetooth HC-06 module, an NRF2401+ radio transceiver, two SG92R Tower Pro servos for main movement, three Tower Pro SG90 micro servos for coupling, and a WS2812 RGB LED. For its latest iteration, the Maker has made a few design improvements to allot for 25% more internal space, a data bus connecting the two blocks and Tower Pro MG92B motors. Future modules will even include a built-in camera, an ultrasonic sensor, a gyroscope, an accelerometer, and a magnetometer, to name just a few. Until then, you can follow along on its project page and check out a few of its videos below.