
Set up your first circuit with an LCD, a 10 k resistor, a pushbutton, and a breadboard, then learn how voltage, current, and resistance govern flow from positive to ground.
Wire your first Arduino circuit on a breadboard, connecting the LCD, push button, resistor, and jumper wires to the Arduino and power rails, using pins four and nine.
Write and upload a basic Arduino program using setup and loop, configure pin 10 as an output, and set it high to light the led.
Explore the code's two parts, setup and loop, and learn how to configure Arduino using the pin mode command to set a pin as input or output.
See how the Arduino loop runs forever while setup executes once, enabling continuous actions such as lighting the LCD using digital pin 10 and the high command.
Master flashing an LED by turning the OLED on and off, using a millisecond delay to slow the blink and reveal the visible LED flash.
Explore variables in your Arduino program by learning how to store numbers and words in labeled memory boxes, retrieve them, and perform calculations.
Discover how motors work: coil and magnets make them spin when current flows. Control direction by swapping high and low signals and use a motor driver such as the l298n.
You can copy this setup code to get through this bit faster
int enA=7;
int motorleft1=6;
int motorleft2=5;
int motorright1=4;
int motorright2=3;
int enB=2; //these should be #define but we will discuss this after
void setup() {
pinMode(enA,OUTPUT); //set all of the pins to outputs
pinMode(motorleft1,OUTPUT);
pinMode(motorleft2,OUTPUT);
pinMode(motorright1,OUTPUT);
pinMode(motorright2,OUTPUT);
pinMode(enB,OUTPUT);
}
Replace int with #define constants, capitalize names for readability, and learn analog speed control using analog write on PWM pins 9 and 10 with values 0–255.
Explore how sensors let a robot react to its surroundings by using if statements to decide between driving forwards or reversing and turning based on a distance of 50 centimeters.
Program the HC-SR04 ultrasonic sensor with Arduino, calculate distance in centimeters, and integrate motor control to drive forward or turn when objects approach.
Get started with Arduino and making robots.
You will learn how the arduino board works, how to build basic circuits and control LEDS.
Then you will move on to programming motors and combine everything to build and program your own robot.
By the end of the course you will understand:
How to program outputs in Arduino
How to build a basic circuit
How to use a motor driver
How to put everything together to make a robot
You will also understand how and when to use functions, if statements and variables.