이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
시스템 주변기기
다양한 아키텍처의 Arduino® 보드 하드웨어 기능을 활용하여 GPIO 블록을 통해 아날로그 신호와 디지털 신호를 읽어오고, 쓰고, 기기 제어 블록을 통해 기기를 제어하는 등의 작업을 수행합니다.
블록
Analog Input | Measure voltage of analog input pin |
Analog Output | Generate voltage on the specified DAC pin |
Analog Input SAMD | Read ADC register value after ADC conversion at the analog pin of Arduino SAMD21 core (R2023b 이후) |
Analog Input AVR | Read ADC register value after ADC conversion at analog pin of Arduino AVR core (R2024a 이후) |
Digital Input | Get logical state of digital input pin on Arduino |
Digital Output | Set logical state of digital output pin on Arduino |
PWM Common | Generate pulse width modulated signal on analog output pin |
PWM SAMD | Generate pulse width modulated signal on analog output pin of Arduino SAMD21 core (R2023b 이후) |
PWM AVR | Generate pulse width modulated signal on analog output pin of Arduino AVR core (R2024a 이후) |
Input Capture | Measure frequency and duty cycle of external input signal |
NeoPixel | Control color and brightness of RGB and RGBW Adafruit NeoPixel LED strip (R2024a 이후) |
도움말 항목
- Supported Arduino Hardware
List of supported Arduino hardware and Arduino-compatible boards.
- Arduino 타이머와 독립적인 블록에 대한 핀 매핑
Arduino 하드웨어 보드의 타이머와 독립적인 블록에 대한 핀 매핑입니다.
- Pin Mapping for Arduino Timer-Dependent Blocks
Pin mapping for blocks dependent of the timer on the Arduino hardware board.
추천 예제
Generate Interrupts Using Arduino SAMD PWM Block
Use the Hardware Interrupt block to create an interrupt service routine (ISR) to react to the PWM events on your Arduino® hardware.
Get Started with Arduino SAMD Event System Using PWM and ADC Peripherals
Use the event system with Arduino Advanced PWM, Analog Input, and Hardware Interrupt blocks.
Estimate Battery Current of PMSM in Open-Loop Control Using Arduino Hardware
Use Simulink® Support Package for Arduino® Hardware to estimate the battery current of a permanent magnet synchronous machine (PMSM) in open-loop control using Motor Control Blockset™. This example also shows how to actuate a PMSM motor and calculate phase currents that are indirectly used to estimate the current of the battery.
Warn Dry Soil Moisture with Notification from IFTTT Using Arduino Based Smart Watering System
Use the WiFi HTTP Client block from the Simulink® Support Package for Arduino® Hardware to trigger a request to IFTTT once the moisture in the soil drops below a set threshold value and send a notification to an Android device.
Publish Data from Arduino Blocks and Read Data on Web Browser Using WebSocket Protocols
Use the Simulink® Support Package for Arduino® Hardware to publish and subscribe data from various Arduino blocks to a WebSocket server and to read data on a web browser in a WebSocket client.
Control Standard Servo Motor Using Arduino Hardware
Use Simulink® Support Package for Arduino® Hardware to control a standard servo motor.
Read Temperature from I2C-Based Sensor Using Arduino Hardware
Use Simulink® Support Package for Arduino® Hardware to configure and read temperature from an I2C based sensor.
Control LED Status Using BLE Peripheral and Central Devices on Arduino Boards
Use the Simulink® Support Package for Arduino® Hardware to configure Bluetooth® Low Energy (BLE) communication between Arduino peripheral and central devices. It also shows how to control the status of an onboard LED on a peripheral device from the central device and vice versa using BLE communication.
Drive with PID Control Using Arduino Board
Simulate a simple closed-loop control algorithm in Simulink® and how to run it on an Arduino® board.
Line Follower Application for Arduino Robot
Create a line follower algorithm in Simulink® and how to run it on an Arduino® Robot.
Add Echo to Audio File Stored in SD Card of Arduino Hardware
Add echo to an audio file read using the SD Card File Read block from Simulink® Support Package for Arduino® Hardware. On deployment, the Simulink model reads audio from the SD card, adds an echo effect to the audio, and then plays the audio with the echo through the headphones connected to the analog output pin of the hardware.
Shift Pitch of Audio File Stored in SD Card of Arduino Hardware
Shift the pitch of an audio file that is stored in an SD card of the Arduino® hardware using Simulink® Support Package for Arduino Hardware.
Add Reverb to Audio File Stored in SD Card of Arduino Hardware
Add reverb to an audio file read using the SD Card File Read block from Simulink® Support Package for Arduino® Hardware. On deployment, the Simulink model reads audio from the SD card, adds the reverb effect to the audio, and then plays the processed audio through the headphones connected to the analog output pin of the hardware.
Measure Frequency and Duty Cycle Using TCS230 Color Sensor and Arduino Hardware
Use the Simulink® Support Package for Arduino® Hardware to measure frequency and duty cycle of the red color component of an object using a TCS230 color sensor and Arduino hardware.
Control NeoPixel LEDs Using On-Board EEPROM on Arduino
Use the Simulink® Support Package for Arduino® Hardware to use the Adafruit® NeoPixel Digital LED strip and Arduino on-board EEPROM to create different lighting effects and patterns in External mode and Connected IO modes.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)