+ All Categories
Home > Documents > Dimitar Ivanov Introduction to programming with microcontrollers.

Dimitar Ivanov Introduction to programming with microcontrollers.

Date post: 28-Dec-2015
Category:
Upload: ashley-nash
View: 221 times
Download: 0 times
Share this document with a friend
Popular Tags:
24
Dimitar Ivanov http://firmwareninja.blogspot.com/ Introduction to programmin with microcontrollers
Transcript
Page 1: Dimitar Ivanov  Introduction to programming with microcontrollers.

Dimitar Ivanovhttp://firmwareninja.blogspot.com/

Introduction to programming with microcontrollers

Page 2: Dimitar Ivanov  Introduction to programming with microcontrollers.

Arduino Creators

Page 3: Dimitar Ivanov  Introduction to programming with microcontrollers.

Table of Contents

1. What is a microcontroller?2. Microcontroller Architecture3. Microcontroller communication protocols

3

Page 4: Dimitar Ivanov  Introduction to programming with microcontrollers.

What is a microcontroller ?

Fundamental parts of MicroController Unit (or MCU) Central Processing Unit (or CPU) Memory → Flash/RAM System clock Peripherals

4

Page 5: Dimitar Ivanov  Introduction to programming with microcontrollers.

PC VS Microcontroller

CPU

Memory

Peripherals

5

Page 6: Dimitar Ivanov  Introduction to programming with microcontrollers.

Microcontroller architecture

6

Page 7: Dimitar Ivanov  Introduction to programming with microcontrollers.

AC/DC Power

AC DC

40mA

7

Page 8: Dimitar Ivanov  Introduction to programming with microcontrollers.

8

Memory Types

88

EEPROM EPROM PROM

Page 9: Dimitar Ivanov  Introduction to programming with microcontrollers.

9

I/O Pins

9

Analog Digital

9

Page 10: Dimitar Ivanov  Introduction to programming with microcontrollers.

UART

10

Page 11: Dimitar Ivanov  Introduction to programming with microcontrollers.

I2C

11

Page 12: Dimitar Ivanov  Introduction to programming with microcontrollers.

SPI

12

Page 13: Dimitar Ivanov  Introduction to programming with microcontrollers.

Microcontroller alternatives

13

Page 14: Dimitar Ivanov  Introduction to programming with microcontrollers.

Traffic Lights

14

Page 15: Dimitar Ivanov  Introduction to programming with microcontrollers.

Traffic Lights Control

15

Page 16: Dimitar Ivanov  Introduction to programming with microcontrollers.

Button with debounce

16

Page 17: Dimitar Ivanov  Introduction to programming with microcontrollers.

Pressure detector

17

Page 18: Dimitar Ivanov  Introduction to programming with microcontrollers.

IR Object Detector

18

Page 19: Dimitar Ivanov  Introduction to programming with microcontrollers.

Sonar Object Detector

19

Page 20: Dimitar Ivanov  Introduction to programming with microcontrollers.

IR data detector

20

Page 21: Dimitar Ivanov  Introduction to programming with microcontrollers.

BIG PROJECT

ROBOT

21

Page 22: Dimitar Ivanov  Introduction to programming with microcontrollers.

?

??

?

?

??

?

?

http://softuni.org/courses

Introduction to programming with microcontrollers

Page 23: Dimitar Ivanov  Introduction to programming with microcontrollers.

License

This course (slides, examples, demos, videos, homework, etc.)is licensed under the "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International" license

23

Attribution: this work may contain portions from "Fundamentals of Computer Programming with C#" book by Svetlin Nakov & Co. under CC-BY-SA license

"C# Part I" course by Telerik Academy under CC-BY-NC-SA license

23

Page 24: Dimitar Ivanov  Introduction to programming with microcontrollers.

Free Trainings @ Software University

Software University Foundation – softuni.org Software University – High-Quality Education,

Profession and Job for Software Developers softuni.bg

Software University @ Facebook facebook.com/SoftwareUniversity

Software University @ YouTube youtube.com/SoftwareUniversity

Software University Forums – forum.softuni.bg


Recommended