Skip to content

Engineering Xpert

We Simplify Engineering

Menu
  • Home
  • About
  • Contact
  • MATLAB
  • PIC Microcontroller
Menu
PIC18 Data Types

PIC18 Data Types in XC8 and MPASM

Posted on April 17, 2022April 17, 2022 by Aamir Javed

This post describes various PIC18 data types used in XC8 and MPASM. We will discuss both PIC18 assembly (MPASM) as well as PIC18 C (XC8) data types with examples. PIC18 Data Types in MPASM (Assembly) PIC18 is an 8-bit microcontroller in which all the internal registers are 8-bit or 1 byte wide. So PIC18 assembly…

Read more
How to simulate a PIC18 XC8 C project in Proteus

How to simulate a PIC18 XC8 C project in Proteus

Posted on April 16, 2022May 2, 2022 by Aamir Javed

This tutorial will explain step by step how to create a XC8 C project in MPLAB X for PIC18 micro-controller and simulate it using Proteus. Note: For this tutorial I am using MPLAB X v5.0 and XC8 v2.32. Creating an MPLAB X C Project To simulate a PIC18 XC8 project in Proteus, lets first create…

Read more
Getting started with STM32 F3 Discovery Kit

Getting started with STM32 F3 Discovery Kit

Posted on April 16, 2022April 17, 2022 by Aamir Javed

This post describes how to get started with STM32 F3 Discovery Kit. We will learn how to create led blinking project in STM32Cube IDE and run it on the STM32 F3 Discovery Kit. STM32 Family Introduction STM32 is a family of 32-bit microcontrollers developed by STMicroelectronics. STM32 is based on the ArmĀ® Cortex-M architecture. This…

Read more
How to Simulate STM32 Project in Proteus

How to Simulate STM32 Project in Proteus

Posted on April 16, 2022April 17, 2022 by Aamir Javed

This posts describes how to simulate an STM32 project in Proteus using STM32Cube IDE and Hardware Abstraction Layer (HAL). We will write a code to blink an LED in STMCube IDE and then test it in Proteus. STM32 is a family of 32-bit microcontrollers developed by STMicroelectronics. STM32 is based on the ArmĀ® Cortex-M architecture….

Read more
Writing Loop in PIC Assembly

Writing Loop in PIC Assembly

Posted on April 9, 2022April 17, 2022 by Aamir Javed

This post explains various methods of writing a loop in PIC Assembly. PIC18 instructions like DECFSZ and conditional branch instructions can be used to write loops in PIC assembly language. Writing loop in PIC Assembly using DECFSZ instruction DECFSZ Instruction DECFSZ instruction operates on a file register. It does two things It decrements the file…

Read more
PIC Microcontroller Conditional Branch Instructions

PIC Conditional Branch Instructions

Posted on April 9, 2022May 25, 2022 by Aamir Javed

PIC Conditional branch instructions are discussed in detail in this article along with examples. Conditional branch instructions are a very important part of PIC18 assembly. These instructions only branch when some condition is met. Conditional branch instructions are widely used to write loops and if/else type code using PIC18 assembly. Conditional branch instructions check the…

Read more
PIC 18 Microcontroller Status Register

PIC Microcontroller Status Register

Posted on April 3, 2022May 14, 2022 by Aamir Javed

PIC microcontroller has a special register known as status register to show conditions like carry, digital carry, overflow etc after some computation in the ALU. This tutorial explains the PIC18 microcontroller status register in detail. PIC18 Status Register The status register (also known as flag register) in PIC 18 microcontroller is an 8-bit register. 5…

Read more
D:\Other Work\Blog\8. How to simulate PIC18 project using MPLAB X Simulator

How to simulate PIC18 project using MPLAB X Simulator

Posted on March 27, 2022May 2, 2022 by Aamir Javed

Introduction This tutorial will explain step by step how to simulate a PIC18 project using MPLAB X simulator. For this tutorial I am using MPLAB X v5.0 but you can use any version upto v5.35. Version 5.35 is last version that included MPASM i.e. the assembler we require to compile the code used in this…

Read more
Node in Electric Circuits Explained

Node in Electric Circuits Explained

Posted on March 27, 2022April 16, 2022 by Aamir Javed

In this post, the concept of “node” in Electric circuits is explained. Appropriate examples are provided to enhance the understanding of the concept. Introduction Any two-terminal element in a circuit is known as a branch. Every branch in a circuit has a some voltage across it, known as branch voltage, and some current through it,…

Read more
How to write Vectorized MATLAB Code

Writing Vectorized MATLAB Code

Posted on March 24, 2022May 23, 2022 by Aamir Javed

Introduction This tutorial demonstrates benefits of writing vectorized MATLAB code which runs orders of magnitude faster than non-vectorized code. A loop is usually used if you want to perform same calculations on selected elements of an array. Vectorization is much faster alternative which can do the same in a single statement (or at least much…

Read more

Posts navigation

  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next

Recent Posts

  • MOVF and MOVFF Instructions for PIC Microcontroller
  • MOVLW and MOVWF Instructions for PIC Microcontroller
  • CALL RCALL and RETURN Instructions for PIC Microcontroller
  • BRA and GOTO Instructions for PIC Microcontroller
  • INCFSZ and INFSNZ Instructions for PIC Microcontroller

Categories

  • Electric Circuits
  • How To
  • MATLAB
  • MPLAB X
  • PIC18
  • PIC18 Assembly
  • PIC18 C
  • Proteus
  • STM32
  • STM32Cube IDE
  • STM32F3 Discovery Kit

About

We post tutorials and guides related to a variety of topics like MATLAB, PIC18 Microcontrollers, Electric Circuits, Digital Logic Design, Arduino, Raspberry Pi, STM32

© 2023 Engineering Xpert | Powered by Superbs Personal Blog theme