software: Arduino IDE - Page 50 of 51

503 articles found.

Ultrasonic Sensor Simulation in Proteus

Button-controlled ultrasonic sensor simulation schematic, Arduino Uno, HC-SR04 simulation, distance control

Hello friends! In the Ultrasonic Sensor Library for Proteus tutorial, we installed the model and printed distance readings with an Arduino Uno. Now we will use that same interface in three practical simulations: selecting test distances with buttons, producing a proximity indication, and stepping through test conditions with a switch. Libraries Libraries used in this tutorial Ultrasonic Sensor Library for Proteus: V1.0 (2015, used in this tutorial) · latest version: V2.0 (October 2026) Helping Tools The central idea is simple. Our legacy sensor model has an additional analog control input that represents the simulated environment. Buttons, an adjustable source or a selector can change that input. Arduino still measures the sensor's Echo pulse; it does not need to know which control you used to generate the simulated distance. We will keep the original schematics and project downloads, then improve the explanation with timeout handling, a clear threshold rule and a repeatable test procedure. The printed sketch is a revised teaching example. The historical archives remain attached and may contain older code, so compile the printed version separately when following its behavior. Install the ultrasonic package before opening these examples. The original library uses UltrasonicTEP.LIB, UltrasonicTEP.IDX and UltrasonicTEP.HEX. Assign the sensor HEX to the ultrasonic component's Program File property. The Arduino requires its own separately compiled firmware. Connect Arduino D7 to ...

Ultrasonic Sensor Library for Proteus

Ultrasonic Sensor Library for Proteus, HC-SR04 model, Arduino Uno interface, distance simulation

Hello friends! Today I will show you how to install our Ultrasonic Sensor Library for Proteus and use it with an Arduino Uno. We will begin with the library files, place the sensor on a schematic, connect its simulation input and then read the distance through the Virtual Terminal. This is the original HC-SR04-style library introduced in this tutorial. An ultrasonic distance module sends sound toward an object and measures the time associated with the returning echo. In Proteus, we cannot place a physical obstacle in front of a symbol, so this library provides an additional analog control pin. Changing that input changes the simulated distance response. It is a simulation control, not an extra pin on a real HC-SR04. We will keep that difference clear throughout the example. The simulation helps you understand trigger pulses, echo timing and Arduino processing. A real installation also depends on target angle, surface material, temperature and acoustic interference. Once the basic model is working, you can move to our hardware interfacing tutorial. The transmitter emits an ultrasonic burst and the receiver detects reflected sound. For the familiar HC-SR04 interface, the controller starts a measurement through Trig and measures a pulse on Echo. The pulse width represents the sound's outward and return travel time. We divide by two because the required distance is only the outward journey. The basic relationship is distance = speed of sound × elapsed time / 2. If we assume 343 ...

Arduino Lilypad Simulation in Proteus

LilyPad simulation with three indicator LEDs, Arduino LilyPad, Proteus simulation, LED input control

Hello friends! In our previous tutorial, we installed the Arduino LilyPad library for Proteus. Now we will use that board in a small circuit with three LEDs and a pushbutton, then extend the same project to an analog level indicator. Libraries Libraries used in this tutorial Arduino Lilypad Library for Proteus: V1.0 (2014, used in this tutorial) Newer Arduino boards: UNO · Mega 2560 · Mega 1280 · Nano · Pro Mini · Mini (V4.0) Helping Tools The basic behaviour is easy to observe: when the button is released, all three LEDs are on; when it is pressed, they turn off. This gives us a useful first exercise in input configuration, output arrays and the relationship between a circuit and its program. The original article described a button demonstration but supplied code that read an analog input and mapped it to an LED count. We will explain that difference and provide separate versions for the two behaviours. The original screenshots and project download are retained, with the revised wiring and code identified below. Install the historical library before opening the project. This package was credited to blogembarcado in the library tutorial. Select its classic LilyPad component and identify the processor and clock represented by the model. Do not assume it represents a LilyPad USB board. Use a matching Arduino AVR board configuration when compiling. The classic LilyPad options in the official Arduino board definitions use an 8 MHz build clock, with processor selection depending ...

Arduino Lilypad Library for Proteus

Arduino LilyPad library for Proteus overview, Arduino LilyPad, Proteus library installation, AVR simulation

Hello friends! Today, we will install the Arduino LilyPad library for Proteus and prepare a small simulation to check the installation. This article continues our earlier Arduino library tutorial, with particular attention to the LilyPad and Nano parts included in this older library package. We will start by identifying the files, place the library in a directory that Proteus actually searches, select the board and load a compiled sketch. I will also explain the clock and processor settings, because finding a board in the component picker is only the first part of a working simulation. The original post credited this library to blogembarcado. That credit is retained: this particular archive was not created by The Engineering Projects. It is a historical library download, and the earlier report of testing on Proteus 7 should not be interpreted as a fresh compatibility test of every current Proteus release. LilyPad boards were designed for wearable and electronic-textile projects, with connection pads that make it easier to attach conductive thread and external components. The round appearance is a board-layout feature; the program still runs on a particular microcontroller with defined pins, memory and peripherals. Different LilyPad products are not identical. The classic LilyPad Arduino options in the official Arduino AVR board definitions include ATmega168 and ATmega328P configurations using an 8 MHz build clock. LilyPad USB variants use a different processor and should not ...

Getting Data From Webserver using Arduino Wifi

Arduino UNO and original WiFi Shield for web control, Arduino UNO, WiFi Shield, web controlled LEDs

Hello friends! In this tutorial, we will learn how to get data from a web server using an Arduino UNO and the original Arduino WiFi Shield. We will use that data to switch two LEDs, so you can see how a command stored on a server becomes an action on a microcontroller. There are two parts to this project: a web page that changes a command file, and an Arduino client that reads the file periodically. We will discuss both parts in the same order as the original project, with clearer wiring, a defined response format and checks that prevent an incomplete response from becoming an LED command. This is a legacy-shield tutorial. The WiFi library and pin assignments described here belong to the original shield, not every board with WiFi in its name. We will first run the demonstration on a trusted local network; using it across the public internet requires a secure gateway or a suitable modern networking implementation. The Arduino acts as a client. It opens a connection to a server, requests a small resource and reads the response. The server does not need a direct incoming connection to the Arduino. This polling arrangement is useful when the board is behind a home router, although it introduces a delay between clicking a button and seeing the result. Our original interface had four buttons: LED 1 ON, LED 1 OFF, LED 2 ON and LED 2 OFF. Each button saved a command in a text file. The Arduino then translated that command into a digital output. We will preserve this simple command ...

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 ...

Interfacing of EasyVR with Arduino

EasyVR Shield, Arduino Uno interface, software serial connection, voice command control

Hello friends! We have prepared our spoken commands in EasyVR Commander, and now we will interface the EasyVR Shield with Arduino Uno. In this tutorial, we will read the recognized command, display its result in Serial Monitor, and select an indicator output for FORWARD, REVERSE, LEFT, RIGHT, or STOP. This is the controller stage of our voice-recognition project. We will preserve the original command order and character codes, while making the program easier to follow and correcting two important problems: listening to the wrong group at startup and leaving previous direction outputs active after a new command. Begin with LEDs or Serial Monitor. The output pins in this example are indicators, not a complete motor-control circuit. Once you can explain every recognized number and output transition, you can connect the command decisions to a properly designed motor controller. Use an Arduino Uno, the original EasyVR Shield, its compatible microphone, and a USB data cable. Install the Arduino IDE and the manufacturer's EasyVR Arduino library. The code below uses its EasyVR.h interface and the Arduino AVR core's SoftwareSerial.h library. Complete the command training before starting this article. The sketch does not create or train the spoken vocabulary; it expects the five custom commands to exist in the selected group. First establish that Commander recognizes them correctly, then use this program to inspect how Arduino handles their results. The example targets the Uno and ...