Posts | Comments

Planet Arduino

Archive for the ‘arduino nano’ Category

How many times have you wished for a pocket-sized multimeter? How about a mini microcontroller-based testing rig? Have you ever dared to dream of a device that does both?

Multiduino turns an Arduino Nano into a Swiss Army knife of portable hacking. It can function as an analog multimeter to measure resistance, voltage drop, and continuity. It can also produce PWM signals, read from sensors, do basic calculator functions, and display the health of its rechargeable battery pack.

Stick a 10kΩ pot in the left-side header and you can play a space shooter game, or make line drawings by twisting the knob like an Etch-A-Sketch. Be sure to check out the detailed walk-through after the break, and a bonus video that shows off Multiduino’s newest functions including temperature sensing, a monophonic music player for sweet chiptunes, and a virtual keyboard for scrolling text on the OLED screen. [Danko] has a few of these for sale in his eBay store. They come assembled, and he ships worldwide. The code for every existing function is available on his site.

More of a maximalist? Then check out this Micro-ATX Arduino.

Thanks for the tip, [Rahul].

What kind of TV do you have? An older 720p model, or the now standard 1080p? Perhaps you’ve made the leap to the next generation, and are rocking a 4K display in the living room. All those are are fine and dandy if you just want to watch the local sportball contest, but where’s the challenge in that? With all the technology and modular components we have access to anymore, nowadays all the real hackers are making their own TVs.

Of course, when [Nikolai] built his very own LED TV, he did have to make a few concessions. For one thing, there’s no tuner on this model. Oh, and there’s the small issue of only having a 16×16 resolution. It might not be your idea of the perfect display, but it’s just perfect for his newborn son.

That’s right, [Nikolai] got his entry for the “Hacker Parent of the Year” award in early, and built an LED display for his son that he’s calling “BabyTV”.

Rather than the shows, trash, advertisements that they play on the kid channels, this TV only shows animated characters from retro games. We’ll concede that this project might be an elaborate Clockwork Orange style attempt at hypnotizing his son to instill an appreciation for classic gaming. But we’ll allow it.

To make his BabyTV go, [Nikolai] used a 16×16 WS2812B LED panel and an Arduino Nano. Two rotary encoders are used to allow adjusting brightness and change the character currently being shown on the screen. As a particularly clever hack, the Arduino has an IR sensor attached and is constantly watching for any signals. If an IR signal is detected, the BabyTV switches to the next image. So if Junior has a standard IR remote in his hands, any button he presses will cause the display to change to the next “channel”.

Historically speaking we haven’t seen much stuff for children here at Hackaday, but 2018 seems to be changing that. Recent projects like the incredible scratch built mini excavator and gorgeous AT-ST high chair would seem to indicate we’re currently witnessing a generation of hackers become parents. Don’t panic folks, but we might be getting old.

It wouldn’t be much of a stretch to say that here at Hackaday, we’re about as geeky as they come. Having said that, even we were surprised to hear that there are people out there who collect elements. Far be it from us to knock how anyone else wishes to fill their days, but telling somebody at a party that you collect chemical elements is like one step up from saying you’ve got a mold and fungus collection at home. Even then, at least a completed mold and fungus collection won’t be radioactive.

But if you’re going to spend your spare time working on a nerdy and potentially deadly collection, you might as well put it into an appropriate display case. You can’t just leave your Polonium sitting around on the kitchen counter. That’s the idea behind the interactive periodic table built by [Maclsk], and we’ve got to admit, if we get to put it in a case this awesome we might have to start our own collection.

A large portion of this project is building the wooden display case itself as, strangely enough, IKEA doesn’t currently stock a shelving unit that’s in the shape of the periodic table. The individual cells and edge molding are made of pine, the back panel is MDF, and the front of the display is faced off with thin strips of balsa to cover up all the joints. Holes were then drilled into the back of each cell for the LED wiring, and finally the entire frame was painted white.

Each cell contains an WS2812B RGB LED, which at maximum brightness draws 60mA. Given the 90 cells of the display case, [Maclsk] calculated a 5.4A power supply would be needed to keep everything lit up. However, he found a 4A power supply that made his budget happier, which he reasons will be fine as long as he doesn’t try to crank every cell up to maximum at the same time. Control for the display is provided by an Arduino Nano and HC05 Bluetooth module.

The final piece of the project was the Android application that allows the user to control the lighting. But it doesn’t just change colors and brightness, it’s actually a way to visualize information about the elements themselves. The user can do things like highlight certain groups of elements (say, only the radioactive ones), or light up individual cells in order of the year each element was discovered. Some of the information visualizations are demonstrated in the video below, and honestly, we’ve seen museum displays that weren’t this well done.

We last caught up with [Maclsk] when he created a very slick robotic wire cutting machine, which we can only assume was put to work for this particular project. Too bad he didn’t have a robot to handle the nearly 540 soldering joints it took to wire up all these LEDs.

[via /r/DIY]

Blow guns can be very helpful around your workshop, but sometimes you want a subtle shot of air instead of a full blast. There are several ways to take this on, but YouTuber “MBcreates” decided on a novel method using an Arduino Nano for control.

In his setup, a stepper is used to turn a screw as a linear actuator, pushing an intermediate blow gun’s trigger at progressively more aggressive intervals. This effectively regulates the air flow going into the handheld blow gun, allowing for a more subtle burst of air when needed.

Simple is often better. So I grabbed an old blow gun and used this a valve. The Arduino Digital Air Pressure Regulator uses a NEMA 17 stepper motor to press the lever of the blow gun. A micro end switch was placed against the lever. When the Arduino Nano goes through the setup, the stepper hits the end switch, now the program knows the exact position of the stepper.

The video seen here features some very clever build techniques, and it really turned out spectacular, especially considering it was MBcreates’ first Arduino project!

YouTuber “austiwawa,” apparently not satisfied with other methods of causing mayhem in his garage and backyard, has come up with an innovative disc shooter.

His homemade device uses a brushless motor controlled by an Arduino Nano and an ESC to pull a vacuum belt at high speeds. A clear plastic tube on top holds a stack of about 27 3D-printed discs. At the press of a button, they are then fed one by one onto the belt surface by another motor, which accelerates the disc to ejection velocity and out the “muzzle.” There’s also a potentiometer that allows him to adjust the fire rate.

Although it appears to work quite well, destroying items like an apple and eggs, austiwawa notes that this is only a prototype, and plans to make a fully 3D-printed version in the future. At that point, he’ll release the Arduino code and STL files, making it easy for others to duplicate!

Until then, check it out in action below!

CPAP (Continuous Positive Airway Pressure) machines can be life-changing for people with sleep apnea. [Scott Clandinin] benefits from his CPAP machine and devised a way to improve his quality of life even further with a non-destructive modification to monitor his machine’s humidifier.

With a CPAP machine, all air the wearer breathes is air that has gone through the machine. [Scott]’s CPAP machine has a small water reservoir which is heated to humidify the air before it goes to the wearer. However, depending on conditions the water reservoir may run dry during use, leading to the user waking up dried out and uncomfortable.

To solve this in a non-invasive way that required no modifications to the machine itself, [Scott] created a two-part device. The first part is a platform upon which the CPAP machine rests. A load cell interfaced to an HX711 Load Cell Amplifier allows an Arduino Nano to measure the mass of the CPAP machine plus the integrated water reservoir. By taking regular measurements, the Arduino can detect when the reservoir is about to run dry and sound an alarm. Getting one’s sleep interrupted by an alarm isn’t a pleasant way to wake up, but it’s much more pleasant than waking up dried out and uncomfortable from breathing hot, dry air for a while.

The second part of the device is a simple button interfaced to a hanger for the mask itself. While the mask is hung up, the system is idle. When the mask is removed from the hook, the system takes measurements and goes to work. This makes activation hassle-free, not to mention also avoids spurious alarms while the user removes and fills the water reservoir.

Non-invasive modifications to medical or other health-related devices is common, and a perfect example of nondestructive interfacing is the Eyedriveomatic which won the 2015 Hackaday Prize. Also, the HX711 Load Cell Amplifier has an Arduino library that was used in this bathroom scale refurb project.

Filed under: Arduino Hacks, Medical hacks, The Hackaday Prize

When you, perhaps after being late for an important event one too many times, decide to build a wall clock, there are many DIY options from which to choose. But none may be as massive or unique as the aptly named “Titan Clock.”

To justify this particular design, hacker “ProtheanSoft” lists several of its advantages, such as its large size, energy efficiency (runs on a smartphone charger), thinness (only 18mm thick with casing), and of course, affordability.

The Titan Clock—which can be assembled for less than $50—consists of RGB LEDs, inexpensive craft materials like foamcore board, acrylic and aluminum sheets, as well as recycled components including the diffuser from a broken LCD monitor or TV to generate a uniform glow for each segment. 

The project uses an Arduino Nano for control, along with with a DS3231 RTC module for accurate timekeeping. In this version, the Arduino is programmed to display the time and change color every hour based on a predetermined table.

Interested in creating your own? You can find more details on the build here, as well its code and a wiring diagram on GitHub.

If you’ve ever wished you could levitate tiny drops of liquid, small solids, or insects in mid-air, new research has you covered. That’s because Asier Marzo, Adrian Barnes, and Bruce W. Drinkwater have developed a 3D-printed, Arduino Nano-controlled acoustic levitator.

Their device uses two arrays of 36 sonic transducers in a concave pattern, which face each other in order to suspend objects like Styrofoam, water, coffee and paper in between. Several items can even be trapped at the same time, and liquid is inserted into the “levitation zone” via a syringe.

The principle is similar to the vibration you feel when next to a large speaker, but in this case, the homemade levitator employs ultrasonic waves to push particles without causing any damage to humans.

Acoustic levitation has been explored in hundreds of studies for applications in pharmaceuticals, biology or biomaterials. It holds the promise of supporting innovative and ground-breaking processes. However, historically levitators have been restricted to a small number of research labs because they needed to be custom-made, carefully tuned and required high-voltage. Now, not only scientists but also students can build their own levitator at home or school to experiment and try new applications of acoustic levitation.

If you’d like to make your own, be sure to check out Marzo’s Instructables post or the team’s full paper on the experiment here.

If you suppose that electromagnetically-propelled projectiles are strictly the purview of well-funded government research labs, think again! Using two sets of coils wrapped around custom 3D-printed base structures and an Arduino Nano for control, YouTuber “Gyro” created his own coilgun capable of propelling steel fast enough to dent a piece of wood.

When fired, a photodiode at the end of each electromagnet coil sends a signal to the Arduino. This, in turn, shuts off the coil, allowing it freely escape the barrel.

As noted in his Instructables write-up, the gun is constructed without large capacitors, which can be expensive and dangerous. Instead, two LiPo battery packs are combined to produce around 22 volts, though this and the number of coils used, could be increased to produce a more powerful device!

You may be familiar with “Pop-A-Shot” at arcades and amusement parks, which allows you to shoot baskets at a hoop for fun and prizes. Maker Cory Guynn, apparently unsatisfied with not having one of these at home, decided to duplicate the game with the “Pop o Shop.”

In this version, an ultrasonic sensor in the hoop tells an Arduino Nano when a shot has been registered, while two 7-segment displays inside of a LEGO scoreboard show the current count, time remaining, and high score. There is also an RGB LED that turns green after every made basket and changes color with a new top score.

Incidentally, one of the displays can also spell out “POPOSHOP,” which dictated the name of the game, since there is no “T” character in the LedControl library used! For more info and code, be sure to check out the “Internet of LEGO” build log!

  • 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