Go Unlimited with Magzter GOLD

Go Unlimited with Magzter GOLD

Get unlimited access to 10,000+ magazines, newspapers and Premium stories for just

$149.99
 
$74.99/Year

Try GOLD - Free

LAPTOP-BASED HMI For DC Motor Speed And Direction Control

Electronics For You

|

October 2025

DC motors are usually controlled with switches or buttons for direction and a potentiometer for speed.

- PRADIPTA GHOSH

LAPTOP-BASED HMI For DC Motor Speed And Direction Control

While the potentiometer remains effective for speed regulation, this system offers an alternative, enabling both speed and direction control of a DC motor (up to 36V) directly through a laptop. It integrates an Arduino Uno board for serial communication with a graphical user interface (GUI) developed using Processing. (Processing is a free, open source programming language and environment for creating interactive graphics, animations, and applications.) The GUI functions as a laptop-based human-machine interface (HMI), providing smooth, screen-based motor control.

imageThe components required to assemble the hardware are listed in the Bill of Materials Table 1. A breadboard-based author's prototype of the system is shown in Fig. 1.

Circuit and working

Fig. 2 shows the circuit diagram of the laptop-based HMI for DC motor speed and direction control. The system is built using an Arduino Uno board (MOD1), the L293D motor driver IC (IC1), a DC motor (M), and a few supporting components. A separate 9V power supply should be used for the motor instead of combining it with the Arduino's power source. The Arduino board requires a dedicated 9V supply. A USB cable is used for programming.

imageThe system functions through serial communication between the laptop GUI and the Arduino board. The GUI sends control commands to the Arduino via the USB serial port. Upon receiving these commands, the Arduino interprets them and activates the motor using the L293D driver. Specifically:

• Command 0: Moves the motor forward

• Command 1: Stops the motor

MORE STORIES FROM Electronics For You

Electronics For You

Electronics For You

MAGNETIC SIGNALS You Couldn't Hear—Until Now

What if we could sense the invisible? With next-gen TMR sensors hitting picoTesla sensitivity, healthcare, wearables, and even quantum tech are about to change forever.

time to read

6 mins

November 2025

Electronics For You

Electronics For You

SMALLEST PORTABLE GAME BOY And Wi-Fi Hacking Device

In the late 1980s and 1990s, the Game Boy redefined handheld entertainment.

time to read

5 mins

November 2025

Electronics For You

BULLETPROOFING YOUR PRODUCT DESIGN For Wireless Products

In wireless product development, how do you select the right communication technologies, from identifying the specific hardware and software to delivering the finished product?

time to read

9 mins

November 2025

Electronics For You

DUAL-TONE SINGLE BELL For Two Doors

In modern homes, apartments, and offices, multiple entrance doors are common. Traditionally, each door requires a separate doorbell, which increases cost and can confuse residents. Hearing a bell without knowing whether it is the main entrance or the back door is a frequent inconvenience. To address this, a single bell device has been designed for two doors, using a common bell that produces two distinct sound patterns depending on which door's switch is pressed. Fig. 1 shows the device prototype without its transformer.

time to read

3 mins

November 2025

Electronics For You

Electronics For You

Real-Time TEMPERATURE And HUMIDITY MONITORING SYSTEM Using TFT Display

Real-time environmental monitoring is increasingly important in agriculture, industrial automation, smart homes, and healthcare. The real-time data monitoring system measures and displays ambient temperature and humidity on a TFT display, along with the current time, using an Arduino microcontroller.

time to read

3 mins

November 2025

Electronics For You

Electronics For You

"THE INSPIRATION BEHIND BONV AERO HAS ALWAYS BEEN TO BRING SMART AERIAL MOBILITY TO INDIA"

How close are we to seeing smart aerial mobility move from science fiction to everyday reality, transforming defence, disaster relief, and high-altitude logistics? At BonV Aero, Gaurav Achha is making that leap a reality through advanced drones built to reshape logistics, defence, and emergency response.

time to read

7 mins

November 2025

Electronics For You

Electronics For You

Why Design For Manufacturing Is India's Electronics Game-Changer

India's electronics growth story will not be written by assembly alone. Embedding Design for Manufacturing into every stage of product creation is the step that can transform ambition into global competitiveness-and make India a genuine leader in electronics.

time to read

8 mins

November 2025

Electronics For You

"It's Not About How Many Companies You Incubate— It's About How Many Are Still Standing Five Years Later."

Is IIT-M’s Pravartak just another incubator for startups? Or is it different? To answer that, EFY’s Akanksha spoke to Shankar Raman from Pravartak, and here is what she discovered...

time to read

5 mins

November 2025

Electronics For You

Electronics For You

AI Vision ASSISTANT CAMERA

The AI vision assistant camera is a smart device for image recognition and interpreta- tion.

time to read

4 mins

November 2025

Electronics For You

Electronics For You

Compact AI HEALTH MONITORING And ANOMALY DETECTION DEVICE

Early detection of health irregularities helps identify conditions before they develop, allowing timely intervention. Continuous monitoring, however, is not easy without wearable sensors that automatically track health data.

time to read

3 mins

November 2025

Listen

Translate

Share

-
+

Change font size