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! In this guide, we will learn how to use Proteus ISIS and ARES, starting with a simple circuit and gradually moving toward microcontroller simulations and PCB design. I have kept the original tutorial collection so that you can follow a lesson in detail whenever you reach that stage. Our goal is to understand the complete development process. We will draw a circuit, calculate what it should do, simulate its behavior, examine signals with instruments and then prepare a physical board layout. Each stage answers a different question, so a successful simulation is one step in the process rather than the final proof of a finished product. If you are new to Proteus, follow the sections in order. If you already use it, choose the topic you need from the linked lessons. Some screenshots in those older tutorials show earlier releases; use the documentation for your installed version when menu names or available tools differ. ISIS and ARES are names familiar from the original Proteus workflow. ISIS refers to schematic capture and the circuit-development environment, while ARES refers to PCB layout. In current documentation, you will often see the broader terms Schematic Capture, PCB Design and Proteus VSM. Labcenter's schematic-capture overview describes the circuit-entry side, while its PCB-design overview covers the board-layout workflow. VSM adds supported microcontroller and peripheral simulation so that firmware can interact with a circuit model. Check the functions ...
Hello friends! In this tutorial, we will learn how to program a PIC microcontroller with code compiled in mikroC PRO for PIC, using a PICkit 3 programmer. The useful idea is simple: mikroC builds the firmware, and Microchip's programming software loads the resulting HEX file into the selected device. The original project behind this lesson required mikroC, while the available programmer was a USB-connected PICkit 3. Moving from a serial-port programmer to PICkit 3 made the laptop connection easier, but the compiler and programmer still needed a common file format. The HEX file provides that connection without requiring us to compile the project again in another C compiler. We will preserve the original MPLAB IDE screenshot sequence, explain what each step does, and cover the important checks for target power, device selection and configuration bits. We will also distinguish the old MPLAB interface from MPLAB X and IPE so that you do not search for menus that belong to a different application. mikroC translates your source code and linked libraries into instructions for the selected PIC device. The programmer does not normally need the original C source to write those instructions into program memory. It needs the programming image, the correct device definition and a working electrical connection to the target. This explains why the original requirement for the C18 compiler was unnecessary for the transfer itself. If mikroC has already produced a valid image, a second ...
Hello friends! In this second part of our Visual Basic email tutorial, we will turn the simple sender into a usable Windows Forms application. You will enter the recipient, subject and message on the form instead of changing those values inside the source code. If you have not completed How to Send Email in Microsoft Visual Studio 2010, start there. That lesson explains SMTP settings, permitted sender accounts, STARTTLS and the limitations of the legacy System.Net.Mail API. Here we will concentrate on the form, input validation and the send operation. We will retain the original controls and the step-by-step teaching flow, then improve the application so that a slow mail server does not freeze its interface. The sender account remains configured separately; allowing someone to type a destination address is different from letting them sign in to any email account. The first application used a fixed recipient and message. Our new form accepts those values from the user. The SMTP hostname, port, authenticated account and permitted From address remain application settings, using the same environment-variable convention as part one. This separation keeps the first extension manageable. A typing mistake in the recipient field should not also change the server that receives the account credential. If you later add account settings, put them in a deliberate configuration workflow and explain which providers and authentication methods the application supports. We will support one ...
Hello friends! In this tutorial, we will create a small Visual Basic application that sends an email when you click a button. We will begin with a fixed recipient, subject and message so that you can understand the complete sending process before adding more controls. This is the first part of our Visual Studio 2010 email series. In part two, Sending Email in Microsoft Visual Studio 2010, we will let the user enter the recipient, subject and message in a Windows Forms interface. Here, our main concern is understanding the mail settings and building a clear first example. The original tutorial used a Gmail account password directly in the source code. That is no longer a suitable general instruction. We will keep the original Visual Basic teaching flow, explain which parts are legacy, and use separately supplied mail settings instead of embedding a real password in the program. Our program creates a message and submits it to an SMTP server. SMTP stands for Simple Mail Transfer Protocol. The server handles the next stage of delivery; our Windows form does not directly place text inside another person's inbox. Keep three identities separate: the account used to authenticate, the sender address shown on the message, and the recipient address. For a first test, use your own permitted sender account and another mailbox you control. This makes it easier to check the result without sending experimental messages to other people. A recipient can use a different provider from the ...
Hello friends! In this tutorial, we will update a database table through Visual Basic code. In the previous lessons, we created a contact database and added buttons for editing its records. Now we will let the application locate a particular record, change one of its values and save that change without asking the operator to type into the form. This is useful when information arrives from another part of a system. In the hotel-management example that inspired this lesson, room information reached a central computer wirelessly. The software needed to identify the correct room and update its stored information. The same basic idea applies to a contact import, an instrument reading or a status message received through a serial port. We will continue with the Visual Basic contact database and the database button controls from this series. The examples retain the Visual Studio 2010 Windows Forms workflow, while correcting several problems in the original short code sample. Suppose our contact table contains a person whose ContactID is 2. A new name arrives from an approved import. Instead of selecting that contact in a grid and pressing Save, our program performs the lookup and assignment itself. The important requirement is that the program updates the intended record, rather than whichever row happens to be selected on screen. There are two separate copies of the information in this application. SQL Server holds the persistent table. The form's dataset holds an in-memory working ...
Hello friends! In this tutorial, we will add Add, Save, Remove and navigation buttons to a Visual Basic database application. We will continue with the contact form from our previous lesson and use its existing dataset, binding source and TableAdapter. If you have not built that form yet, first follow creating a database in Microsoft Visual Studio. This lesson retains the original Visual Studio 2010 Windows Forms example, with clearer event handlers and explanations of what each button changes. The key distinction is that editing a bound form changes in-memory data first. Adding a row, removing a row and moving to another contact do not necessarily write anything to SQL Server. Our Save button is responsible for sending the pending changes to the database. The first lesson created a contact table and displayed it in both a grid and a details view. Your form should already load contacts successfully before you add the new buttons. We will extend it with seven controls: Add, Save, Remove, Previous, Next, Move To Top and Move To End. The examples assume these generated components: Check the actual names in your designer. If your original table uses a different name field, adapt the validation control name accordingly. Renaming a button's caption does not rename a binding source or regenerate the database schema. Place the following methods inside your existing form class. Do not paste a second complete form class into the designer-generated file. If Visual Studio already created ...
Hello friends! In this tutorial, we will find the roots of a quadratic equation in MATLAB, calculate its minimum over a specified interval and display the results on a graph. This is a useful beginner project because it connects algebra, functions, input validation and plotting in one small program. The original project allowed you to choose roots, a minimum or both. We will keep that idea, but make the calculations more reliable. In particular, we will distinguish a function's roots from its minimum, account for interval boundaries and handle inputs that turn out to be linear or constant. You do not need Symbolic Math Toolbox for the numerical program below. We will use ordinary MATLAB arrays, roots, polyval and a little calculus. A quadratic function has the form: f(x) = ax 2 + bx + c The coefficients a, b and c are constants, with a ~= 0 for a genuine quadratic. A root is an input value where f(x) = 0. A minimum is the smallest function value over the domain we are considering. These are different questions. For example, f(x) = x 2 + 1 has a minimum of 1 at x = 0 over the real line, but it has no real roots. Its two roots are complex. If your polynomial represents a physical quantity, attach the appropriate units to the axes. For instance, if x is time in seconds and f(x) is displacement in metres, the units of a, b and c are metres per second squared, metres per second and metres respectively. MATLAB represents a polynomial using coefficients in descending powers. Our ...
Hello friends! Today we will create a contact database in Microsoft Visual Studio and connect it to a Visual Basic Windows Forms application. We will begin with an empty project, create a table, enter sample contacts and display those contacts in both a grid and a details form. This tutorial retains the original Visual Studio 2010 walkthrough and screenshots. Its main purpose is to explain the database, dataset and data-binding workflow used by that application. If you are maintaining an older VB project or learning how its generated components work, the same distinctions will help you understand where records are loaded, edited and saved. After completing this part, continue with button controls in a VB database application and updating a database table with VB programming. Our earlier Visual Basic serial-port tutorial covers a different application of Windows Forms. Our application stores one contact per row. The grid displays several contacts at once, while the details controls display the currently selected contact. Both views should use the same binding source so that selecting a different row updates the details automatically. Before opening the designer, distinguish these parts: A dataset is not the database file. This distinction becomes important when a contact appears on the screen but disappears after the program closes. The original example uses Visual Basic, Windows Forms and the.NET Framework. In Visual Studio 2010, the project template is called Windows Forms ...
Hello friends! In this tutorial, we will learn how to share a Simulink design without distributing its editable implementation. You may have developed a controller, a signal-processing algorithm or a plant model that another person needs to simulate. The challenge is to give that person a usable component while keeping your original design private. The original version of this tutorial used a generated S-function. We will keep that method, explain what it actually protects and then look at the protected-model workflow available in current Simulink releases. These approaches produce different deliverables, so the right choice depends on what the recipient needs to do. If you are distributing MATLAB functions rather than Simulink models, see our tutorial on converting MATLAB M-files to P-files. P-code and protected Simulink models solve related problems, but you cannot protect an entire block diagram simply by running pcode on it. A normal Simulink model exposes blocks, connections and configuration details to anyone who receives the editable model and its dependencies. A subsystem groups blocks into a convenient unit, but grouping alone does not hide their implementation. A mask gives a subsystem a customized interface; it should not be treated as a security boundary. For this tutorial, protection means distributing a component that the recipient can use through an agreed interface without receiving the original editable diagram. It does not mean that every detail about the ...