Arduino Programming Course Contents
Introduction and Requirements
Overview of the course with hardware and software requirements.
Part 1: Arduino Sketch Structure and Flow
Explains the structure of an Arduino program and how program statements are executed. Demonstrates a simple "Hello World" program.
Part 2: Arduino Sketch Main Loop and Calling Functions
How the Arduino main loop works and what it means to call a function.
Part 3: Variables
An introduction to Arduino variables showing the use of integer (int) and floating point (float) variables.
Part 4: Arithmetic Operators
Addition, subtraction, multiplication, division and remainder on an Arduino.
Part 5: Relational Operators
Comparing values in Arduino.
Part 6: Increment Operator and Commenting
How the Arduino increment operator works. Using comments in Arduino sketches.
Part 7: The Arduino for Loop
How the Arduino for loop works. Use the Arduino for loop to loop through code a set number of times.
Part 8: The Arduino while Loop
How to use the Arduino while and do-while loops.
Part 9: The Arduino if Statement
Using the Arduino if statement. How to get keyboard input to the Arduino from the Serial Monitor Window.
Part 10: Making Decisions with if-else
Arduino if-else construct. Switch an LED on and off using the Serial Monitor window.
Part 11: Decisions with if-else-if
Arduino if-else-if and if-else-if-else constructs. Control LED blink rates using if-else-if constructs.
Part 12: Logical Operators
OR, AND and NOT logical operators used in Arduino sketches to control an LED from the Serial Monitor window.
Part 13: Switch & Break
Part 14: Conditional Operator
Part 15: Functions
Part 16: Returning a Value from a Function
Part 17: Arrays
Part 18: Strings
Part 19: Serial Input
محتوای دوره برنامه نویسی Arduino
مقدمه و مقررات
بازبینی دوره با الزامات سخت افزار و نرم افزار.
قسمت 1: ساختار و جریان طرح آردوینو
ساختار برنامه آردوینو و نحوه اجرای اظهارات برنامه را توضیح می دهد. برنامه ساده "Hello World" را نشان می دهد.
قسمت 2: آردوینو طرح اصلی حلقه و توابع فراخوانی
چگونه حلقه اصلی آردوینو کار می کند و چه چیزی به معنای تماس با یک تابع است.
قسمت 3: متغیرها
مقدمه ای برای متغیرهای آردوینو که نشان دهنده استفاده از متغیرهای عدد صحیح (int) و شناور (شناور) است.
قسمت چهارم: اپراتورهای ریاضی
علاوه بر این، تفریق، ضرب، تقسیم و باقی مانده در آردوینو.
قسمت 5: اپراتورهای ارتباطی
مقایسه مقادیر در Arduino.
قسمت 6: اپراتور افزایش و توضیح
اپراتور افزایش آردوین چگونه عمل می کند. با استفاده از نظرات در طرح های آردوینو.
قسمت 7: آردوینو برای حلقه
چگونه Arduino برای حلقه کار می کند. از حلقه Arduino برای حل یک حلقه از یک تعداد مجموعه ای از بار استفاده کنید.
قسمت 8: Arduino در حالی که حلقه
نحوه استفاده از Arduino در حالی که حلقه ها را انجام می دهند.
قسمت 9: بیانیه آرودینو
با استفاده از عبارت Arduino if. نحوه دریافت ورودی صفحه کلید به Arduino از پنجره مانیتور سریال.
قسمت 10: تصميم گيري با هر چيز ديگر
آردوینو اگر می خواهید ساخته شود. با استفاده از پنجره مانیتور سریال، LED روشن و خاموش شود.
قسمت 11: تصمیم گیری با if-else-if
آدرینو اگر می خواهید، اگر می خواهید و اگر می خواهید. چراغ کنترل LED با استفاده از if-else-if سازگاری می کند.
قسمت 12: اپراتورهای منطقی
OR، AND و NOT اپراتورهای منطقی مورد استفاده در طرح های آردوینو برای کنترل LED از پنجره مانیتور سریال.
قسمت 13: سوئیچ و شکستن
قسمت 14: اپراتور مشروط
قسمت 15: توابع
قسمت 16: بازگشت یک مقدار از یک تابع
قسمت 17: آرایه ها
قسمت 18: رشته ها
قسمت 19: ورودی سریال