Author Archives: Arduino Team

You can now use Arduino to program Linux IoT devices

via Arduino Blog

Today, at Embedded Linux Conference 2018, Arduino announced the expansion of the number of architectures supported by its Arduino Create platform for the development of IoT applications. With this new release, Arduino Create users can manage and program a wide range of popular Linux® single-board computers like the AAEON® UP² board, Raspberry Pi® and BeagleBone® as if they were regular Arduino boards. Multiple Arduino programs can run simultaneously on a Linux-based board and interact and communicate with each other, leveraging the capabilities provided by the new Arduino Connector. Moreover, IoT devices can be managed and updated remotely, independently from where they are located.

To further simplify the user journey, Arduino has also developed a novel out-of-the-box experience for Raspberry Pi and BeagleBone boards, in addition to Intel®  SBCs, which enables anyone to set up a new device from scratch via the cloud without any previous knowledge by following an intuitive web-based wizard. Arduino plans to continue enriching and expanding the set of features of Arduino Create in the coming months.

“With this release, Arduino extends its reach into edge computing, enabling anybody with Arduino programming experience to manage and develop complex multi-architecture IoT applications on gateways,” said Massimo Banzi, Arduino CTO. “This is an important step forward in democratizing access to the professional Internet of Things.”

“At Arduino we want to empower anyone to be an active player in the digital world. Being able to run Arduino code and manage connected Linux devices is an important step in this direction, especially for IoT applications that need more computing power, like AI and computer vision,” added Fabio Violante, Arduino CEO.

Pong embedded in a vintage Sony Watchman with Arduino

via Arduino Blog

There’s perhaps no other game more classic than Pong, and likely none that require fewer control inputs, making it perfect for “porting” to a Sony Watchman. While an amazing piece of tech when introduced in the early ’80s, the current lack of analog TV signals means they only receive static.

As seen here, hacker “sideburn” decided to do something about it, and removed the tuner and decoder chip, making space for an Arduino Nano in the device’s housing. To complete the build, he hooked up the Arduino outputs to TV inputs, along with the tuner as a paddle controller and built-in switch as a start/pause button, and was able to seal the unit up again.

The result is a retro gaming system that looks completely stock, playing Pong as if it was there the whole time. Be sure to check out the video to see it in action!

Automate a rubber strip door with Arduino

via Arduino Blog

In order to separate their office and shop areas, NYC CNC installed a rubber strip assembly that had to be pushed out of the way every time someone wanted to walk through. Although functional, it was also quite annoying, so they installed a system that uses a pneumatic cylinder to automatically move the rubber strips out of the way.

The device uses an Arduino Nano for control and VL53L0X  time-of-flight sensors for presence detection. In addition, it features a clever gear and belt assembly to mirror one side of the door with the other.

You can find more details of the build in the video below and check out the project’s components, Fusion 360 design files, and Arduino code here.

A DIY hardware watchdog for your mining rig

via Arduino Blog

Vadim Panov wanted a way to automatically restart a PC that was simple and cheap to make.

For this task, he turned to an Uno due to its wide availability; however, any Arduino board with at least one digital I/O pin and a USB-enabled serial port will work.

The device sends a “hello” string to the PC, to which it expects a “HELLO” back from the PC—running its own corresponding Java program—within 10 seconds. If it doesn’t receive this string, it assumes that the computer is frozen, and uses a reed relay to trigger the motherboard reset pin.

Panov’s idea could be used to monitor and reset cryptocurrency rigs, but could be adapted to other PC setups as needed.

Here’s how it works: the PC-side program tries to connect to every single serial port in your system within a period of 30 seconds (including the ports that appear during this process). To each port it’ll send the handshake string “hello” and monitor the input, expecting to receive uppercase “HELLO” back. When the handshake is finished, it’ll send ping strings once each five seconds.

The watchdog program on Arduino scans the input for “ping” strings. If no such string has been received within 10 second period, the watchdog will forcibly restart your PC.

Therefore, this scenario where you manually run it will be “one-off”, i.e. once the PC has been restarted, the watchdog will be stuck in the pre-handshake state. To make it work all the time, add the Java program to the startup list of your operating system of choice.

You can read more here and check it out in action below!

Test your aim in this carnival-style IR target game

via Arduino Blog

For a class assignment, Matt Robb along with teammates Kara and Andrew needed to make a project using an Arduino and various other components. What they came up with was a carnival-style game that uses a stepper motor to rotate three targets containing IR sensors out of a nicely-painted cardboard box.

An Arduino Uno provides control for the game. When hit with a signal from an IR remote, an LED on the target goes out, a buzzer beeps, and it momentarily stops spinning.

It looks like it was a lot of fun to build and play, so be sure to check it out in the video seen here!

Measure RPM with an IR sensor and Arduino

via Arduino Blog

When dealing with robotics and other electronics projects, it can be important to know how many revolutions a motor is making. From here, you can infer the distance that your device has traveled, or any number of other important variables.

If you’d like to get started with this type of sensing, this electronoobs tutorial will show you how to get things hooked up using an Arduino and a computer, along with an oscilloscope to verify measurements up to 10,000 RPM.

In his setup, an IR emitter/receiver bounces light off a spinning object. When light reflects back, it opens the circuit, causing the output to be grounded via a pulldown resistor, telling you that a revolution has been made. The 3D-printed device also features an OLED screen.

To emit infrared light we need a IR LED and to detect it a IR sensible transistor. Usually you could find those as a one unique module. To amplify the signal I’ve used the LM324 amplifier. You will also need a 100 ohm resistor and a 4.7k ohm one. To supply the system we will need a basic 9V battery and connector, an Arduino Nano, and an OLED screen. The case is 3D printed…

You can find more details on the build process here, as well as a demo of the tachometer below!