Posts | Comments

Planet Arduino

Archive for the ‘bluetooth’ Category

All the cool projects now can connect to a computer or phone for control, right? But it is a pain to create an app to run on different platforms to talk to your project. [Kevin Darrah] says no and shows how you can use Google Chrome to do the dirty work. He takes a garden-variety Arduino and a cheap Bluetooth interface board and then controls it from Chrome. You can see the video below.

The HM-10 board is cheap and could connect to nearly anything. The control application uses Processing, which is the software the Arduino system derives from. So how do you get to Chrome from Processing? Easy. The p5.js library allows Processing to work from within Chrome. There’s also a Bluetooth BLE library for P5.

Once you know about those libraries, you can probably figure the rest out. But [Kevin] shows a nice example that you could easily replicate. The Arduino and Bluetooth code aren’t very hard to follow.  The Processing program looks a lot like an Arduino program with a setup and loop function, but it also has canvases, buttons, and other things you don’t usually have in an Arduino.

It is surprisingly easy to create a Chrome app that talks to the hardware. Our usual go to for phone apps is Blynk. We even used it as a joystick for a robot.

Considering their hardware specification, graphing calculators surely feel like an anachronism in 2019. There are plenty of apps and other software available for that nowadays, and despite all preaching by our teachers, we actually do carry calculators with us every day. On the other hand, never underestimate the power of muscle memory when using physical knobs and buttons instead of touch screen or mouse input. [epostkastl] combined the best of both worlds and turned his broken HP-48 into a Bluetooth LE keyboard to get the real feel with its emulated counterpart.

Initially implemented as USB device, [epostkastl] opted for a wireless version this time, and connected an nRF52 based Adafruit Feather board to the HP-48’s conveniently exposed button matrix pins. For the software emulation side, he uses the Emu48, an open source HP calculator emulator for Windows and Android. The great thing about Emu84 is that it supports fully customizable mappings of regular keyboard events to the emulated buttons, so you can easily map, say, the cosine button to the [C] key. The rest is straight forward: scanning the button matrix detects button presses, maps them to a key event, and sends it as a BLE HID event to the receiving side running Emu84.

As this turns [epostkastl]’s HP-48 essentially into a regular wireless keyboard in a compact package — albeit with a layout that outshines every QWERTY vs Dvorak debate. It can of course also find alternative use cases, for examples as media center remote control, or a shortcut keyboard. After all, we’ve seen the latter one built as stomp boxes and from finger training devices before, so why not a calculator?

Part of the joy of owning a dog is feeding it. How often do you get to make another living being that happy? However, sometimes you can’t be there when your best friend is hungry. [El Taller De TD] built an auto dog feeder using an Arduino and stepper motor. The video and links are in Spanish, but if your Spanish is rusty, YouTube’s caption autotranslation isn’t bad and Google Translate can help you with the web site.

The electronics are reasonably simple: an Arduino, a Bluetooth module, and a stepper motor driver. Mechanically, the motor and some PVC pipe are all you need. There’s a small phone application to drive the Bluetooth using App Inventor.

This would be a pretty straightforward first project and — of course — could be useful for any kind of animal. For dog use, we might have hardened the external wires and circuit boards a bit though. In addition there are plenty of things you could do in software, for example you could feed every 8 hours. It seems like you could add a sensor to tell when you are out of food, or perhaps if the food was not feeding for some reason.

We’ve looked at using App Inventor with Bluetooth before and it is pretty easy. We might have been tempted to go with Blynk to have more options for communication, but either way is pretty easy.

If you have a small logistics problem, we have the solution for you. [Leon] built a tiny little forklift with LED lighting, working forks, and remote control using a combination of 3D printing tech, some CNC work, and fine soldering skills.

The electronics for this build are based around a few servos and a pair of geared DC motors and are driven via an Arduino Mega. Connectivity and remote controllability are what you would expect from an Arduinified project. There’s an HC-05 Bluetooth module on the board and remote control is handled by a custom Android app.

Of note in this project are the forks that actually work, almost like a real forklift. This allows the mini Arduino forklift to pick up mini pallets, drop them somewhere, and have mini DIY enthusiasts come up to build mini-furniture for mini-Etsy, which will be prominently featured in the mini foyer of a mini two-story walkup. No, it’s not mini-gentrification; this mini forklift is helping the mini local economy.

You can check out the entire build video below, filmed in the usual maker demo method of speeding up the entire build process but somehow keeping the no-talking audio. We have a lot to thank [Jimmy DiResta] for, and it’s not just cinematography. All the files for this forklift are up on the Github should you want to build your own.

Model trains have been a staple of DIY hobbiysts for generations, and while wireless control options can be purchased, KushagraK7’s hack lets you use your phone instead.

The setup consists of an Arduino Uno, along with a motor driver shield to vary the trains’s peed and direction, as well as flip turnouts to allow for different sections of track to be used.

The system employs a novel interface system, where an off-the-shelf Bluetooth receiver passes DTMF (telephone dial tones) to a decoder board, which then sends this decoded data on to the Arduino. While some might opt for an HC-05 Bluetooth module or similar, this enables control with a standard tone generator app, and the phone could even be physically connected via a stereo cable if convenient.

We’re beginning to think the “S” in [Jeremy S Cook] stands for strandbeest. He’ll be the talk of the 4th of July picnic once he brings out his latest build—a weaponized, remote-controlled strandbeest that shoots bottle rockets. There are a bank of money shots up on Imgur.

This ‘beest is the natural next step after his remote-controlled walker, which we featured a month or so ago. Like that one, the locomotion comes from a pair of micro gear motors that are controlled by an Arduino Nano over Bluetooth. The pyrotechnics begin when nitinol wire cleverly strung across two lever nuts is triggered. All the electronics are housed inside a 3D-printed box that [Jeremy] designed to sit in the middle of the legs. We love the face plate he added later in the build, because those gumdrop LED eyes are sweet.

Can you believe that this vehicle of destruction began as a pile of innocent, pasta-colored pieces of kit? We dig the camouflaged battleship paint job, ’cause it really toughens up the whole aesthetic. And really, that’s probably what you want if you’re driving around a spindly beast that can just shoot rockets whenever. Let’s light this candle after the break, shall we?

We’re beginning to think the “S” in [Jeremy S Cook] stands for strandbeest. He’ll be the talk of the 4th of July picnic once he brings out his latest build—a weaponized, remote-controlled strandbeest that shoots bottle rockets. There are a bank of money shots up on Imgur.

This ‘beest is the natural next step after his remote-controlled walker, which we featured a month or so ago. Like that one, the locomotion comes from a pair of micro gear motors that are controlled by an Arduino Nano over Bluetooth. The pyrotechnics begin when nitinol wire cleverly strung across two lever nuts is triggered. All the electronics are housed inside a 3D-printed box that [Jeremy] designed to sit in the middle of the legs. We love the face plate he added later in the build, because those gumdrop LED eyes are sweet.

Can you believe that this vehicle of destruction began as a pile of innocent, pasta-colored pieces of kit? We dig the camouflaged battleship paint job, ’cause it really toughens up the whole aesthetic. And really, that’s probably what you want if you’re driving around a spindly beast that can just shoot rockets whenever. Let’s light this candle after the break, shall we?

Surely our readers are well aware of all the downsides of owning an airplane. Certainly the cost of fuel is a big one. Birds are a problem, probably. That bill from the traveling propeller sharpener is a killer too…right? Alright fine, we admit it, nobody here at Hackaday owns an airplane. But probably neither do most of you; so don’t look so smug, pal.

But if you did own a plane, or at least work at a small airport, you’d know that moving the things around on the ground is kind of a hassle. Smaller planes can be pulled by hand, but once they get up to a certain size you’ll want some kind of vehicle to help out. [Anthony DiPilato] wanted a way to move around a roughly 5,200 pound Cessna 310, and decided that all the commercial options were too expensive. So he built his own Arduino powered tank to muscle the airplane around the tarmac, and his journey from idea to finished product is absolutely fascinating to see.

So the idea here is pretty simple. A little metal cart equipped with two beefy motors, an Arduino Mega, a pair of motor controllers, and a HC-08 Bluetooth module so you can control it from your phone. How hard could it be, right? Well, it turns out combining all those raw components into a little machine that’s strong enough to tow a full-scale aircraft takes some trial and error.

It took [Anthony] five iterations before he fine tuned the design to the point it was able to successfully drag the Cessna without crippling under the pressure. The early versions featured wheels, but eventually it was decided that a tracked vehicle would be required to get enough grip on the blacktop. Luckily for us, each failed design is shown along with a brief explanation about what went wrong. Admittedly it’s unlikely any of us will be recreating this particular project, but we always love to see when somebody goes through the trouble of explaining what went wrong. When you include that kind of information, somewhere, somehow, you’re saving another maker a bit of time and aggravation.

Hackers absolutely love machines with tank treads. From massive 3D printed designs to vaguely disturbing humanoid robots, there’s perhaps no sweeter form of locomotion in the hacker arsenal.

Telemetric devices for vehicles, better known as black boxes, cracked the consumer scene 25 years ago with the premiere of OnStar. These days, you can get one for free from your insurance company if you want to try your luck at the discounts for safe driving game. But what if you wanted a black box just to mess around with that doesn’t share your driving data with the world? Just make one.

[TheForeignMan]’s DIY telematics box was designed to pull reports of the car’s RPM, speed, and throttle depression angle through the ODBII port. An ODBII-to-Bluetooth module sends the data to an Arduino Mega and logs it on an SD card along with latitude and longitude from a NEO-6M GPS module. Everything is powered by the car’s battery through a cigarette lighter-USB adapter.

He’s got everything tightly wrapped up inside a 3D printed box, which makes it pretty hard to retrieve the SD card. In the future, he’d like to send the data to a server instead to avoid accidentally dislodging a jumper wire.

If this one isn’t DIY enough for you to emulate, start by building your own CAN bus reader.

Tank projects are great because while every tank design is the same in a fundamental way, there’s nevertheless endless variety in the execution and results. [Hoo Jian Li]’s 3D Printed Tank is smartly laid out and has an unusual tank tread that shows off some slick curves.

The tank itself is remotely controlled over Bluetooth with a custom controller that uses the common HC-05 Bluetooth radio units. The treads are driven by four hobby gearmotors with custom designed wheels, and run over an idler wheel in the center of the body. There isn’t any method of taking up slack in the track and a ripple in the top surface of the track is visible as it drives, but the tank is small enough that it doesn’t seem to mind much. STL files and source code is available on GitHub; unfortunately the repository lacks a wiring diagram but between the low component count, photos, and source code that’s not a show-stopper.

Tank treads see a lot of variation, from 3D printed designs for tracks that use a piece of filament as hinges to an attempt to use a conveyor belt as a tank tread for a go-kart. Some tank projects even eschew treads altogether and go for a screw drive.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook