Hello friends! Today, we are starting our microcontroller tutorial series from the basics. Before connecting a PIC, installing a compiler or writing an LED-blinking program, we need to understand what a microcontroller does and how its software interacts with an electrical circuit. Think of a project that reads a push button, changes a pattern of lights and reports its operating state. A microcontroller can coordinate those actions by repeatedly reading inputs, applying programmed rules and updating outputs. The same basic idea appears in sensor loggers, small robots, appliance controls and many other embedded systems. In this series, our detailed hardware example will be the PIC18F452. We will first learn the general ideas, then study that device's connections and development tools. You do not need to understand every register today; the aim is to build a clear foundation for the practical lessons that follow. A microcontroller is an integrated circuit that combines a processor with memory and hardware interfaces. Its processor executes instructions, its memory stores the program and working data, and its peripherals connect the program to signals outside the chip. The program stored in the device is often called firmware. Once power and the required supporting conditions are present, the controller begins executing from its startup path. It does not need a person to type each instruction individually. The firmware defines what happens at startup and what the system does ...
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 ...
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 ...
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 ...
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 ...
Hello friends! In the previous tutorial, we introduced voice recognition using the EasyVR Shield. Now we will prepare the words that our project needs to recognize. We will use EasyVR Commander to connect to the shield, create a command group, train its entries, and test the results before writing the Arduino application. Our example is the same five-command project: FORWARD, REVERSE, LEFT, RIGHT, and STOP. Training these words is only part of the job. We also need to record their group number and individual indexes, because those numbers are what the controller will use to select an action. A well-trained vocabulary with an incorrect software mapping still produces the wrong behavior. The screenshots below come from the original EasyVR setup, so the appearance of a newer Commander release may differ. We will preserve them as a guide to the workflow while making the group selection consistent with the next EasyVR and Arduino interfacing tutorial. Read the explanation beside each image instead of copying every displayed setting. Commander is the desktop tool we use to prepare and inspect the module's command vocabulary. It lets us connect to the device, organize our custom commands, run the training procedure, and test recognition. In this tutorial, Arduino initially provides the physical connection between the computer and the shield; later it runs the application sketch. Keep the roles of the two programs clear. Commander prepares the speech commands. The Arduino sketch ...
Hello friends! In this tutorial, we will look at voice recognition using the EasyVR Shield and plan a small Arduino project that responds to spoken commands. The idea is straightforward: we say a command such as FORWARD, the speech module identifies it, and our program decides what should happen next. Before connecting a robot, however, we need to understand what the module actually returns and how those results become reliable control decisions. This article introduces the voice-controlled robot project that started this series. We will keep its five commands, explain the hardware and training workflow, and build a clear plan for testing. The detailed training procedure is covered in Getting Started with EasyVR Commander, followed by the practical program in Interfacing of EasyVR with Arduino. You do not need to develop a speech-recognition algorithm from scratch to follow this project. You do need to train the commands carefully, keep the command numbers consistent, and make sure that a recognition error cannot leave an output in an unintended state. We will work through those responsibilities one at a time. The EasyVR Shield brings a dedicated speech-recognition module into an Arduino shield format. The microphone captures sound, the speech module processes the spoken command, and Arduino communicates with that module through a serial connection. Arduino is responsible for the application: indicator lights, menu navigation, or requests to a separate motor controller. That ...
Hello friends! We have already covered the Introduction to XBee Module and Interfacing of XBee with Computer. In this tutorial, we will connect our configured radios to two Arduino UNO Rev3 boards and use a pushbutton on one board to control the built-in LED on the other. Libraries XBee Simulation Libraries Latest library: XBee Library for Proteus V1.0 (January 2016) Other RF modules: nRF24L01 · nRF24L01 PA LNA · CC1101 · RFM69HCW · HC-12 · 433MHz RF Helping Tools We will build the project in stages. First, we will establish the power and serial connections. Next, we will define the messages sent between the boards. Finally, we will write separate sender and receiver sketches and examine how they handle button bounce, incomplete messages, and a lost wireless connection. The example assumes two compatible radios already configured for transparent serial communication at 9600 baud. The address values carried forward from the previous lesson apply to classic S1 802.15.4 firmware. Radios using another supported protocol can carry the same application messages after you configure their network using the correct product instructions. Arduino A reads a pushbutton. When you hold the button down, it asks Arduino B to turn its built-in LED on. Releasing the button asks B to turn the LED off. The sender also repeats the current state once per second, allowing the receiver to recover when an individual message is missed. Arduino B accepts only two complete commands: LED,1 and LED,0, each ...