Nextion MIDI I/O interface
【Universal and 100% compliant MIDI interface】For Nextion HMI and any other microprocessor (Arduino, Teensy, PIC, STM32, etc.) with TTL serial port (UART) at 31250 baud.
【Professional solution】With optimized drivers, filters and isolation. Tested for 100% reliable operation with long MIDI cables (>5m) in studio and stage environment with high EMI levels.
【Fully bidirectional】Supports MIDI IN and OUT (5pin DIN) at the same time. MIDI THRU can be realized as soft-THRU in the Nextion or MCU firmware.
【Mode switching】 Allows to make the MIDI interface temporarily transparent and to access directly the connected serial port for programming purposes.
【Standardised XH connectors】 Allow easy daisy-chaining of power supply and serial data with Nextion HMI and other accessories like the Foca Max adapter. 2 cables included!
The Nextion MIDI I/O interface is a TTL serial to 5 pin DIN MIDI input and output converter with pass-through function for easy connecting with but not limited to Nextion HMI displays. The level conversion between TTL serial and MIDI is done with a specific driver IC for MIDI OUT and with an isolated optocoupler for MIDI IN. Integrated line filters allow the use of long MIDI cables, even in EMI intensive environments, for example in studios or on stage.
Two 4 pin XH connectors for 5V power supply, TX, RX and GND allow this interface to be easily daisy-chained between either a power supply / USB to TTL serial adapter like the Nextion Foca Max, or any MCU (Arduino, etc.) on one side (J1) and a Nextion HMI display on the other side (J2). The on-board switch SW1 allows to select between 2 modes:
- PRGM: RX + TX signals are directly routed from J1 to J2 which allows to program the device on J2 by the device on J1 while the MIDI interface is idle.
MIDI I/O: RX + TX signals from the device on J2 are converted and linked to the MIDI IN and MIDI OUT 5 pin DIN sockets.
This allows any Nextion HMI running an appropriate firmware and communicating at the standardized MIDI baud rate (31250 baud) to act as an autonomous (without external MCU) MIDI sender, receiver, and controller!
While this interface has worldwide standardized MIDI IN and MIDI OUT sockets, MIDI THRU can be implemented as soft-THRU in firmware/software by the device connected to J2.
Use without Nextion HMI:
As an extra feature, the Nextion MIDI I/O interface can also serve without a Nextion HMI: Simply connect a MCU (Arduino, Teensy, PIC, STM, Raspberry PI, and more) running MIDI software to J2. Think of linking the MCU‘s TX with the interface‘s RX and vice-versa. In such a setup, the on-board switch SW1 allows to reprogram your MCU via serial from any source connected to J1 when set to PRGM mode.
Model name: Nextion MIDI I/O interface
Operation voltage: 5V
Current consumption: max 13mA
Pass-through current for 5V power supply from J1 to J2: 2A max
TTL RX level in MIDI mode: 3.3V, 5V tolerant
TTL TX level in MIDI mode: 5V
For use with 3.3V MCUs in an alternative setup without Nextion HMI, please use a level converter or contact our technical support
MIDI loop current: ~5mA, EMI filtered
MIDI connectors: 2 x standardized 5 pin DIN
TTL serial and power supply connectors: 2 x 4 pin XH 2.5mm
Working temperature: -20°C ~ 70°C
PCB size: 67mm x 38mm x 25mm
Nextion compatibility: All series, Basic, Discovery, Enhanced, and Intelligent
In the box:
Nextion MIDI I/O Interface x 1
XH2.54 4P wire x 2
The Nextion MIDI I/O Interface was developed in cooperation with the French electronic music expert Thierry Frenkel, and his dVox::Instruments brand.
Links to Nextion+Midi programming resources:
- Protocols and parsing – Part 2: MIDI – the basics
- Protocols and parsing – Part 3: Sending MIDI messages from Nextion HMI
- Protocols and parsing – Part 4: Receiving and decoding MIDI messages
More articles and videos:
|Dimensions||104 × 65 × 32 mm|
SONOFF ZBMINI Extreme Zigbee Smart Switch ZBMINIL2 (No Neutral Required)$13.99 Add to cart
SONOFF SNZB-02D Zigbee LCD Smart Temperature Humidity Sensor$12.99 Add to cart
SONOFF MINI Extreme Wi-Fi Smart Switch MINIR4$9.90 Add to cart
SONOFF Zigbee Smart Curtain Motor$79.90 Add to cart