Posts | Comments

Planet Arduino

Archive for the ‘Nano’ Category

Giovanni Carrera has created a capable power monitor, dubbed the ArduINA226, using an Arduino Nano and an INA226 IC. 

This chip measures the current and voltage, and calculates power, which is then read by the Arduino board and sent to an LCD display. The unit also features a micro SD card for storage and later analysis, letting you track stats such as energy consumption over time.

Nearly any sort of Arduino board can be used for this setup, but the Nano was chosen as it makes things nice and compact and has an included USB adapter. The electronics are mounted on a PCB and housed in a professional-looking enclosure. 

A full schematic for the ArduINA226 is available in Carrera’s project write-up, along with code if you’d like to make your own.

Desperate times call for desperate measures, and while making your own medical equipment isn’t normally advisable, Johnny Lee’e project explores how to turn a CPAP machine into a ventilator.

The idea is that since these machines are basically just blowers controlled by a brushless DC motor, an Arduino Nano equipped with an electonic speed controller could allow it to act as a one.

Such a setup has been shown to provide more than enough pressure for a ventilator used on COVID-19 patients. This device has in no way been evaluated or approved for medical use, but it does provide a starting point for experimentation.

You can find additional details on Lee’s GitHub page.

Touching your face is a subconscious behavior that we all do, and it is also an easy way to pick up illnesses like the coronavirus and flu. However, like many infectious diseases, proper hygiene can help reduce your risk. With this in mind, Nick Bild designed a simple solution in the form of a modified pair of glasses to provide a subtle reminder not to go near your eyes, mouth, and nose.

The project, which Bild calls Sentinel, consists of an ultrasonic sensor mounted on top of the bridge and an Arduino Nano along the temple. Whenever a hand (or object) is detected in close proximity to the face, a red warning LED lights up in the wearer’s peripheral vision.

Music and synchronized lighting can be a beautiful combination, evident by panGenerator’s recent installation that was commissioned by the M?skie Granie concert tour in Poland.

The interactive sculpture was comprised of 15 drums that trigger waves of light traveling toward a huge helium-filled sphere floating above the area, appearing to charge it with sound and light energy as the instruments are played. 

“The audience was invited to drum collectively and together create an audio-visual spectacle – intensity of which depended on the speed and intensity of the drumming. That fulfilled the main goal of creating interactive art experience in which the audience can actively
participate in the event rather than just passively enjoy the music, gathering and playing together.”

The project incorporated 200 meters of addressable RGB LEDs and measured in at roughly 300 square meters, making it likely the biggest such build ever seen there. According to the designers, each of the drums featured a custom PCB equipped with an Arduino Nano and microphone, and used an MCP2515-based CAN setup for communication. 

All of this was assembled and taken down seven times over two months in cities around the country. Be sure to check out this dazzling display in action in the video below! 

If you have multiple applications open in Windows, you may want one to be louder than the other, but what if you want to adjust levels with physical sliders like an actual DJ? If that sounds interesting, check out this controller by “Aithorn.

The device uses an Arduino Nano to read signals from each slider and pass this info over to the computer. A Python script, along with a VBScript helper, runs on the PC to control the master and program-specific volumes. 

Code for the project, which was actually written by Omri Harel, is available on GitHub. You can see the original version of it the video below, working its magic on a shoebox stand. Print files for Aithorn’s new enclosure can be found here.

Tetris was as a perfect complement to Nintendo’s original Game Boy when it came out in 1989, and now “Copper Dragon” has been able to fit an entire system for it — sans monitor or speakers — inside of a faux NES controller

Impressively, this feat was accomplished with an Arduino Nano and a few passive components, producing not only very believable grayscale blocks, but also playing the familiar tune to accompany the video.

Two signal pins are used for the gray levels, plus a pin for sync, and video generation is programmed in AVR assembler code. Audio is not just PWM, but a simple DAC circuit created by charging and discharging a capacitor at the video line frequency.

I wanted to build a game console into the case of a small USB game pad (a NES controler look-alike). To make the work a challenge, I wanted to only use an Arduino Nano clocked at 16 MHz and some passive components (diodes are OK) and create the best possible video and audio signal that is imaginable with such restrictions.

As it turned out, a monochrome 288p video signal with 4 gray scales is possible when progamming the controller at machine level. 4-channel music is also possible.

My game of choice is Tetris in a version that comes pretty close to the original GameBoy version with a very similar audio track.

Nixie tubes are, of course, an elegant display method from a more civilized age, but actually powering and controlling them can be a challenge. This can mean a great project and learning opportunity, but if you’d rather just skip ahead to programming these amazing lights, then Marcin Saj’s IN-2 binary Nixie clock is definitely worth a look.

This retro-style unit features a 6 x 3 array of small IN-2 tubes, which are turned to “1” or “0” depending on the time. Reading the results takes a bit of binary math, but it would be good practice for those that would like to improve their skills. 

The clock is available for purchase, and can be driven by a classic Nano, Nano Every as well as a Nano 33 IoT — the last of which enables you to connect to the NTP server or cloud over WiFi.

You’ve got your design ready to go, you know you have the right components… but where exactly did you place that particular resistor? With the Resys drawer system by Lynlimer, you no longer have to wonder — just type in the needed value and the proper drawer lights up automatically.

The device is based on an Arduino Nano, with an LCD display for text output and a numeric keypad for value entry. The proper drawers are lit via WS2812B addressable LEDs, held in 3D-printed holders. 

It’s a clever project that could be expanded to well beyond the 16 drawers now used. Code, STLs, and circuit diagrams are available in Lynlimer’s write-up if you want to make your own!

Although you might not be able to build or house your own SpaceX Starship, YouTuber “Embrace Racing” has created a levitating lamp model that will be much more attainable for non-multi-billionaires. 

The lamp’s landing pad features an Arduino Nano inside, which is used with WS2812 LEDs to simulate the smoke plume of the rocket through a 3D-printed “clear” PLA diffuser.

The base also contains a levitating module capable of supporting up to 400g to suspend the spacecraft in midair. While its height would tend to make it unstable, the onboard levitating magnet lowers the center of gravity, along with a battery and three LEDS that provide light from the bottom of the rocket itself. 

Print files and other project info are available on Thingiverse.

Small wood lathes don’t typically come with an RPM readout, so after obtaining such a machine several months ago, engineer Zach — also known as ‘byte sized’ — decided to build his own custom display.

The device uses an Arduino Nano for control, along with a Hall effect sensor to pick up on four magnets attached to the spinning handwheel.

RPM values are shown on a series of four 7-segment displays, and everything is enclosed in a nicely 3D-printed housing. LEDs shine through a sanded acrylic window that acts as a diffuser. Power for the lathe is still provided by a single cable, with a transformer module used to convert the AC input into 5V DC for the Arduino and other electronics.



  • 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