Arduino and OOP Online Course

description

Bookmark Enrolled Intermediate

Arduino and OOP Online Course

This ESP32 course takes you from the basics to advanced applications, starting with setup, hardware, and software essentials using VS Code and Arduino IDE. You’ll build a strong foundation in object-oriented programming, learning about classes, encapsulation, inheritance, and real-world implementation. Through hands-on projects like LED control, IR sensor applications, and interactive games, you’ll strengthen your skills and problem-solving abilities. By the end, you’ll be ready to publish your own Arduino libraries and contribute to the IoT community with confidence.

Who should take this course?

This course is ideal for electronics enthusiasts, hobbyists, and developers who want to enhance their Arduino projects using Object-Oriented Programming principles for cleaner, scalable, and reusable code.

What you will learn

Detailed exploration of object-oriented programming principles.
Develop and configure ESP32 for various applications.
Implement object-oriented programming techniques in embedded systems.
Design and execute projects involving LEDs, IR sensors, and interactive games.
Publish and share custom Arduino libraries with the community.
Enhance problem-solving and coding efficiency in IoT projects.

Course Outline

Introduction

  • Introduction to this course
  • About me
  • Download code snippets
  • List of components
  • Practical experience vs. theory
  • Prerequisites for this course
  • Disclaimer

Basics

  • Intro
  • ESP32 Pinout
  • VS Code vs Arduino IDE
  • Open Source Code from VS Code in Arduino IDE
  • Online Simulator
  • Enum
  • Struct

Short introduction to object-oriented programming

  • Intro
  • Basic setting of an empty project
  • Structure of a class & data encapsulation
  • Instance and constructor
  • Overloading constructor
  • Exercise example Interaction of header and CPP files
  • Getter
  • Setter
  • Inheritance
  • Inherited function overloaded
  • Recap Introduction OOP

Individual LED Class

  • Wiring and series resistance calculation
  • Headerfile
  • Control the LED with an object
  • Toggle LED
  • Turn LED off after x seconds
  • Fading
  • Pulsate
  • Instantiate objects in array
  • LED chasing effect

IR sensors using the Galton board as an example

  • Project Introduction
  • Wiring
  • Create Project and Class
  • Address IR sensor individually
  • Objects into an array
  • Simulate Motor on off
  • Evaluation of the IR sensors
  • Craft Project Overview
  • Recap OOP IRSensors

Headlamp - Button short/long click

  • Project idea
  • Wiring
  • Add Class Button
  • Debounce button with millis
  • Detect duration of clicks
  • Clean Interface
  • Control LEDs
  • ButtonHeadlamp inherits from Button
  • Function Keep button pressed
  • Add function Fade
  • Additional task implement LED class
  • Possible solution

Rock Paper Scissors

  • Project idea
  • Wiring
  • Creating class files
  • Headerfile
  • First game mode
  • Game mode in loop
  • Create a website
  • Access website via ESP32 Webserver
  • Transfer data from website to ESP32
  • Game mode on two games won
  • Sending Server Side Events
  • Prettify events
  • Implement LED Class
  • Housing

Publish your OOP source code as Arduino library

  • Create and publish your own library

Conclusion

  • Summary of the Learnings

 

 

Reviews

Be the first to write a review for this product.

Write a review

Note: HTML is not translated!
Bad           Good

Tags: Arduino and OOP Practice Exam, Arduino and OOP Online Course, Arduino and OOP Training, Arduino and OOP Tutorial, Learn Arduino and OOP, Arduino and OOP Study Guide,