How to Create a PIC Tracing LEDs Project in C

I am creating this project in C language using MPLAB X IDE XC8 compiler. However, you may use any other IDE that works with PIC microcontrollers. In this project, eight LEDs are connected to PORTC of a PIC18F45K22 microcontroller. … Read More

ADD Instruction in Intel 8051 (MCS-51) Microcontroller

The ADD instruction tells the microcontroller’s CPU to add the source byte to register A and put the result in register A. Recall, A is the accumulator register typically used for all arithmetic and logic instructions.

ADD Instruction in Intel 8051 (MCS-51) Microcontroller

The ADD instruction is … Read More

The Procedure for Designing a Microcontroller-Based System

In envisaging a new microcontroller design, it is prudent to follow a design procedure that will take you from the initial problem statement to a programmed microcontroller that can be embedded in application hardware. In this article, we look at … Read More

Common Instructions Types in PIC Microcontrollers

Every microcontroller family has its own set of instructions that are typically carried out in a similar set of operations though using different syntax. This is exhibited in the variation in the internal architecture of various types of microcontrollers. … Read More

Device Programmers for PIC Microcontrollers

Once the program is written and translated into executable code, the resulting HEX file is loaded to the target microcontroller’s program memory with the aid of a device programmer. The type of device programmer depends on the type microcontroller to … Read More

An Overview of Assembly Language for Programming Microcontrollers

Introduction

Software is the term used for the instructions that tells a microprocessor or microcontroller what to do. The collections of instructions that a microprocessor will recognize is its instruction set. The form of the instruction set depends on the … Read More

Development Boards for PIC Microcontrollers Programming

Development boards are helpful microcontroller learning tools. Simple development boards contain just a microcontroller and the required clock circuitry. More sophisticated development boards contain LEDs, pushbuttons, LCD, serial ports, USB port, power supply circuit, device programming hardware, and so forth.… Read More

PIC Microcontroller Input-Output Ports Programming in C

PIC microcontroller input-output ports are named PORTA, PORTB, PORTC, etc. depending on the type of microcontroller you are using. Port pins can be in analog or digital mode. In analog mode, ports are input only and the in-built analog-to-digital converter … Read More

Basic Elements of an Arduino UNO Revision 3 Board

Arduino is a small-sized microcontroller board with supplementary components that has been designed to facilitate the use of a microcontroller in control projects. The basic board, Arduino UNO Revision 3, uses the 8-bit Atmel microcontroller, ATmega328P.

The board has a … Read More

Software Development Tools for a Microcontroller Programmer

Software development tools are computer programs typically run on PCs that allow the programmer or system developer to create, modify and test applications programs. Some of the common software development tools include:

  • Text editors
  • Assemblers/compilers
  • Simulators
  • High-level language simulators
  • Integrated
Read More