Introduction to the Microcontroller, Lecture notes of Microcontrollers

During the 1990s, microcontrollers with electrically erasable and programmable ROM (EEPROM) memories, such as flash memory, became available.

Typology: Lecture notes

2022/2023

Uploaded on 03/01/2023

lumidee
lumidee 🇺🇸

4.4

(48)

363 documents

1 / 16

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Introduction to the
Microcontroller
John R. Wright, Jr., PhD, CSTM, CLSSGB, CSCE, F.ATMAE
AENG 467, Mobile Robotics
Millersville University
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Introduction to the Microcontroller and more Lecture notes Microcontrollers in PDF only on Docsity!

Introduction to the

Microcontroller

John R. Wright, Jr., PhD, CSTM, CLSSGB, CSCE, F.ATMAE AENG 467, Mobile Robotics Millersville University

What is a Microcontroller?

http://avrlab.net/atmel-atmega128-datasheet-download

Brief History of the

Microcontroller

  • During the 1990s, microcontrollers with electrically

erasable and programmable ROM (EEPROM)

memories, such as flash memory, became available.

  • These microcontrollers could be programmed, erased and

reprogrammed using only electrical signals.

  • Prior to the electrically reprogrammable devices,

microcontrollers often required specialized programming

and erasing hardware, which required that the device be

removed from its circuit, slowing software development

and making the effort more expensive.

  • With this limitation removed, microcontrollers were able to be programmed and reprogrammed while in a circuit so devices with microcontrollers could be upgraded with new software without having to be returned to the manufacturer. Many current microcontrollers, such as those available from Microchip and Atmel, incorporate flash memory technology. http://www.ehow.com/info_10018768_history-microcontroller.html

Some Popular Microcontrollers

www.parallax.com www.basicx.com www.radioshack.com BS BX-24p Arduino Atmega32u Teensy 3. http://pattonrobotics.com/products/teensy- 3 - 2

Teensy 3.

  • 32 bit ARM processor
    • ARM = Advanced RISC Machine
      • RISC = Reduced Instruction Set Computer
  • 72MHz Cortex-M4 Technology (Can Overclock

at 96MHz)

  • 64K RAM

News Flash! Introducing the Teensy 4. (Teensy 3.2 Everything Killer)

  • 32 bit ARM processor
    • ARM = Advanced RISC Machine - RISC = Reduced Instruction Set Computer
  • 600MHz Cortex-M Technology
  • 1024K RAM
  • HACKADAY ARTICLE 8/7/ - https://hackaday.com/ 9/08/07/new-teensy- 4 - 0 - blows-away-benchmarks- implements-self-recovery- returns-to-smaller-form/ https://www.pjrc.com/store/teensy40.html

Teensy Vs. Arduino

  • Comparison
    • https://www.youtube.com/watc h?v=rkIfsYRshRQ
  • Getting Setup with Teensy Software! (14:36) FYI: Brian is the inventor of the Teensy Motherboard (Carrier Board) that we use and used to be with RoboOdessy – maker of the BX24p (BasicX) microcontroller. - Please be very careful when using the microcontroller without the carrier board – pins might short out the device if they should touch metal (use a wood table or use on top of a piece of paper)! Or one may plug it into a bread/proto board. Step 1 – Download Arduino IDE Step 2 – Download Teensyduino Follow instructions and make sure this is installed in same location as the Arduino software. Step 3 – Open the Arduino program once and then close it. Step 4 – Open Arduino software, connect microcontroller to USB of computer Step 5 – Under Tools…Board Menu select the microcontroller you are using Step 6 – Write a short program and try to connect. You may need to be patient the first time as it takes a little time the very first time we launch the Teensyduino.

Intro to ARM Technology!

https://www.arm.com/products/processors

  • https://www.youtube.com/watch?v=_R06xdksYTI

Training Platform

http://www.robodyssey.com/mouse-basic/ http://pattonrobotics.com/products/onebot-basic-complete

Our R&D Application

I Code Every Night…

  • All Night Longer – this semester!
  • https://www.youtube.com/watch?v=z5_2xkOpVHU