Arduino Expert
Arduino Expert
  • 10
  • 63 233
Arduino Interrupt: Basic Tutorial! (External Interrupt)
Arduino Interrupt: Basic Tutorial! (External Interrupt)
In this video we're going to show you how to configure the external interrupt in the Arduino board. We’re going to explain the basics of the external interruption and how to program it. To build the circuit, we are going to use TinkerCAD software. If you have never heard about TinkerCAD have a look at our tutorial about how to use it on the link below:
th-cam.com/video/jq6h-4ytT5A/w-d-xo.html
or just access:
www.tinkercad.com
If you’d like to learn more about Arduino, programming and electronic devices, send us a message in the comments about what you’d like to learn. We’ll do our best to make a video about it. Enjoy!
If you want to buy the I2C LCD display (PCF8574 model), we are using in the simulation, just click on the link down below:
s.click.aliexpress.com/e/_DEAVAmT (I2C LCD display)
s.click.aliexpress.com/e/_DE779zd (Arduino Uno Board)
s.click.aliexpress.com/e/_DlUX7Er (Arduino Starter Kit)
Timestamps:
(0:00) Intro
(0:32) External interrupt explanation
(2:36) Circuit assembly
(4:22) Code development
(8:07) Testing
(10:00) Final comments
มุมมอง: 1 809

วีดีโอ

I2C LCD display with Arduino: Easy Tutorial!
มุมมอง 3K10 หลายเดือนก่อน
I2C LCD display with Arduino: Easy Tutorial! In this video we're going to show you how to use the I2C LCD display 16x2 with the Arduino board to show a text on the display. We’re going to explain how to connect the display on the Arduino board properly and how to program it. To build the circuit, we are going to use TinkerCAD software. If you have never heard about TinkerCAD have a look at our ...
LCD display with Arduino: Beginner’s GUIDE!
มุมมอง 1.5K10 หลายเดือนก่อน
LCD display with Arduino: Beginner’s GUIDE! In this video we're going to show you how to use the LCD display 16x2 with the Arduino board to show a text on the display. We’re going to explain how to connect the display on the Arduino board properly and how to program it. To build the circuit, we are going to use TinkerCAD software. If you have never heard about TinkerCAD have a look at our tutor...
How to Create a dimmer with Arduino: dimmable LED
มุมมอง 4K2 ปีที่แล้ว
How to create a dimmer with Arduino: dimmable LED! In this video we're going to show you how to use the PWM output of the Arduino board to control the illumination of an LED by using a potentiometer. We’re going to explain how to use the analog input of the Arduino board and how to program it properly. To build the circuit, we are going to use TinkerCAD software. If you have never heard about T...
Arduino PWM: Pulse Width Modulation
มุมมอง 11K2 ปีที่แล้ว
Arduino PWM: Pulse Width Modulation In this video we're going to show you how to use the PWM output of the Arduino board to control the brightness of an LED. We’re going to explain what a Pulse Width Modulation (PWM) is and on what it can be applied. We’re also going to explain the details of each command used in the code, so that you can program your Arduino board correctly. To build the circu...
Arduino Digital Input: How to Use the Pull-Up Resistor!
มุมมอง 3.9K2 ปีที่แล้ว
Arduino Digital Input: how to use the Pull-up resistor! In this video we're going to show you how to use the digital input of the Arduino board to control the LED illumination. We’re going to show this in two different ways: by using a switch and a button. We’re also going to explain the details of each command used in the code and how to use the pull-up resistor correctly. To build the circuit...
Arduino DDR and PORT register to control multiple digital outputs!
มุมมอง 12K3 ปีที่แล้ว
Arduino DDR and PORT register to control multiple digital outputs! In this video I am going to show you how to configurate the DDR (Data Direction Register) and PORT register to control multiple digital outputs simultaneously. This is an effective and memory saving approach to control multiple pins. If you have never heard about TinkerCAD have a look at our tutorial about how to use it in the l...
Arduino Digital Output: LED blink project
มุมมอง 1.4K3 ปีที่แล้ว
Arduino Digital Output: LED blink project In this video we're going to show you how to create a basic and easy project in Arduino to blink a LED and we’re going to explain the details of each command used in the code. To build the circuit, we are going to use TinkerCAD software. If you have never heard about TinkerCAD take a look at our tutorial about how to use it in the link below: th-cam.com...
How to Use a Breadboard: breadboard step by step tutorial
มุมมอง 1.6K3 ปีที่แล้ว
How to Use a Breadboard. In this video I’m going to show you how to use a breadboard. In this breadboard step by step tutorial, I’m going to use TinkerCad software to show you two types of circuits with resistors: one in series and the other in parallel. If you've never heard about TinkerCad take a look at our tutorial about how to use it on the link below: th-cam.com/video/jq6h-4ytT5A/w-d-xo.h...
The Best Arduino Simulator for (2024): Arduino Tinkercad simulator!
มุมมอง 23K3 ปีที่แล้ว
The Best Arduino Simulator (2024)! In this video I’m going to show you how to use the best Arduino simulator and why it is the best! With TinkerCad you can simulate all your Arduino projects, from basic to advanced designs. It is a free Arduino simulator software. And you can access it online through your internet browser! Stay with me and learn everything you need to know to become an Arduino ...

ความคิดเห็น

  • @iceman850none5
    @iceman850none5 หลายเดือนก่อน

    what is the deal with the definition on the video? looks like it got filmed with an iphone 1

    • @arduinoexpert3416
      @arduinoexpert3416 หลายเดือนก่อน

      Have you tried to increase the resolution in the engine icon? The video has 1080HD resolution. Have you had the same impression about other videos? Now, I am curious about it. Thanks for the feedback. I'll try to improve the resolution in the next videos.

  • @rolfez1208
    @rolfez1208 3 หลายเดือนก่อน

    Same here: Invalid Header File

  • @xdboycool3
    @xdboycool3 5 หลายเดือนก่อน

    love your vids

  • @renjithvs6272
    @renjithvs6272 5 หลายเดือนก่อน

    Excellent information. I'm working on a project that needs a suggestion. Made a simple RFID reader with RC22 and Arduino UNO with LCD. Once RFID is scanned, it holds it for 3 seconds and ready to scan the next. There is an external 12v dc supply to trigger the interrupt (instead of switch) and I need to keep the scanner busy until I remove the 12v. Also, LCD should display "Busy" until the 12V is removed. Can u pls advice

  • @normwright4894
    @normwright4894 6 หลายเดือนก่อน

    same here....invalid header file

    • @arduinoexpert3416
      @arduinoexpert3416 6 หลายเดือนก่อน

      Hi. Have you tried all the steps mentioned in the comment below?

  • @karthikkulal7591
    @karthikkulal7591 6 หลายเดือนก่อน

    Software?

    • @arduinoexpert3416
      @arduinoexpert3416 6 หลายเดือนก่อน

      Hi there. The link is in the description.

  • @xforney
    @xforney 7 หลายเดือนก่อน

    What is a recommended switch to purchase for learning this project? I have the button.

    • @arduinoexpert3416
      @arduinoexpert3416 7 หลายเดือนก่อน

      Hello my friend! I'll share with you a link from Aliexpress. You can try any switch from this link: s.click.aliexpress.com/e/_DdUY5Gt Please, let me know if you could find it. Take care!

  • @JohnJohn-yc1mm
    @JohnJohn-yc1mm 7 หลายเดือนก่อน

    Hello Arduino Expert Nice video, please how can we contact you, (email address?)

  • @lastchance045
    @lastchance045 7 หลายเดือนก่อน

    Here is the code I copied from your video Thanks #include <Wire.h > #include <LiquidCrystal_I2C.h > const int button_pin = 2; int number = 0; LiquidCrystal_I2C lcd(0x27, 16, 2) ; void setup() { lcd.init(); lcd.backlight(); lcd.print ("NUMBER:"); pinMode (button_pin, INPUT); attachInterrupt (digitalPinToInterrupt(button_pin), incrementNumber, RISING); } void loop () { lcd.setCursor (8,0); lcd.print (number); } void incrementNumber () { number ++ ; }

    • @arduinoexpert3416
      @arduinoexpert3416 7 หลายเดือนก่อน

      Hello my friend! Sorry for the late reply. So, the problem with your code is that TinkerCad uses a different address for the LCD display. Try to change the command in your code from: LiquidCrystal_I2C lcd(0x27, 16, 2) ; to LiquidCrystal_I2C lcd(32, 16, 2); Note that in the video I'm using the number 32 as address. Also, have a look at the address your display is using by clicking on it, to see if they match. Let me know if it worked. Take care!

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 7 หลายเดือนก่อน

    Superb! Thanks.

    • @arduinoexpert3416
      @arduinoexpert3416 7 หลายเดือนก่อน

      Thank you! I am glad you liked it!

  • @luizmelk3114
    @luizmelk3114 8 หลายเดือนก่อน

    Thanks for the video! I finally understood why we have different interruption modes and how they work.

    • @arduinoexpert3416
      @arduinoexpert3416 8 หลายเดือนก่อน

      Thank you! I am glad you liked it!

  • @yogurtmefeelingcrazy4211
    @yogurtmefeelingcrazy4211 8 หลายเดือนก่อน

    hi, i just tried this out on tinkercad and i copied your code and circut exactly the same. however, it keeps showing me invalid header file. do you know why this keeos happening?

    • @arduinoexpert3416
      @arduinoexpert3416 8 หลายเดือนก่อน

      Hi! That is a pity. Let's check a few things first: 1. Is your command LiquidCrystal_I2C outside the void_setup function? Just after the library import? 2. Have you checked the capital letters in each command? Just to guarantee that you typed it right. 3. When you click on the LCD display (in your circuit) have you selected the PCF8574-based model? and is the address 32? Try to double check these things and please let me know if it worked. Take care!

  • @barbarapereira7656
    @barbarapereira7656 10 หลายเดือนก่อน

    Nice video! Can you make a video using the LCD with I2C?

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Hi! I am glad you liked it! Check the link down below: th-cam.com/video/RZOqqbT_r3k/w-d-xo.html

  • @giovannimanilardi480
    @giovannimanilardi480 ปีที่แล้ว

    Hi, I wanted to ask if you have the library for rtc ds1307. Thank you

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Hi! You can get the library in the following path: www.arduino.cc/reference/en/libraries/ds1307rtc/ That is the Arduino official website. Once you get the library, you need to add it in your main code to use its functions. I am going to make a video about this soon.

  • @massimomucci1873
    @massimomucci1873 ปีที่แล้ว

    50 is not 50%. AnalogWrite goes from 0 to 255, 127 is 50%.

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Hello my friend. You are right and that is well explained in the video. If you watch it from 1:45 and on, you'll see a few examples that I made. Thank you!

  • @khoanguyenang9958
    @khoanguyenang9958 ปีที่แล้ว

    Thanks 😍

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      You are welcome! I am glad it helped! 😊

  • @juancarlos1549
    @juancarlos1549 ปีที่แล้ว

    I didn't know that Tinkercad simulator had all that to simulate, but I consider that Proteus is too good, unfortunately it doesn't have all the sensors in its library that are on the market... You make an excellent video about Tinkercad, greetings.

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Thank you my friend! I agree that Proteus is a more complete tool to simulate a broad range of different devices and sensors. However, I think that TinkerCad has a more friendly interface (although with limited range of devices). I am glad you liked the video!

  • @mohammednouri6117
    @mohammednouri6117 ปีที่แล้ว

    tank you

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      You are more than welcome! I am glad it helped!

  • @johnshakunle
    @johnshakunle ปีที่แล้ว

    Thank you for providing this information. It's just what I need right now for my project testing

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Hello my friend! I am happy it helped!

  • @sufiyanhamisu7964
    @sufiyanhamisu7964 ปีที่แล้ว

    Hello friend, I really enjoyed the tutorial and I have really learnt a lot. So thanks for that. Please can you make a video showing how to operate multiple functions with that single switch? When the switch pressed once led 1 will light and when pressed twice led 2 will light so on. Thanks

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Hello my friend! I am glad you are enjoying the content! For sure! I am preparing more videos for the channel and your request is related to external interruption. I am going to make a video about it soon. Take care!

  • @mikhailmarvin2188
    @mikhailmarvin2188 ปีที่แล้ว

    Is it possible in this simulator to send data from Arduino to AWS or Azure Clouds?

  • @jackscave2774
    @jackscave2774 ปีที่แล้ว

    Need a real voice. Bye

    • @arduinoexpert3416
      @arduinoexpert3416 10 หลายเดือนก่อน

      Thank you for the feedback! I am trying to improve it!

  • @bavlymaro416
    @bavlymaro416 ปีที่แล้ว

    I wish you continue on these lessons, they're really helpful <3

    • @arduinoexpert3416
      @arduinoexpert3416 ปีที่แล้ว

      Thank you for the support! I'll keep up with new videos in the next few months. I am happy you are enjoying the content of the channel.

  • @timetogame3327
    @timetogame3327 ปีที่แล้ว

    thanks alot!

  • @carlosdominguez7088
    @carlosdominguez7088 2 ปีที่แล้ว

    Excellent explanation!

  • @williampimentel0
    @williampimentel0 2 ปีที่แล้ว

    I'm from Angola and I don't speak English very well but I can understand you so very well. Your channel is so great.

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi William! I am glad the channel is helping you! Thank you for your kind words. And if there is any part you might not understand, please turn on the subtitles. I usually make a grammatical check on it, so it should have the same words from the audio. Take care!

  • @srpskaprica57
    @srpskaprica57 2 ปีที่แล้ว

    Blocks dropdown menu missing for me. Any idea why it is?

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi Srpska, try to click on the dropdown menu "Components" and click in "all" to see all devices. Did it help?

    • @srpskaprica57
      @srpskaprica57 2 ปีที่แล้ว

      @@arduinoexpert3416 YES! Thank you so much!

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      @@srpskaprica57 I am glad it worked my friend! If you need any help just let me know. Take care!

  • @eleneasy
    @eleneasy 2 ปีที่แล้ว

    Great, that's exactly what I was looking for. Thank you! You saved me a long time reading of the ATMEGA328 specs.

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi Eleneasy. I am glad it helped! Thank you!

  • @rajsaroj368
    @rajsaroj368 2 ปีที่แล้ว

    how to join 2 wire in T shape???? i have a circuit design and it has many T Shape wire joint ....

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi RAJ, you can do that by using the breadboard. Have a look at the video we made about the breadboard: th-cam.com/video/wvIfqMubAco/w-d-xo.html. I hope this can help.

  • @williamlouie569
    @williamlouie569 2 ปีที่แล้ว

    What does the red +5v wire use in the broad? It doesn't have any function.

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi William! Well noted! You're right. The +5V was in the introduction part because I was reusing the circuit from a previous project. If you look at the assembly part I don't use it in the circuit. Thanks for your comment! 😀

  • @TheJavaSync
    @TheJavaSync 2 ปีที่แล้ว

    How about we use 2 of input (BTN & switch) ?

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      You can do that as well. For the BTN you'll need the pull-up resistor and for the switch you don't need it.

  • @TheJavaSync
    @TheJavaSync 2 ปีที่แล้ว

    Nice, pls more lager font when editing code, its hard to see code on my phonecell 😃 Thank you

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi TheJavaSync. Thanks for the feedback! I haven't think about this. It was really helpful! In the next videos I'll give a zoom on the code. 😀

    • @TheJavaSync
      @TheJavaSync 2 ปีที่แล้ว

      @@arduinoexpert3416 sure, I'll watch it again on my laptop for bigger screen 😃

  • @mountainsprings3303
    @mountainsprings3303 2 ปีที่แล้ว

    Great Video, explained well...thanks

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Thank you so much for the kind words Steven!

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว

    Useful tutorial

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Thank you anokhautomation! I'm glad it helped you!

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว

    Nice tutorial.

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Thank you for your support anokhautomation! I'm glad you liked it!

  • @bob-ny6kn
    @bob-ny6kn 2 ปีที่แล้ว

    You need to train that voice how to pronounce words, or spell the words in your text so this voice makes the right sounds.

    • @dra1isonlgriffiths
      @dra1isonlgriffiths ปีที่แล้ว

      thanks for your constructive feedback - the voice is my own

  • @104_rohityadav3
    @104_rohityadav3 2 ปีที่แล้ว

    Is there any simulator where i can find i2c lcd module with 4 pins ?

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi 104_Rohit Yadav, in Proteus software you can make the simulation with the i2c module. However, this software is not as user friendly as TinkerCad. Another option is the software Fritzing. It has an interface like TinkerCad, but you need to buy it for 10 USD. I hope this could help you. Take care!

  • @petfrogg
    @petfrogg 2 ปีที่แล้ว

    Is it possible to upload code from vscode?

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi Petfrogg, unfortunately it is not possible to do that with TinkerCad. Thanks for contacting us!

  • @XxxAndrewxxX
    @XxxAndrewxxX 2 ปีที่แล้ว

    Hi. What simulation software did you use ? Fritzing?

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hi Nath, I'm using Tinker Cad. Check out the link on the description.

  • @alphavlogs999
    @alphavlogs999 2 ปีที่แล้ว

    Hello,Iam Ranjith Krishna RK from india. I want some help regarding arduino. Can you please help me. Give me your contact details like gmail and whatsapp. I will connect you this social media.

    • @arduinoexpert3416
      @arduinoexpert3416 2 ปีที่แล้ว

      Hello, Ranjith. You can share your doubts on the comments, so that more people can be aware of it. Put your project on TinkerCad and leave it as public, so that I can have a look. Thanks!

  • @Ayush-lr3bt
    @Ayush-lr3bt 2 ปีที่แล้ว

    awesome

  • @TheF22raptorang
    @TheF22raptorang 3 ปีที่แล้ว

    good job now i want to learn about assembly in arduino please teach me

    • @arduinoexpert3416
      @arduinoexpert3416 3 ปีที่แล้ว

      Hi Tanapon, Thank you for your feedback. As soon as we finish the basic videos about Arduino, we'll start to talk about this. Thank you for the suggestion!

  • @claudiomatias3148
    @claudiomatias3148 3 ปีที่แล้ว

    Amigo boa noite Eu to usando o arduino Micro como jeystick, Como faço pra mudar o nome? Como to usando 3 Micros, eu queria colocar nomes diferentes

    • @arduinoexpert3416
      @arduinoexpert3416 3 ปีที่แล้ว

      Olá Claudio. Acabei não entendendo sua dúvida. Você poderia me dar mais detalhes? Você quer mudar o nome da placa do Arduino no simulador TinkerCad? Abraço.

  • @adambeedle
    @adambeedle 3 ปีที่แล้ว

    Awesome

  • @soundarrajankannan7692
    @soundarrajankannan7692 3 ปีที่แล้ว

    great video. I really appreciate the effort you taken to post this video.

    • @arduinoexpert3416
      @arduinoexpert3416 3 ปีที่แล้ว

      Hi Soundarrajan! Thank you very much for your support!

  • @n.r.2258
    @n.r.2258 3 ปีที่แล้ว

    Not possible on iPad !

    • @arduinoexpert3416
      @arduinoexpert3416 3 ปีที่แล้ว

      If you have a circuit already built, it is possible to simulate it and see it working. But if you'd like to make it from scratch using the iPad, it will be very difficult. I'll check with the support if it is possible to create a better interface with iPad. It would be really useful to build our wiring using the Apple pencil as well. What you think? Thanks for the advice!

  • @ihabsbeih4816
    @ihabsbeih4816 3 ปีที่แล้ว

    it's really amazing website thanks for your sharing that with us man

    • @arduinoexpert3416
      @arduinoexpert3416 3 ปีที่แล้ว

      Thanks for the support! It is really a nice software and user friendly as well. We're planning to launch more videos about how to program Arduino. Stay tuned!

  • @barbarapereira7656
    @barbarapereira7656 3 ปีที่แล้ว

    I didn't know it would be possible to make simulations like this. It is so real! Thanks for sharing this!

    • @arduinoexpert3416
      @arduinoexpert3416 3 ปีที่แล้ว

      Thanks for the support! We're making more videos for this channel.