Hello friends! In the previous lesson, we discussed microcontroller basics . Today, we will apply those ideas to a PIC18F452 and identify everything needed to make a simple program run on real hardware. We will use the 40-pin PDIP version of the PIC18F452, matching the original circuit in this tutorial. Our first output is an LED on RD0. Before writing the application, we will work through power, reset, the external clock, programming connections and the distinction between the IDE and compiler. The original lesson used older MPLAB tools and a socket-style programming workflow. Those are useful historical references, but a supported in-circuit programmer can program the PIC while it remains in the target circuit. The exact combination of device, programmer and software must be checked befo ...
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 d ...
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. Her ...
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 ...
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 Serial Monitor Advance : a serial terminal window for the UART of your board Serial Monitor Expert : the serial monitor with extra debugging tools This is a useful beginner project because the visible result is simp ...
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 ...
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 Serial Monitor Advance : a serial terminal window for the UART of your board Serial Monitor Expert : the serial monitor with extra debugging tools LCD Library for Proteus V3.0 : 16x2, 20x4 and I2C LCDs to show your readings The SIM900D handles the radio conn ...
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 Serial Monitor Advance : a serial terminal window for the UART of your board Serial Monitor Expert : the serial monitor with extra debugging tools LCD Library for Proteus V3.0 : 16x2, 20x4 and I2C LCDs to show your readings We will start by understanding its two processors, then follow the original illustra ...
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 docu ...
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 re ...