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.
Step 1-Open the simulation by clicking the button below.
Step 2-Click on the green start button.
Step 3-Click on the slide switch with your mouse cursor.
Step 4-You will see the LEDs lits due to direction of slide switch.
This Arduino-based Vehicle Systems training aims to provide participants with a foundational understanding of designing and building various vehicles and projects using the Arduino platform. The course integrates electronic and programming skills to offer a comprehensive insight into the design and construction of Arduino-based vehicles.
This project entails constructing an obstacle avoidance robot using Arduino and ultrasonic sensors. The robot autonomously explores its environment, relying on sensors mounted on its front, right, and left sides to detect obstacles. It emits sound waves and calculates distances based on the time taken for the waves to return. Using this data, the robot decides its movement: moving forward if no obstacles are detected or turning left or right to avoid obstacles in its path. Motor control directs its movements, ensuring it navigates safely without collisions. This project showcases fundamental concepts in robotics, illustrating autonomous navigation and obstacle avoidance through sensor integration and motor control.
This code implements an Arduino-based vehicle control project that responds to commands sent from a Bluetooth device. The purpose of the project is to control the movement of a vehicle using commands transmitted over Bluetooth. Each command triggers a specific movement: 'F' for forward, 'B' for backward, 'L' for left, 'R' for right, 'G' for forward-right, 'I' for backward-right, 'H' for backward-left, 'J' for forward-left, and 'S' for stop. Upon receiving a command, the code adjusts the direction and speed of the corresponding motors, accordingly, followed by a brief delay. Consequently, the vehicle moves in the desired direction based on the commands received via Bluetooth.
This project represents an Arduino-based endeavor employing four DC motors to accomplish basic movements of a robot such as forward, backward, and right turns. Motor driver pins are defined to control the motors' forward and backward movements separately. In the setup() function, these pins are set as outputs. Subsequently, within the loop() function, the robot is programmed to execute forward, backward, and right-turn movements for a specified duration. Three distinct functions are defined to execute these movements: forward(), backward(), and turnRight(). Each function sends appropriate signals to the respective motor pins to achieve the desired movement. Thus, by programming the Arduino to send signals to the motor driver pins, the robot can move accordingly. This project serves as an ideal example for understanding fundamental principles of motor control and movement direction in robotics.
In this project, an ultrasonic distance sensor is utilized to perceive the surrounding distance. The sensor determines the distance of an object to the sensor by measuring the time of reflected sound waves. Arduino receives the distance data from the sensor and compares it with a predefined distance threshold. If the measured distance exceeds the set threshold, the motors are run in a specific direction (e.g., clockwise) at a certain speed. If the measured distance is less than or equal to the threshold, the motors are run in another direction (e.g., counterclockwise) at the same speed. The motors act according to these instructions, adjusting their movement based on whether the object is approaching or moving away. The primary objective of this project is to control the motors based on distance measurements obtained through the ultrasonic sensor. Such a setup finds applications in various fields, including automatic doors, obstacle avoidance robots, or remotely controlled vehicles.
The Basic 3D Printer Training provides participants with an introduction to the fundamental principles of 3D printing technology, the operation of 3D printers, and basic 3D modeling concepts. The course aims to empower participants with the skills to interact with 3D printers, create their own designs, and successfully execute 3D printing projects.
Foundations of 3D Printing: Understanding the basic operational principles of 3D printers. Gaining knowledge about different types and models of 3D printers.
3D Modeling Skills: Creating simple designs using basic 3D modeling tools. Editing and customizing pre-existing 3D models.
Printer Operation and Settings: Properly setting up and operating 3D printers. Optimizing printer settings for enhanced print quality.
Material Selection and Management: Acquiring knowledge about different 3D printing materials. Understanding and managing material properties.
Development of Printing Projects: Designing and implementing personal 3D printing projects. Successfully executing designed projects on the printer.
Debugging and Troubleshooting: Identifying and resolving common issues that may occur during printing. Understanding troubleshooting strategies to optimize printer performance.
This training is designed to equip participants with the skills to work with 3D printers, fostering the ability to initiate their own 3D printing projects.
3D printers operate by translating digital models created using computer-aided design (CAD) software into physical objects. These models are typically stored in STL (stereolithography) or OBJ (object) formats. The printer reads the digital model and builds the physical object layer by layer, scanning each layer and adding material to create a three-dimensional structure.
3D printers can work with a variety of materials. Some common ones include:
PLA (Polylactic Acid): Often recommended for beginners, it's biodegradable and user-friendly.
ABS (Acrylonitrile Butadiene Styrene): Durable and flexible, commonly used in industrial applications.
PETG (Polyethylene Terephthalate Glycol): Tough, transparent, and chemically resistant.
TPU (Thermoplastic Polyurethane): Elastic and flexible, often used in rubber-like applications.
Most 3D printers use a layering technique to build objects. This involves dividing an object into thin layers and adding each layer on top of the previous ones. Layer thickness determines the printer's resolution, with thinner layers typically providing higher resolution and smoother surfaces.
FDM (Fused Deposition Modeling): The most common type. It melts plastic filament from a spool and deposits it layer by layer.
SLA (Stereolithography): Uses UV light to solidify liquid resin layer by layer. Offers high resolution.
SLS (Selective Laser Sintering): Utilizes laser to sinter powdered material layer by layer. Often used in industrial settings.
Layer Thickness: Thickness of each layer of material.
Print Speed: How fast the printer operates.
Heated Bed: Heating the build platform to ensure material adhesion.
Cooling: Cooling the print head is crucial for better results.
Specialized software is required for 3D printing. It's often free and supports file formats like STL or OBJ. Popular software includes Cura, PrusaSlicer, and MatterControl.
Accurate calibration and regular maintenance are crucial. Proper calibration improves print quality, and routine maintenance ensures the longevity of the printer.
3D printers have a wide range of applications, from prototyping to producing personal projects. However, there's a learning curve, and optimizing print settings requires some patience initially.
The simple mobile software development course will give participants an idea about software development approaches. It will guide participants who want to develop software at the beginning level.
Back-end and Front-end concepts: Provides knowledge about the software development approach. Information is given about the interaction with each other.
Programming fundamentals: Basic programming concepts including variables, loops, conditions and functions are learned using Eclipse and Android Studio Integrated Development Environment (IDE).
Basics of back-end software development language Java: Have basic knowledge about Java. Gain knowledge about the software development framework Spring Boot.
Front-end software development language Flutter basics: Learn about mobile software development using Android Studio.
Front-end software development architecture: It ensures that front-end developers adopt a common development approach with the same standard structure in software development processes. Information about development standards is obtained.
Back-end software development architecture: It ensures that back-end developers adopt a common development approach with the same standard structure in software development processes. Information about development standards is obtained.
Modular Education 26: Backend / Frontend Concepts
Frontend :
The frontend is the part that the user directly interacts with and perceives visually. In a web-based application, everything visible in the browser is considered frontend. The front end of a website is built using technologies such as HTML, CSS and JavaScript. User interface, buttons, forms, menus and other interaction elements are included in this layer. The front end relies on design and usability principles to create the user experience.
"To test with the simulator, go to https://flutlab.io/ . Press the 'Get Started' button on the screen."
In the opened simulator, click on the triangle located in the top left to start the simulator. After a short wait, the mobile simulator will open. You can increase the counter by pressing the '+' button.
Backend :
The back end is the part that operates on the server side and does not directly interact with the user. Functions such as database management, business logic operations, security, authentication, and server-side file management occur in the back end. In a web-based application, operations such as processing forms sent by users and the server processing this data and returning it also occur in the back end. The back end is typically written in a programming language (such as Python, PHP, Ruby, Java, C#, etc.) and developed using server-side frameworks or technologies (such as Node.js, Django, Ruby on Rails, Laravel, Spring Framework, etc.).
To run the simulator, go to https://www.online-java.com/XvcqkMGrPU Click the 'Run' button located under the code. You will see 'Hello, World!' as the output below. You can change the output by modifying the sentence in the code.
In summary, the front end refers to the part that creates the user interface and where users directly interact, while the back end refers to the part where data processing and business logic operations are performed on the server side. For a good user experience, both the front end and the back end should work together and be compatible.
Variables:
Variables are areas of memory used to store a value. In languages such as Java and Kotlin, variables are defined with a specific data type. For example:
You can use the simulator at https://www.online-java.com/y1BUvMEq4h .
Click the 'Run' button below the code. You can modify the code to change the output.
Loops:
Loops are used to run a specific block of code over and over again as long as a certain condition is met. In Java and Kotlin, for, while and do-while loop structures are generally used. For example:
You can use the simulator at https://www.online-java.com/hkSCzXRqfU . Click the 'Run' button below the code. You can modify the code to change the output.
Conditions:
Conditions enable different blocks of code to be executed depending on whether a particular condition is true or false. If, else if and else statements are used in Java and Kotlin. For example:
You can use the simulator at https://www.online-java.com/uxNhngc3qf . Click the 'Run' button below the code. You can modify the code to change the output.
Functions (Methods):
Functions are code blocks used to perform specific tasks. In Java and Kotlin, functions are called methods. For example:
You can use the simulator at https://www.online-java.com/l6VaP594Iv . Click the 'Run' button below the code. You can modify the code to change the output.
Arrays:
Arrays are widely used in Java. You can create arrays, access their elements, and perform various operations with arrays. For example:
You can use the simulator at https://www.online-java.com/84aWMmKyL7 Click the 'Run' button below the code. You can modify the code to change the output.
Classes and Objects:
Java is an object-oriented programming language. You can create a class, instantiate objects, and invoke methods of the class. For example:
You can use the simulator at https://www.online-java.com/PBVxv71aOf . Click the 'Run' button below the code. You can modify the code to change the output.
File Handling:
Reading and writing files in Java is quite straightforward. You can read data from a file or write data to a file. For example:
You can use the simulator at https://www.online-java.com/Xv7lage3px Click the 'Run' button below the code. You can modify the code to change the output.
With these examples, you can see how to use fundamental programming concepts in IDEs like Eclipse or Android Studio. These concepts are used similarly in any programming language, so they are language-independent.