GithubHelp home page GithubHelp logo

alf45tar / pedalinomini Goto Github PK

View Code? Open in Web Editor NEW
480.0 36.0 84.0 56.96 MB

Wireless and Bluetooth MIDI Foot Controller

License: GNU General Public License v3.0

C++ 15.55% C 84.32% Python 0.12%
midi controller footcontroller bluetooth ble applemidi rtp-midi ipmidi usb-midi esp32

pedalinomini's People

Contributors

alf45tar avatar jberry avatar jftremblay00 avatar jwyse avatar mattzzw avatar rigr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pedalinomini's Issues

ESPtouch v0.3.7.0 doesn't work on iOS 13.1

Having an error with the latest build where I cannot provide WIFI credentials via the Esptouch app running on iPhone, where this was working stable a month ago.

Problem: When running Esptouch on an iPhone XR running latest 13.1, the PedalinoMini freezes at the end of SmartConfig as shown and eventually an error shows on the iPhone screen saying "Execute Result Esptouch fail":
IMG_6625

If rebooting and NOT running Esptouch, SmartConfig times out and continues through the boot cycle just fine.

FWIW, it is possible that Esptouch app may need to be updated for iOS 13.1, and this may not be an issue with this code specifically.

Running latest PlatformIO update, latest git clone, default_env=esp32doit-devkit-v1-wifi, build flag SSH1106WIRE.

Switching profiles using ESP32 Dev Kit

With TTGO-T-Eight switching profiles is possible with the navigation right/ left button. Is there a possibility to connect a similar switch to one of the the ports of ESP32 Dev Kit to do the same? I suppose, the navigation right/ left button is also connected to one of the ports of ESP on TTGO.
Thanks and Cheers

Switch from WiFI Mode to BLE mode

The last update of platformio.ini includes two different environments for WIFI and BLE and it is loaded successfully.
But how can I switch in operation from WiFi to BLE and vice versa?
Or if I have to load two different versions from the beginning due to limited 4MB, how do I have to modify latest versio of platformio.ini?
Thanks in advance for your help.

Pin A3 on TTGO-T-Eight

As GPIO34 is used for Battery indication on TTGO-T-Eight, where to connect Pin A3 ?
Is there generally a different usage of GPIO Pins with TTGO ?
Cheers

pinout for switch profile

Hi, thank you for the led extension. Unfortunatly we lost the pinout for the right and left button, also for the display mode button. Can you give me a hint to have this button extern (gpio 2 tx0 rx0 e.g.). Greetings Roman

Bank Feature Requests

Was brainstorming this morning and came up with a few feature requests that others may find useful related to banks. Let me know if these should be separate issues:

  1. Bank Switch Function: It appears that when pedal is in Bank+ or Bank- mode, you lose long press or double press functionality. Would love to have one "bank" button that can + on short press and - on long press. That way, only one button needs to be dedicated to bank navigation. Let me know if I'm doing it wrong.

  2. Bank Disable: Allow user to disable 'n' banks after bank 1. That way, the Bank+ function loops back around to bank 1 with less presses if not utilizing all banks. When only using a few, the above request isn't as important.

  3. Bank Numbering: Suggest numbering banks 1,2,3,4,5,6,7,8,9,0, or 0,1,2,3,4,5,6,7,8,9. This allows ten banks but utilizes a one-digit number scheme. Suitable for 7-segment display (next bullet...)

  4. 7-Segment Display: Allow bank information to be displayed via 7-segment display instead of or in addition to OLED screen. This allows a much bigger indicator on a pedal from standing height ~6 feet when playing an instrument.

Display Issue with ESP32-WROOM-32U

I built and uploaded the esp32dev build to my ESP32-WROOM-32U (ESP32-DevKitC-32U) and it successfully uploaded. However, the screen shows static that slowly moves up a few lines at a time. I can confirm that the board briefly broadcasted a wifi name similar to "Pedalino", however, I pretty quickly used ESPTouch to provide the board with my wifi password.

IMG_8665

I can now confirm by looking at my router that the board is connected to my wifi (device ID shows "ESP_09B3CC" is connected, but I am unable to navigate to ESP_09B3CC.local in my web browser, or the ip address to pull up the web user interface.

Any idea how I can fix the screen, or how I can find the web address without the screen?

Bank Change pedal always uses long press delay

I have two buttons set up to control bank changes, connected to pedal 1 D/A pins:

  • Pedal 1 - Momentary 2 - Bank+
  • only Single Press active, Min 1 / Max 10

When long press delay is set to default 500, these buttons need to be held down for that time to trigger a bank change.

Reducing long press delay to 0 makes the change instant, raising it to 5000ms means a 5 second press is needed, so it's definitely reading this value.

"AP mode failed" since commit 5197999

Fresh install on ESP32. No previous configuration. VSCode, PlatformIO, boards, etc. are all up-to-date. Build succeeds but I get the below error at runtime. I tried a few different commits and found that the issue started with commit 517999 from Oct 19.

latest commit, 7e9f1d8... (Oct 26)

[...] // serial monitor during bootup:
DIN MIDI started
Skipped connection to last AP and/or SmartConfig/WPS setup
SYSTEM_EVENT_WIFI_READY
### Starting AP [] with password [] // <- I added this DPRINT for debugging
[E][WiFiAP.cpp:103] softAP(): SSID missing!
AP mode failed

Internal Total Heap 323120, Internal Free Heap 242560
SYSTEM_EVENT_AP_START
Loading profile ...
Reading NVS Profile [E][Preferences.cpp:38] begin(): nvs_open failed: NOT_FOUND
Pedal autosensing...

Relevant code from WifiConnect.h, with an added DPRINT line:

    DPRINT("### Starting AP [%s] with password [%s]\n",
                ssidSoftAP.c_str(), passwordSoftAP.c_str());
    if (WiFi.softAP(ssidSoftAP.c_str(), passwordSoftAP.c_str())) {
        DPRINT("AP %s started with password %s\n", ssidSoftAP.c_str(), passwordSoftAP.c_str());
        // [...]
        start_services();
    }
    else
        DPRINT("AP mode failed\n");

This issue seems to have been introduced in commit 5197999 when the ssidSoftAP variable was introduced alongside, and sort of replacing, wifiSSID. At this point within WifiConnect.h, ssidSoftAP and passwordSoftAP are null or empty. It appears that there are no local variables by those names.

The previous commit, 3710def from Oct 12, does not have this issue, although it does seem to have an issue with mDNS that I have not tried to chase down.

SYSTEM_EVENT_WIFI_READY
AP Pedalino-3C40A24 started with password
SYSTEM_EVENT_AP_STOP
AP SSID : Pedalino-3C40A24
AP PSK :
AP MAC : 24:0A:C4:03:A6:D5
SYSTEM_EVENT_AP_START
SYSTEM_EVENT_AP_START
AP IP : 192.168.4.1
Channel : 1
Connect to Pedalino-3C40A24 wireless network with password

[I][ArduinoOTA.cpp:356] end(): OTA server stopped.
[E][ESPmDNS.cpp:72] begin(): Failed setting MDNS hostname
[I][ArduinoOTA.cpp:130] begin(): OTA server at: esp32-240ac403a6d4.local:3232

Antenna Pin Out

Since most will want to put this in an aluminum enclosure to support heavy-duty buttons and foot use, I fear that the wireless capabilities will be very effectively shielded. Are there certain pin-outs for antenna to stick out of enclosure?

Feature request: Last MIDI event recall while switching bank ?

Hi
Is it possible to have the option of by switching to a bank, the last pedal/MIDI event that was sent while in that bank get repeated again ?
Ex: While at bank 1, the last MIDI message sent is PC #18. Switch to bank 2, the last MIDI message sent is PC #21. Switching back to bank 1 makes Pedalino automatically send PC #18 again. Switching to bank 2 and PC#21 is sent immediately after etc
This option maybe useful in certain scenarios (less tap dancing on stage)
Thank you

Minimum PCB Design for DevKitC

I plan to order this one, so if someone can review, I would much appreciate it. I will build and test once ordered. Minimum order is 3 boards; I'm happy to send a board to assist with development, just let me know where to send.

This is based on the ESP32-DevKitC-32U for a few reasons:

  • Separates the screen from the board, allowing more placement options in an enclosure
  • Provides antenna attachment, allowing for external antenna to be mounted to quality aluminum pedal enclosure

Link to board: [Redacted. V2 link below]

PedalinoMini DevKitC_pcb.pdf
PedalinoMini DevKitC_etch_silk_top.pdf
PedalinoMini DevKitC_etch_copper_top.pdf
PedalinoMini DevKitC_etch_copper_bottom.pdf

Interface only shows 6 pedals

Whem using an alternate pedal wiring schema, like ladder, the interface still only shows the original 6 pedals even when setting it to Ladder.

How do we configure what those additional switches activate/do?

Single Press / Long Press Confusion

Two issues I have discovered. To test, I have a Momentary Pedal on Pedal#4 set as Control Change.

  1. When Single Press and Long Press are both enabled, both use the Long Press "MIDI Value 3", rather than Single Press using "MIDI Value 1" and Long Press using "MIDI Value 3"

  2. I have disabled Single Press. Single Press is not disabled, and still sends "MIDI Value 3"

Booting modes

Hi,
I am back after some weeks busy in other projects. I am happy to see that pedalinomini development is going on, thanks a lot.
You mentioned in your Readme file:
"The last booting mode (1-5) is selected if you don't press any button on boot."
I have loaded esp32 dev kit and selected by pressing En and boot button either ble or Wi-Fi mode.
This worked, but after switching power off and on , it starts always again with normal mode.
Beside that, it would be helpful to explain with some words the specific functionality of each mode, e.g. what the difference is between ble mode and ble access mode.
Thanks a lot and Cheers
Hans

Trouble getting osc to work

I cant seem to get any osc messages to be received. I added debug code on line 423 of UDPMidiin.h

void oscOnPacket(AsyncUDPPacket packet) {
DPRINTLN("UDP Packet received");

and it never gets triggered when i send an osc message to the port 8000 of the ip address of the esp32.
I created a whole new program with just the one async udp receiver and it works ok, not sure if it is some interaction with the second async udp receiver for the rtpmidi? Anyway, have you had it successfully receive osc? My own program is super simple but it does receive, so I know my osc transmitter is working. I activated all the osc switches in the interfaces section of the webui.

Clarification on wiring schemes

I noticed there is both Analog and Digital pins assign to a single momentary switch pedal when it has TRS.

So when using a TS-only pedal/regular footswitch, can we get away with only wiring it to either the Analog or the Digital input, and not both? If so, which is preferred, and should we pullup/pulldown the other pin?

Switch wireless networks without reset

What's the proposed method for switching to a different wireless network without holding the boot button down until factory reset?

Use case: switching from wireless network at home for practice to wireless network at music venue, but don't want to lose saved settings.

Bluetooth not advertising

I've booted my pedalinomini into Bluetooth only mode, and trying to pair with it. I don't see any new available pair-able devices as I scan, but I see a few errors in the serial monitor. Any suggestions?

bluetooth-no-advertise.txt

[D][BLEDevice.cpp:556] getAdvertising(): get ad[D][BLEDevice.cpp:556] getAdvertising(): get advertising
[D][BLEAdvertising.cpp:491] handleGAPEvent(): handleGAPEvent [event no: 4]
Loading profile ...
Reading NVS Profile A ... [V][BLEUtils.cpp:1817] gapEventToString(): gapEventToString: Unknown event type 1 0x01
[V][BLEUtils.cpp:1049] dumpGapEvent(): Received a GAP event: Unknown event type
[V][BLEUtils.cpp:1264] dumpGapEvent(): *** dumpGapEvent: Logger not coded ***
[D][BLEDevice.cpp:556] getAdvertising(): get advertising
Bank 1
[D][BLEAdvertising.cpp:491] handleGAPEvent(): handleGAPEvent [event no: 1]
ENTARY2 [V][BLEUtils.cpp:1817] gapEventToString(): gapEventToString: Unknown event type 6 0x06
[V][BLEUtils.cpp:1049] dumpGapEvent(): Received a GAP event: Unknown event type
Pin D25[V][BLEUtils.cpp:1264] dumpGapEvent(): *** dumpGapEvent: Logger not coded ***
[D][BLEDevice.cpp:556] getAdvertising(): get advertising
[D][BLEAdvertising.cpp:491] handleGAPEvent(): handleGAPEvent [event no: 6]

Disable Battery Indicator on TTGO T-Eight

When installed on the T-Eight and powered by USB, the battery indicator on the display constantly flashes at empty.

An option to disable this display element would be ideal, I'm never going to need it.

Momentary 2 only displays pedal name from current bank

When using Momentary 2 to send e.g. program change messages, the first button sends the value from the current bank, and the second button from bank + 1. But the on-screen display for both only shows the pedal name from the current bank.

I feel like the feedback should match the information being sent, i.e. when sending value from bank + 1, the pedal name for bank + 1 should be what's displayed.

This is to recall presets on my guitar amp (H&K Grandmeister 36), and I'd like each button to have a descriptive name. Right now I have to use the name for 2 different presets

Midi data is not shown on the oled display!

Hello, first I want to thank you for your great project. I came across your project while searching the internet for a wireless midi controller for my guitar setup.
I have to say that I have no programming experience. I have now read so far that I have (thanks to your information) made the PedalinoMini work so far. However, I encounter difficulties that I cannot manage alone. Maybe you can help me ...?
I use the Espressif ESP32 DevKit C V4.
In PlatformIO I selected the model: env: esp32dev under ProjectTasks, ran build, upload and UploadFileSystemImage.
Wifi or BLE connections work just fine. However, the OLED (SSH1106 set in platform.ini) shows no midi values ​​when I
use buttons / switches or potentiometers, only the letter.
But the terminal shows me all relevant data (channel, note on/off, CC, velocity ...).
Any idea what the mistake could be
Thank you again for this unique project and I wish you a nice Christmas!

Latch Switching Not Working

I have successfully built and uploaded the esp32doit-devkit-v1-wifi build onto the ESP32-WROOM-32U (DevKit C) card. I have Momentary switches working correctly to execute single-press MIDI commands. However, I can't correctly implement Latch switching (is this the same as toggle?) with my switches. I assumed I would be able to select "Latch" from the Pedal Mode drop-down and the switch would alternate between MIDI Value 1 and 2 on the Bank page, but it doesn't seem to work that way.

Can you explain how this is supposed to function, and does it use MIDI Value 3 somehow? Do I have the circuit connected correctly? (I have the buttons connecting the D-ports to ground).

IMG_6978

Build Error

Did a new git clone this evening and received the following error when trying to build:

In file included from src/PedalinoMini.cpp:71:0:
src/WifiConnect.h: In function 'void WiFiEvent(system_event_id_t, system_event_info_t)':
src/WifiConnect.h:258:10: error: 'SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP' was not declared in this scope
     case SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP:
          ^
Compiling .pio/build/esp32doit-devkit-v1-wifi/libb2e/BLE/BLEDescriptor.cpp.o
*** [.pio/build/esp32doit-devkit-v1-wifi/src/PedalinoMini.cpp.o] Error 1
/Users/Mike/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src/BLECharacteristic.cpp: In member function 'void BLECharacteristic::setValue(float&)':
/Users/Mike/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src/BLECharacteristic.cpp:674:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((float*)temp) = data32;
                ^
/Users/Mike/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src/BLECharacteristic.cpp: In member function 'void BLECharacteristic::setValue(double&)':
/Users/Mike/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src/BLECharacteristic.cpp:680:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((double*)temp) = data64;
                 ^

My clone from Sept 2, 2019 still builds without this error. I'm building with esp32doit-devkit-v1-wifi with SSH1106WIRE build flag.

Any ideas?

MIDI Out Schematic wrong?

Trying to get midi jacks working, and they arn't. Looking at the original Pedalino wiring, and the MIDI standard via sweetwater, I'm thinking the schematic may be wrong.

The MIDI Out standard I found is:

O….. Pin 1 (No Connection)
O……… Pin 4 (+5V DC Voltage)
O………… Pin 2 (Ground/Common)
O……… Pin 5 (MIDI Data – Hot)
O….. Pin 3 (No Connection)

And looking at the original Pedalino project wiring picture, I see that setup.

Looking at the PedalinoMini schematic, it seems like pin 4 and pin 5 may be swapped. PIN 5 is getting the +5v signal, and PIN 4 is getting the data from the ESP32. Also, I don't see a ground on PIN 2.

Could you review and see if you agree?

when I update found lot of error

Sorry I am a code Newbie.
when I update found lot of error

DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
Building in release mode
Linking .pio/build/esp32doit-devkit-v1-wifi/firmware.elf
Building .pio/build/esp32doit-devkit-v1-wifi/firmware.bin
Retrieving maximum program size .pio/build/esp32doit-devkit-v1-wifi/firmware.elf
Checking size .pio/build/esp32doit-devkit-v1-wifi/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 17.0% (used 55560 bytes from 327680 bytes)
PROGRAM: [==== ] 43.1% (used 1356729 bytes from 3145728 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM4
Uploading .pio/build/esp32doit-devkit-v1-wifi/firmware.bin
esptool.py v2.6
Traceback (most recent call last):
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
Serial port COM4
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM4: [Errno 2] No such file or directory: 'COM4'
*** [upload] Error 1
===================================================== [FAILED] Took 11.08 seconds =====================================================

Processing ttgo-t-eight (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/ttgo-t-eight/firmware.elf
Retrieving maximum program size .pio/build/ttgo-t-eight/firmware.elf
Building .pio/build/ttgo-t-eight/firmware.bin
Checking size .pio/build/ttgo-t-eight/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 22.7% (used 74388 bytes from 327680 bytes)
PROGRAM: [======= ] 65.6% (used 2064225 bytes from 3145728 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM5
Uploading .pio/build/ttgo-t-eight/firmware.bin
esptool.py v2.6
Serial port COM5
Traceback (most recent call last):
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM5: [Errno 2] No such file or directory: 'COM5'
*** [upload] Error 1
===================================================== [FAILED] Took 24.99 seconds =====================================================

Processing ttgo-t-eight-ble (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
Building in release mode
Linking .pio/build/ttgo-t-eight-ble/firmware.elf
Retrieving maximum program size .pio/build/ttgo-t-eight-ble/firmware.elf
Checking size .pio/build/ttgo-t-eight-ble/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [= ] 12.3% (used 40416 bytes from 327680 bytes)
PROGRAM: [====== ] 56.9% (used 1119591 bytes from 1966080 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM5
Uploading .pio/build/ttgo-t-eight-ble/firmware.bin
esptool.py v2.6
Traceback (most recent call last):
Serial port COM5
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM5: [Errno 2] No such file or directory: 'COM5'
*** [upload] Error 1
===================================================== [FAILED] Took 10.86 seconds =====================================================

Processing ttgo-t-eight-wifi (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/ttgo-t-eight-wifi/firmware.elf
Retrieving maximum program size .pio/build/ttgo-t-eight-wifi/firmware.elf
Checking size .pio/build/ttgo-t-eight-wifi/firmware.elf
Building .pio/build/ttgo-t-eight-wifi/firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 17.0% (used 55608 bytes from 327680 bytes)
PROGRAM: [======= ] 72.0% (used 1415861 bytes from 1966080 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM5
Uploading .pio/build/ttgo-t-eight-wifi/firmware.bin
esptool.py v2.6
Traceback (most recent call last):
Serial port COM5
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM5: [Errno 2] No such file or directory: 'COM5'
*** [upload] Error 1
==================================================== [FAILED] Took 284.21 seconds ====================================================

Environment Status Duration


esp32dev FAILED 00:00:26.775
esp32doit-devkit-v1 FAILED 00:00:25.120
esp32doit-devkit-v1-ble FAILED 00:00:11.773
esp32doit-devkit-v1-wifi FAILED 00:00:11.080
ttgo-t-eight FAILED 00:00:24.993
ttgo-t-eight-ble FAILED 00:00:10.860
ttgo-t-eight-wifi FAILED 00:04:44.212
================================================ 7 failed, 0 succeeded in 00:06:34.813 ================================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Executing task: platformio run --target upload <

Processing esp32dev (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
Building in release mode
Linking .pio/build/esp32dev/firmware.elf
Retrieving maximum program size .pio/build/esp32dev/firmware.elf
Checking size .pio/build/esp32dev/firmware.elf
Building .pio/build/esp32dev/firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 22.7% (used 74332 bytes from 327680 bytes)
PROGRAM: [====== ] 63.7% (used 2002397 bytes from 3145728 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM4
Uploading .pio/build/esp32dev/firmware.bin
Traceback (most recent call last):
esptool.py v2.6
Serial port COM4
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM4: [Errno 2] No such file or directory: 'COM4'
*** [upload] Error 1
===================================================== [FAILED] Took 23.92 seconds =====================================================

Processing esp32doit-devkit-v1 (board: esp32doit-devkit-v1; platform: espressif32; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.1 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/esp32doit-devkit-v1/firmware.elf
Retrieving maximum program size .pio/build/esp32doit-devkit-v1/firmware.elf
Checking size .pio/build/esp32doit-devkit-v1/firmware.elf
Building .pio/build/esp32doit-devkit-v1/firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 22.7% (used 74332 bytes from 327680 bytes)
PROGRAM: [====== ] 63.7% (used 2002417 bytes from 3145728 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM4
Uploading .pio/build/esp32doit-devkit-v1/firmware.bin
esptool.py v2.6
Serial port COM4
Traceback (most recent call last):
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM4: [Errno 2] No such file or directory: 'COM4'
*** [upload] Error 1
===================================================== [FAILED] Took 25.31 seconds =====================================================

Processing esp32doit-devkit-v1-ble (board: esp32doit-devkit-v1; platform: espressif32; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.1 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
| |-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/esp32doit-devkit-v1-ble/firmware.elf
Retrieving maximum program size .pio/build/esp32doit-devkit-v1-ble/firmware.elf
Checking size .pio/build/esp32doit-devkit-v1-ble/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [= ] 12.3% (used 40352 bytes from 327680 bytes)
PROGRAM: [===== ] 55.0% (used 1081039 bytes from 1966080 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM4
Uploading .pio/build/esp32doit-devkit-v1-ble/firmware.bin
Traceback (most recent call last):
esptool.py v2.6
Serial port COM4
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM4: [Errno 2] No such file or directory: 'COM4'
*** [upload] Error 1
===================================================== [FAILED] Took 10.96 seconds =====================================================

Processing esp32doit-devkit-v1-wifi (board: esp32doit-devkit-v1; platform: espressif32; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.1 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
Building in release mode
Retrieving maximum program size .pio/build/esp32doit-devkit-v1-wifi/firmware.elf
Checking size .pio/build/esp32doit-devkit-v1-wifi/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 17.0% (used 55560 bytes from 327680 bytes)
PROGRAM: [==== ] 43.1% (used 1356729 bytes from 3145728 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM4
Uploading .pio/build/esp32doit-devkit-v1-wifi/firmware.bin
Traceback (most recent call last):
esptool.py v2.6
Serial port COM4
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM4: [Errno 2] No such file or directory: 'COM4'
*** [upload] Error 1
===================================================== [FAILED] Took 5.29 seconds =====================================================

Processing ttgo-t-eight (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/ttgo-t-eight/firmware.elf
Retrieving maximum program size .pio/build/ttgo-t-eight/firmware.elf
Checking size .pio/build/ttgo-t-eight/firmware.elf
Building .pio/build/ttgo-t-eight/firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 22.7% (used 74388 bytes from 327680 bytes)
PROGRAM: [======= ] 65.6% (used 2064221 bytes from 3145728 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM5
Uploading .pio/build/ttgo-t-eight/firmware.bin
Traceback (most recent call last):
esptool.py v2.6
Serial port COM5
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM5: [Errno 2] No such file or directory: 'COM5'
*** [upload] Error 1
===================================================== [FAILED] Took 23.83 seconds =====================================================

Processing ttgo-t-eight-ble (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0.1
| |-- 1.0
| | |-- 1.0
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
|-- 1.0
|-- 1.1
|-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
Building in release mode
Linking .pio/build/ttgo-t-eight-ble/firmware.elf
Retrieving maximum program size .pio/build/ttgo-t-eight-ble/firmware.elf
Checking size .pio/build/ttgo-t-eight-ble/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [= ] 12.3% (used 40416 bytes from 327680 bytes)
PROGRAM: [====== ] 56.9% (used 1119591 bytes from 1966080 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM5
Uploading .pio/build/ttgo-t-eight-ble/firmware.bin
esptool.py v2.6
Serial port COM5
Traceback (most recent call last):
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM5: [Errno 2] No such file or directory: 'COM5'
*** [upload] Error 1
===================================================== [FAILED] Took 10.80 seconds =====================================================

Processing ttgo-t-eight-wifi (platform: espressif32; framework: arduino; board: esp32dev)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-mkspiffs 2.230.0 (2.30), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.6.1
|-- 1.1.2
|-- 0.6.1
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0.1
|-- 2.52
|-- 1.1.1
|-- 1.2.3
| |-- 1.1.1
| |-- 1.0
| |-- 1.0
|-- <ESP8266_SSD1306> 4.1.0
| |-- 1.0.1
| |-- 1.0
|-- <MD_UISwitch> 2.1.0
|-- 4.3.1 #4daf363
|--
|-- 3.0.5
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.2.1
|-- 0.0.1 #01edf0c
| |-- 1.0.1
|-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.1
|-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/ttgo-t-eight-wifi/firmware.elf
Retrieving maximum program size .pio/build/ttgo-t-eight-wifi/firmware.elf
Checking size .pio/build/ttgo-t-eight-wifi/firmware.elf
Building .pio/build/ttgo-t-eight-wifi/firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 17.0% (used 55608 bytes from 327680 bytes)
PROGRAM: [======= ] 72.0% (used 1415861 bytes from 1966080 bytes)
esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: COM5
Uploading .pio/build/ttgo-t-eight-wifi/firmware.bin
Traceback (most recent call last):
esptool.py v2.6
Serial port COM5
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2959, in
_main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2952, in _main
main()
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/Users/jh/.platformio/packages/[email protected]/esptool.py", line 222, in init
self._port = serial.serial_for_url(port)
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url
instance.open()
File "/Users/jh/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port COM5: [Errno 2] No such file or directory: 'COM5'
*** [upload] Error 1
===================================================== [FAILED] Took 10.73 seconds =====================================================

Environment Status Duration


esp32dev FAILED 00:00:23.916
esp32doit-devkit-v1 FAILED 00:00:25.315
esp32doit-devkit-v1-ble FAILED 00:00:10.955
esp32doit-devkit-v1-wifi FAILED 00:00:05.292
ttgo-t-eight FAILED 00:00:23.830
ttgo-t-eight-ble FAILED 00:00:10.797
ttgo-t-eight-wifi FAILED 00:00:10.728
================================================ 7 failed, 0 succeeded in 00:01:50.833 ================================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Wifi connection

Hello,
first of all I'd like to thank you alf45tar for this project. I love to read your code - it's systematic and clear.
I'd like to propose a small addendum:
The SmartConfig sometimes does not work for me (or I need to search my smart phone). Then pedalino goes into AP mode.
I'd like to see a possibility to enter the WiFi credentials manually, like shown in https://github.com/zhouhan0126/WIFIMANAGER-ESP32, so we would need a switch on the webinterface in AP mode, that would allow to show the AP connect- page.
Additionally I'd also like to be able to delete the Wifi credentials saved on the chip (another button to be clicked).
What do you think?
Thank you and best regards
Richard

M5Stack compatability

https://docs.m5stack.com/#/

The M5Stack (and smaller M5Stick variants) are great ESP32 boards with integrated display.
Would it be be feasible to use this to run the PedalinoMini software?
It would be great to use one as the brains behind a small simple footswitch.

Request for status Led

Not an Issue. I plan to built PedalinoMini but i like to have the status led/bypass on my switches. so i know ever if the effect is active or not. Like a normal pedal board.

The top must be have a midi feedback from software for that. So if in my case from Amplitude i switch off the effect, the Led switch off.

Thank you for sharing your project

Repeat Press Time not saving in Config interface

Go into Config, set a Repeat Press Time other than the 0 it's defaulted to, click Save, and it's still at zero.

It doesn't appear to be an interface-only display issue, as I'm able to cause repeat presses shorter than the times I specified

using momentary switch as toggle switch?

Hi alf45tar,
is there the possibility to use momentary switches as toggle switches?
The background is: I would like to switch effects on or off in BiasFX .
Unfortunately, I can't manage it, because momentary switches send messages when pressed and when released (e.g. Note On/Off or 127 or 0 ...).
It would be great if you press once: effect on and the second time you press: effect off.
Maybe I'm making a mistake, but I haven't figured it out yet ...

Best regards
ukudos

Build and Upload

First of all congratulations to this great project !
I have following questions:

  1. Do I have to build and upload always first the complete code including file system image or is it enough to build and upload only either wifi or BLE ? If I upload only wifi I get an error message when uploading File Systeme Image of wifi, . Nevertheless it works, if I load the file system image of the complete package.
  2. Is it be possible to switch between BLE and wifi in operation in case of using ttgo-t-eight?
    This would be worth the investment.

MIDI Phantom Power

Would it be possible to power over a 7-pin midi cable, and if so, can the diagram be updated to show how this is done?

No Battery Indication

I have connected a 18650 Lion Battery to TTGO-T-EIGHT and the operation and charging is fine, but I have no Battery indication, neither in text (Battery voltage: 0mV) nor in symbol.
Is it not implemented yet ??
Please also have a look to my other issue, I have no usable configuration picture in browser any more with the current build, it is as if I wouldn't have uploaded file system Image.
Thanks a lot!
Cheers

Controlling Zoom Pedals ?

What is the easiest way to make Pedalino Mini work with Zoom pedals, which seems to require USB Host ?
Thanks

Pedalino Mini as Wlan-Midi bridge

Hi Alf45tar, Thanks for this great tool. It works out of the box for a small budget.
It is possible to use this ESP32-Dev kit also as MIDI bridge? I'm mean that on the instrument side we can use the DIN-MIDIin and MIDIout and receive the MIDI data via Wlan or Wifi by another ESP32-DEV with DIN MIDIin / MIDI out.
Greetings
Roman

Minimum PCB Design

I used Fritzing to put together a quick mockup of a bare minimum PCB design. Here were my goals with this design:

  • Minimize board size, but allow board to be soldered by hand
  • Allow screen, USB Midi, and physical midi port to be added via break-out boards.
  • ESP32 board should be removable.
  • Make connections for switches/jacks easier to identify and organize

To accomplish this, the ESP32 attaches to female headers on the board, and THT resistors are up underneath and out of the way. All other connections are male headers which can be connected via jumper wire. This allows hobbyist to only use the items they need, and/or expand or replace functionality later. Thoughts appreciated.

PedalinoMini_pcb.pdf
PedalinoMini_etch_copper_top.pdf
PedalinoMini_etch_copper_bottom.pdf

Proper behavior of momentary 3 pedal

I’ve been testing different types of switches and pedals and I have not been able to get my momentary 3 type pedal to work correctly, but I’m not entirely sure how it is supposed to function. My assumption is that I would set the corresponding pedal input to momentary 3, then configure the desired behavior in the banks tab. Presumably, then each switch would trigger MIDI value 1, 2, and 3, respectively. ??
If that’s correct, I’ll probably focus on the hardware and connections, but I’m using a TC electronic switch, and @marosell ‘s PCB, which should limit issues there. Specific behavior below.

Switch 1 fires MIDI value 1 on press, and MV2 on release.
Switch 3 fires MV2 on press and MV3 on release.
Switch 2 is firing MIDI note 65?? (possibly from the bank 1 settings??)

I also tried a BOSS fs-6, set for momentary 2, and was similarly getting the MIDI note 65 command from switch A.

Can't get ladder to work

I have what I believe should be a working Ladder switch wired up, but the interface/serial console does not register any behavior when a switch is pressed in my ladder setup.

I know you said it's not yet fully supported per #13, but I believe it seemed to be supported enough to at least register a pedal press and increase the CC by 1 per pedal.

I've checked ohm across my Ladder setup, and it matches the schematic for tip/ring/sleeve.

I've checked the pin input, including the pullup resistor.

I've switched the pin to a standard momentary 2 input and plugged in a 2 switch momentary pedal, the input works fine on that setting.

Can you point me what to debug/try next? I'm comfortable in VSCode (although my C is rusty) and starting to dig through to see what else I can poke.

NodeMCU ESP32 support

The NodeMCU ESP32-DEVKIT C (This kit is based on esp-wroom-32) does not work.
The flash could not be mouted.
Everything else seems to work.
Just the pinning layout is different.
I set the esp32dev environment.

Bank switch from web ui not working

If I understand the UI correctly, when I am in the 'live' screen, there is a bank selection area, numbers 1-10 - however clicking these does not seem to change the bank on the device.

FEATURE: Could this be modified to send SYSEX events?

Really looking for a way to control an FR-4x/FR-8x V-Accordion. The Roland FC-300 can be used, but it is $300. I have an FCB-1010, but it doesn't send SYSEX which is apparrently what the V-Accordion is expecting (you put the FC-300 in SYS mode).

This looked like it would be possible to retrofit inside an FCB-1010? :) Anyway, a great project even if it can't do this.

Updating

Forgive me, but what's the best way to update with new firmware? I rebuilt and uploaded, but I don't think I'm seeing changes in the web interface, and I'm not sure if the firmware is different either, because changes I thought had been made to the display weren't evident either.

I also tried to use the OTA update feature, but couldn't find the binary in PlatformIO.

Thanks in advance.

uploadfs

Thanks so much for all your work on this project! Very excited to get this working, and it seems I'm close. I'm just not following on what I need to do to upload file system. Can't find command and everything I've tried in the terminal gets an error that it is not a recognized command. I'm sure this is simple, but all of the help I've searched for is just not doing it for me. Thanks again!

Pedal 5 reading input change with nothing connected

My newly flashed ESP32's screen is a weird white mess, so I connected a serial monitor and saw something odd: it seems that it keeps seeing some input change for Pedal 5, even though nothing is connected to that pin. Not sure if that's the cause of my display issue, but it's definitely an oddity.

Any ideas? It'll keep spamming those CONTROL CHANGE messages as long as I'll let it

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c
ChipRevision 1, CPU Freq 240 MHz, SDK Version v3.2-18-g977854975
Flash Size 4194304, Flash Speed 80000000 Hz
Internal Total Heap 330232, Internal Free Heap 303500
PSRAM Total Heap 0, PSRAM Free Heap 0
_________           .___      .__  .__                 _____  .__       .__     ___ ________________    ___
\______  \ ____   __| _/____  |  | |__| ____   ____   /     \ |__| ____ |__|   /  / \__    ___/     \   \  \
|     ___// __ \ / __ |\__  \ |  | |  |/    \ /  _ \ /  \ /  \|  |/    \|  |  /  /    |    | /  \ /  \   \  \ 
|    |   \  ___// /_/ | / __ \|  |_|  |   |  (  <_> )    Y    \  |   |  \  | (  (     |    |/    Y    \   )  )
|____|    \___  >____ |(____  /____/__|___|  /\____/\____|__  /__|___|  /__|  \  \    |____|\____|__  /  /  /
              \/     \/     \/             \/               \/        \/       \__\                 \/  /__/ 
                                                                                  (c) 2018-2019 alf45star      
                                                                      https://github.com/alf45tar/PedalinoMini

Hostname: 2412CFA4
Reading NVS Global ... done
USB MIDI started
DIN MIDI started
SYSTEM_EVENT_WIFI_READY
SYSTEM_EVENT_AP_STOP
SYSTEM_EVENT_STA_START
SYSTEM_EVENT_STA_START
SmartConfig started
SmartConfig timeout
WPS started
WPS timeout
SYSTEM_EVENT_STA_STOP
AP Pedalino-2412CFA4 started with password 2412CFA4
AP SSID     : Pedalino-2412CFA4
AP PSK      : 2412CFA4
AP MAC      : A4:CF:12:24:52:31
AP IP       : 192.168.4.1
SYSTEM_EVENT_AP_STOP
SYSTEM_EVENT_AP_START
SYSTEM_EVENT_AP_START
Channel     : 1
Connect to Pedalino-2412CFA4 wireless network with password 2412CFA4
mDNS responder started
OTA update started
E (33529) SPIFFS: mount failed, -10025
[E][SPIFFS.cpp:52] begin(): Mounting SPIFFS failed! Error: -1
HTTP server started
Connect to http://2412CFA4.local/update for firmware update
Connect to http://2412CFA4.local for configuration
ipMIDI server started
RTP-MIDI started
OSC server started
Internal Total Heap 324568, Internal Free Heap 202696
Loading profile ...
Reading NVS Profile A ... done
Bank  1
Pedal  1     MIDI         MOMENTARY1   PRESS_1       POLARITY+   NOTE_ON_OFF     60   Channel  1   Pin D25
Pedal  2     MIDI         MOMENTARY1   PRESS_1       POLARITY+   NOTE_ON_OFF     62   Channel  1   Pin D26
Pedal  3     MIDI         MOMENTARY1   PRESS_1       POLARITY+   NOTE_ON_OFF     64   Channel  1   Pin D27
Pedal  4     MIDI         MOMENTARY1   PRESS_1       POLARITY+   NOTE_ON_OFF     65   Channel  1   Pin D14
Pedal  5     MIDI         ANALOG                     POLARITY-   CONTROL_CHANGE  12   Channel  1   Pin A32 D12
Pedal  6     MIDI         ANALOG                     POLARITY-   CONTROL_CHANGE  13   Channel  1   Pin A33 D13
Pedal  5 calibration min 36
Pedal  5   input 36 output 0 velocity 0.00
Pedal  6 calibration min 0
Pedal  6 calibration max 0
Pedal  6   input 0 output 0 velocity 0.00
Pedal  5   input 40 output 127 velocity 15.20
Pedal  6   input 0 output 127 velocity 31.62
Pedal  5 calibration min 20
Pedal  5 calibration min 0
Pedal  5 calibration max 0
MTC None
Pedal  5   input 58 output 0 velocity -0.59
CONTROL CHANGE.....Code  12......Value   0.....Channel  1
CONTROL CHANGE.....Code  12......Value   0.....Channel  1
Pedal  5   input 0 output 127 velocity 231.33
CONTROL CHANGE.....Code  12......Value 127.....Channel  1
CONTROL CHANGE.....Code  12......Value 127.....Channel  1
Pedal  5   input 44 output 0 velocity -7.77
CONTROL CHANGE.....Code  12......Value   0.....Channel  1
CONTROL CHANGE.....Code  12......Value   0.....Channel  1
Pedal  5   input 0 output 127 velocity 236.06
CONTROL CHANGE.....Code  12......Value 127.....Channel  1
CONTROL CHANGE.....Code  12......Value 127.....Channel  1
Pedal  5   input 8 output 0 velocity -7.15
CONTROL CHANGE.....Code  12......Value   0.....Channel  1
CONTROL CHANGE.....Code  12......Value   0.....Channel  1
Pedal  5   input 0 output 127 velocity 233.46
CONTROL CHANGE.....Code  12......Value 127.....Channel  1
CONTROL CHANGE.....Code  12......Value 127.....Channel  1
Pedal  5   input 9 output 0 velocity -7.05

wifi errors and compilation errors

estimated install vscode and platform.io and then compile and throw many errors. then upload the project and try to connect to the wifi that it generates and tell me without internet connection and I can not enter pedalino.local either. I hope you can help me I find the project excellent. I would like to have it working.

the Projects is charged and passes through the processes mentioned and ends in the creation of the wifi point to which I connect but I can not configure or test it.

Thanks attached photos of the log.

error upload pedalino mini
error upload pedalino mini 2
error build pedalino mini
error build pedalino mini 2
error wifi pedalino

3V3 Logic on ESP device

Hello Alf45tar,

First Thank you for your project. I was thinking about a similar project than yours. My goal is only MIDI IN / MIDI OUT from / to Wifi network midi.

I am a professional software programmer, but I'm not an electronic engineer. I see 6N137 (High Speed Optocoupler) is powered by 5 V (the Vcc seems OK for me), but the pin 6 (Vo) of the 6N137 component is directly connected to the ESP.

I suppose that you "transpose" the electronic of the Pedalino project to the Pedalino mini, and you forget that Arduino HWs are 5V, but ESPs are 3V3 and not 5V tolerant.

I think you need to adapt the output of the pin 6 (Vo) of the 6N137. If you have an oscilloscope, it should be possible to check it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.