Utvidet returrett til 31. januar 2025

Intermediate C Programming for the PIC Microcontroller

- Simplifying Embedded Programming

Om Intermediate C Programming for the PIC Microcontroller

Introduction The Aims and Objectives of the Book The Objectives of the Book The Prerequisites Chapter 1: Creating a Header File Header Files Creating a Header File Creating a Project in MPLABX Including the Header File Create the Project Source File Analysis of Listing 1.1 Synopsis Chapter 2: Controlling a Seven Segment DisplayThe Seven Segment Display Common Anode LED Common Cathode The Program The Algorithm The FlowchartThe Listing for the Seven Segment Display Improving the Seven Segment Display Program The Issue with the Program Arrays Using Pointers Analysis The Improved Program Exercise 2.1 Synopsis Chapter 3: The 24 Hour Clock The Seven Segment Display The Algorithm The Initialization of the PIC. Analysis of Listing 3.1 A 24 Hr Clock with the LCD Display Analysis of the Header File for the LCD The Analysis of Listing 3.2 Improvements for the 24Hr Clock LCD ProgramUsing Switch and Case Key Words Analysis of the New Subroutine Chapter 4: Creating a Square Wave Why Create a Square Wave? Musical Notes Exercise 4.1 The Speed of the Simple DC Motor PWM Pulse Width Modulation Creating a Square Wave Creating a 500Hz Square Wave The Mark Time or Duty Cycle Creating Two Square Wave Outputs Setting the Speed of a DC Motor Driving the Motor Creating a Three speed DC Motor Program Varying the Space Width Using A Variable Input Voltage to Control the Speed of a DC Motor Creating a Musical Note Creating the Middle C Note Create a Musical Keyboard The Analysis of Listing 4.6 Summary of Chapter 4 Chapter 5: Making MusicCreating a Musical Note Creating the Middle C Note Chapter 6: The Stepper Motor The Servo Motor Controlling the Positions of the Servo Motor with a Variable Resistor Chapter 7 :InterruptsThe Fetch and Execute Cycle The Program Counter PC The Sources of Interrupts Setting the Interrupts The Algorithm for the Interrupt Test Program The Analysis of the Listing 7.1.

Vis mer
  • Språk:
  • Engelsk
  • ISBN:
  • 9781484260678
  • Bindende:
  • Paperback
  • Sider:
  • 350
  • Utgitt:
  • 29. september 2020
  • Utgave:
  • 1
  • Dimensjoner:
  • 235x155x24 mm.
  • Vekt:
  • 562 g.
  • BLACK NOVEMBER
  Gratis frakt
Leveringstid: Ukjent

Beskrivelse av Intermediate C Programming for the PIC Microcontroller

Introduction
The Aims and Objectives of the Book
The Objectives of the Book
The Prerequisites
Chapter 1: Creating a Header File
Header Files
Creating a Header File
Creating a Project in MPLABX
Including the Header File
Create the Project Source File
Analysis of Listing 1.1
Synopsis
Chapter 2: Controlling a Seven Segment DisplayThe Seven Segment Display
Common Anode LED
Common Cathode
The Program
The Algorithm
The FlowchartThe Listing for the Seven Segment Display
Improving the Seven Segment Display Program
The Issue with the Program
Arrays
Using Pointers
Analysis
The Improved Program
Exercise 2.1
Synopsis
Chapter 3: The 24 Hour Clock
The Seven Segment Display
The Algorithm
The Initialization of the PIC.
Analysis of Listing 3.1
A 24 Hr Clock with the LCD Display
Analysis of the Header File for the LCD
The Analysis of Listing 3.2
Improvements for the 24Hr Clock LCD ProgramUsing Switch and Case Key Words
Analysis of the New Subroutine
Chapter 4: Creating a Square Wave
Why Create a Square Wave?
Musical Notes
Exercise 4.1
The Speed of the Simple DC Motor
PWM Pulse Width Modulation
Creating a Square Wave
Creating a 500Hz Square Wave
The Mark Time or Duty Cycle
Creating Two Square Wave Outputs
Setting the Speed of a DC Motor
Driving the Motor
Creating a Three speed DC Motor Program
Varying the Space Width
Using A Variable Input Voltage to Control the Speed of a DC Motor
Creating a Musical Note
Creating the Middle C Note
Create a Musical Keyboard
The Analysis of Listing 4.6
Summary of Chapter 4
Chapter 5: Making MusicCreating a Musical Note
Creating the Middle C Note
Chapter 6: The Stepper Motor
The Servo Motor
Controlling the Positions of the Servo Motor with a Variable Resistor
Chapter 7 :InterruptsThe Fetch and Execute Cycle
The Program Counter PC
The Sources of Interrupts
Setting the Interrupts
The Algorithm for the Interrupt Test Program
The Analysis of the Listing 7.1.

Brukervurderinger av Intermediate C Programming for the PIC Microcontroller



Finn lignende bøker
Boken Intermediate C Programming for the PIC Microcontroller finnes i følgende kategorier:

Gjør som tusenvis av andre bokelskere

Abonner på vårt nyhetsbrev og få rabatter og inspirasjon til din neste leseopplevelse.