Pipelines are integral to our modern way of life, as they enable the fast transportation of water and energy between central providers and the eventual consumers of that resource. However, the presence of cracks from mechanical or corrosive stress can lead to leaks, and thus waste of product or even potentially dangerous situations. Although methods using thermal cameras or microphones exist, they’re hard to use interchangeably across different pipeline types, which is why Kutluhan Aktar instead went with a combination of mmWave radar and an ML model running on an Arduino Nicla Vision board to detect these issues before they become a real problem.
The project was originally conceived as an arrangement of parts on a breadboard, including a Seeed Studio MR60BHA1 60GHz radar module, an ILI9341 TFT screen, an Arduino Nano for interfacing with the sensor and display, and a Nicla Vision board. From here, Kutluhan designed his own Dragonite-themed PCB, assembled the components, and began collecting training and testing data for a machine learning model by building a small PVC model, introducing various defects, and recording the differences in data from the mmWave sensor. The system is able to do this by measuring the minute variations in vibrations as liquids move around, with increased turbulence often being correlated with defects.
After configuring a time-series impulse, a classification model was trained with the help of Edge Impulse that would use the three labels (cracked, clogged, and leakage) to see if the pipe had any damage. It was then deployed to the Nicla Vision where it achieved an accuracy of 90% on real-world data. With the aid of the screen, operators can tell the result of the classification immediately, as well as send the data to a custom web application.
Many types of medications (such as anti-depressants like SSRIs) can have a very negative effect if they aren’t taken on a regular basis. Even taking them a few hours late can harm a person’s mood and cause physical discomfort. But remembering to take pills at the proper time can be tricky — even setting an alarm isn’t foolproof, because you can turn it off without actually taking a pill. That’s why M. Bindhammer is building a 3D-printed robotic pill dispenser that will tell people if they forget to take their medicine.
M. Bindhammer’s design reflects his own needs: he has to take one pill in the morning and another in the evening. He suffers from bipolar disorder and missing the schedule by even a couple of hours can have consequences. To ensure that he adheres to that schedule, this robot dispenses two pills a day and will demand attention if M. Bindhammer forgets. It has 14 chambers, so M. Bindhammer can load up a full week’s worth of medication at once for convenient long-term use.
While the project isn’t complete yet, M. Bindhammer has finished the mechanical design and worked out most of the circuitry. The 14 chambers sit around a wheel torso turned by a continuous rotation servo motor, with a second servo motor that opens a door underneath the current chamber to allow a pill to drop down. An Arduino Due board with a custom breakout shield — which also integrates a DS3231 precision RTC — controls those servos and monitors a capacitive touch sensor in the base so it knows when the user picks up a pill. The Arduino will be able to provide feedback through an OLED screen face and a speaker connected to a speech synthesis module. When the robot is done, those will let the Arduino display a warning and emit an audio reminder if M. Bindhammer doesn’t take a pill when he should.
With an array of onboard sensors, Bluetooth® Low Energy connectivity, and the ability to perform edge AI tasks thanks to its nRF52840 SoC, the Arduino Nano 33 BLE Sense is a great choice for a wide variety of embedded applications. Further demonstrating this point, a group of students from the Introduction to Embedded Deep Learning course at Carnegie Mellon University have published the culmination of their studies through 10 excellent projects that each use the Tiny Machine Learning Kit and Edge Impulse ML platform.
Wrist-based human activity recognition
Traditional human activity tracking has relied on the use of smartwatches and phones to recognize certain exercises based on IMU data. However, few have achieved both continuous and low-power operation, which is why Omkar Savkur, Nicholas Toldalagi, and Kevin Xie explored training an embedded model on combined accelerometer and microphone data to distinguish between handwashing, brushing one’s teeth, and idling. Their project continuously runs inferencing on incoming data and then displays the action on both a screen and via two LEDs.
Categorizing trash with sound
In some circumstances, such as smart cities or home recycling, knowing what types of materials are being thrown away can provide a valuable datapoint for waste management systems. Students Jacky Wang and Gordonson Yan created their project, called SBTrashCat, to recognize trash types by the sounds they make when being thrown into a bin. Currently, the model can three different kinds, along with background noise and human voices to eliminate false positives.
Distributed edge machine learning
The abundance of Internet of Things (IoT) devices has meant an explosion of computational power and the amount of data needing to be processed before it can become useful. Because a single low-cost edge device does not possess enough power on its own for some tasks, Jong-Ik Park, Chad Taylor, and Anudeep Bolimera have designed a system where each device runs its own “slice” of an embedded model in order to make better use of available resources.
Predictive maintenance for electric motors
Motors within an industrial setting require constant smooth and efficient operation in order to ensure consistent uptime, and recognizing when one is failing often necessitates manual inspection before a problem can be discovered. By taking advantage of deep learning techniques and an IMU/camera combination, Abhishek Basrithaya and Yuyang Xu developed a project that could accurately identify motor failure at the edge.
Estimating inventory in real-time with computer vision
Warehouses greatly rely on having up-to-date information about the locations of products, inventory counts, and incoming/outgoing items. From these constraints, Netra Trivedi, Rishi Pachipulusu, and Cathy Tungyun collaborated to gather a dataset of 221 images labeled with the percentage of space remaining on the shelf. This enables the Nano 33 BLE Sense to use an attached camera to calculate empty shelf space in real-time.
Dog movement tracking
Fitness trackers such as the FitBit and Apple Watch have revolutionized personal health tracking, but what about our pets? Ajith Potluri, Eion Tyacke, and Parker Crain addressed this hole in the market by building a dog collar that uses the Nano’s IMU to recognize daily activities and send the results to a smartphone via Bluetooth. This means the dog’s owner has the ability to get an overview of their pet’s day-to-day activity levels across weeks or months.
Intelligent bird feeding system
Owners of backyards everywhere encounter the same problem: “How do I keep the squirrels away from a birdfeeder while also allowing birds?” Eric Wu, Harry Rosmann, and Blaine Huey worked together on a Nano 33 BLE Sense-powered system that employs a camera module to identify if the animal at the feeder is a bird or a squirrel. If it is the latter, an alarm is played from a buzzer. Otherwise, the bird’s species is determined through another model and an image is saved to an SD card for future viewing.
Improving one’s exercise form
Exercise, while being essential to a healthy lifestyle, must also be done correctly in order to avoid accidental injuries or chronic pain later on, and maintain proper form is an easy way to facilitate this. By using both computer vision on an NVIDIA Jetson Nano and anomaly detection via an IMU on a Nano 33 BLE Sense, Addesh Bhargava, Varun Jain, and Rohan Paranjape built a project that was more accurate than typical approaches to squatting form detection.
Inspired by game nights with her family, Lorraine Underwood from element14 Presents wanted to build a project that would be both fun and playable many times over. Based on these parameters, she opted to design and construct her own take on an air hockey table that would be capable of keeping score automatically.
The base of the air hockey table was made by first drawing a 2D model of the tabletop, complete with the myriad of holes for air to pass through and a zone at each end for scoring with the 3D printed puck. Below the top are four panels that comprise the four walls, with one having a slot for attaching a high-power fan. Extra rigidity was added by slotting in a grid of struts to buttress the rectangular layout and make it more impervious to accidental bumps or hits.
In terms of scoring, a player receives a point when their puck passes below the opponent’s goal, which meant Underwood needed some way of consistently detecting when the puck crosses the line. To do this, she created a small sketch for an Arduino Uno Rev3 that checked the state of a phototransistor and incremented the score when triggered. Although this worked initially, she did acknowledge that further improvements are needed to prevent false positives.
You would probably recognize a thermal printer as the thing that spits out receipts at a cash register. They offer a two key advantages: they do not require ink cartridges and they are compact. But because they print by applying heat to special paper that darkens when hot, they have low resolution and fidelity. If that’s a price you’re willing to pay for your next project, then Vaclav Krejci (AKA Upir on YouTube) has a great video tutorial that will show you how to control a thermal printer with your Arduino.
This model, a QR204, and most others like it, receive print content through an RS232 serial communications port. It has an internal microcontroller that lets it interpret what it receives over serial. If that is simple text, then it will print the text and move to the next line. But it also accepts commands in the form of special characters to modify the output, such as increasing the text size. It can also print low-resolution images sent in the form of bitmap arrays. Krejci explains how to do all of that in the video.
To follow along, you can use an Arduino Uno like Krejci or any other Arduino board. You only need to connect five jumper wires from the printer to the Arduino: ground, RX, TX, DTR, and NC. From there, all you need is a simple Sketch that sends serial output at 9600 baud through the pins you define. To print a line of text, use the standard Serial.println(“your text”) function. When you want to do something more complex, like print an image, Krejci has instructions on how to do so.
Many people (especially those with autism spectrum disorder) have difficulty communicating with others around them. That is always a challenge, but becomes particularly noticeable when one cannot convey their emotions through body language. If someone can’t show that they’re not in the mood to talk, that may lead to confusing interactions. To help people express their emotions, University of Stuttgart students Clara Blum and Mohammad Jafari came up with this wearable device that makes them obvious.
The aptly named Emotion Aid sits on the user’s shoulders like a small backpack. The prototype was designed to attach to a bra, but it could be tweaked to be worn by those who don’t use bras. It has two functions: detecting the user’s emotions and communicating those emotions. It uses an array of different sensors to detect biometric indicators, such as temperature, pulse, and sweat, to try and determine the user’s emotional state. It then conveys that emotional state to the surrounding world with an actuated fan-like apparatus.
An Arduino Uno Rev3 handles these functions. Input comes from a capacitive moisture sensor, a temperature sensor, and a pulse sensor. The Arduino actuates the fan mechanism using a small hobby servo motor. Power comes from a 9V battery. The assembly process is highly dependent on the way the device is to be worn, but the write-up illustrates how to attach the various sensors to a bra. There are many possible variations, so the creators of the Emotion Aid encourage people to experiment with the idea.
You can read more about the Emotion Aid, which was developed by Blum and Jafari as part of the University of Stuttgart’s ITECH master’s program, here on Instructables.
Spectrum analysis is a technique that allows someone to observe the amplitude of various frequency ranges within a signal. The most common use case is in the world of audio engineering, as it is useful for tuning audio output. It can, for example, show you that a particular audio signal has little amplitude in the low bands and that tells you that you should turn up the bass. If you want to try this for yourself, Sam Dartel designed a DIY spectrum analyzer that is easy for beginners to build.
For a spectrum analyzer to work, it needs to be able to break an electrical signal down into a series of frequency ranges. In an audio signal, frequency is pitch. That means that higher frequency ranges correspond to higher notes in the audio. This spectrum analyzer utilizes an MSGEQ7 IC, which is an equalizer filter, to pull seven frequency ranges from an audio signal. It outputs the peak of each band, giving a real-time reading of each band’s amplitude.
There are two versions of this spectrum analyzer: one powered by a battery and one powered via USB. Both are shields for An Arduino Nano board, which takes the output from the MSGEQ7 and uses the FastLED library to set the number of LEDs lit on seven WS2812B individually addressable RGB LED strips. Each strip is a 2D display and that is enough for the amplitude of each band, but the color and brightness of the LEDs introduce two other possible dimensions. This spectrum analyzer uses those for different effects patterns.
To build this spectrum analyzer, you’ll need to have one of the two shield PCB designs fabricated. All of the components are through-hole to make assembly easy.
Senior care homes may get a bad rap in popular culture, but they serve a legitimate and important purpose. As people age, their requirements for care can exceed the capability of their families. When that becomes the case, professional care may be prudent. To help those professionals care for residents, Hayden designed this system that can monitor up to 40 doors in a nursing home.
The senior care facility where Hayden works already had a system for monitoring each resident room with a PIR (passive infrared) sensor. But that system was no longer functional and wasn’t serving any purpose. Instead of buying a whole new system, Hayden chose to tap into the existing sensors. To do that, they used five Arduino Mega 2560 boards to create hub units. Those hubs were spread around the building and each one monitors the PIR sensors from a handful of rooms.
Those hub units contain nRF24L01 radio transceiver modules so they can communicate sensor status to a central control unit, powered by an Arduino Mega as well. That control unit features a 240×128 LCD to display the status of each room along with a real-time clock, an SD card module for logging data to CSV, and a piezo buzzer and LED for alerts. But attendants aren’t always near that control unit, so Hayden also built a handful of handheld devices. Those are more rudimentary and only include nRF24L01 modules, small screens, and batteries. Employees can carry those smaller devices with them at all times and they will display any room with activity that triggers the PIR sensor, ensuring that a resident receives immediate attention if they leave their room when they shouldn’t.
One of the most popular machines in any arcade is the Cyclone game, where a ring of LEDs illuminate in sequence and the player must push a button at the exact moment that a specific LED lights up. Get it just right and you can win a whole pile of tickets to spend in the arcade shop! But the machines in arcades tend to be rigged, with the timing altered slightly to make the game more difficult. This mini Cyclone game saves you a trip to the arcade and doesn’t employ cheats (unless you want it to).
This is the second Cyclone game built by Mirko Pavleski. The first was much larger, with a ring of 60 LEDs. The new version is smaller and simpler. It has a ring of only 12 LEDs. The original increased the speed with each round, but this version sets a random speed (within a predefined range) each time. It tracks the number of rounds completed by a player before they fail and saves that high score in EEPROM storage so it is persistent every time someone turns on the game.
The hardware is affordable and easy to find. It includes an Arduino Nano board, a WS2812B LED ring, a 16×2 character LCD with I2C interface, two buttons, a power switch, and a buzzer. Those components all mount to a basic stand made of PVC board and plywood wrapped in self-adhesive wallpaper. If you’re a fan of Cyclone games, this would make a great weekend project.
Optimizing manufacturing processes is a requirement in any industry today, with electricity consumption in particular representing a major concern due to increased costs and instability. Analyzing energy use has therefore become a widespread need – and one that can also lead to early identification of anomalies and predictive maintenance: two important activities to put in place in order to minimize unexpected downtime and repair costs.
In particular, this approach can be applied to DC motors: used in a wide range of applications, from small household appliances to heavy industrial equipment; these motors are critical components that require regular maintenance to ensure optimal performance and longevity. Unfortunately, traditional maintenance practices based on fixed schedules or reactive repairs can be time-consuming, expensive, and unreliable. This is where energy monitoring-based anomaly detection comes in: it can provide a crucial solution for the early detection of potential issues and malfunctions before they can cause significant damage to the motor.
This more proactive approach to maintenance continuously monitors the energy consumption of the motor and analyzes the data to identify any deviations from normal operating conditions. By tracking energy usage patterns over time, the system can detect early warning signs of potential problems, such as excessive wear and tear, imbalances or misalignments, and alert maintenance personnel to take corrective actions before the issue escalates.
Our solution
This Arduino-powered solution implements an energy monitoring-based anomaly detection system using a current sensor and machine learning models running on edge devices. By capturing the electricity flowing in and out of a machine, it can collect large amounts of data on energy usage patterns over time. This data is then used to train a machine learning model capable of identifying anomalies in energy consumption behaviors and alerting operators to potential issues. The solution offers a cost-effective and scalable method for maintaining equipment health and maximizing energy efficiency, while also reducing downtime and maintenance costs.
Motor Current Signature Analysis (MCSA)
In this application, a technique called Motor Current Signature Analysis is used. MCSA involves monitoring the electrical signature of the motor’s current overtime to detect any anomalies that may indicate potential issues or faults. To acquire real-time data, a Hall effect current sensor is attached in series with the supply line of the DC motor. The data are then analyzed using machine learning algorithms to identify patterns and trends that might indicate a faulty motor operation. MCSA can be used to detect a number of issues like bearings wear, rotor bar bendings or even inter-turn short circuits.
Depending on the dimensions of the motor, using a non-invasive clamp-style current sensor – also known as a Split-Core Current Transformer – is recommended if a larger current draw is expected.
Edge ML
To monitor the current fluctuation and run the anomaly-detecting ML model, the solution uses an Arduino Opta WiFi: a micro PLC suitable for Industrial IoT, which is excellent for this project because of its real-time data classification capabilities, based on a powerful STM32H747XI dual-core Cortex®-M7 +M4 MCU. The Arduino Opta WiFi works with both analog and digital inputs and outputs, allowing it to interact with a multitude of sensors and actuators. The Arduino Opta WiFi also features an Ethernet port, an RS485 half duplex connectivity interface and WiFi/Bluetooth® Low Energy connectivity, which makes it ideal for industrial retrofitting applications. You can find the full datasheet here.
To train the anomaly detection model, the project leverages the Edge Impulse platform: being integrated within the Arduino ecosystem, it makes it easy to develop, train, and deploy machine learning models on Arduino devices.
Connectivity
Once the machine learning model was successfully deployed on the Arduino Opta, the anomaly detection results were forwarded via WiFi to the Arduino IoT Cloud. This enables easy monitoring and analysis of the data from multiple sensor nodes in real time.
Solving it with Arduino Pro
Let’s take a look at how we can put all of this together and what hardware and software solutions we would need for deployment. The Arduino Pro ecosystem is the most recent version of Arduino solutions, offering users the benefits of easy integration along with a range of scalable, secure, and professionally supported services.
The Arduino IDE 2.0 was used to program the Arduino Opta WiFi using C/C++. To train the Edge Impulse model, data was gathered from the current sensor for two classes: Normal Operation and Machine Off. The Motor Current Signature Analysis (MCSA) technique was implemented by extracting the frequency and power characteristics of the signal through a Spectral Analysis block. Additionally, an anomaly detection block was incorporated to identify any abnormal patterns in the data.
Here is a screenshot from a dashboard created directly in the Arduino Cloud, showcasing data received from the sensor nodes:
Here is an overview of the software stack and how a minimum deployment with one of each hardware module communicates to fulfil the proposed solution:
Conclusion
Through the implementation of a predictive maintenance system on an Arduino Opta WiFi PLC, using Edge Impulse ML models and the Arduino Cloud, this solution demonstrates the powerful potential of IoT technologies in industrial applications. With the use of current sensors and AI-driven anomaly detection models, the system enables real-time monitoring and fault detection of DC motors, providing valuable insights for predictive maintenance. The flexibility and scalability of the Arduino Opta WiFi platform make it a robust and cost-effective solution for implementing predictive maintenance systems in various industrial processes. Overall, the project highlights the significant advantages that MCSA and machine learning can offer in promoting efficiency, productivity, and cost savings for industrial processes.
For those who have to put up with a snoring partner or roommate, the scourge of listening to those droning sounds can be maddening and lead to a decrease in the quality of one’s sleep. So, as an attempt to remedy this situation, Flin van Asperen devised an “anti-snoring machine” out of readily accessible components that aims to teach people to stop snoring so much.
The bulk of the device was made by cutting foam boards to size and painting them gray before gluing each piece together to form a box. That enclosure was then given a pair of ears and covered in fake moss (to ‘blend in’ with other houseplants). Next, the circuit was created by connecting an Arduino Uno to a sound sensor element that detects if someone’s snoring has gotten too loud. Once the level has been reached, an MP3 player module is instructed to play a short audio clip via a speaker while a micro servo knocks over a cup onto the snorer’s head below.
Through this combination of sound and physical correction, van Asperen hopes that his anti-snoring contraption will be successful in stopping a person’s snoring. You can read more about the project here in its [translated] Instructables post.
Experienced servers are masters of balance and coordination, being able to carry several full glasses on a tray without spilling a drop. But many of us lack that skill and can’t carry even a single glass across a room without splashing half of it on our feet. To help the clumsy among us, YouTuber The Fedmog Challenge created this robotic beer tray that automatically balances glasses to avoid spills.
This robotic beer tray relies on the same kind of control algorithm used by self-balancing robots and drones: PID (proportional-integral-derivative). That acronym isn’t very informative unless you were a math major, but it means that the robot uses fancy calculations to compensate for movement in real time through a closed-feedback loop. In this case, the beer tray is constantly checking to see if it is level. If it isn’t, then it uses motors to bring itself back to level as fast as it can without overcompensating.
The Fedmog Challenge made this machine using 3D-printed parts. The user holds the base and that connects to the tray on top via four servo-actuated linkages. An MPU6050 gyro/accelerometer module mounts to the tray and to detect its position. An Arduino Nano board monitors the MPU6050 and adjusts the servo motor angles as necessary to keep the tray level.
There are a couple of problems with this design that keep it from being practical, though. First, the servos aren’t strong enough to handle much weight. Second, keeping the tray level isn’t enough to avoid spills. To do that, it would need to tilt to compensate for horizontal inertia. But we still like the idea and the build is fun to watch.
Almost all haptic feedback today comes in the form of vibration. But vibratory haptic feedback is clearly lacking, as it cannot convey information with any kind of precision or granularity. The user notices the vibration and very course patterns may be recognizable, but that is a rudimentary approach that requires a lot of user focus. To help people navigate as they walk through cities, a team from the Max Planck Institute for Intelligent Systems developed a shape-changing interface called S-BAN.
The researchers designed S-BAN (Shape-Based Assistance for Navigation) to work with existing GPS navigation systems, such as Google Maps on smartphones, but to provide a better user experience. The S-BAN device looks like a small remote and the fore end actuates in two dimensions. It can move forward and backward, and pivot left and right to guide the user. If, for instance, the user needs to make an immediate left turn, it will pivot left. This lets people with visual impairments navigate through touch and helps everyone else walk with their eyes up instead of focused on their phones.
The prototype S-BAN unit contains an Arduino Nano board, a Bluetooth module for communication with the user’s smartphone, an IMU to monitor the current orientation of the device, a LiPo battery, and two miniature linear actuators. The complete package, in a 3D-printed enclosure, is very compact and could even double as a smartphone case to make its use more convenient.
So much of the research and development in the area of haptic feedback focuses on universal devices that can create a wide range of tactile sensations. But that has proven to be a massive challenge, as it is very difficult to package the number of actuators necessary for that flexibility in a device that is practical for the consumer market. That’s why TactorBots — devised by researchers from University of Colorado’s ATLAS Institute and Parsons School of Design — sidesteps the issue with a complete toolkit of robotic touch modules.
TactorBots includes both software and hardware, with the hardware coming in several different modules. Each module is wearable on the user’s wrist and has a unique way of touching their arm. One Tactor module strokes the user’s arm, while another taps them. There are other Tactor modules for rubbing, shaking, squeezing, patting, and pushing. Because each module only needs to perform a single tactile motion, they can do their jobs very well. It is also possible to chain several modules together so the user can feel the different sensations across their arm.
Custom software running on a PC controls the Tactor modules, activating them to match virtual on-screen content, through a host module built around an Arduino Nano board. That host module is also wearable on the arm. Each Tactor module has a servo motor that connects directly to the host module through standard JST wires. The module enclosures, along with the sensation-specific mechanisms, were all 3D-printed. The mechanisms differ based on the sensation they were designed to create, but they’re also simple and only require a single servo to operate.
Mark your calendars: May 23rd-25th we’ll be at SPS Italia, one of the country’s leading fairs for smart, digital, sustainable industry and a great place to find out what’s new in automation worldwide. We expect a lot of buzz around AI for IoT applications – and, of course, we’ll come prepared to give our own, open-source perspective on the AIoT trend.
At Arduino Pro’s booth C012, pavilion 7, our experts will be presenting some of the latest additions to our ever-growing ecosystem, which includes everything companies need to fully embrace digital transformation with professional performance paired with Arduino’s ease of use and open-source philosophy. You can explore our complete digital brochure here, but let us point out some recent highlights.
Meet the Arduino Pro ecosystem at SPS Italia 2023
Over the years, Arduino Pro has built quite the presence on the market with SOMs like the Portenta H7 and X8, recently joined by the Portenta C33: a cost-effective, high-performance option that makes automation accessible to more users than ever, based on the RA6M5, an Arm® Cortex®-M33 microcontroller from Renesas.
Our Nicla family of ultra-compact boards also expanded: after Nicla Sense ME and Nicla Vision, Nicla Voice packs all the sensors, intelligence and connectivity you need for speech recognition on the edge, leveraging AI and ML.
What’s more, the Arduino ecosystem also includes turnkey solutions like the Portenta Machine Control and the new Opta, our very first microPLC, designed in partnership with Finder to support the Arduino programming experience with the main PLC standard languages – and available in 3 variants with different connectivity features: Opta Lite, Opta RS485, and Opta WiFi. Both the Portenta Machine Control and Opta can be programmed via the new PLC IDE, designed to help you boost production and build automation with your own Industry 4.0 control system.
Finally, since SPS Italy’s last edition we have launched Arduino Cloud for Business: a dedicated Cloud plan for professional users requiring advanced features for secure device management including OTA updates, user-friendly fleet management, and RBAC to safely share dashboards among multiple users and organizations. Specific optional add-ons allow you to further customize your solution with Portenta X8 Manager, LoRaWAN Device Manager or Enterprise Machine Learning Tool – accelerating your IoT success, whatever the scale of your enterprise may be.
Images from SPS Italy 2022
Team Arduino Pro at SPS Italy 2022
If you are attending SPS Italia, don’t miss the conferenceby our own Head of Arduino Pro Customer Success Andrea Richetta, joined by Product Managers Marta Barbero and Francesca Gentile (in Italian): on May 24th at 2:30pm they will dive deep on the tools Arduino Pro makes available for all companies ready to take part in the IoT revolution, with a unique combination of performance and ease of use. This is your chance to discover how you too can integrate safe and professional Industry 4.0 solutions in new or existing applications, quickly growing from prototype to large-scale production with sensors, machine vision, embedded machine learning, edge computing, and more.
Curious? Register to access the fair if you are an industry professional, and reach out to book a meeting with a member of our team.
A great number of activities require the precise application of force with the fingertips. When playing a guitar, for example, you must exert the proper amount of force to push a string against the fret board. Training is difficult, because new guitarists don’t know how much force to apply. This wearable system controls fingertip force to help users learn how to perform new activities.
Developed by NTT Corporation researchers, the system needs two parts to enable fingertip force control: stimulation and feedback. EMS (electronic muscle stimulation) handles the former by pulsing a small amount of electric current through the user’s muscles, forcing them to contract. That is commonplace technology today, with uses ranging from legitimate medical therapy to more homeopathic remedies. For feedback, the system utilizes bioacoustic technology (a transducer and piezoelectric sensor) to determine the amount of force applied by a user’s finger.
An Arduino Uno Rev3 board paired with a function generator gives the system precise control over the EMS unit, allowing it to adjust muscle stimulation as necessary. It does so in real-time in response to fingertip force estimated by a machine-learning regression model. An expert in the activity could use the system to train it on the proper amount of force for an action, then the system could provide the amount of stimulation necessary for a new student to replicate the expert’s force. With practice, the student would gain a feel for the force and then could perform the activity on their own without the aid of the system.
Modern consumer devices are fantastic at providing visual and auditory stimulation, but they fail to excite any of the other senses. At most, we get some tactile sensation in the form of haptic feedback. But those course vibrations do little more than provide an indication that something is happening, which is why researchers look for alternatives. Developed by a team of City University of Hong Kong researchers, Emoband provides a new kind of tactile feedback in the form of stroking and squeezing of the user’s wrist.
Emoband looks a bit like an over-sized smartwatch with three bands. Two of those bands are just normal straps that secure the device to the user’s wrist. The third band, in the middle, can be made of several different materials. It attaches to two spools on the device, which can reel in or out the material. If both reel in the band, then it will squeeze the user’s wrist. If one reels in while the other reels out, then the band strokes the user’s wrist. Depending on the material, those sensations may elicit different emotional responses from the user.
The prototype Emoband unit uses an Arduino Mega 2560 board to control two servo motors that turn the spools for the material band. A laptop communicates with the Arduino through serial, telling it how to move the band to mirror the onscreen content. Two load cells provide feedback on the amount of squeezing pressure. The prototype device’s frame and spools were 3D-printed.
In the future, it could be possible to integrate this functionality into the smartwatches that people already wear—if the general public decided that they want this kind of tactile feedback. Initial testing showed the users certainly noticed the feedback, but it isn’t clear if they thought it was worthwhile or practical. More details on the project can be found in the researchers’ paper here.
The task of gathering enough data to classify distinct sounds not captured in a larger, more robust dataset can be very time-consuming, at least until now. In his write-up, Shakhizat Nurgaliyev describes how he used an array of AI tools to automatically create a keyword spotting dataset without the need for speaking into a microphone.
The pipeline is split into three main parts. First, the Piper text-to-speech engine was downloaded and configured via a Python script to output 904 distinct samples of the TTS model saying Nurgaliyev’s last name in a variety of ways to decrease overfitting. Next, background noise prompts were generated with the help of ChatGPT and then fed into AudioLDM which produces the audio files based on the prompts. Finally, all of the WAV files, along with “unknown” sounds from the Google Speech Commands Dataset, were uploaded to an Arduino ML project.
Training the model for later deployment on a Nicla Voice board was accomplished by adding a Syntiant audio processing block and then generating features to train a classification model. The resulting model could accurately determine when the target word was spoken around 96% of the time — all without the need for manually gathering a dataset.
Our recently launched “Arduino Project of the Month” initiative adds a pinch of competition to our community’s passion for sharing. Out of the dozens of new entries added in February, we are now happy to announce our first top three selections, highlighting interesting projects for everyone to learn, test, and improve upon!
Flip-disc (or flip-dot) displays leverage electromagnetism to set the position of thousands of discs in seconds, showing dynamic text and minimalist graphics with great flexibility and a wonderful retro vibe. For this project, all you need are an Arduino Uno, the Arduino IDE 2.0, and some soldering skills to get your own flip-disc sign up and running.
Originating in 1976, Snake is almost 50 years old but is still a lot of fun! This build brings the game back in a shiny and bright version, based on a 192-LED matrix combined with a library to control it.
Following the instructions is a great way to learn about multiplexing, shift registers, and of course, electric circuits. Not to mention, the same project can be adapted to display stationary or scrolling text: have your name in lights, thanks to Arduino Nano and the Arduino IDE.
How many times have you just needed to know what gas is in the air? Okay, it may not be an everyday situation for most of us, but we thought this project really deserved gold for our February selection.
It starts like a beautiful physics lesson on sound speed in gasses, and ends with a solution that’s portable, 3D-printed, and connected to your smartphone. Upload the code to an Arduino Nano, powered by battery charger, and test it out yourself.
For your chance to be selected for a $100, $300 or even $500 gift card to spend on the Arduino Store, submit your best project onProject Hub! We will be awarding three new entries every month, as detailed in thecomplete terms and conditions. Good luck!
The fantastic thing about Arduino boards and maker hardware as a whole is that they make creativity accessible. Just a few decades ago, it would take serious expertise and a generous budget to build even a simple robot. But with the technology available today, Parikshit Pagare was able to create this robot car that can be controlled manually, by voice, or operate autonomously.
Pagare started with the kind of RC car that you can find at any toy store or online retailer. That provided a platform to build upon, with a frame, wheels, and motors. But the original RC control was very rudimentary, which is why he replaced all of the electronics. The upgraded vehicle has an Arduino Uno that controls the two DC motors through L298N motor drivers. An HC-05 modules allows for Bluetooth® communication with a smartphone and an ultrasonic sensor mounted on a servo arm provides some feedback.
A custom app, developed with the MIT App Inventor platform, enables the different control modes. The manual mode lets the user operate the vehicle directly, just like the original RC control. The voice mode lets the user speak commands like “move forward.” Before following such commands, the robot checks the ultrasonic sensor to ensure that there isn’t an obstacle in the way. In autonomous mode, the robot will perform its own pathfinding with the help of the ultrasonic sensor, similar to a Roomba.