You can access our application DYL-HP here.
This basic Arduino training provides participants with a comprehensive introduction to microcontroller programming, electronic circuit design, and the utilization of sensors and actuators in projects. The course aims to establish a solid foundation in Arduino proficiency, preparing participants for the process of designing and developing electronic projects.
Understanding the Arduino Platform: Gaining knowledge about the essential features and components of the Arduino microcontroller platform.
Programming Fundamentals: Learning fundamental programming concepts, including variables, loops, conditions, and functions, using the Arduino Integrated Development Environment (IDE).
Electronic Circuit Design: Creating basic circuits using fundamental components such as LEDs, resistors, and transistors. Developing the ability to understand and generate basic circuit diagrams.
Sensor and Actuator Integration: Integrating a variety of sensors (e.g., light sensors, temperature sensors) and actuators (e.g., motors, servos) with Arduino.
Fundamentals of Communication Protocols: Introducing basic communication protocols (e.g., serial communication) and the capability to facilitate information exchange between devices.
Project Development and Troubleshooting: Gaining practical experience in designing and implementing personal projects using Arduino. Developing skills to identify and troubleshoot common issues that may arise during project development.
This course is designed to empower participants with the essential skills required for effective utilization of the Arduino platform in various electronic applications.
The main purpose of this project is to control an LED using Arduino. In this project the LED is continuously on. In the code, the Arduino sets pin 13 as output and continuously sends a high signal to keep the LED on. These basic LED control project serve as an introduction to Arduino functionality and programming logic.
Step 1- Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-In simulation you will see the LED lit.
The purpose of this project is to sequentially turn on and off three LEDs connected to pins 11, 12, and 13 on an Arduino board. In the setup() function, the pins are configured as outputs. In the loop() function, each LED is turned on for one second in the sequence, then they are turned off in reverse order with a delay of 250 milliseconds between each LED. This pattern repeats indefinitely, creating a blinking effect where the LEDs light up one after another and then turn off in reverse order, producing a visual sequence.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-You will see the LEDs lit and fade in a order.
Step 4-If you want to make changes in simulation when you change the value of 1000 in line 14 the litting time will be changed. When you change the value of 250 in the line 19, you will see that the fade time changes.
The main purpose of this project is to control an LED using Arduino. This code snippet makes the LED blink in a specific pattern. The LED blinks by turning it on for one second and off for 250 milliseconds in a loop. These basic LED control project serve as an introduction to Arduino functionality and programming logic.
Step 1- Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-You will see the LED blink.
Step 4-If you want to make changes in simulation when you change the value of 1000 in line 9 the litting time will be changed. When you change the value of 250 in the line 11, you will see that the fade time changes.
The purpose of this project is to read the value of a potentiometer and send it to the serial monitor. The potentiometer, which is a sensor that produces an analog signal, is connected to one of the analog input pins of the Arduino (A0). In the setup() function, serial communication is initialized at a baud rate of 9600. In the loop() function, the code continuously reads the value of the potentiometer using the analogRead() function and prints it to the serial monitor with a descriptive message. This allows us to observe how the value of the potentiometer changes as it is adjusted, providing insight into its operation.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-When you slide the potentiometer on the screen, you will see the values change on the serial monitor under the screen.
Step 4-If you want to make changes in simulation when you change the "Potansiyometre Okunan Deger=" text in line 8 you can see the change in serial monitor.
The purpose of this project is to control the brightness of an LED using a potentiometer. The code reads the analog input from the potentiometer connected to pin A0 and maps its value to a range suitable for PWM (Pulse Width Modulation) using the analogRead() function. This value is then used to adjust the brightness of the LED connected to pin 3 using the analogWrite() function. As the potentiometer is adjusted, the brightness of the LED changes proportionally, allowing for variable control of the LED's intensity.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-When you slide the potentiometer on the screen, you will see the brightness of the LED changing.
Step 4-If you want to make changes in simulation when you change the "Potansiyometre Okunan Deger=" text in line 8 you can see the change in serial monitor.
The purpose of this project is to use an ultrasonic distance sensor and a servo motor to detect the approach of an object and respond accordingly. The code measures the distance to an object using the ultrasonic sensor and uses this distance to determine the position of the servo motor. When the distance to the object falls below a certain threshold, the servo motor rotates to a specific angle in response. Thus, the code detects the approach of an object and positions the servo motor accordingly to respond to it.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the ultrasonic distance sensor on the screen with your mouse cursor and shorten the distance from the distance bar on the screen.
Step 4-You will see the LED light turn on and the motor rotates 90 degrees.
Step 5-If you want to make changes in simulation when you change the distance value 100 in line 20, you will see that the distance limit has changed. On line 22 if you change the value from 90 to 0-180, you will see that the motor's movement limit angle changes.
The purpose of this project is to control a windshield wiper motor based on readings from a rain sensor. The code reads analog values from the rain sensor, which are then mapped to different states: "Yagmur Yagiyor" (Rain Detected) or "Kuru" (Dry). When rain is detected, the servo motor rotates the wiper to simulate wiping action, moving it from 0 to 100 degrees and back. When the sensor indicates dry conditions, the servo motor returns to its initial position at 0 degrees. This way, the code creates an automatic windshield wiper system that activates when rain is detected and stops when the rain subsides.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the DHT-22 sensor on the screen with your mouse cursor and shorten the distance from the distance bar on the screen.
Step 4-You will see the LED light turn on and the motor rotates 90 degrees.
Step 5-If you want to make changes in simulation when you change the humidity threshold 80 in line 11, you will see that the humidity threshold has changed. On line 24 if you change the value from 90 to 0-180, you will see that the motor's movement limit angle changes.
This code implements an Arduino project using a Passive Infrared (PIR) motion sensor to detect detected motion and control an LED and a buzzer. It reads the signal from the PIR sensor, and if motion is detected, it turns on the LED and plays a tone. Then, it prints "Motion detected!" to the serial monitor. When no motion is detected, it turns off the LED and stops the tone, followed by printing "Motion ended!" to the serial monitor. This code aims to create a motion detection and alert system using the motion sensing capability of the PIR sensor and controlling the LED and sound with Arduino.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the motion sensor on the screen with your mouse cursor and press Simulate Motion button on the screen.
Step 4-You will see the LED light turn on, music signal coming from the buzzer and Motion detected text on serial monitor.
Step 5-If you want to make changes in simulation when you change the text in quotes in lines 22 and 34, you can see that the text on the screen changes.
When a switch in the project is pressed by the user, it changes a number display with consecutive numbers. The purpose of the code is to display a number by segments of the pointer and for the user to increment the number via a button.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the button on the breadboard with your mouse cursor.
Step 4-You will see the number increasing on 7 segment display.
Step 5-If you want to make changes in simulation when you change the value 300 in line 41, you can see that the time of count changes if button is pushed.
This code was written to control a four-digit 7-segment display using a potentiometer (pot) on the Arduino platform. The code provides the functionality of the 7 segment indicator using the SevSeg library. Showing numbers on the 7 segment display depending on the value of the potentiometer.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the slider on the screen with your mouse cursor and slide.
Step 4-You will see the numbers changing on 4 digit 7 segment display.
This Arduino project aims to print "Merhaba" on the screen using an LCD screen. It allows Arduino to control the LCD screen. Then, the program in the Arduino initializes the LCD display and prints the text "Merhaba" on the screen. This project provides an ideal example to understand the basic use of components such as Arduino and LCD display.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-You will see the Merhaba text on LCD Screen.
Step 4-If you want to make changes in simulation when you change the text in quotes in line 18, you can see that the text on the screen changes.
This Arduino project allows different colors to be produced by controlling an RGB LED. Through the connections, Arduino controls the brightness of the LED by sending a PWM (Pulse Width Modulation) signal for each color. The Arduino program changes the colors of the RGB LED over a period of time and repeats the cycle continuously. This project is a great starting point for understanding the basic use of components like Arduino and RGB LED.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-You will see the color changes of RGB LED.
Step 4-If you want to make changes in simulation when you change the value 1000 in lines 14, 16 and 18, you can see that the time of colors is changed.
This Arduino project allows controlling the turning on and off of an LED using a button. With circuit connection, the button is connected to the digital input pin of the Arduino using a resistor, while the LED is connected to the digital output pin of the Arduino using a resistor. If the button is pressed (button status is HIGH), the LED turns on and waits for one second. If the button is released, the LED turns off. This way, the Arduino program reads the button state and controls the LED blinking accordingly. This project is an ideal example to understand input/output control and simple state management in Arduino.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the button on breadboard with your mouse cursor.
Step 4-You will see the LED lits for 1 second.
Step 5-If you want to make changes in simulation when you change the value 1000 in line 25 you can see that the time that LED lits is changed.
This Arduino project aims to detect the ambient light level using an LDR (Light Dependent Resistor) and adjust the brightness of an LED accordingly. This project is used to learn to control an output device by sensing the environmental light level.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the LDR Sensor with your mouse cursor and change the Lux value to below 100.
Step 4-You will see the LED lits.
Aim of this project is reading data from an analog sensor (LDR sensor), converting this value to a value between 0 and 255 and transmitting this value to an output pin (LED) PWM.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the LDR Sensor with your mouse cursor and change the Lux value.
Step 4-You will see the LED lits or fades.
Measuring the temperature value through a thermistor and controlling different LEDs in certain temperature ranges according to this value. For example, one LED will turn on if the temperature is 50 degrees or more, another LED will turn on if it is below 50 degrees, and another LED will turn on if it is below 10 degrees. This project provides a good starting point for understanding temperature sensors and analog signal processing. It calculates the temperature value using the analog signal coming from the thermistor and takes different actions at certain threshold values according to this value.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the NTC Sensor with your mouse cursor and change the Temperature value.
Step 4-You will see the LED changes.
Step 5-If you want to make changes in simulation when you change the threshold values in lines 15, 22 and 28, you can see that the threshold temperature changes.
Reading the value from an analog sensor (slider) and displaying this value in the form of an LED bar graph. The value from the sensor determines the number of LEDs; i.e. the higher the sensor value, the brighter the LED lights. This project covers basic Arduino topics such as analog signal reading, value conversion and LED control. It converts the analog value from the sensor into a specific number of LEDs and uses it to display these LEDs in the form of a bar graph.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the Slider with your mouse cursor and change the value.
Step 4-You will see the LED Bar changes.
This project is designed to measure and monitor the temperature and humidity of the environment using temperature and humidity data from the DHT22 sensor. It forms the basis for measuring temperature and humidity with Arduino, as well as visualizing these values through an OLED display. The data from the DHT22 sensor is displayed on the OLED screen in a specific arrangement, so the user can easily monitor the environmental conditions.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the DHT22 sensor with your mouse cursor and change the Humidity and Temperatures values.
Step 4-You will see the changes on OLED Screen.
Along with reading the vertical and horizontal axes on the joystick, controlling the LEDs in different directions according to these reading values. For example, if the joystick is up, it turns on an up LED, and if it is down, it turns on a down LED. The joystick module reads movements in the vertical and horizontal axes and is used to control specific LEDs or outputs based on these values. This project shows how the joystick module can be used to control motors in different directions depending on the values read.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the Joystick module with your mouse cursor.
Step 4-You will see the LEDs lits due to direction you click.
Purpose of the project is controlling the LEDs, one connected to pins 13 and the other to pins 12, by reading the status of two buttons. When a button is pressed, the corresponding LED turns on; when the button is released, the LED turns off. This project is an example of a simple button control. The two buttons are used with INPUT_PULLUP mode, when the button is pressed, the LOW (0) value is read from the relevant pin, and when the button is released, the HIGH (1) value is read. This status determines whether the button is pressed or not. These read values are written to two different LEDs, causing the LEDs to blink according to the button status.