240 likes | 252 Views
Getting Started with Practical Embedded Systems Coding. Affordable and Powerful Tools C. A. Graves, Ph.D. Game Warm Up Time!. Find and online video game with the following characteristics Uses the arrow keys for directional movements
E N D
Getting Started with Practical Embedded Systems Coding Affordable and Powerful Tools C. A. Graves, Ph.D.
Game Warm Up Time! • Find and online video game with the following characteristics • Uses the arrow keys for directional movements • Uses 4 or fewer other keys for special actions (e.g., jump, turbo speed, etc._ • Is professionally appropriate • Take 10 minutes to find and play the game • You may work in groups of no more than 3 students
What is an Embedded System? • An Embedded System is a system (product) that ... • … contains programmable computer chips (i.e. microprocessors, microcontrollers, FPGAs) and • … is designed to serve a single purpose (or a limited number of related ones) • If it’s electronic, intelligent , and NOT a desktop, laptop, nor a smart device, then it most likely IS an Embedded Computing System
Motivational Questions • What is an Embedded Computing System? • How are embedded systems relevant to everyday-life? • How can one easily learn how to code embedded systems? • What practical application can be used to give beginners a fun hands-one experience with embedded systems? • What is a systematic approach toward the design of practical systems?
Overview • Define the term “Microcontroller” • Introduce Arduino microcontroller • Hardware tools • Software tools • Demonstrate instructor’s example online video controller (using Arduino platform) • Review UML Diagrams • Students modify the instructor’s video controller • Introduce Engineering design
Watch the Following Videos for an Arduino Introduction • YouTube Video - Thinking About Getting an Arduino? Watch This • https://www.youtube.com/watch?v=5F054MNB1QI (11:39 duration) • Complete the “Blink” programming example – Modify it for varying Blinking delays
What Software tool is used to Program Arduino hardware? What is an IDE?
Find and Play the “Donkey Kong” Game at “smashingarcade.org”. (5 minutes)
Assemble and Program the Arduino/Funduino Hardware Provided by the Instructor.
Now try playing the “Donkey Kong” Game with Arduino-Based Controller You Just programmed. NOTE: The joystick is right-handed. (10 minutes)
UML Activity Diagram for Instructor’s Example Game Controller?
Change the instructor’s example such that it has a left-handed joystick? What are the code changes?
Change the instructor’s example such that it controls the online video game that you found at the start of the class?
Refer to “sciencebuddies.org” to help with info needed for the rest of the lecture.
Is there a similar systematic process for Engineering Design? Yes …
Re-Cap of the Day 16 • Motivation for learning embedded system coding • Introduction to Arduino microcontroller platform • Demonstration of instructor’s online game controller • Student modifications of instructors online game controller • Opposite hand control • Customized controller • Review of UML Activity Diagrams • Review of Scientific Method • Introduction of Engineering Design Processs