ArduinoOutput Op

ArduinoOutput

Set output to an Arduino board


  • Arduino PWM enabled pins are: 3, 5, 6, 9, 10, 11, 13
  • Best use pins for servo 9, 10, 2, 3, 5, 6, and 13 (connected to Timers 1, 3, and 4).
  • Avoid servo pin 4 (not supported by default for servos).

Full Name
  • Ops.Patch.PNq9A3c.ArduinoOutput
VisibilityLicense
  • MIT
Author


Arduino to cables

A simple and reliable method for configuring Arduino pins, sending data, and reading sensor values using the MIDI interface on an Arduino board. Works on WebMidi enabled browser like Chrome, Firefox, Edge and Arduino boards with an ATmega32U4 microcontroller:

  • Arduino Leonardo
  • Arduino Micro
  • Arduino Esplora
  • Arduino Pro Micro ...

Technical Infos on MIDI Channel Usage:

  • Channel 0: Sends the lower 7 bits of analog sensor values (0-127).
  • Channel 1: Sends the upper 3 bits of analog sensor values (extending resolution to 10 bits).
  • Channel 4: Controls the output mode ( 0: PWM / 1: Servo / 2: DMX )
Open In Editor

INPUT PORTS


Value (Number)
Pin (Number: integer)
Mode index (Number: integer) PWM  SERVO  DMX 
board index (Number: integer) Arduino  Tinkerkit 

Changelog

Patches using ArduinoOutput

  • Examples
  • Public
  • My Patches