Microcontrollers and the C Programming Language

Microcontrollers and the C Programming Language

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 1.5 Hours | 429 MB

Create C programs for a microcontroller using inputs/outputs, timers, analog-to-digital converters, comm ports, and LCD.

The course is laboratory based. Almost every lecture and section of the course leads directly to a hands-on laboratory assignment. The more practice you get using the “real world” Texas Instruments hardware and software the more proficient you will be.

The course does not waste your time. From the very beginning, we jump right in to your first laboratory assignment – Let’s Get Started.

The course is modular in nature. Are you new to the world of microcontrollers? Great! Start at the beginning, and we’ll teach you everything you need to know. Do you have some background in microcontrollers but want to learn more? Fantastic! You can pick and choose the modules that you need.

The course is packed with information. From the beginnings of the C programming language to advanced microcontroller peripherals, the course teaches you all of the building blocks you would need to build your own electronic systems.

We use lots and lots of examples. We take you step-by-step through the lessons – each time providing sample code and documentation to make sure you are supported through the course.

We are here to help. We are educators with a singular focus of providing a meaningful experience for our students. And, while we cannot do the work for you, we are willing to work WITH you help you succeed.

What Will I Learn?

  • Program microcontrollers with the C programming language.
  • Use timer peripherals
  • Use communication peripherals
  • Use analog-to-digital converter peripherals
  • Use a liquid crystal display (LCD)
Table of Contents

How Do I Get Started
1 What Is This Course All About
2 Course Introduction
3 What Is a Microcontroller
4 What Is an Embedded System
5 What Is a Program
6 What Is an Integrated Development Environment
7 ACTION How Do I Get Started
8 DOWNLOAD What Do I Need For This Course
9 DOWNLOAD Lets Get Started Lab Manual
10 Wrap Up

Binary Numbers and Digital Logic
11 ACTION What Are Binary and Hexadecimal Numbers
12 DOWNLOAD What Are Binary Numbers
13 DOWNLOAD What Are Hexadecimal Numbers
14 DOWNLOAD What Are Bits Nibbles Bytes And Words
15 DOWNLOAD How Can I Use The Programming Calculator
16 ACTION What Is Digital Logic
17 DOWNLOAD What Is The AND Operator
18 DOWNLOAD What Is The OR Operator
19 DOWNLOAD What Is The NOT Operator
20 DOWNLOAD What Is The XOR Operator
21 Wrap Up

Whats Inside of a Microcontroller
22 What Is Inside a Microcontroller
23 What Is Program Memory
24 What Is Data Memory
25 What Is a Peripheral
26 Wrap Up

Loops in the C Programming Language
27 ACTION What Is a FOR Loop
28 DOWNLOAD FOR Loops Lab Manual
29 What Is a Flow Chart
30 DOWNLOAD Flowchart Lab Manual
31 ACTION What Is a WHILE Loop
32 DOWNLOAD WHILE Loops Lab Manual
33 DOWNLOAD What Are the Different C Variable Types
34 Loops Wrap up
35 BONUS What Are Nested Loops
36 BONUS DOWNLOAD Nested Loops Lab Manual
37 BONUS DOWNLOAD Nested Loops Challenge
38 BONUS DOWNLOAD What Are the C Shorthand Operators
39 BONUS Are FOR Loops and WHILE Loops Really the Same Thing

Digital Inputs the P1.1 Button and the IF Statement
40 What Is a Digital Input
41 ACTION What Is the P1.1 Push Button
42 DOWNLOAD P1.1 Push Button Lab Manual
43 ACTION What Is the IF Statement
44 DOWNLOAD IF Statement Lab Manual
45 ACTION What Are Relational Operators
46 DOWNLOAD Relational Operators Lab Manual
47 ACTION How Do I Use More Push Buttons and LEDs
48 DOWNLOAD Using External Push Buttons and LEDs Lab Manual
49 Digital Inputs Wrap Up
50 BONUS What Are BREAK and CONTINUE
51 BONUS DOWNLOAD BREAK and CONTINUE Lab Manual

Introduction to Timer Peripherals
52 What Is a Timer
53 What Can Timers Count
54 Introduction to Timers Wrap Up

Introduction to the Watchdog Timer Peripheral
55 What Is a Watchdog Timer
56 ACTION How Do I Use the Watchdog Timer
57 DOWNLOAD Watchdog Timer Peripheral Lab Manual
58 Watchdog Timer Peripheral Wrap Up

Introduction to the General Purpose Timer
59 ACTION How Do I Use a General Purpose Timer
60 DOWNLOAD General Purpose Timer Lab Manual
61 DOWNLOAD Turn On the Red LED for 20s and Then Turn It Off
62 DOWNLOAD Repeatedly Turn On the LED for 3s and Then Off for 1s
63 BONUS How Can I Pet the Watchdog with a General Purpose Timer
64 BONUS DOWNLOAD Petting the Watchdog with the General Purpose Timer

Advanced Features of General Purpose Timers
65 ACTION How Do I Use Two General Purpose Timers to Count at the Same Time
66 DOWNLOAD Using Two General Purpose Timers Lab Manual

Using Functions to Improve Your Microcontroller Program
67 ACTION How Do Functions Improve Your Program
68 DOWNLOAD What Is a Function

Introduction to Interrupt Service Routines
69 ACTION What Are Interrupt Service Routines
70 DOWNLOAD What Is an Interrupt Service Routine
71 DOWNLOAD ISR Challenge 1
72 DOWNLOAD ISR Challenge 2
73 BONUS DOWNLOAD How Do I Use Semi-Automatic Pulse Width Modulation (PWM) Mode
74 BONUS DOWNLOAD How Do I Use Automatic PWM Mode
75 BONUS DOWNLOAD How Do I Use One Timer to Create Multiple Frequency Outputs

Introduction to Low Power Modes
76 What Is Low-Power Mode
77 ACTION How Do I Use Low-Power Mode
78 DOWNLOAD How Do I Use Low Power Mode
79 DOWNLOAD Low Power Mode Challenge
80 Low Power Mode Wrap Up

Interrupt Service Routines for Digital Inputs
81 ACTION How Can I Use Interrupts with a Digital Input
82 DOWNLOAD How Do I Use Digital Input Interrupts

Serial Communication Interfaces
83 What Is Serial Communication
84 ACTION What Is a UART
85 DOWNLOAD How Can I Use a UART to Talk to Another Microcontroller
86 DOWNLOAD UART Challenge 1
87 DOWNLOAD UART Challenge 2
88 Serial Communicatin Wrap Up

Analog-to-Digital Converters
89 ACTION What Is an Analog Value
90 DOWNLOAD What Is an Analog Value
91 ACTION How Do I Use an Analog-to-Digital Converter Peripheral
92 DOWNLOAD How Do I Use an Analog-to-Digital Converter Peripheral
93 Analog-to-Digital Converter Wrap Up
94 BONUS Use a SPI Port to Communicate with a Digital-to-Analog Converter (DAC)

Introduction to the Liquid Crystal Display (LCD)
95 ACTION How Can I Use the LCD on the MSP430FR6989 Launchpad
96 DOWNLOAD How Do I Display a Short Word on the LCD
97 DOWNLOAD What Is ASCII and Why Is It Important
98 DOWNLOAD How Do I Display Symbols on the LCD
99 DOWNLOAD LCD Challenge 1 Flow Chart
100 DOWNLOAD LCD Challenge 1
101 DOWNLOAD How Do I Display Larger Numbers on the LCD
102 DOWNLOAD LCD Challenge 2
103 DOWNLOAD How Do I Display Words on the LCD
104 DOWNLOAD How Do I Create a Scrolling Message on the LCD

Final Project
105 ACTION Final Project
106 DOWNLOAD Memory Game

Wrap Up
107 Final Words and Sources of Additional Help
108 DOWNLOAD Microcontroller Datasheet
109 DOWNLOAD Microcontroller Users Guide
110 DOWNLOAD Code Composer Studio Users Guide
111 DOWNLOAD Microcontroller Launchpad Users Guide
112 DOWNLOAD A Good eBook on C in Embedded Systems
113 TECH SUPPORT Texas Instruments Technical Support