Author: syedzainnasir - Page 154 of 158

1576 articles found.

Display Serial Data on Real Time Graph in Labview

Three serial data channels displayed on LabVIEW plots, LabVIEW charts, serial sensor data, three-channel plotting

Hello friends! In this tutorial, we will display serial data on live plots in LabVIEW. In the previous lesson, we received comma-separated records from a COM port and converted them into a numeric array. We will now take the three values in that array and display each channel as a changing trace. If you have not built the serial reader yet, start with getting continuous data from a COM port in LabVIEW. The plotting stage assumes that a complete record has been received and validated. A graph cannot correct an incomplete message or determine which sensor a badly parsed number belongs to. We will preserve the original three-channel example and screenshots, then explain the differences between charts and graphs, how to label the time axis honestly, and how to keep the display responsive. Here, real-time means a display that updates as measurements arrive; a desktop serial VI does not provide a deterministic real-time execution guarantee. The original reader displays the incoming text in Response and its separated numeric values in Data 1D. For example, the complete line 120,221,312 produces a numeric array containing three elements. Array index 0 is 120, index 1 is 221 and index 2 is 312. Keep that raw-text display while adding the plots. It is a useful debugging reference: you can compare what arrived with what was parsed and finally with what was plotted. Hiding the raw input too early makes a graphing problem and a communication problem look unnecessarily similar. Require ...

Get Continuous Data From COM Port in LabView

LabVIEW serial acquisition block diagram overview, LabVIEW serial reader, NI-VISA, COM port data

Hello friends! Today, we will receive continuous data from a COM port in LabVIEW and display both the incoming text and its individual values. This is a useful first step when connecting a microcontroller, measurement instrument or serial sensor to a computer. Our original example receives comma-separated values and places them in a one-dimensional array. We will keep that flow, but also explain how the program knows where one complete record ends. Without that step, a serial reader can appear to work during a short demonstration and then occasionally display incomplete or mixed measurements. We will start with the software and serial settings, build the front panel and block diagram, then discuss parsing, timeouts and stopping the reader cleanly. The original VI remains available near the end for reference. Its screenshots show an older LabVIEW interface, so menu locations may differ in your installed version. A serial port transports bytes in order. It does not inherently know that three numbers belong to one measurement or that a comma separates two channels. Those rules come from the sending device's protocol. Before placing a VISA Read block, write down the exact format your device sends. For this tutorial, assume the sender transmits three decimal numbers separated by commas, with a line-feed character after each record. A displayed example is 120,221,312. On the wire, the final byte is LF, hexadecimal 0A. Some senders use carriage return followed by line feed; our ...

Circuit Designing of LCD with Arduino in Proteus ISIS

Arduino UNO displaying two rows of text on an LCD in Proteus, Arduino UNO, 16x2 LCD, Proteus simulation

Hello friends! Today, we will design a circuit containing an Arduino UNO and a 16 × 2 character LCD in Proteus ISIS. We will connect the display, write a small Arduino sketch, compile it and load the resulting program into the simulated UNO. Our first result will be the website name displayed across two rows. Libraries LCD Simulation Libraries Latest library: LCD Library for Proteus V3.0 (October 2026): LCD 16x2, LCD 20x4 and both I2C LCDs in one library, with our own HD44780 model and an Arduino demo One LCD only? LCD 16x2 · LCD 20x4 · I2C LCD 16x2 · I2C LCD 20x4 Helping Tools This is a useful beginner project because the visible result is simple while the underlying connections teach several important ideas: control signals, a four-bit data bus, contrast adjustment and the relationship between source code and a compiled program. We will examine each part before adding changing values to the display. If Arduino components are not available in your Proteus installation, begin with our Arduino Library for Proteus tutorial. The exact device library and simulation support depend on your installation. Once you can place a supported UNO model, you are ready to follow this circuit. We are using a character display with an HD44780-compatible parallel interface. A 16 × 2 display provides sixteen character positions on each of two rows. It is different from a graphical display, and it is also different from a character display fitted with an I2C backpack. The Arduino LiquidCrystal ...

Training Error: Recognition Failed in EasyVR

EasyVR voice-command training project overview, EasyVR Commander, Arduino voice recognition, training troubleshooting

Hello friends! Today, we will work through the EasyVR message Training Error: Recognition Failed. I originally encountered this error while training voice commands for an Arduino UNO project. Commander connected to the board, but the training attempt failed when I spoke the first command. Repeating the same attempt did not solve it. In my original setup, loading an appropriate EasyVR example and changing the shield's J12 connection from PC to SW allowed training to continue. That observation is useful, but it needs an important explanation: the correct jumper position depends on the shield revision and the communication path being used. SW is not a universal cure for every recognition error. We will separate communication problems from training and microphone problems, then return to the robot-command example. By the end, you should have a repeatable way to identify the failing stage, train a small command set and check that your Arduino handles unsuccessful recognition without taking an unintended action. EasyVR is a dedicated speech-recognition module. The Arduino asks it to perform an operation, and the module reports a result through its serial interface. EasyVR Commander provides a computer interface for defining, training and testing commands. The microphone connected to EasyVR supplies the sound; speaking into the computer's microphone does not train the module in this arrangement. A training error means that the requested training operation did not produce an ...

Send SMS with Arduino UNO and SIM900D using AT Commands

Arduino UNO and SIM900D SMS project overview, SIM900D modem, Arduino UNO, SMS AT commands

Hello friends! Today, we will send an SMS with an Arduino UNO and a SIM900D GSM module using AT commands. We will start with the connections, check that the modem can communicate with the mobile network, and then let the Arduino submit one message. You will also learn how to tell the difference between a successful command and a message that has actually reached its recipient. Libraries SIM900 Simulation Libraries Latest library: SIM900A Library for Proteus V1.1 (October 2026) Other GSM modules: SIM800L · SIM800C · SIM808 Helping Tools The SIM900D handles the radio connection and SMS service. The Arduino sends instructions through a serial connection and reads the modem's replies. We do not need a separate GSM control library for this example; we will use the Arduino serial facilities and send the commands ourselves. This makes the exchange easier to follow when something goes wrong. This tutorial concerns a legacy 2G modem. Before building the circuit, confirm that a compatible 2G network and SMS service are available from your operator at the installation location. A SIM card that works in a modern phone does not establish that this modem can register. Network retirement is an important consideration for an existing SIM900D project, as discussed in the GSMA network sunset guidance. For a first experiment, use a documented SIM900D carrier board rather than attempting to power and connect the surface-mount modem directly. Carrier boards differ in their regulators, serial ...

Introduction to Arduino YUN

Arduino Yun board and network setup overview, Arduino Yun setup, Linux networking, Arduino board tutorial

Hello everyone! Today we will explore the Arduino Yún and connect it to a local network. This board combines familiar Arduino programming with an onboard Linux system, allowing a project to read physical inputs and communicate with network services without keeping a desktop computer attached. Libraries Arduino Simulation Libraries Arduino boards: UNO · Mega 2560 · Mega 1280 · Nano · Pro Mini · Mini (V4.0) All six V4.0 boards in one package: Arduino Library for Proteus V4.0 Helping Tools We will start by understanding its two processors, then follow the original illustrated Wi-Fi configuration procedure. After that, we will upload a simple sketch, distinguish USB communication from Bridge communication, and plan a small sensor-logging application. This tutorial concerns the original Arduino Yún, a legacy board. Its screenshots show the original configuration interface, so menu details can differ with the installed Linux image and development tools. Identify your board revision before using instructions intended for a Yún Rev2, Yún Mini, or Yún Shield. The Yún combines an ATmega32U4 microcontroller with an Atheros AR9331 processor running an OpenWrt-based Linux environment. Arduino's original hardware overview describes how these two sides share responsibilities. The microcontroller executes an Arduino sketch, while Linux provides facilities such as networking, files, processes, and attached USB devices. That division is more useful than thinking of the board as one unusually ...

Sensorless Speed Estimation of Induction Motor in MATLAB

Adaptive induction-motor estimator overview, induction motor simulation, adaptive speed estimation, MATLAB Simulink

Hello friends! Today we will study sensorless speed estimation of an induction motor in MATLAB and Simulink. We will follow the original project's adaptive-estimation approach, beginning with the motor equations and then connecting those equations to the illustrated simulation blocks. The aim is to estimate rotor speed from electrical quantities rather than feed a measured shaft-speed signal into the estimator. In simulation, the motor model still provides a true speed for comparison. Keeping that reference separate from the estimator inputs is essential: otherwise, a model can appear sensorless while quietly using the answer it is supposed to estimate. The original project was developed in the MATLAB 2010 era and described as used with later 2012 and 2013 releases. The diagrams below document that historical implementation; they are not a new compatibility or performance test. We will preserve them while clarifying units, transformation conventions, assumptions, and the limits of the plotted results. In this context, sensorless means that a shaft-speed sensor is not required by the estimation algorithm. It does not mean that the controller needs no measurements. Stator currents and information about applied stator voltages provide the electrical evidence from which the estimator reconstructs internal behaviour and adjusts its speed estimate. Speed estimation and speed control are separate tasks. An estimator produces an estimated speed. A closed-loop controller would compare ...

Download Serial Terminal Software in vb2010

Visual Basic 2010 Serial Terminal interface, serial communication, received data, Visual Basic terminal

Hello everyone! Today I am sharing the Serial Terminal software developed in Visual Basic 2010. It provides a simple window for opening a COM port, sending text, and viewing received data in character, hexadecimal, decimal, and binary forms. We will download the original package and work through a practical communication session. The earlier Visual Basic serial-port tutorial introduced basic transmission and reception. This terminal adds convenient display tabs and optional carriage-return and line-feed characters. Those small features are useful when a microcontroller appears to receive your command but does not respond as expected. We will explain the original interface as it is shown, then cover connection settings, line endings, data representation, and troubleshooting. The download remains the historical software package; the discussion below does not claim that it has been rebuilt for current Windows versions or that every modern device protocol is supported. Use the attached download below to obtain the original Serial Terminal archive. Extract it before trying to launch the application, and keep any supplied supporting files together. The package belongs to the Visual Basic 2010 era, so its runtime requirements and behaviour should be evaluated in your intended Windows environment. Download Software A COM-port application also depends on the device or adapter appearing correctly in Windows. If you use a USB-to-UART adapter, install the appropriate driver from its ...

How to add a Delay in Visual Studio 2010

Visual Basic delay, Visual Studio 2010 tutorial, timed program execution, Windows Forms scheduling

Hello friends! Today we will add a delay to a Visual Basic application in Visual Studio 2010. The short answer is System.Threading.Thread.Sleep(1000) for a one-second pause, but choosing where to put that statement is just as important as choosing the number. I originally needed this while spacing readings in a database project. That is a useful example because a program often needs to wait between operations while its window remains responsive. We will begin with the simple pause, then build a timer-based Windows Forms example that allows the user to cancel while waiting. The examples retain the Visual Studio 2010 and Visual Basic context. We will distinguish features available in a typical.NET Framework 4 project from later asynchronous programming features, and explain why a fixed delay is not a reliable way to detect that a database query or serial response has finished. A delay postpones the next action in a sequence. If you turn on one indicator, wait five seconds, and then turn on another, the delay separates those actions in time. It does not itself tell you whether an external device has completed its work or whether a measurement is valid. Visual Studio is the development environment. The waiting behaviour comes from the language and runtime APIs used by your program. In this tutorial, we are writing Visual Basic code that uses.NET Framework classes. A different project type can require a different waiting pattern even when it is opened in the same version of Visual ...

PCB Designing in Proteus ARES

PIC board layout in Proteus ARES, PCB layout tutorial, schematic connectivity, Proteus ARES

Hello friends! Today we will move from a circuit diagram to a printed circuit board using Proteus ARES. We will use a small PIC16F877A circuit so that placement, connectivity, and routing remain easy to follow. The same sequence of decisions applies when you later design a larger board. Proteus schematic capture describes which component pins belong to each electrical net. PCB layout turns those connections into physical pads and copper tracks. A completed route is useful only when the footprint, pin mapping, power connections, and manufacturing rules are also correct. We will follow the original illustrated workflow: prepare the schematic, transfer its connectivity, define the board edge, place components, and route the board. We will then add the checks needed before sending a design for manufacture. The older screenshots remain helpful even when your Proteus version uses different menu names or an integrated project interface. In the older Proteus interface, ISIS is used for schematic capture and ARES for board layout. Current editions integrate these activities within the design suite. Labcenter's PCB design overview explains their relationship. The essential idea is unchanged: the schematic supplies the intended connectivity, while the layout supplies the physical implementation. You can draw a board without a schematic, but that removes a useful independent reference for checking connections. For this tutorial, begin with a schematic and update the layout through the ...