Understanding Microcontrollers: A Comprehensive Overview
Microcontrollers, like the Samd21, Samd51, and ATmega2560, are essential components in electronic systems, featuring processors, memory units, and peripherals. Learn about their history, applications in automobiles and medical devices, as well as how they work and their structure. Explore the role of CPU, RAM, ROM, program counter, and input/output pins in microcontroller operations.
Download Presentation
![](/assets/img/so-down.gif)
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
Samd21, Samd51, and ATmega2560 Microcontroller Comparisons By Matt, Nathan, Mina, Lele, and Riley
What is a microcontroller? - An integrated circuit (IC) device used for controlling other parts of an electronic system. - Typically includes a processor, memory unit, peripherals. Optimized for embedded applications. Often governs a specific operation. Sometimes referred to as an embedded controller or microcontroller unit (MCU). Found in a variety of consumer, medical, and commercial devices. Small, cost effective, low-power. - - - - -
History and development of microcontrollers. - First microcontroller, the TMS 1000, developed in 1971. - Engineers Gary Boone and Michael Cochran while working at Texas Instruments. - Required several external chips and cost hundreds of dollars In response, Intel releases the Intel 8048 microcontroller in 1977. - Combined RAM and ROM. - Incredibly popular and was used in many keyboards of the time. - Cost only a couple of dollars Billions sold today - Found in nearly every consumer electronic - -
Where are microcontrollers used? - Automobiles - Estimated that modern automobiles contain more than 50 microcontrollers. - ABS, automatic cruise control, GDI systems, etc. Medical Devices - IV machines, ventilators, etc. - Can also be implanted into the body (e.g. pacemaker & insulin pump). Many Other Electronic Devices - Ovens, fax machines, missiles, etc. Automotive ABS System - - A cardiac pacemaker.
How does a microcontroller work? -CPU (Central Processing Unit) performs the math and logic of the microcontroller -RAM is temporary memory storage for the microcontroller and all data is lost once the device is turned off -ROM (Read Only Memory) allows the microcontroller to respond to certain commands or actions -Program Counter allows the microcontroller to keep track of the programs its executing -Input and output pins allow interaction with the microcontroller through connecting devices such as sensors and displays
Microcontroller Structure - CPU acts the brain of the microcontroller -Memory comes in the form of RAM and ROM -Input and Output ports -BUS connects all of the components -ADC converts signals for the CPU to read -DAC converts signals for external devices
Samd21 Microcontroller Boards: Seeduino family Arduino Zero Specs - - - - - - 256KB of flash memory and 32KB of SRAM 48MHz Operating Frequency USB host and device capabilities 1.62V to 3.63V power supply Six serial communication modules Three 16-bit timer/counters, 32-bit Real- Time Clock and calendar, 20 PWM channels, one 14-channel 12-bit ADC, one 10-bit DAC
Samd51 Microcontroller Specs - - - - - - 1MB of flash memory and 256KB of SRAM 120MHz operating frequency 32-bit ARM Cortex-M4 Processor Floating Point Unit Up to 6 SERCOM interfaces USB interface and Qwiic connection
ATmega2560 Microcontroller - Developed by ATMEL in 1996 - Part of the AVR family of microcontrollers Can perform complex instructions in one clock cycle - Best of both worlds between Complex and Reduced - 135 instructions, majority of which are single cycle Extremely low power consumption High Endurance non-volatile memory 54 I/O pins Temperature range of -40F to 185F - - - - -
Comparisons Between Microcontrollers Operating Frequency Flash Memory RAM Samd21 48 MHz 32 to 256 KB 4 to 32 KB Samd51 256 to 1024 KB 120 MHz 128 to 256 KB ATmega2560 16 MHz 256 KB 8 KB
Why one might choose a specific microcontroller. Samd21 - small and cost efficient. Samd51 - all around better than samd21, approx. 2x price, more flash memory. ATmega2560 - low power consumption, higher speed and performance, limited flash memory.
References Anti-Lock Brake System: Why It's Important and How It Works. RepairPal.com, repairpal.com/anti-lock-brake-system. Arduino Mega 2560 Rev3. Arduino Mega 2560 Rev3 | Arduino Official Store, store.arduino.cc/usa/mega-2560-r3. ATMEGA2560-16AU Microcontroller. RhydoLABZ, www.rhydolabz.com/components-microcontrollers-c- 172_192/atmega256016au-microcontroller-p-1900.html. Augarten, Stan. The Most Widely Used Computer on a Chip The TMS 1000. The Chip Collection - STATE OF THE ART, Smithsonian Institution, smithsonianchips.si.edu/augarten/p38.htm. Brain, Marshall. How Microcontrollers Work. HowStuffWorks, HowStuffWorks, 1 Apr. 2000, electronics.howstuffworks.com/microcontroller1.htm.
References Fleming, Bill. Microcontroller Units in Automobiles. IEEE Xplore, ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6004783. Fogoros, Richard N. What Should You Expect When Living With a Pacemaker? Verywell Health, 9 Jan. 2020, www.verywellhealth.com/living-with-a-pacemaker-1746228. Keim, Robert. What Is a Microcontroller? The Defining Characteristics and Architecture of a Common Component - Technical Articles. All About Circuits, www.allaboutcircuits.com/technical-articles/what-is-a-microcontroller-introduction-component- characteristics-component/. Lutkevich, Ben. What Is a Microcontroller and How Does It Work? IoT Agenda, TechTarget, 7 Nov. 2019, internetofthingsagenda.techtarget.com/definition/microcontroller. Administrator. Basics of Microcontrollers: History, Structure, Applications. Electronics Hub, 25 Dec. 2017, www.electronicshub.org/microcontrollers-basics-structure-applications/.
References How Microcontrollers Work. IntervalZero, 26 Sept. 2018, www.intervalzero.com/embedded/how-microcontrollers- work/#:~:text=Microcontrollers%20are%20embedded%20inside%20devices,LED%20or%20LCD%20display%20outputs. Microcontrollers Are Everywhere, Sonoma State University, web.sonoma.edu/users/f/farahman/sonoma/courses/es310/resources/aboutmicro.htm#:~:text=In%20the%20office%2C%20microcontrollers%20ar e,and%20music%2Fvideo%20entertainment%20components. Oral History Panel on the Development and Promotion of the Intel 8048 Microcontroller. Computerhistory.org, archive.computerhistory.org/resources/access/text/2013/05/102658328-05-01-acc.pdf. SparkFun - SAMD51. SparkFun Electronics, www.sparkfun.com/products/14713. Yida. SAMD21 Arduino Boards - Which One Should You Use? Seeed Studio, 9 Jan. 2020, www.seeedstudio.com/blog/2020/01/09/samd21- arduino-boards-which-one-should-you-use/.