An introduction to microcontrollers
Transcript of An introduction to microcontrollers
![Page 1: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/1.jpg)
An introduction to microcontrollers
Himu
Batch:-30th ,Roll:-05
Dhaka International University
![Page 2: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/2.jpg)
Content
• 1) What is a Microcontroller .
• 2) Fundamental Components for a Mcu .
• 3) Where Microcontroller are used .
• 4) Microcontroller programming .
• 5) Microcontroller applications .
• 7) Microcontroller project .
• 8) Summary .
![Page 3: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/3.jpg)
What is a Microcontroller
A microcontroller is an integrated circuit that is programmed to do a Specifie task.
Microcontrollers are a really just “ Mini-Computers”
8086
![Page 4: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/4.jpg)
The Fundamental components of a Microcontrollerunit (or Mcu)
• Central Processing unit (or Cpu).
• System clock.
• Memory.
• Peripherals (I/o).
![Page 5: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/5.jpg)
Microcontroller are used
● Microcontrollers are hidden in tons of appliances,gadgets, and other electronics.● They’re everywhere!
![Page 6: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/6.jpg)
Microcontroller programming
1.) Code is written for the microcontroller in an integrated development environment, a PC program. The code is written in a programming language. (e.g.C, BASIC or Assembly).
2.) The IDE debugs the code for errors, and then compiles it into binary code which the microcontroller can execute.
3.) A programmer (a piece of hardware, not a person) is used to transfer the code from the PC to the microcontroller. The most common type of programmer is an ICSP (In-circuit serial programmer).
![Page 7: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/7.jpg)
Microcontroller applications
●Many robots use microcontrollers to allow robots to interact with the real world.
● Ex. If a proximity sensor senses an object near by, the microcontroller will know to stop its motors and then find an unobstructed path.
![Page 8: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/8.jpg)
Microcontroller project
Ardunio Microcontroller.
Ultrasonic Range sensors.
Standard servo.
Breadboard.
L293D motor driver.
Plastic gear motors.
Batteries.
![Page 9: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/9.jpg)
How can you grt Started
● If you want to develop for microcontrollers, you can purchase a development board which includes a microcontroller and all of the necessary parts to get it working. (i.e. power supply and a USB interface)
![Page 10: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/10.jpg)
Summary
-A microcontroller is a computer dedicated to a single task.
--Fundamental components to of a microcontroller.
Any Query ?
![Page 11: An introduction to microcontrollers](https://reader035.fdocuments.us/reader035/viewer/2022062304/55c5fc0ebb61eb25078b4785/html5/thumbnails/11.jpg)
Thank You