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
Nội dung khóa học lập trình Arduino
Giới thiệu và yêu cầu
Tổng quan về khóa học với các yêu cầu phần cứng và phần mềm.
Phần 1: Cấu trúc và lưu lượng phác thảo Arduino
Giải thích cấu trúc của một chương trình Arduino và cách các câu lệnh chương trình được thực thi. Thể hiện một chương trình "Hello World" đơn giản.
Phần 2: Arduino Phác thảo chính Loop và chức năng gọi
Làm thế nào các vòng lặp chính Arduino hoạt động và những gì nó có nghĩa là để gọi một chức năng.
Phần 3: Các biến
Giới thiệu về các biến Arduino hiển thị việc sử dụng các biến số nguyên (int) và dấu phẩy động (float).
Phần 4: Toán tử số học
Cộng, trừ, nhân, chia và phần còn lại trên Arduino.
Phần 5: Các nhà khai thác quan hệ
So sánh các giá trị trong Arduino.
Phần 6: Toán tử tăng thêm và bình luận
Cách toán tử tăng Arduino hoạt động. Sử dụng bình luận trong bản phác thảo Arduino.
Phần 7: Arduino cho vòng lặp
Arduino hoạt động như thế nào. Sử dụng vòng lặp for Arduino để lặp qua mã một số lần đặt.
Phần 8: Arduino trong khi vòng lặp
Làm thế nào để sử dụng Arduino trong khi và làm trong khi vòng lặp.
Phần 9: Arduino nếu tuyên bố
Sử dụng câu lệnh if Arduino. Làm thế nào để có được bàn phím đầu vào cho Arduino từ Serial Monitor Window.
Phần 10: Đưa ra quyết định với if-else
Arduino nếu-else xây dựng. Bật và tắt đèn LED bằng cửa sổ Màn hình Nối tiếp.
Phần 11: Các quyết định với if-else-if
Arduino nếu-else-if và if-else-if-else xây dựng. Kiểm soát tốc độ chớp đèn LED bằng cách sử dụng các cấu trúc if-else-if khác.
Phần 12: Các nhà khai thác hợp lý
Các toán tử OR, AND và NOT được sử dụng trong các bản phác thảo Arduino để điều khiển một đèn LED từ cửa sổ Màn hình Nối tiếp.
Phần 13: Chuyển đổi & Break
Phần 14: Toán tử có điều kiện
Phần 15: Các hàm
Phần 16: Trả về một giá trị từ một hàm
Phần 17: Mảng
Phần 18: Chuỗi
Phần 19: Đầu vào nối tiếp