
Arduino and Its Applications
Learn Arduino and Its Applications from Scratch to Pro
What you'll learn
- Get to know the Arduino components
- Understand variables, conditions and loops
- Use the breadboard and light an LED
- Read analog signals and show them on the Serial Monitor
- Use light, temperature and motion sensors
- Use the distance sensor
- Control the servo motor and the DC motor
- Use the keypad and the LCD screen
- Work with arrays and create functions
- Build a Smart Car project
About this course
This course teaches Arduino and its practical applications from scratch. Arduino is a board that reads digital and analog signals from sensors and controls the modules connected to it. It starts with the Arduino components, variables and the simulation program, then lighting an LED with a push button and getting to know the breadboard. Next you learn IF, Switch, For and While statements, arrays and functions, and you display data on the Serial Monitor. Then you work with sensors such as the light sensor, the temperature sensor, the motion sensor and the distance sensor, along with the servo motor, the DC motor, the LCD screen and the keypad. At the end you build a Smart Car project in several parts. The course suits beginners, engineering students and electronics and robotics hobbyists, and it needs no previous experience. Afterward you will be able to connect components, program them and build simple projects on your own. The teaching is practical and gradual, and you follow the lessons in order to move from the idea to the application step by step.
Expected outcomes
- Master the fundamentals of programming with Arduino.
- Create practical projects like a smart car.
- Handle sensors and motors at an advanced level.
- Develop innovative robots that can interact with the environment.
- Execute new design ideas using Arduino.
Learner reviews
- ★★★★★زياد س.·منذ 4 شهرشاهد 52٪
تم عرض كل التقييمات (1)
Course content
1Section One: Assembly and Programming
42 lectures
- Introduction to Arduino – Understanding Arduino ComponentsAn introduction to Arduino and why learn it: it is open source, the digital, analog and power pins, the board types, then downloading the IDE and its compiler.9:34
- Defining VariablesExplains defining variables and their types in Arduino, setting pins with pinMode, writing values with digitalWrite and pausing with delay, using the online Tinkercad Circuits editor.20:56
- Understanding the Simulation ProgramTests a first LED program in the simulator, then reads a button with digitalRead and uses if and else to control the lamp, and introduces the need for a breadboard.19:39
- Running LED Using Push ButtonExplains lighting an LED with a push button, the breadboard layout and its power rails, wiring the resistor, and using the built-in pull-up resistor with INPUT_PULLUP.11:31
- Understanding the BreadboardA two-button, one-LED exercise on a breadboard using if and else, the different breadboard sizes, simplifying the code by removing the variable, and a task to change the LED's starting behavior.19:59
- Using IF ConditionalReviews simplifying an if condition by dropping the variable, reading the button directly, inverting the condition, then using INPUT_PULLUP instead of an external resistor, switch versus push button, and a three-LED exercise.16:46
- Difference Between Switch and Push ButtonShows the difference between a switch and a push button through an exercise with LEDs and two inputs, taking care that only one LED lights, then using the button to hold the traffic light on green.14:14
- Traffic Light ExampleA traffic light example with a switch, a push button and three LEDs, how the internal pull-up inverts the condition, the problem of the button being ignored while the sequence runs, and the idea of toggling an LED with one press.11:42
- Mathematical Operations in ArduinoExplains arithmetic in Arduino such as x += y, incrementing with ++ and decrementing with --, comparison operators and the compound and condition, and printing results on the Serial Monitor.17:41
- Displaying Data on Serial Monitor + Analog SignalReviews the Serial Monitor and its setup, then the ++ operation in calculations, and analog signals read from pins A0 onward with values from zero to five volts, with a variable resistor exercise.20:09
- Using a Variable Resistor with Analog SignalExplains wiring a potentiometer with three terminals, reading it with analogRead and showing the value on the Serial Monitor, the difference between define and a variable, and an exercise lighting LEDs by value.18:56
- Understanding Measurement DevicesSolves the exercise of lighting LEDs by potentiometer value using if and else if conditions, then introduces the photoresistor (LDR), two ways to use it, and why calibrating its readings before coding matters.17:17
- Light Sensor LDR and CalibrationExplains using a multimeter: connecting the voltmeter in parallel and the ammeter in series with the resistor and battery, how their readings relate, and measuring resistance with the ohmmeter.9:18
- Understanding the Map CommandExplains the map command, which converts an analogRead value from its range to another such as 0 to 5, what each parameter means, and printing original and mapped values, with LDR calibration.20:22
- Manually or Automatically Operating Lighting Using Light SensorShows how to run a lamp in manual mode with a push button or automatic mode with a light sensor, using a switch to pick the mode, then introduces the for loop to repeat commands.19:21
- The For Loop CommandExplains the for loop through an exercise that gradually changes LED brightness using PWM output on a digital pin, writing an analog value, and converting an analogRead value to the output range.18:11
- Temperature SensorExplains the temperature sensor and calibrating it with a minimum and maximum reading, converting the reading to Celsius with an equation or the map command, then a room system using temperature and light.14:27
- Connecting Temperature Sensor and Light SensorBuilds a room system linking the temperature and light sensors: rising heat sends an air conditioner signal while light level controls an LED, testing values, adjusting the code and running it in the simulator.14:17
- PIR Motion SensorBuilds a room system with temperature and PIR motion sensors controlling air conditioning and lighting, then explains arrays, element indexing from zero and reading by index, ending with a birth date printing task.18:28
- ArraySolves the birth date printing task with arrays, teaching logical thinking and code tracing, printing separators between numbers, and using two arrays, one for the date and one for the letters of a name.18:41
- Using Array to Define VariablesShows using an array to define several LED pins in one place, wiring one shared resistor to ground, then looping over the array elements to turn the LEDs on and off in random order.19:13
- Examples of Using ArraysSolves an array exercise that sorts several values in ascending order by comparing variables to find the largest and smallest and swap their places, then shows a second solution with a different idea reaching the same result.16:08
- Conditional Switch StatementExplains the switch statement and how it relates to if, using case and break, the issue of a Serial number arriving as an ASCII code, then mapping an LDR reading into four cases with a message for each.14:24
- Example of Connecting Temperature Sensor, Light Sensor, and Motion SensorApplies an example combining temperature, light and motion sensors, mapping the LDR reading into switch cases, checking with conditions, and pointing to the official Arduino site and ready-made code examples.22:53
- While Loop StatementExplains the while loop with an ascending and descending count that lights LEDs in order, the effect of declaring the variable inside or outside the loop, then a task printing the letters of a name with it.19:14
- Do While Loop StatementExplains the do while loop, which checks its condition at the end of each pass unlike while and for, with an example that walks through an array and prints it, showing all three loops serve the same purpose.10:48
- Example of Merging Array with While Loop StatementCombines an array with a while loop to print the letters of a name, and explains using sizeof to get the array size and dividing by the size of one element, since int and double differ in size.15:49
- Servo MotorIntroduces the servo motor, which moves within a limited range from one side to the other rather than rotating fully, and explains the Servo library, defining the object, attaching it to a pin and giving it an angle.18:40
- Sending Signal from Computer to ArduinoExplains receiving numbers typed from the computer over Serial, reading them character by character and combining them into one value with a set number of digits, then using it to move a servo after mapping.17:56
- Understanding Constrain CommandApplies servo angle control with two buttons that raise and lower the angle step by step while keeping it within the movement limits, and how to set movement speed with a delay, after a previous potentiometer and map exercise.20:05
- DC MotorExplains the DC motor, the jumper that sets the board supply, and why a motor driver sits between the Arduino and the motor since the motor draws high current, then programming direction and speed.18:14
- Motor DriveExplains the Motor Drive module, where its wires connect and the jumper that sets the supply, how the enable pin controls speed and two pins set direction, then building a basic substitute in Tinkercad with a transistor and diode.14:48
- Creating FunctionExplains creating a function that runs a group of commands, its return type, passing it inputs, using return, and that a variable declared inside a function is unknown outside it, with a two-function task.20:12
- Ultrasonic Distance SensorExplains the ultrasonic distance sensor and its four pins, how it sends and receives a sound echo like a bat to measure distance, and two ways to use it, writing the code by hand or using a ready library.25:06
- Example of Using Distance Sensor with DC MotorApplies an example linking the distance sensor to a DC motor through forward and stop functions that take speed as a parameter, so speed changes with obstacle distance, and the same functions work for a three or four pin sensor.24:37
- Using New Ping Library with Motor DriverExplains using the NewPing library with a Motor Driver to simplify reading distance and controlling motor speed, and the difference between a local variable inside a function and a global variable defined at the top of the code.23:03
- Using KeypadExplains the Keypad, made of rows and columns, how it detects a pressed key by sending current on a column and reading it on a row, and defining a two-dimensional array and the Keypad library.14:30
- Creating a Password Using the KeyboardBuilds a keypad password where the star key restarts entry and the hash key confirms, comparing the entered code with the stored one, then opens a servo gradually when correct instead of one sudden movement.20:22
- LCD ScreenExplains the LCD screen and common sizes such as 16 by 2, wiring its pins, defining the LiquidCrystal library and connection pins, printing text at a chosen row and column, clearing the screen and showing the cursor.23:17
- Applications on the LCD ScreenShows practical LCD examples including hiding and showing text, a seconds counter based on time in milliseconds, and printing characters typed into the Serial Monitor onto the screen.11:33
- Example of Combining Keyboard and ScreenCombines the keypad with the LCD in the password example, covering wiring with the Arduino's limited pins, organizing the code libraries, defining keypad and screen, and showing the result on screen while moving the servo.18:21
- Interrupt StatementExplains the Arduino interrupt, a function that runs immediately when an event occurs on a pin such as a button press, its trigger modes based on state change, with an example toggling an LED.21:24
2Section Two: Practical Applications of Arduino
10 lectures
- Arduino ComponentsIntroduces the Arduino Nano components: its pins, USB port and power supply, then the resistor, LED, push button, variable resistor, motor driver and light sensor.17:48
- Arduino Balancing ExplanationHands-on Arduino exercises: wiring an LED with a resistor in series and in parallel, the push button problem solved by inverting the condition in code, then the traffic light sequence.15:46
- Traffic SignalsContinues the traffic light project by wiring three LEDs, then reading a potentiometer with analogRead, showing it on the Serial Monitor to control LED brightness, and finally a light sensor.11:09
- Types of SensorsSurveys sensor types and how to wire them to Arduino, including the PIR motion sensor and the Ultrasonic distance sensor using a ready library, and sounding a buzzer when an object gets close.20:25
- Types of MotorsExplains the DC motor and wiring it through a Motor Drive Shield, the direction and speed pins, powering it from a separate battery, and programming direction and speed changes.19:53
- Continuation of Types of Motors and KeypadExplains the Servo Motor and moving it to set angles, powering it through a motor drive to avoid noise, then the Keypad and programming a password with a buzzer alert.21:34
- Assembling the Smart CarExplains assembling a Smart Car with two motors and a caster wheel, wiring it to a motor drive and an Ultrasonic sensor, and writing code that drives forward until an obstacle appears, then stops.14:50
- Implementing the Smart Car Project Part OnePart one of the Smart Car project: wiring control buttons and motors to Arduino pins, writing comments that label each pin, testing the signals, and a loop that moves the car according to the pressed button.23:40
- Implementing the Smart Car Project Part TwoPart two of the Smart Car: writing movement functions such as forward, reverse, right and left, testing each motor's direction, and defining a speed constant with define so it can be changed in one place.22:38
- Implementing the Smart Car Project Part ThreePart three of the Smart Car: fixing problems such as a wheel spinning the wrong way or the two motors running at different speeds, by offsetting one motor's speed, and combining several functions at once.6:10
Instructor

Eng. Mohamed Al-Kashef
This course is part of the diploma




