Author Archives: Arduino Team

Two-factor authentication on Arduino

via Arduino Blog

Today, we’re announcing a new security feature for our community: two-factor authentication (2FA) on Arduino web services. We have implemented a two-step verification login to arduino.cc, so our users can be sure of their online safety.

If enabled, two-factor authentication offers an additional security layer to the user’s account, so the user can have better protection of their IoT devices connected to Arduino IoT Cloud. We encourage our users to enable 2FA to improve their online safety.

How to enable two-factor authentication

Arduino supports two-factor authentication via authenticator software as Authy or the Google Authenticator. To enable 2FA on your account:

1. Go to id.arduino.cc and click on Activate in the Security frame of your account:

2. Scan the QR code using your own authenticator app (e.g. Authy, Google Authenticator, Microsoft Authenticator, etc.)

3. Now, in your authenticator app, it appears a six-digit code that changes every 30 seconds: copy it in the text field and click Verify.

4. Important: Save your Recovery code in a safe place and do not lose it. If you lose your 2FA codes (e.g. you misplace or break your phone), you can still restore your account using the recovery code. If you lose both 2FA and recovery codes, you will no longer be able to access your account.

5. Great! Now you have the Two-Factor Authentication enabled on your Arduino account.

Building an Arduino-based bipedal bot

via Arduino Blog

If you’d like to build a walking biped robot, this 3D-printed design by Technovation looks like a fantastic place to start. Each leg features three servos that actuate it at the hip, knee, and ankle for a total of six degrees of freedom.

Control is handled by an Arduino Uno board that rides on top of the legs, along with a perfboard to connect to the servos directly.

Movements are calculated via inverse kinematics, meaning one simply has to input the x and z positions, and the Arduino calculates the proper servo angles. The bot is even able to take steps between two and 10 centimeters without falling over.

Bike signal display keeps riders safe with machine learning

via Arduino Blog

Cycling can be fun, not to mention great exercise, but is also dangerous at times. In order to facilitate safety and harmony between road users on his hour-plus bike commute in Marseille, France, Maltek created his own LED backpack signaling setup.

The device uses a hand mounted Arduino Nano 33 BLE Sense to record movement via its onboard IMU and runs a TinyML gesture recognition model to translate this into actual road signals. Left and right rotations of the wrist are passed along to the backpack unit over BLE, which shows the corresponding turn signal on its LED panel.

Other gestures include a back twist for stop, forward twist to say “merci,” and it displays a default green forward scrolling arrow as the default state.

More details on the project can be found in Maltek’s write-up here.

This ephemeral display shows messages using floating bubbles

via Arduino Blog

While electronics and water don’t generally mix, researchers at Ochanomizu University in Japan have come up with an ephemeral display method that uses floating clusters of bubbles to show messages on a liquid surface.

The device, known as UTAKATA, utilizes a line of seven electrodes under Arduino Uno control that activate to form hydrogen bubbles via electrolysis. When arranged properly, these bubbles can be made to produce letters and words, which as shown in the video below, dissipate as they flow downstream in the container.

UTAKATA follows previous work where a static configuration of bubbles was used as the output. This water output gives a much better refresh rate, along with an interesting visual effect.

More details are available in the researchers’ paper.

Meet Tomo, a DIY virtual pet that’ll spark ’90s nostalgia

via Arduino Blog

If you miss your Tamagotchi virtual pet from the ’90s, Element14 Presents’ DJ has come up with the next best thing — or perhaps something even better!

His DIY device named “Tomo,” for friend, displays a digital companion on its 1.3” OLED screen, and features a variety of mini games that lets you level it up with new characteristics.

The game/pet, which runs on a MKR Zero, implements three buttons for control, a power switch, and a piezo speaker for audio feedback (all the beeps and boops you’d expect). While still very much handheld, its blue and purple 3D-printed shell is significantly larger than the original Tamagotchi. This should make it easy to use, and its low part count means it wouldn’t be hard to duplicate either.

Arduino-based inkjet printer slowly but surely gets the job done

via Arduino Blog

As a prototype for a continuously printing art project, Norbert (AKA “HomoFaciens”) has built an inkjet printer that uses an Arduino and the mechanics of a discarded 3D printer to slowly generate black and white images. 

The hacked together assembly mounts the Uno, associated electronics, and an HP 6602 cartridge onto a piece of hardboard, which is attached to the X-axis assembly of the former 3D printer. 

Print height is set by manual manipulation of the Z-axis. The Arduino can then move the printer in the X/Y direction via the two steppers, and print by passing current to the cartridge’s nozzles in short bursts. 

“The electronics consist of a computer power supply that provides 12V DC, a boost-up converter that raises this voltage to 18V, an Arduino UNO that generates the control pulses and two ULN2803 chips that convert the 5V of the GPIOs to 18V level.”

As seen in the video below, the contraption appears to work well after some experimentation.