ArduinoInput Op

ArduinoInput

Get sensors values from the analog inputs of an Arduino board



Full Name
  • Ops.Patch.PNq9A3c.ArduinoInput
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


Pin (Number: integer)

Analog Input Pin number of the arduino board to read

OUTPUT PORTS


Value (Number)

Value of the sensor connected from 0 to 1023


Changelog

Patches using ArduinoInput

  • Examples
  • Public
  • My Patches