Uploaded August 2023 | Updated September 2026, 2 weeks ago
The Problem With Delay() And How To Fix It: techexplorations.com/guides/arduino/programming/delay
Further readings:
Here are some free online resources on the topic:
1. Arduino Reference: The official Arduino reference is always a good place to start. It covers all the basics, as well as some more advanced topics. You might be interested in the section on interrupts. arduino.cc/reference/en
2. Arduino Playground – Timer1: This wiki provides a more detailed explanation of the Timer1 library, which can be used to set up timer interrupts on an Arduino Uno. playground.arduino.cc/Code/Timer1
3. Instructables – Arduino Timer Interrupts: This Instructables guide provides a beginner-friendly introduction to timer interrupts and shows how to use them in various projects. instructables.com/Arduino-Timer-Interrupts
4. Tech Explorations website: We have published several relevant articles that you might enjoy reading:
○ Optimizing the reaction time of the ATMega328. techexplorations.com/blog/arduino/optimizing-reaction-time-atmega328
○ Why should I call detachInterrupt at the start of an interrupt service routine? techexplorations.com/blog/arduino/blog-why-should-i-call-detachinterrupt-at-the-start-of-an-interrupt-service-routine
○ The basic functions of the TimerOne library. techexplorations.com/guides/arduino/peripherals/arduino-timer1
○ Can you use delay() inside Interrupt Service Routine? techexplorations.com/guides/arduino/programming/delay-print-in-isr
○ The interrupt service routine and volatile variables. techexplorations.com/guides/arduino/programming/interrupts-volatile
○ Simple multitasking on the Arduino. techexplorations.com/guides/arduino/programming/simple-multitasking-arduino
○ Concurrency with the Scheduler library on the Arduino Due and Zero. techexplorations.com/guides/arduino/programming/scheduler-library-arduino-due-and-zero
5. Arduino StackExchange: This Q&A forum has many experienced users who can provide insights and answers on more advanced topics like interrupts and timers. arduino.stackexchange.com/search?q=timer+interrupts
6. Arduino Tutorial – Interrupts: This tutorial on the official Arduino site provides a detailed introduction to interrupts, a prerequisite for understanding timer interrupts.
Remember that while these resources are free, some may require you to create an account or sign up for a newsletter. arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt
Remember that while these resources are free, some may require you to create an account or sign up for a newsletter.
The video was created with assets by:
freepik.com/free-vector/office-worker-different-emotions-activities_24131324.htm#page=2&query=wondering%20computer&position=20&from_view=search&track=ais
freepik.com/free-vector/gradient-technology-futuristic-background_19332041.htm#query=world%20of%20possibilities%20code&position=30&from_view=search&track=ais
The Problem With Delay() And How To Fix It: techexplorations.com/guides/arduino/programming/delay
Further readings:
Here are some free online resources on the topic:
1. Arduino Reference: The official Arduino reference is always a good place to start. It covers all the basics, as well as some more advanced topics. You might be interested in the section on interrupts. arduino.cc/reference/en
2. Arduino Playground – Timer1: This wiki provides a more detailed explanation of the Timer1 library, which can be used to set up timer interrupts on an Arduino Uno. playground.arduino.cc/Code/Timer1
3. Instructables – Arduino Timer Interrupts: This Instructables guide provides a beginner-friendly introduction to timer interrupts and shows how to use them in various projects. instructables.com/Arduino-Timer-Interrupts
4. Tech Explorations website: We have published several relevant articles that you might enjoy reading:
○ Optimizing the reaction time of the ATMega328. techexplorations.com/blog/arduino/optimizing-reaction-time-atmega328
○ Why should I call detachInterrupt at the start of an interrupt service routine? techexplorations.com/blog/arduino/blog-why-should-i-call-detachinterrupt-at-the-start-of-an-interrupt-service-routine
○ The basic functions of the TimerOne library. techexplorations.com/guides/arduino/peripherals/arduino-timer1
○ Can you use delay() inside Interrupt Service Routine? techexplorations.com/guides/arduino/programming/delay-print-in-isr
○ The interrupt service routine and volatile variables. techexplorations.com/guides/arduino/programming/interrupts-volatile
○ Simple multitasking on the Arduino. techexplorations.com/guides/arduino/programming/simple-multitasking-arduino
○ Concurrency with the Scheduler library on the Arduino Due and Zero. techexplorations.com/guides/arduino/programming/scheduler-library-arduino-due-and-zero
5. Arduino StackExchange: This Q&A forum has many experienced users who can provide insights and answers on more advanced topics like interrupts and timers. arduino.stackexchange.com/search?q=timer+interrupts
6. Arduino Tutorial – Interrupts: This tutorial on the official Arduino site provides a detailed introduction to interrupts, a prerequisite for understanding timer interrupts.
Remember that while these resources are free, some may require you to create an account or sign up for a newsletter. arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt
Remember that while these resources are free, some may require you to create an account or sign up for a newsletter.
The video was created with assets by:
freepik.com/free-vector/office-worker-different-emotions-activities_24131324.htm#page=2&query=wondering%20computer&position=20&from_view=search&track=ais
freepik.com/free-vector/gradient-technology-futuristic-background_19332041.htm#query=world%20of%20possibilities%20code&position=30&from_view=search&track=ais
![[050] Arduino Getting Started: Introduction to the Arduino IDE
Dive into the world of Arduino programming with our comprehensive guide to the Arduino Integrated Development Environment (IDE). This video is an essential watch for beginners, showcasing how the Arduino IDE transforms your coding ideas into reality. From a simple LED blink to controlling complex robots, the IDE is your gateway to exploring electronics and coding. Follow along as we break down the interface, features, and functionalities of the Arduino IDE, making it accessible for hobbyists, educators, and power users.
This series is possible thanks to the kind support of Sunfounder, an online store that sells high-quality hardware and kits for Makers. Visit Sunfounder at https://sunfounder.com.
In this series, I use the SunFounder 3 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima, including high-quality sensors, actuators, power supplies, and Original Arduino Uno R4 Minima for diverse projects and skill-building. Get it (affiliate link): https://www.sunfounder.com/collections/arduino-kits/products/sunfounder-3-in-1-ultimate-starter-kit-with-original-arduino-uno-r4-minima?ref=bXS65iah
Timestamps:
00:00 - Introduction to the Arduino IDE
00:17 - Opening the Arduino IDE: A First Look
00:26 - Why Arduino IDE is Great for Beginners
00:57 - New Features in Arduino IDE Version 2
01:34 - Key Components of the Arduino IDE
01:41 - Toolbar and Its Functions
01:52 - Verifying and Uploading Sketches
02:10 - The Code Editor: Writing Your Arduino Code
02:28 - Message Area and Console for Troubleshooting
02:47 - Selecting Board Type and Serial Port
03:14 - Using the Serial Monitor for Debugging
03:39 - Preview of Next Video: Basic Programming Concepts
Key Features Explored:
*User-Friendly Interface: Designed for ease of use, making it perfect for those new to coding and electronics.
*Powerful Under the Hood: Version 2 of the IDE adds enhanced features without complicating the user experience.
*Essential Components: Introduction to the toolbar, code editor, message area, console, board selection, and serial port configuration.
*Syntax Highlighting: Improves code readability by color-coding commands, variables, and comments.
*Serial Monitor: Enables real-time data communication between your Arduino and computer, which is crucial for debugging and sensor monitoring.
Up Next:
Stay tuned for our next video, where well explore writing code and unravel Arduinos basic programming concepts. This upcoming episode is tailored to build upon the foundations laid in this guide, ensuring a smooth progression in your Arduino learning journey.
Remember to subscribe and hit the bell icon to stay updated on our Arduino beginner series. Whether youre just starting or looking to expand your knowledge, our series supports your exploration into the exciting world of Arduino projects. See you in the next video! [050] Arduino Getting Started: Introduction to the Arduino IDE](https://i.ytimg.com/vi/iUASFQkYB3c/mqdefault.jpg)


![[140] Arduino Getting Started: Digital output and blinking LED
This tutorial guides you through setting up and programming your first Arduino project: making an external LED blink. Youll learn how to construct a simple circuit using a breadboard, an LED, a resistor, and jumper wires. The video covers the basics of wiring the LED to an Arduino digital output pin, programming the Arduino to control the LED, and observing the LED blink. This foundational project prepares you for more complex Arduino endeavors.
This series is possible thanks to the kind support of Sunfounder, an online store that sells high-quality hardware and kits for Makers. Visit Sunfounder at https://sunfounder.com.
In this series, I use the SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima, including high-quality sensors, actuators, power supplies, and Original Arduino Uno R4 Minima for diverse projects and skill-building. Get it (affiliate link): https://www.sunfounder.com/collections/arduino-kits/products/sunfounder-3-in-1-ultimate-starter-kit-with-original-arduino-uno-r4-minima?ref=bXS65iah
🕒 Timestamps:
00:00 - Introduction to the project: making an external LED blink.
00:06 - Explanation of connecting the LED to the Arduinos digital output pins.
00:19 - Setting up the circuit components on a breadboard.
00:27 - Detailed wiring instructions for the LED and resistor.
00:43 - Connecting the resistor and LED to the Arduino.
00:56 - Starting the programming phase in the Arduino IDE.
01:03 - Coding the LED to blink with pauses using the Arduino IDE.
01:18 - Uploading the code and observing the blinking LED.
01:24 - Importance of the blinking LED project as a foundation for future projects.
01:36 - Call to action: like, subscribe, and comment for more Arduino tutorials.
01:47 - Conclusion and encouragement to continue experimenting with Arduino.
For more detailed tutorials and tips on using Arduino, make sure to subscribe and follow our channel. Happy tinkering! [140] Arduino Getting Started: Digital output and blinking LED](https://i.ytimg.com/vi/jM-N-OsVhGU/mqdefault.jpg)






![[150] Arduino Getting Started: Analog output and fading LED
In this video, we delve into using Pulse Width Modulation (PWM) to control the brightness of an external LED connected to Digital Pin 11 of an Arduino Uno. This tutorial builds on our previous LED blink project, using the same circuit setup to demonstrate how PWM can simulate analog output for varied device control, including LEDs and motors. By varying the duty cycle of the PWM signal, we achieve a smooth fade-in and fade-out effect on the LED, showcasing the versatility and practical applications of PWM.
This series is possible thanks to the kind support of Sunfounder, an online store that sells high-quality hardware and kits for Makers. Visit Sunfounder at https://sunfounder.com.
In this series, I use the SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima, including high-quality sensors, actuators, power supplies, and Original Arduino Uno R4 Minima for diverse projects and skill-building. Get it (affiliate link): https://www.sunfounder.com/collections/arduino-kits/products/sunfounder-3-in-1-ultimate-starter-kit-with-original-arduino-uno-r4-minima?ref=bXS65iah
🕒 Timestamps:
00:00 - Introduction to controlling LED brightness with PWM.
00:05 - Explanation of PWM and its role in simulating analog outputs.
00:20 - Overview of PWM applications for LEDs and motors.
00:36 - Reminder that no changes are needed to the circuit setup from the previous LED blink tutorial.
00:47 - Quick invitation to newcomers to watch the previous LED blink video for setup instructions.
01:02 - Introduction to the coding phase for implementing PWM.
01:17 - Starting the Arduino programming for fading effects.
01:31 - Detailed coding instructions for increasing and decreasing LED brightness using PWM.
02:07 - Configuration of digital pin 11 as an output pin.
02:21 - Code walkthrough for the continuous fade-in and fade-out effects.
02:35 - Explanation of the PWM brightness control loop.
03:25 - Description of the code that gradually decreases the LEDs brightness.
03:56 - Final steps to upload the code and observe the LED in action.
04:09 - Discussion on the practical implications and possibilities of using PWM.
04:20 - Call to action: like, subscribe, and comment for more Arduino tutorials.
04:30 - Closing remarks and encouragement to continue exploring Arduino projects.
For additional insights and upcoming projects, make sure to subscribe and follow our channel. Happy making! [150] Arduino Getting Started: Analog output and fading LED](https://i.ytimg.com/vi/lXvHp4AAIrM/mqdefault.jpg)