Schlagwort: Uno

  • Jet-powered Star Wars speeder bike built from repurposed hoverboard

    Jet-powered Star Wars speeder bike built from repurposed hoverboard

    Reading Time: 2 minutes

    Developing your skill set is all about pushing the boundaries of your current knowledge and experience, but that inevitably leads to occasional failure. When that happens, you need to know how to pivot and complete the project. A great example of that is James Bruton’s Star Wars speeder bike built from a repurposed hoverboard.

    Bruton started this project with the idea of taking the electronics and motors from a hoverboard and reconfiguring them to create a self-balancing bike. His intention was to control the movement by shifting his weight and by tilting the back half of the bike relative to the front half, so the hoverboard electronics would act just like they normally would. But that proved to be very difficult to ride, so Bruton had to pivot to a new control method that would give him better maneuverability.

    To save the project, Bruton turned to an Arduino UNO Rev3. It monitors the rotation angle and tilt angle of the handlebars using potentiometers, then uses servo motors to tilt the hoverboard controller boards accordingly. As far as the hoverboard electronics know, this is just the movement of the rider shifting their weight or moving their feet. This causes the bike to roll side-to-side or rotate in place through input through the handlebars.

    The bike rides on omni wheels, so Bruton also needed a way to move forwards. He chose to use hobby jet thrusters that are also under the control of the Arduino, with a throttle turning a third potentiometer. Those thrusters don’t have quite enough force for the job, so Bruton needs a push to get started. But they do let him continue on once he’s moving.

    [youtube https://www.youtube.com/watch?v=j9tN51fh_vE?feature=oembed&w=500&h=281]

    The post Jet-powered Star Wars speeder bike built from repurposed hoverboard appeared first on Arduino Blog.

    Website: LINK

  • Tiny DIY Roomba cleans desks and countertops

    Tiny DIY Roomba cleans desks and countertops

    Reading Time: 2 minutes

    The future we were promised was supposed to include robot maids and flying cars. The future we got has Roomba vacuums and Southwest Airlines. But at least those Roomba vacuum robots work pretty well for keeping floors slightly cleaner. Sadly, they leave elevated surfaces untouched and dust-ridden. To address that limitation, Jared Dilley built this tiny DIY Roomba to clean his desk.

    Dilley is a dog owner and so his desk ends up with quite a bit of dust and loose hair, even though his dog is large and doesn’t sit on the desk — a mystery all pet owners will find relatable. Fortunately, Dilley is an engineer and had already created a small Arduino-controlled tank robot a while back. That operated a bit like a Roomba and would drive around until its ultrasonic sensor detected an obstacle, at which point it would turn. Dilley just needed to repurpose that robot into small mean cleaning machine.

    The 3D-printed robot operates under the control of an Arduino UNO Rev3 through a motor driver shield. Originally, it only had the ultrasonic sensor, which was enough to detect obstacles in front of the robot. But because its new job is to patrol desks and countertops, Dilley had to add “cliff” sensors to keep it from falling off. He chose to put an infrared sensor at each of the front two corners. The Arduino will register the lack of a reflection when one of those sensors goes past an edge, and will then change course. A Swiffer-like attachment on the back of the robot wipes up dust and dog hair.

    [youtube https://www.youtube.com/watch?v=fM7q85V_2Z0?feature=oembed&w=500&h=281]

    The post Tiny DIY Roomba cleans desks and countertops appeared first on Arduino Blog.

    Website: LINK

  • Lab-on-a-drone detects and analyzes pollutants from the sky

    Lab-on-a-drone detects and analyzes pollutants from the sky

    Reading Time: 2 minutes

    Air quality concerns encompass several different pollutants and irritants. Chlorofluorocarbons (CFCs) were, for example, a major concern in the 20th century due to the damage they cause to the ozone layer. But not all pollutants are easy to monitor. Hydrogen sulfide, which causes irritation of the eyes, nose, and throat at low levels and much more serious symptoms at high levels, can collect in pockets. To find them, researchers from Brazil have a developed a low-cost lab-on-a-drone.

    The CDC reports that hydrogen sulfide exposure is a risk for those working in rayon textile manufacturing, petroleum and natural gas drilling and refining, wastewater treatment, and farms with manure storage pits. Because industry isn’t always keen on environmental protection, these researchers wanted a way to find pockets of high hydrogen sulfide concentration. To detect that gas efficiently at a variety of altitudes, they decided a drone-mounted approach was best.

    They achieved that by designing a sensor system light enough to be carried by off-the-shelf consumer drones. That payload consists of an Arduino UNO R3 board, the hydrogen sulfide sensor, an air pump for that sensor, and a DHT22 temperature and humidity sensor. It also has an HC-05 Bluetooth® module, so the researchers can monitor readings from anywhere within range.

    The team found a significant increase in hydrogen sulfide levels as the drone got higher, indicating that existing sensors on the ground are insufficient for monitoring this kind of pollution. You can read more in their published paper here.

    Images credit: Leal et al. Analytical Chemistry, 2023, DOI: 10.1021/acs.analchem.3c02719

    The post Lab-on-a-drone detects and analyzes pollutants from the sky appeared first on Arduino Blog.

    Website: LINK

  • Practical magnetic switches make this electronic chessboard possible

    Practical magnetic switches make this electronic chessboard possible

    Reading Time: 2 minutes

    You can play chess just as easily on a $2 set from a thrift store as you can on a $2,000 ornate set from a bespoke retailer. But that doesn’t stop people from building or buying those fancy chess sets. If you’re the DIY type, you may even be interested in an electronic chessboard like this one from the NVE Corporation team, which was made possible by practical magnetic switches.

    This is an electronic chessboard that registers moves and speaks them out loud. That can make it useful for people who don’t have good eyesight. It also allows for the possibility of recording entire matches on a connected computer. Chessboards like this aren’t uncommon, but this project was simplified by the use NVE’s GMR magnetic switch sensors. Those detect the presence of magnets in the bases of the chess pieces, with enough tolerance to account for variation in placement and board thickness.

    An Arduino UNO R3 board monitors all 64 of those switches through a matrix similar to keyboard. When a player picks up a piece, the Arduino notes the square that changed states. Then, when the player puts down the piece, the Arduino records that square, too. It can then output PWM (pulse-width modulation) audio to an amplifier board that says, for example, “B7 to B6” using the Talkie library.

    By updating a running log of every piece’s position, it would also be possible for it to instead say “pawn to B6.” But the current implementation doesn’t do so.

    [youtube https://www.youtube.com/watch?v=Il0iVUDDfjk?feature=oembed&w=500&h=281]

    The post Practical magnetic switches make this electronic chessboard possible appeared first on Arduino Blog.

    Website: LINK

  • This bionic hand responds to motion control

    This bionic hand responds to motion control

    Reading Time: 2 minutes

    Building a robot is only half the battle, because you also need a way to control it. Something like a rover may work with a simple joystick or even typed commands. But complex robots often have many motors and controlling those all directly becomes a challenge. That’s why Will Cogley chose motion control for his bionic hand.

    This is the newest iteration of a project that Cogley first started a few years ago. It is robotic hand meant to mimic a human hand as much as possible. Human fingers do not contain muscles. Instead, muscles in the forearms and palms pull on tendons to move the fingers. Cogley’s bionic hand works in a similar manner by using servo motors in the forearm to pull on cables that actuate the fingers. An Arduino UNO Rev3 moves the servos according to commands from a PC, but Cogley needed a way to streamline those commands.

    Cogley chose a Leap Motion Controller for this job. It can track the motion of the user’s hand in near real-time and update a 3D model on the computer to reflect that. It displays that model in Unity, which is a 3D game engine that has the flexibility to perform in applications like this. Unity can determine the angle of each joint and Cogley was able to take advantage of the Uduino plugin to send servo commands to the Arduino based on those angles.

    [youtube https://www.youtube.com/watch?v=mV3eoSesqSI?feature=oembed&w=500&h=281]

    The result is a bionic hand that moves to match the user’s own hand.

    The post This bionic hand responds to motion control appeared first on Arduino Blog.

    Website: LINK

  • Arduino speaks without any special hardware

    Arduino speaks without any special hardware

    Reading Time: 2 minutes

    We see many Arduino projects that feature audio output, but they tend to require a substantial amount of additional hardware. Audio files take up a lot of storage space, so they require something like an SD card adapter. Audio signals are analog, so they require a DAC (digital-to-analog converter) to get good quality. And then, to make the audio signal powerful enough for a speaker, these usually need amplifiers. But Scott W Harden found a way to make an Arduino UNO Rev3 talk without any additional hardware beyond the speaker.

    In this case, the Arduino can speak any number, from zero to nine, out loud through the speaker. This is possible because those are very short words (most only a single syllable) that are recognizable when the quality is very low. This audio quality wouldn’t be suitable for music or even general language, but it is enough for a sequence of numbers. By reducing the audio quality as much as possible and making the clips short, Harden was able to create audio files small enough to fit in the 32KB flash memory of the UNO‘s ATmega328 microcontroller with room to spare for the sketch.

    Harden started with normal MP3 recordings of the spoken numbers. He then performed a 100Hz to 2.5kHz band-pass on the clips, resampled them to 5kHz, and then converted the waveforms to eight-bit unsigned values to store in program memory. The Arduino can then play those waveforms through PWM (pulse-width modulation). A low-pass filter, comprised of a capacitor and resistor, helps smooth the PWM output into something closer to a true analog waveform. An optional LM386 chip can amplify the output, but Harden found that he was able to drive a speaker directly without that.

    The post Arduino speaks without any special hardware appeared first on Arduino Blog.

    Website: LINK

  • A DIY tube furnace for creating ICs

    A DIY tube furnace for creating ICs

    Reading Time: 2 minutes

    Modern integrated circuit (IC) chips can have transistors as small as two nanometers, which is only about 10 silicon atoms laid end-to-end. At that scale, fabrication looks more like chemistry than any kind of physical manipulation — a machinist isn’t carving tiny transistors into silicon wafers. For many types semiconductors, the fabrication process requires a very powerful furnace. If you’re interested in creating your own ICs, then YouTuber ProjectsInFlight has a video explaining how to build your own furnace.

    This is a design for a tube furnace that can reach 1200°C, similar to the kind that labs buy for many thousands of dollars. Producing that much heat in a controllable manner is not a trivial task and this is much more complicated than constructing a furnace for something like aluminum casting. The heating element is a coil of nichrome wire, which wraps around a quartz glass tube that can withstand the heat. A ridiculous amount of insulation surrounds the tube and wire to contain the heat.

    Nichrome wire heats up through resistance when a current passes through, so you could just connect it to a power source. But that wouldn’t be controllable, so ProjectsInFlight created a control board based on an Arduino UNO Rev3 board. Like a 3D printer controller handling hot end temperature through proportional–integral–derivative (PID), this uses a closed-feedback PID loop to modulate power to the nichrome wire in response to readings from a thermocouple. The control interface has a dial for setting the target temperature and a 16×2 character LCD to show the current temperature detected by the thermocouple. The Arduino uses a solid-state relay (SSR) to modulate the power going through the nichrome wire.

    [youtube https://www.youtube.com/watch?v=oqOlrGPgng8?feature=oembed&w=500&h=281]

    A simple sheet metal enclosure houses the tube and, in a separate area, the control electronics. The furnace seems to be capable of safely reaching the desired temperature, so ProjectsInFlight can now use it for semiconductor experiments.

    The post A DIY tube furnace for creating ICs appeared first on Arduino Blog.

    Website: LINK

  • Clem Mayer created a handheld BASIC computer badge with the Arduino UNO Rev3

    Clem Mayer created a handheld BASIC computer badge with the Arduino UNO Rev3

    Reading Time: 2 minutes

    Although we recently launched the new 32-bit Arduino UNO R4, Clem Mayer wanted to honor its 8-bit predecessor by making something special using the Rev3. Drawing on old hardware designs, the ZX-81 is an 8-bit computer based on the Z80 processor which has 1KB of RAM and 1KB of EEPROM available for the user to utilize within the operating environment — typically a BASIC interpreter shell. Similarly, Mayer wanted to have one ATmega328P run the TinyBASIC interpreter while a secondary ATmega328P would handle the external keyboard and display due to resource constraints.

    The PCB was designed to fit within the form factor of a standard event badge, complete with a small multiplexed keyboard and a 20×4 monochrome LCD screen to fit the retro theme. On the back layer of the board are both AVR MCUs in a surface-mount package to save on space along with a pair of battery holders and a buzzer/power delivery circuitry.

    Although the code was working for the most part, Mayer still encountered a couple of problems which he solved mainly through bodges and ensuring the LCD was producing adequate contrast. Once the hardware was functioning as intended, he 3D-printed a case and turned it into a lanyard-attached device — complete with blinky lights and a highly interactive interface.

    The finished handheld computer badge is a testament to the power and versatility of the Arduino Uno R3. By utilizing all available pins and space on the chip, Clem successfully transforms the Arduino Uno into a handheld computer with capabilities like the ZX-81. The project serves as a fitting tribute to the beloved Arduino UNO R3 and showcases the potential for DIY electronics with microcontrollers.

    To see more on this project, be sure to watch Mayer’s video below!

    [youtube https://www.youtube.com/watch?v=_9Nl1EnGxWk?feature=oembed&w=500&h=281]

    The post Clem Mayer created a handheld BASIC computer badge with the Arduino UNO Rev3 appeared first on Arduino Blog.

    Website: LINK

  • Channel your inner Bruce Lee with this DIY reflex coach

    Channel your inner Bruce Lee with this DIY reflex coach

    Reading Time: 2 minutes

    Video games are popular because they provide a clear and reliable loop of effort and reward. If you smash the baddie, you get experience; get enough experience and you level up. But real life isn’t like that and there is little direct correlation between effort and reward, which is dissatisfying. Gamification techniques address that by providing game-like rewards in real life. If you want to gamify physical speed and dexterity, then the DIY Cobra reflex coach may be the ticket.

    Cobra works a lot like the consumer training devices on the market. It has several big buttons that you must push as quickly as possible after they light up. And it provides gamification by quantifying your performance. Get a little bit faster and you’ll immediately be rewarded with objective feedback on your enhanced speed. That gives you incentive to keep practicing and over time you agility should grow. Continue and you may just become the next Bruce Lee.

    This is a compact unit, so the enclosure is 3D-printable and can be mounted to a wall or tree. Inside the housing there is a massive PCB, complete with cobra head artwork. That PCB contains an Arduino UNO Rev3 board, a 16×2 character LCD screen, and a small piezo buzzer. Adafruit NeoPixels illuminate the buttons, indicating which one you should strike at any given moment. Those buttons are actually capacitive touch pads, so you don’t have to hit them hard— even a light tap will register.

    [youtube https://www.youtube.com/watch?v=Wku5thRSHG4?feature=oembed&w=500&h=281]

    The post Channel your inner Bruce Lee with this DIY reflex coach appeared first on Arduino Blog.

    Website: LINK

  • Introducing UNO R4 WiFi support in the Arduino Cloud

    Introducing UNO R4 WiFi support in the Arduino Cloud

    Reading Time: 2 minutes

    We are excited to announce that the Arduino Cloud now supports the UNO R4 WiFi board, providing makers with seamless connectivity and enhanced features.

    Building upon the recent release of the much-anticipated UNO R4 in our store, this new integration significantly amplifies the capabilities of the Arduino Cloud. The UNO R4 WiFi is a revolutionary addition to the Arduino family, combining the widely popular UNO R3 form factor with built-in WiFi connectivity. It is perfect for all users, from beginners to experts, wanting to explore the forefront of innovation and IoT projects creation.

    How to connect UNO R4 WiFi to Arduino Cloud

    With the Arduino Cloud, connecting your UNO R4 WiFi board becomes a breeze. Our user-friendly interface and intuitive workflows ensure a smooth setup process. To get started, follow our usual “Add a device” workflow:

    • Visit Arduino Cloud.
    • Connect your UNO R4 WiFi to your PC.
    • Navigate to the Devices section and click on “Add Device.” Your board will be detected automatically.
    • The workflow will guide you through updating the connectivity firmware to ensure compatibility.
    • Once the update is complete, your UNO R4 WiFi is ready to be managed from the Arduino Cloud.

    UNO R4 WiFi + Arduino Cloud = Unleash your creativity

    Develop from anywhere using the web editor, share your sketches with your colleagues and friends, create dashboards to monitor and control your devices remotely from a browser or your mobile phone, share information between multiple devices, or integrate seamlessly your devices with Alexa. 

    About Arduino Cloud

    The Arduino Cloud is the next exciting journey for IoT enthusiasts to bring their projects to life quickly. It is an all-in-one intuitive IoT platform, supporting a wide range of hardware and backed by the vibrant Arduino community. Arduino Cloud removes complexity to empower users from all levels of expertise to create from anywhere, control and share their projects with stunning dashboards.

    Sign up for Arduino Cloud now and unleash the full potential of your UNO R4 WiFi board!

    The post Introducing UNO R4 WiFi support in the Arduino Cloud appeared first on Arduino Blog.

    Website: LINK

  • This Arduino reads punch cards for cloud computing

    This Arduino reads punch cards for cloud computing

    Reading Time: 2 minutes

    You already know that computers store and interpret data in binary: ones and zeroes. There are many, many ways to store binary data, because it works with anything that can maintain at least two states. In the early days of computing, punch cards were common. They were paper cards with a grid of points. A hole at any of those points could represent either a one or zero (depending on the system), while the lack of a hole would represent the opposite. To bring old and new together, Nino Ivanov built an Arduino punch card reader for cloud computing.

    Cloud computing turns processing into an internet service, letting customers run whatever calculations or programs they like without needing to maintain their own hardware. In a typical use case scenario, the customer would simply upload their code or data from a computer to the cloud service for processing. But that data can come from anything, including punch cards. Ivanov’s project uses punch cards (which he seems to have cut by hand) that are read by an Arduino, transferred to a computer, and then entered into the cloud computing terminal interface.

    Each punch card is just a piece of grid paper with some squares cut out. Each row contains six bits, which an Arduino Uno reads using a cobbled-together reader made with LEDs and photoresistors. If there is a square cut out, the light will pass through and the corresponding photoresistor will detect the light. A small servo motor feeds the punch card through the reader. In this case, Ivanov encoded a Common Lisp program to process factorials in the cloud. But the same general concept could apply to any language or data — though most are much less efficient than Lisp and would require a far greater number of punch cards.

    [youtube https://www.youtube.com/watch?v=Oke-7lsvFug?feature=oembed&w=500&h=281]

    The post This Arduino reads punch cards for cloud computing appeared first on Arduino Blog.

    Website: LINK

  • Recreating the famous Miller-Urey experiment with Arduino

    Recreating the famous Miller-Urey experiment with Arduino

    Reading Time: 2 minutes

    Evolution is fact — at least as much as anything is a “fact” in the scientific sense. What is still very much in question is abiogenesis, which is the origin of life from inorganic compounds. Evolution is the mechanism that took unicellular life to our current biodiversity, but scientists don’t know exactly how the first single-cell organisms came to be. Most reputable theories posit that the conditions on a young Earth allowed organic compounds, like amino acids, to form and then develop into organisms. In 1952, the Miller-Urey experiment confirmed that such a thing is possible. To recreate that famous experiment, M. Bindhammer turned to Arduino.

    The conditions that, theoretically, resulted in the first amino acids were an atmosphere of compounds like methane, water, ammonia, and hydrogen along with electricity in the form of lightning. Stanley Miller, under the supervision of Harold Urey, recreated those conditions in the lab with a closed system that heated the gases, passed them through a chamber with electrodes to produce sparks, then down through a cooler and back to the start. That produced many amino acids that could (again, in theory) come together to form genetic code. M. Bindhammer’s reproduction of this experiment works in a similar way, but with a plasma arc instead of sparks.

    M. Bindhammer needed a way to control the plasma arc and chose an Arduino Uno Rev3 board for the job. That plasma arc oxidizes the nitrogen in the air, so it is crucial to the experiment. Generating the plasma arc required a lot of voltage (45000V), which M. Bindhammer controlled through a MOSFET connected to the Arduino. That let them modulate power to the electrodes in order to avoid overheating them.

    This seems to have been a success and M. Bindhammer reports that the initial experiment produces the hypothesized results.

    [youtube https://www.youtube.com/watch?v=suCMnIyDBho?feature=oembed&w=500&h=281]

    The post Recreating the famous Miller-Urey experiment with Arduino appeared first on Arduino Blog.

    Website: LINK

  • mail2code lets you program via email

    mail2code lets you program via email

    Reading Time: 2 minutes

    Getting started with physical computing presents a challenge to newcomers, whether due to the cost of acquiring hardware, learning how to manipulate GPIO pins, and being able to easily view what others have done to achieve their results. Norbert Heinz, who runs the site and YouTube channel HomoFaciens, therefore decided to build a system that anyone can control by simply sending an email.

    The aptly named “mail2code” project is based around an Arduino Uno Rev3 board, which has been connected to a wide variety of peripherals to help students and hobbyists alike learn different hardware. The setup includes a DC motor attached to a central gear and a faster gear for exploring motors and interrupts, an array of eight LEDs that can act as a binary counter, a die face to explore random numbers, and a stepper motor with an accompanying Hall effect sensor that is used to learn analog signals in response to rotation.

    In order to interact with all of this hardware, users are required to submit an email to a mail server hosted on a Raspberry Pi. It, in turn, compiles the C++ code and flashes the Arduino before activating its connected camera and recording what happens next for one minute. Lastly, the code and video clip are uploaded to Heinz’s web server for everyone to view, and an email is also sent to the sender notifying them of their code’s execution.

    To view mail2code in more detail, you can watch Heinz’s video below!

    [youtube https://www.youtube.com/watch?v=HFW0vklgOUc?feature=oembed&w=500&h=281]

    The post mail2code lets you program via email appeared first on Arduino Blog.

    Website: LINK

  • This beer pong-playing robot uses sophisticated math to sink shots

    This beer pong-playing robot uses sophisticated math to sink shots

    Reading Time: 2 minutes

    Beer pong is a classic party game involving skill, persistence, and alcohol tolerance. Participating in friendly games of beer pong is a great way to socialize with peers, but what if you aren’t very good at tossing ping pong balls into red Solo cups? In that case, you may want to follow the lead of Niklas Bommersbach to construct a robot that can play beer pong for you.

    This robot works a bit like a medieval catapult to launch ping pong balls, but that’s more complicated than it sounds. The target (a cup) is quite small, which means the robot has to be accurate. Like a bullet traveling along a ballistic trajectory, the ping pong ball will experience both gravity and drag from air resistance. The robot has to take those into account, as well as vibrations in the catapult arm that cause oscillations to throw off the throw. Bommersbach had to implement algorithms to take those into account, going so far as to measure the movement with an IMU.

    The robot is a combination of aluminum extrusion and 3D-printed parts. An Arduino Uno Rev3 board controls two continuous rotation servo motors that start the arm spinning, then a third stepper opens the gripper to release the ball at the proper time. There is also a vibration-dampening system that uses a complex system of lead screws and gears to move weights up and down the arm to alter the frequency at which the arm structure oscillates, ensuring that those do not interfere with a throw at a specific distance.

    There isn’t any computer vision, so Bommersbach has to enter the parameters for each shot. But the result is still impressive and this robot is more consistent than most experienced players.

    [youtube https://www.youtube.com/watch?v=Xm2Y8mjOVtc?feature=oembed&w=500&h=281]

    The post This beer pong-playing robot uses sophisticated math to sink shots appeared first on Arduino Blog.

    Website: LINK

  • Upgrade your sewing machine for CNC embroidery

    Upgrade your sewing machine for CNC embroidery

    Reading Time: 2 minutes

    With a CNC (computer numerical control) embroidery machine, you can sew any custom patterns you want: text, logos, or goofy pictures. But commercial CNC embroidery equipment is expensive and consumer versions often leave a lot to be desired, which is why you might want to check out this write-up by SpaceForOne that explains how to upgrade a regular sewing machine for personalized CNC embroidery.

    For this to work, the machine needs to be able to move an embroidery hoop in two axes on a plane perpendicular to the sewing needle. To do that, SpaceForOne used hardware similar to what you’d see on a 3D printer. The structure is aluminum extrusion and the axes ride on linear rails. Stepper motors move the axes and an Arduino Uno board controls those using a GRBL-compatible CNC shield that accepts standard G-code created in whatever software the user prefers.

    You could simply start the G-code file while running the machine, but it would be really hard to avoid snags or putting lines where travel moves should be. That’s why SpaceForOne also interfaced with the sewing machine. The CNC shield controls the machine’s motor, while an optical sensor monitors the drive shaft speed and a break beam sensor detects when the needle is in the top position. Those let the Arduino control the operation of the sewing machine according to basic G-code commands.

    There are many software options, but SpaceForOne used the InkStitch plugin for Inkscape. With that, the user can easily turn text or an image into G-code.

    [youtube https://www.youtube.com/watch?v=rIG09RFPYDc?feature=oembed&w=500&h=281]

    The post Upgrade your sewing machine for CNC embroidery appeared first on Arduino Blog.

    Website: LINK

  • Analyze the ambient sound around you with this Arduino setup

    Analyze the ambient sound around you with this Arduino setup

    Reading Time: 2 minutes

    You’ve probably heard that there isn’t any sound in space. That’s because sound is vibration traveling through a medium, like air or wood, and space is a mostly empty vacuum. The frequency of the vibration in a medium is the pitch of the sound and the amplitude is the volume. If you want a way to visualize the frequencies of the sounds around you, Vaclav Krejci (upir on YouTube) designed an Arduino-based audio analyzer that you can build.

    Like the visualizer of the equalizer on an old stereo receiver, this displays the levels of several frequency bands within the audio it monitors. In this case, that audio is the sound around the device collected by an onboard microphone. It shows the levels for seven different frequencies: 63Hz, 160Hz, 400Hz, 1kHz, 2.5kHz, 6.3kHz, and 16kHz. Most devices like this use LEDs to show the levels, but this shows them on a OLED screen instead and that allows for more flexibility.

    That OLED screen connects to an Arduino Uno Rev3 board, which uses a pair of DFRobot modules to work with the audio. The first is an analog mic board that performs amplification to boost the audio signal up to something usable. The second is the AudioAnalyzer board that breaks that audio signal down into seven frequencies. Krejci’s code is straightforward and simply displays seven bar graphs corresponding to the amplitude numbers provided by the AudioAnalyzer board.

    Use this in space and it should show all zeroes. But use it here on Earth and it will help you analyze the sound around you.

    [youtube https://www.youtube.com/watch?v=dCofwhHcW7Y?feature=oembed&w=500&h=281]

    The post Analyze the ambient sound around you with this Arduino setup appeared first on Arduino Blog.

    Website: LINK

  • Sort up to 280 coins per minute with this 3D-printed machine

    Sort up to 280 coins per minute with this 3D-printed machine

    Reading Time: 2 minutes

    Counting one’s coins by hand can take a very long time, and for those wanting to avoid physically going to the bank or paying a fee at a commercial machine, what options remain? The YouTuber known as Fraens has created a full 3D-printed coin sorter and counter that combines technology with a clever design to accomplish this task automatically.

    The bulk of the device is comprised of the drum which has many round slots placed around its inner circumference that coins can travel within. It is set at an angle that matches the stationary underside, and this is necessary because the coins should only fall through when the drum reaches the top half of its cycle. Since each coin denomination is slightly bigger or smaller, the series of rectangular slots have varying sizes to separate the denominations, and every drop is picked up by an infrared distance sensor when it detects a change in light levels caused by the passing coin.

    A geared motor is responsible for rotating the drum, and it in turn is powered by an L298N H-bridge driver which is controlled by an Arduino Uno Rev3. The Uno also reads the states of the infrared sensors to count the quantities of each coin and displays the result using an LCD positioned at the front of the device.

    To see more about how Fraens’ coin sorter works, you can watch his video below!

    [youtube https://www.youtube.com/watch?v=sQj0ageWvSU?feature=oembed&w=500&h=281]

    The post Sort up to 280 coins per minute with this 3D-printed machine appeared first on Arduino Blog.

    Website: LINK

  • The Whimsy Artist is a little robot that both creates and destroys art

    The Whimsy Artist is a little robot that both creates and destroys art

    Reading Time: 2 minutes

    Many people find the subjectivity of art to be frustrating, but that subjectivity is what makes art interesting. Banksy’s self-shredding art piece is a great example of this. The original painting sold at auction for $1.4 million—and then it shredded itself in front of everyone. That increased its value and the now-shredded piece, dubbed “Love Is in the Bin,” sold again at auction in 2021 for a record-breaking $23 million. In a similar vein to that infamous work, this robot destroys the artwork that it produces.

    “The Whimsy Artist” is a small robot rover, like the kind you’d get in an educational STEM kit. It is the type of robot that most people start with, because it is very simple. It only needs two DC motors to drive around and it can detect obstacles using an ultrasonic distance sensor and has two infrared sensors for line-following. An Arduino Uno Rev3 board controls the operation of the two motors according to the information it receives from the sensors.

    That decision-making is where the artistic elements come into play. When it doesn’t detect any obstacles, the robot will run in “creative” mode. It opens a chute on a dispenser to drop a trail of fine sand while it moves in a pleasant spiral pattern. But if it sees an obstacle with the ultrasonic sensor, it gets angry. In that mode, it reverses direction and uses the IR sensors to follow the line it just created while deploying a brush to destroy its own sandy artwork.

    [youtube https://www.youtube.com/watch?v=wni_M91ZCLI?start=1&feature=oembed&w=500&h=281]

    The post The Whimsy Artist is a little robot that both creates and destroys art appeared first on Arduino Blog.

    Website: LINK

  • DIY air hockey table uses an Arduino to keep score

    DIY air hockey table uses an Arduino to keep score

    Reading Time: 2 minutes

    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.

    [youtube https://www.youtube.com/watch?v=3RbMmlKIwT0?feature=oembed&w=500&h=281]

    More information about this custom air hockey table can be found in Underwood’s write-up here.

    The post DIY air hockey table uses an Arduino to keep score appeared first on Arduino Blog.

    Website: LINK

  • Control a thermal printer with your Arduino

    Control a thermal printer with your Arduino

    Reading Time: 2 minutes

    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.

    [youtube https://www.youtube.com/watch?v=KZXgMsD3tTw?feature=oembed&w=500&h=281]

    The post Control a thermal printer with your Arduino appeared first on Arduino Blog.

    Website: LINK

  • The Emotion Aid is a wearable device that communicates its user’s emotions

    The Emotion Aid is a wearable device that communicates its user’s emotions

    Reading Time: 2 minutes

    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.

    The post The Emotion Aid is a wearable device that communicates its user’s emotions appeared first on Arduino Blog.

    Website: LINK

  • Stop snoring in its tracks with this helpful device

    Stop snoring in its tracks with this helpful device

    Reading Time: 2 minutes

    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.

    [youtube https://www.youtube.com/watch?v=YgN6eeGBCTM?feature=oembed&w=500&h=281]

    The post Stop snoring in its tracks with this helpful device appeared first on Arduino Blog.

    Website: LINK