08 Multitasking in Arduino using millis | Servo Motor and 7-segment Display | Embedded Systems
In this video, Joed Goh explains the concept of executing multiple tasks in a single program by using the millis function. The discussion uses a common cathode seven segment display, an SG90 servo motor, LEDs, and a tactile switch to illustrate the concept.
04:13 Demo connection on 7-segment display
07:35 Basic Arduino program to control the 7-segment display
10:25 Using 2D array to control digit counter 0-9
12:33 Multitasking in Arduino
18:23 Servo Motor
27:45 Code and Circuit Connection Challenge
***NOTE:
in line 24 (15:20) with the code:
unsigned currentTime = millis(); // the type long is inferred because the millis return type is unsigned long, that's why it works even without explicitly specifying the type.
However, in c-based related programming languages, you must explicilty specify the type as in:
unsigned long currentTime = millis();
PLAYLISTS:
Embedded Systems using Arduino Uno
https://youtube.com/playlist?list=PLVTsfY7Kr9qhkfmq85MH2xObFIELuq_Vo
Android App Development in Kotlin
https://youtube.com/playlist?list=PLVTsfY7Kr9qimoaNmBCQQcvNi49EoKTWS
Designing Database Solutions with Microsoft SQL Server 2019
https://youtube.com/playlist?list=PLVTsfY7Kr9qjagmWoPLXPvdOk46C5IAB_
Data Structures and Algorithms using C#
https://youtube.com/playlist?list=PLVTsfY7Kr9qiTxECmzTVkLZt1DkaFEfUg
Видео 08 Multitasking in Arduino using millis | Servo Motor and 7-segment Display | Embedded Systems канала Education is Life
04:13 Demo connection on 7-segment display
07:35 Basic Arduino program to control the 7-segment display
10:25 Using 2D array to control digit counter 0-9
12:33 Multitasking in Arduino
18:23 Servo Motor
27:45 Code and Circuit Connection Challenge
***NOTE:
in line 24 (15:20) with the code:
unsigned currentTime = millis(); // the type long is inferred because the millis return type is unsigned long, that's why it works even without explicitly specifying the type.
However, in c-based related programming languages, you must explicilty specify the type as in:
unsigned long currentTime = millis();
PLAYLISTS:
Embedded Systems using Arduino Uno
https://youtube.com/playlist?list=PLVTsfY7Kr9qhkfmq85MH2xObFIELuq_Vo
Android App Development in Kotlin
https://youtube.com/playlist?list=PLVTsfY7Kr9qimoaNmBCQQcvNi49EoKTWS
Designing Database Solutions with Microsoft SQL Server 2019
https://youtube.com/playlist?list=PLVTsfY7Kr9qjagmWoPLXPvdOk46C5IAB_
Data Structures and Algorithms using C#
https://youtube.com/playlist?list=PLVTsfY7Kr9qiTxECmzTVkLZt1DkaFEfUg
Видео 08 Multitasking in Arduino using millis | Servo Motor and 7-segment Display | Embedded Systems канала Education is Life
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
What is a Servo Motor and How it Works?How to do multiple tasks in Arduino | Beginners | millis() function168. Why A DC Power Bus For Your DCC Model Railroad03 Combinational LOGIC Circuit Design | Theory to Application -Automated Light Bulb and Door LockArduino IoT Cloud 2021 - Getting Started with Arduino & ESP32How to use millis() function to multitask in arduino code.Arduino millis() function: 5+ things to consider✔ Multitask Arduino with State Machines (& Switch Debouncing)Using an EEPROM to replace combinational logicUsing Servo Motors with ArduinoRaspberry Pi Servo Motor ControlDoing multiple timed things with Arduino: Unleash the millis()!Using SD Cards with Arduino - Record Servo Motor MovementsTimer Interrupt ISR + Examples | Arduino101 | Set Registers & ModesArduino Basics 102: Control Structures, Variables, InterruptsArduino Millis function explained with 3 exampleTOP 10 Arduino-Servo Motor Projects | 2018The Arduino Simulator you’ve been looking for!28BYJ-48 Stepper Motor and ULN2003 Driver IntroHow to Wire an Arduino to a ClearPath Servo Motor