Self learning Arduino Programming Episode 19 | Read and process analog signals Arduino part 2/3

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Link to download the exercise code: drive.google.c...
    --------------------------------------------------- --------------------------------------------------- ------------------- The person in charge of the content of the lessons:
    Master Tran Ngoc Huy Thinh - tudonghoaplcarduino@gmail.com
    Zalo: 0949249991
    In this series of videos, a beginner's guide to Arduino programming will be done
    The content of the lecture has been used to train students majoring in mechatronics and automotive engineering at some universities. After finishing these contents, you can build basic and advanced applications yourself.
    VIDEO CHAIN ​​CONTENT INCLUDES:
    Episode 1: Top 10 interesting projects in Arduino programming
    Volume 2: Instructions for installing and using Arduino IDI programming software: • Tự học lập trình Ardui...
    Episode 3: Learn Arduino UNO R3 Hardware: • Tự học lập trình Ardui...
    Episode 4: Learn the structure of a program in the Arduino IDE programming environment: • Tự học lập trình Ardui...
    Episode 5: Declare variables and data types in Arduino programming: • Tự học lập trình Ardui...
    Episode 6: Using digitalWrite instruction in Arduino programming | output digital signal in Arduino: • Tự học lập trình Ardui...
    Episode 7: Using DigitalRead in Arduino Programming | read Arduino input digital signal: • Tự học lập trình Ardui...
    Episode 8: Using the combination of digitalRead and digitalWrite instructions in Arduino programming | Load program and wire for Aruino: • Tự học lập trình Ardui...
    Episode 9: If - else if statement structure in Arduino programming: • Tự học lập trình Ardui...
    Episode 10: Arduino Programming and Hardware Simulation with Proteus: • Tự học lập trình Ardui...
    Episode 11: Using the AND OR relational operator in Arduino programming: • Tự học lập trình Ardui...
    Episode 12: Programming Subroutines in the Arduino IDE: • Tự học lập trình Ardui...
    Episode 13: For loop application in Arduino programming: • Tự học lập trình Ardui...
    Episode 14: Programming the Arduino to control 8 LEDs that fade in and out: • Tự học lập trình Ardui...
    Episode 15: Programming Arduino to control 8 leds operating in multiple modes: • Tự học lập trình Ardui...
    Episode 16: Programming the Arduino to control 8 LEDs on and off alternately with parity: • Tự học lập trình Ardui...
    Episode 17: using while loop in arduino programming(while loop arduino): • Tự học lập trình Ardui...
    Episode 18: Reading and processing analog signals Arduino part 1/3: • Tự học lập trình Ardui...
    Episode 19: Reading and processing analog signals Arduino part 2/3: • Tự học lập trình Ardui...
    Episode 20: Read and process analog signals Arduino part 3/3 - Control 4 leds from analog values: • Tự học lập trình Ardui...
    Episode 21: Wiring Arduino with 4 Channel Relay Module: • Tự học lập trình Ardui...
    ------------------------------------------------------------------------------------------------
    #arduino #labview #spkt #bkhcm #tudonghoa #lậptrìnhc #stem #vidieukhien #vi_điều_khiển #lập_trình_arduino #arduinotutorials #arduinotutorial #arduiounor3 #arduinomega #iot #internetofthings #internet_of_things #auto_plc_&_arduino #analogread_arduino

ความคิดเห็น • 9

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

    Chào Thầy, cảm biến sài lâu ngày có bị sai số không thầy,và cách mình canh chỉnh như nào vậy ạ, em dùng cảm biển do hp nước mặn ạ

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

    dạ thầy cho em hỏi em dùng con cảm biến đo độ ẩm khi để ngoài không khí thì giá trị đọc của analog là 1023 còn khi trong nước thì giá trị sẽ là nhỏ vậy có cách nào để cho giá trị của analog khi cảm biến ở ngoài không khí sẽ là 0 còn khi cho vào nước sẽ là giá trị lớn không ạ mong thầy giải đáp giúp em ạ e cảm ơn

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

    Thầy cho em hỏi là nếu muốn lưu kết quả từ analog này vào thẻ nhớ thì đoạn code sẽ như thế nào ạ và các chân cắm ra sao mong thầy có thể giải đáp giúp em

    • @thaythinhdaydien
      @thaythinhdaydien  2 ปีที่แล้ว +1

      Khi bạn đọc giá trị và lưu vào 1 biến là đã lưu vào vùng nhớ rồi đó bạn. Bạn chỉ cần lấy giá trị từ biến này ra thôi.

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

      @@thaythinhdaydien em cảm ơn thầy ạ❤

  • @thank-ny7wt
    @thank-ny7wt ปีที่แล้ว

    Lấy giá trị nhiệt độ âm từ - 40 đến 140 dc ko thầy.

    • @thaythinhdaydien
      @thaythinhdaydien  ปีที่แล้ว +1

      Bạn dùng lệnh map(analog,0,1023,-40,140)

    • @thank-ny7wt
      @thank-ny7wt ปีที่แล้ว

      @@thaythinhdaydien có tải chương trình từ arduino lên máy tính dc k thầy

    • @thank-ny7wt
      @thank-ny7wt ปีที่แล้ว

      @@thaythinhdaydien e dùng con cảm biến nhiệt độ Dallas 18b20 dc ko thầy.