Microcontrollers and the C Programming Language

Create C programs for a microcontroller using inputs/outputs, timers, analog-to-digital converters, comm ports, and LCD.
4.5 (236 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,962 students enrolled Bestselling in C
$19
$30
37% off
Take This Course
  • Lectures 113
  • Length 32 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 9/2015 English

Course Description

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 are the requirements?

  • Information about the laboratory kit and the instructions for downloading the software will be provided in Section 1.

What am I going to get from this course?

  • 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)

What is the target audience?

  • This course is meant for individuals who are not familiar with microcontrollers and/or the C programming language.
  • For more experienced individuals, the course will also expedite the learning curve for the Texas Instruments MSP430 and Code Composer Studio integrated development environment.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: How Do I Get Started?
02:28

Introduce students to how the course will be structured and provides background on Texas Instruments's hardware and software tools we will be using in the course.

04:00

Introduces students to the the course outline and provides information on ordering the hardware laboratory kit from Texas Instruments and element14.

01:37

Students will be able to explain what a microcontroller is and what it is used for.

01:54

Students will be able to explain what an embedded system is, how they are different from traditional computers, and why they use microcontrollers.

02:02

Students will be able to explain how programs provide the step-by-step instructions microcontrollers use to complete a task.

02:34

Students will be introduced to the software development tools developers use to create programs.

00:47

Students will create their first programs, download them to their Texas Instruments Launchpad Development Kits, and watch them run.

DOWNLOAD: What Do I Need For This Course?
Preview
3 pages
DOWNLOAD: Let's Get Started Lab Manual
Preview
34 pages
01:21

Summary of the Let's Get Started section.

4 questions

This quiz will cover the material from Section 1 including developing and running your first microcontroller program.

Section 2: Binary Numbers and Digital Logic
02:02

Students will be able to use binary and hexadecimal numbers. They will learn how to use a programming calculator, and how microcontrollers store and manipulate non-decimal numbers.

DOWNLOAD: What Are Binary Numbers?
Preview
21 pages
DOWNLOAD: What Are Hexadecimal Numbers?
Preview
7 pages
DOWNLOAD: What Are Bits, Nibbles, Bytes, And Words?
Preview
3 pages
DOWNLOAD: How Can I Use The Programming Calculator?
Preview
7 pages
01:51

Students will write programs using the binary logic operators (AND, OR, NOT, and Exclusive-OR) to perform logic operations and conditions.

DOWNLOAD: What Is The AND Operator?
Preview
18 pages
DOWNLOAD: What Is The OR Operator?
Preview
10 pages
DOWNLOAD: What Is The NOT Operator?
Preview
7 pages
DOWNLOAD: What Is The XOR Operator?
Preview
8 pages
00:54

Summary of the Binary Numbers and Digital Logic section.

Quiz: Binary Numbers and Digital Logic
7 questions
Section 3: What's Inside of a Microcontroller
04:48

Students will be able to explain the functional blocks found inside of microcontrollers.

07:26

Students will be able to explain the different types of program memory, their advantages, and disadvantages that developers to consider.

05:54

Students will be able to explain the different types of data memory, their advantages, and disadvantages that developers need to consider.

01:51

Students will be able to explain the role of the peripheral functional block and how they distinguish microcontrollers from microprocessors.

00:51

A summary of the What's Inside of a Microcontroller section.

Quiz: What's Inside of a Microcontroller?
6 questions
Section 4: Loops in the C Programming Language
02:23

Students will write programs using FOR loops.

25 pages
Students will write programs using FOR loops.
00:38

Students will be able to read a flow chart.

3 pages
Students will be able to read a flow chart.
02:39

Students will write programs with WHILE loops.

10 pages
Students will write programs with WHILE loops.
DOWNLOAD: What Are the Different C Variable Types?
21 pages
00:56

Summary of FOR loops, WHILE loops, and the use of flow charts.

Quiz: Loops in the C Programming Language
5 questions
00:43

Students will write programs with nested loops.

9 pages

Students will write programs with nested loops.

BONUS DOWNLOAD: Nested Loops Challenge
3 pages
BONUS DOWNLOAD: What Are the C Shorthand Operators?
16 pages
BONUS: Are FOR Loops and WHILE Loops Really the Same Thing?
01:13
Section 5: Digital Inputs, the P1.1 Button, and the IF Statement
What Is a Digital Input?
01:16
ACTION: What Is the P1.1 Push Button?
01:46
DOWNLOAD: P1.1 Push Button Lab Manual
29 pages
ACTION: What Is the IF Statement?
01:29
DOWNLOAD: IF Statement Lab Manual
8 pages
ACTION: What Are Relational Operators?
01:03
DOWNLOAD: Relational Operators Lab Manual
8 pages
ACTION: How Do I Use More Push Buttons and LEDs?
00:33
DOWNLOAD: Using External Push Buttons and LEDs Lab Manual
24 pages
Digital Inputs Wrap Up
01:24
Quiz: Digital Inputs, Push Buttons, and the IF Statement
3 questions
BONUS: What Are BREAK and CONTINUE?
00:34
BONUS DOWNLOAD: BREAK and CONTINUE Lab Manual
11 pages
Section 6: Introduction to Timer Peripherals
What Is a Timer?
01:38
What Can Timers Count?
05:00
Introduction to Timers Wrap Up
00:33
Quiz: Introduction to Timers
2 questions
Section 7: Introduction to the Watchdog Timer Peripheral
What Is a Watchdog Timer?
02:58
ACTION: How Do I Use the Watchdog Timer?
00:53
DOWNLOAD: Watchdog Timer Peripheral Lab Manual
18 pages
Watchdog Timer Peripheral Wrap Up
00:43
Quiz: Watchdog Timer Peripheral
2 questions
Section 8: Introduction to the General Purpose Timer
ACTION: How Do I Use a General Purpose Timer?
01:21
DOWNLOAD: General Purpose Timer Lab Manual
18 pages
DOWNLOAD: Turn On the Red LED for 20s and Then Turn It Off
2 pages
DOWNLOAD: Repeatedly Turn On the LED for 3s and Then Off for 1s
3 pages
Quiz: General Purpose Timers
3 questions
BONUS: How Can I Pet the Watchdog with a General Purpose Timer?
01:02
BONUS DOWNLOAD: Petting the Watchdog with the General Purpose Timer
5 pages
Section 9: Advanced Features of General Purpose Timers
ACTION: How Do I Use Two General Purpose Timers to Count at the Same Time?
01:25
DOWNLOAD: Using Two General Purpose Timers Lab Manual
8 pages
Quiz: Advanced Features of General Purpose Timers
2 questions
Section 10: Using Functions to Improve Your Microcontroller Program
ACTION: How Do Functions Improve Your Program?
03:44
DOWNLOAD: What Is a Function?
48 pages
Quiz: Functions
5 questions
Section 11: Introduction to Interrupt Service Routines
ACTION: What Are Interrupt Service Routines?
03:01
DOWNLOAD: What Is an Interrupt Service Routine?
40 pages
DOWNLOAD: ISR Challenge 1
3 pages
DOWNLOAD: ISR Challenge 2
6 pages
Quiz: Interrupt Service Routines
3 questions
BONUS DOWNLOAD: How Do I Use Semi-Automatic Pulse Width Modulation (PWM) Mode?
13 pages
BONUS DOWNLOAD: How Do I Use Automatic PWM Mode?
9 pages
BONUS DOWNLOAD: How Do I Use One Timer to Create Multiple Frequency Outputs?
14 pages
Section 12: Introduction to Low Power Modes
What Is Low-Power Mode?
02:16
ACTION: How Do I Use Low-Power Mode?
01:36

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Mark M. Budnik, ECE Department Chair, Valparaiso University

Mark M. Budnik is the Electrical and Computer Engineering Department Chair and the Paul and Cleo Brandt Professor of Engineering at Valparaiso University. He received his bachelor of science degree in electrical engineering from the University of Illinois and his master of science and doctoral degrees in electrical engineering from Purdue University.

Prior to joining the faculty at Valparaiso University in 2006, Mark worked in the semiconductor industry, culminating as a Staff Engineer and the Director of White Goods and Motor Control at Hitachi Semiconductor. In these roles, he had a unique opportunity to work closely with a diverse customer base to identify and establish a number of best practices in embedded systems education.

In his career, he received multiple educational awards from academia and industry including ST Microelectronics, National Semiconductor, Hitachi Semiconductor, Valparaiso University, and the American Society for Engineering Education (ASEE). Most recently, Mark was an ASEE Section Outstanding Teacher of the Year and a finalist for the 2015 ASEE National Outstanding Teaching Award.

Mark is the author of more than fifty book chapters, journal articles, and conference proceedings and the recipient of five best paper/presentation awards. He is a Senior Member of the IEEE and a Fellow of the International Symposium on Quality Electronic Design.

Ready to start learning?
Take This Course