Udemy

Introduction to object-oriented programming with Arduino

Enroll Now
  • 1,653 Students
  • Updated 7/2022
4.4
(29 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
5 Hour(s) 46 Minute(s)
Language
English
Taught by
Markus Edenhauser
Rating
4.4
(29 Ratings)

Course Overview

Introduction to object-oriented programming with Arduino

A hands-on tutorial with lots of small OOP-Arduino/ESP32 projects to participate in.

Especially in the development of microcontrollers we often work with libraries, for example to control hardware components. The advantages of flexible and efficient source code design will be introduced to you in this course.


An ESP32 is used in the entire course, but all the examples (except the last one with the Website/Webserver and WIFI), exercises and explanations can be done with any Arduino.


Once you have completed this course, you will be able to…

  • ...create your own object-oriented programs and libraries

  • ...program reusable source code

  • ... create clean source code architecture for flexible programming and adaptation

  • ... code generalized classes and provide the libraries

  • ... implement the basic concepts of OOP for your own projects and apply them immediately.

  • ... save time for cumbersome programming. Because of the given conceptual design, your self-written code is easier to adapt.

  • ... maintain your own code better even after a longer period of time.


What we go through in the course:

  • Basics of object-oriented programming in the Arduino environment. We will go through the essential contents of OOP step by step. We will get right into practical examples.

  • Practical example: Own LED class. Many different functions and interfaces.

  • Practical example 2: Galton board with marble elevator and evaluation of 12 IR sensors.

  • Practical example 3: Headlamp with only one(!) button, two LEDs and three light modes.

  • Practical example: Rock, paper, scissors game. We develop this small game. We compete against the bot and play to win two games. The logic is triggered by a web server on the ESP32 (with server side events).


My approach in the course:

  • None (ok, only very few) slides/Powerpoints. We start in the basics immediately with a practical example. Also the theory can be tested immediately on the Arduino with the Serial Monitor and thus immediately better understood.

  • The practical projects are developed together in step-by-step instructions.

  • Together means in this context that I demonstrate the code, depending on the task, and you can follow me along with the source code.

  • All codes are available for download on the platform, so you can get to the result without frustration.

  • No rambling explanations or theory monologues, we get right to work in the basics chapter.


Benefit from my years of experience and get the key skills in microcontroller development.


I'm looking forward to see you in class


Markus Edenhauser


Course Content

  • 9 section(s)
  • 71 lecture(s)
  • Section 1 Introduction
  • Section 2 Basics
  • Section 3 Short introduction to object-oriented programming
  • Section 4 Individual LED Class
  • Section 5 IR sensors using the Galton board as an example
  • Section 6 Headlamp - Button short/long click
  • Section 7 Rock Paper Scissors
  • Section 8 Publish your OOP source code as Arduino library
  • Section 9 Conclusion

What You’ll Learn

  • The structure of a class
  • What data encapsulation is and how we implement this concept
  • Creation and use of constructors
  • Overloading constructors and functions (polymorphism)
  • Inheritance of classes
  • Use and adaptation of inherited classes
  • Interaction of headers and CPP files
  • Control of servo motors, infrared sensors, LEDs.
  • Use of Visual Studio Code / Platform IO (with Arduino IDE also possible)
  • Provide of own libraries for external developers
  • Creation of individual libraries for own use
  • Best practices in object oriented programming of microcontrollers
  • Many practical examples which are built up step by step


Reviews

  • W
    Walter Riordan
    4.0

    Nice overview for the introduction

  • T
    Thomas Gonzales
    5.0

    thanks for the promo code

  • E
    Ellard Postma
    3.5

    The course provides a good insight into the advantages of OOP. It provides some experience to use OOP with Arduino like microcontrollers.

  • M
    Marty van den Biggelaar
    4.0

    Goed verstaanbaar inhoudelijk voldoet het aan wat ik zocht

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed