Dimitar Ivanov Introduction to programming with microcontrollers.
-
Upload
ashley-nash -
Category
Documents
-
view
222 -
download
0
Transcript of Dimitar Ivanov Introduction to programming with microcontrollers.
![Page 1: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/1.jpg)
Dimitar Ivanovhttp://firmwareninja.blogspot.com/
Introduction to programming with microcontrollers
![Page 2: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/2.jpg)
Arduino Creators
![Page 3: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/3.jpg)
Table of Contents
1. What is a microcontroller?2. Microcontroller Architecture3. Microcontroller communication protocols
3
![Page 4: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/4.jpg)
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.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/5.jpg)
PC VS Microcontroller
CPU
Memory
Peripherals
5
![Page 6: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/6.jpg)
Microcontroller architecture
6
![Page 7: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/7.jpg)
AC/DC Power
AC DC
40mA
7
![Page 8: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/8.jpg)
8
Memory Types
88
EEPROM EPROM PROM
![Page 9: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/9.jpg)
9
I/O Pins
9
Analog Digital
9
![Page 10: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/10.jpg)
UART
10
![Page 11: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/11.jpg)
I2C
11
![Page 12: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/12.jpg)
SPI
12
![Page 13: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/13.jpg)
Microcontroller alternatives
13
![Page 14: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/14.jpg)
Traffic Lights
14
![Page 15: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/15.jpg)
Traffic Lights Control
15
![Page 16: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/16.jpg)
Button with debounce
16
![Page 17: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/17.jpg)
Pressure detector
17
![Page 18: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/18.jpg)
IR Object Detector
18
![Page 19: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/19.jpg)
Sonar Object Detector
19
![Page 20: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/20.jpg)
IR data detector
20
![Page 21: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/21.jpg)
BIG PROJECT
ROBOT
21
![Page 22: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/22.jpg)
?
??
?
?
??
?
?
http://softuni.org/courses
Introduction to programming with microcontrollers
![Page 23: Dimitar Ivanov Introduction to programming with microcontrollers.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/23.jpg)
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.](https://reader034.fdocuments.us/reader034/viewer/2022051114/56649e4e5503460f94b455e6/html5/thumbnails/24.jpg)
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