Hi,
I've been using this https://vps001.vanheusden.com/~folkert/midi-wemos.pdf schematic for an esp8266 successfully. It allows me to receive MIDI data on an ESP.
Now I would like to do the same for the ESP32. I tried the same schematic but I receive nothing if I connect the optocoupler to the regular RX pin (GPIO3 if I remember correctly) and I only receive garbage which somewhat resembles the input-data if I use GPIO16 (using uart1). I'm using the arduino environment.
Should I be able to use the same schematic? or are there electrical differences between the 8266 and esp32 regarding the uarts?
ESP8266 versus ESP32 for MIDI input
Re: ESP8266 versus ESP32 for MIDI input
Hi,
Can you please send me the MIDI input schematic for ESP8266 and ESP32? I tried to download from that link but the link is already dead...
Can you please send me the MIDI input schematic for ESP8266 and ESP32? I tried to download from that link but the link is already dead...
Re: ESP8266 versus ESP32 for MIDI input
I built a MIDI circuit for an ESP32 based on the information in the very useful video here: https://www.notesandvolts.com/2014/11/m ... lysis.html (the circuit diagram used in that video is here: https://2.bp.blogspot.com/-sQ8Uw7x-Vs0/ ... ematic.png).
I've hooked it up to various input pins - someone will correct me, but I think you should be able to use any GPIO provided you configure it properly, e.g.:
The usual reason for garbage input is either incorrect baud rate or parity. I don't know enough about MIDI to say whether the 31250 baud needed for my application is common.
I've hooked it up to various input pins - someone will correct me, but I think you should be able to use any GPIO provided you configure it properly, e.g.:
Code: Select all
#define my_rx 22
#define my_tx 23
static const uint32_t my_Baud = 31250;
HardwareSerial my_Serial(2);
pinMode(my_tx, OUTPUT);
pinMode(my_rx, INPUT);
mySerial.begin(my_Baud,SERIAL_8N1,my_rx,my_tx);
Re: ESP8266 versus ESP32 for MIDI input
Who is online
Users browsing this forum: No registered users and 64 guests