Como usar PINO DIGITAL de SAÍDA no arduino - Curso Gratuito pelo Tinkercad - Aula 1

Tecnoltronica
16 May 202226:47

Summary

TLDRIn this video, Professor Gustavo introduces an online course on Arduino programming using Tinkercad, aimed at beginners. He demonstrates how to set up and simulate Arduino projects without physical hardware, explaining basic concepts and guiding users through the creation of circuits. Gustavo focuses on essential components, such as the Arduino Uno and LED, and covers the setup of the Tinkercad platform, as well as basic coding for controlling an LED with the Arduino. The course is free and includes certification upon completion, making it a great starting point for those interested in learning Arduino programming.

Takeaways

  • 😀 Introduction to Tinkercad: The tutorial covers how to use Tinkercad as an online platform for Arduino simulation, allowing users to learn without needing physical Arduino hardware.
  • 😀 Creating an Account: Users are advised to sign up using a Gmail account for easier access or can create a new account on Tinkercad.
  • 😀 Navigating Tinkercad: After logging in, users can access the 'Circuits' section to start working on Arduino-related projects, such as creating circuits or simulations.
  • 😀 Using Circuit Components: The tutorial demonstrates adding components like the breadboard and Arduino Uno to the workspace to build circuits.
  • 😀 Powering the Circuit: The process of connecting power to the circuit through the 5V and GND pins of the Arduino Uno is shown.
  • 😀 Understanding Polarized Components: The LED is explained as a polarized component, with its anode connected to positive and cathode to negative to ensure correct functioning.
  • 😀 Limiting Current: A resistor (220 ohms) is introduced to limit the current passing through the LED to prevent it from burning out.
  • 😀 The Role of the Multimeter: The multimeter is used to measure the current flowing through the circuit, with a demonstration of how it protects the LED by limiting the current.
  • 😀 Writing the Code: A basic Arduino program is introduced to control the LED, using the 'digitalWrite' function to turn the LED on and off.
  • 😀 The Loop Function: The video explains the 'void loop' function in Arduino programming, where repeated tasks (such as turning the LED on and off) are performed continuously.
  • 😀 Customizing the Timing: The instructor demonstrates how to adjust the timing for the LED blinking pattern, changing it from one second to more frequent intervals for faster blinking.
  • 😀 Documentation in Code: The importance of commenting and documenting code is emphasized, as seen in the explanation of how to describe the configuration of the Arduino pins used in the program.

Q & A

  • What is the purpose of the course discussed in the video?

    -The course is designed to teach how to work with Arduino using Tinkercad, allowing students to learn Arduino concepts without having the physical Arduino board at first. It helps users simulate and test circuits before purchasing real hardware.

  • What is Tinkercad, and why is it useful in this course?

    -Tinkercad is an online platform that simulates the use of Arduino, making it an ideal tool for beginners who don't yet have the physical hardware. It provides a virtual environment where students can build and test circuits before working with real components.

  • What are the two main platforms students can use to log in to Tinkercad?

    -Students can log in to Tinkercad using either a Gmail account or by creating a new account with a different email.

  • What is the first step in creating a new project on Tinkercad?

    -To create a new project, students must navigate to the 'Circuits' section in Tinkercad and then click 'Create New Circuit.'

  • What type of components does the instructor use to build the circuit in the lesson?

    -The instructor uses a breadboard (protoboard), an Arduino Uno R3, a LED, a resistor, and wires to build the circuit in the lesson.

  • Why is a resistor used in the circuit with the LED?

    -A resistor is used to limit the current flowing through the LED to prevent it from burning out, as the LED has a maximum current rating of 20 milliamps.

  • What does the 'void setup' function do in an Arduino program?

    -'void setup' is where the initial configuration of the Arduino pins is defined. It is executed once when the program starts, setting up input and output pins for the project.

  • What is the role of the 'void loop' function in Arduino programming?

    -'void loop' continuously executes the program's instructions, allowing the code to run repeatedly, which is useful for tasks like blinking a LED or reacting to inputs like buttons.

  • How does the program control the LED to make it blink?

    -The program uses digitalWrite() to send a HIGH signal to turn the LED on and a LOW signal to turn it off. It then uses delay() to wait for a specific amount of time between turning the LED on and off, creating the blinking effect.

  • What does the 'digitalWrite' function do in Arduino programming?

    -'digitalWrite' is used to send either a HIGH or LOW signal to a specified pin, controlling devices like LEDs or motors connected to that pin. A HIGH signal turns on the device, while a LOW signal turns it off.

Outlines

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Mindmap

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Keywords

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Highlights

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Transcripts

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now
Rate This

5.0 / 5 (0 votes)

Related Tags
ArduinoTinkercadElectronicsCodingBeginnersOnline CourseFree LearningTech EducationMicrocontrollerLED CircuitProgramming