In this course, you will dive into Object-Oriented Programming (OOP) using the Arduino platform. Through hands-on projects, you will learn how to structure code using OOP principles such as classes, inheritance, and encapsulation. By the end of the course, you’ll be able to build functional, modular projects, improving your coding efficiency and readability.



Introduction to Object-Oriented Programming with Arduino

Instructor: Packt - Course Instructors
Included with
Recommended experience
What you'll learn
Learn how to implement Object-Oriented Programming concepts like classes and inheritance in Arduino projects.
Gain hands-on experience with ESP32 microcontroller and Arduino development environments.
Create reusable and modular code by applying getter and setter methods, constructors, and overloading.
Build practical projects such as an LED control system, IR sensor-based systems, and a Rock Paper Scissors game.
Details to know

Add to your LinkedIn profile
April 2025
8 assignments
See how employees at top companies are mastering in-demand skills


Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

There are 9 modules in this course
In this module, we will introduce you to the course, provide an overview of what to expect, and explain how to set up the necessary components for success. You'll also learn about the instructor and get an understanding of the balance between theory and hands-on practice in this course.
What's included
7 videos1 reading
In this module, we will cover the basic tools and concepts needed for programming with the ESP32. You'll explore the differences between development environments like VS Code and the Arduino IDE, as well as dive into key programming elements like enums and structs to enhance your coding skills.
What's included
7 videos1 assignment
In this module, we will introduce you to the core concepts of object-oriented programming, focusing on the essentials needed to develop with Arduino. You'll learn how to structure your code with classes, encapsulate data, and use key OOP features like constructors, inheritance, and methods to make your projects more flexible and modular.
What's included
11 videos1 assignment
In this module, we will focus on developing an LED class and using object-oriented programming to control an LED's behavior. You will learn how to create various effects, including toggling, fading, pulsating, and LED chasing, all through efficient and modular code using objects.
What's included
9 videos1 assignment
In this module, we will explore how to integrate IR sensors into a project using the Galton board as an example. You will learn how to wire the sensors, create an object-oriented structure to manage them, and implement functionality such as motor control and sensor evaluation, all while reinforcing OOP concepts.
What's included
9 videos1 assignment
In this module, we will walk you through the process of designing a headlamp project with button-controlled LEDs. You’ll learn how to manage button inputs with a custom class, debounce button presses, and differentiate between short and long clicks to control the LEDs. Additionally, you will extend the functionality by incorporating inheritance and fading effects for a more dynamic project.
What's included
12 videos1 assignment
In this module, we will walk you through building a Rock Paper Scissors game that interacts with an ESP32 and a website. You'll create the game logic using object-oriented programming, set up communication between the website and the ESP32, and enhance the project with visual effects and housing solutions.
What's included
14 videos1 assignment
In this module, we will guide you through the steps to create and publish your own Arduino library, applying object-oriented programming concepts. You’ll learn how to structure your code for reusability and share your library with the Arduino community.
What's included
1 video1 assignment
In this module, we will summarize the key concepts and skills you've learned throughout the course. We'll also reflect on the projects you've completed and provide guidance on how to continue applying and expanding your knowledge of object-oriented programming with Arduino.
What's included
1 video1 assignment
Instructor

Offered by
Why people choose Coursera for their career




New to Algorithms? Start here.

Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,