Jump to content
Why become a member? ×

Bklyn3

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Bklyn3

  1. Hello All,

     

    I am upgrading my version of this pedal with several .96 OLED screens and I was wondering if anyone has a way to retrieve the names and settings of a preset by reading it from the HX Stomp directly. Either via MIDI or USB (similar to what HX Edit does). 
    currently I hard coded them but that’s ideal. 
     

    Thank you 

     

    P. 

    IMG_1327.jpeg

    • Like 3
  2. Hello all, 

     

    I was thinking about adding one buttons on the foot switch to control YouTube (play/pause using the keyboard shortcut k). 
    For that I would need to emulate a Bluetooth keyboard in addition to the MIDI command send to the HX via cable. 
    Has anyone attempted to do so? 
    (I know I could achieve the same  with the Command Center on the HX but I would then lose one of the FS 1 to FS5. Also if it works I plan on also controlling GB ) 

    can anyone recommend a way to code that with a nano 33 BLE ?

     

    thank you 

     

    P. 
     

  3. Stoo,

    You read my mind, I was just doing some testing using a MIDI monitor. For some reason the signal is not sent properly to the Stomp. Nothing in the command center.
    See the image below showing the results for the 3 first button on page 1. I looks like I get only 61 and even a Chan 8 request ???

    I start wondering if maybe something wrong with the Adruino. Considering getting a Mega and try. Any recommendation on the model?

    1168732551_ScreenShot2021-02-07at4_54_08PM.thumb.png.ed291d7e7a189ce7d7f1e532e05545bb.png

     

  4. Hi all ,

    After restarting all from scratch I was able to have the Adruino communicating with the Stomp. Unfortunately it is still not working properly . Using the original code version 1 posted by Stood with only a quick adaptation to use a SH 1106 OLED, the code produces the right screen behavior and I am able to navigate the different pages. However the buttons are not doing was they are supposed to do :(  For instance , on page 1 button 6 is supposed to turn on the stomp mode  (case 0 case 5 sendControlChange(71,0,1)) but in my case, it toggles between my preset 000 and 063 😕. I pushing the right switch as the screen reverse the color correctly. Something fishy still to be found but I guess that’s part of  the DYI fun. 
     

    pat.  

  5. Hello Stoo, 

    No luck with the code.

    Here is the code I am using 

    #include <MIDI.h>
    #include "U8glib.h"
    
    
    //Initialize display.
    U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_DEV_0);
    const int midiSendChannel = 1; // MIDI channel for outbound messages
    
    // Creates and binds the MIDI interface to the default hardware Serial port 
    MIDI_CREATE_DEFAULT_INSTANCE(); 
    void setup() { 
      MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages
      //Set font.
      u8g.setFont(u8g_font_unifont);
    } // end of setup 
    
    void loop() {
      MIDI.sendControlChange(71,1,midiSendChannel); //Scroll Mode 
      u8g.firstPage();
      do {
           u8g.drawStr(20, 40,"Sending 71 1");
        } while (u8g.nextPage());
      
      delay(500);
      
      MIDI.sendControlChange(49,0,midiSendChannel); //FS1 
      delay(500);
    } // end of loop

    Same as the one you provided with the addition of a u8g command to make sure I reach the MIDI sent instruction. 

    For the MIDI connector, I connected the Tx on the second pin on the left (brown on the attached images). My soldering skill sucks but I checked  the continuity of the MIDI cable and do get the 4.7V at the other end of my MIDI but still nothing happening with the Stomp (MIDI connected to the IN ).

    I also try with my old POD 2.0 but not working either. To make sure it is not an issue with the Stomp itself, I tried to send a MIDI signal via a keyboard and it worked. I wonder if maybe something wrong with the Tx pin of my Adruino? Is there a way to check that ?

     

    One thing I noticed is that when I try to upload the code from my Mac to the Adruino with the MIDI connected to the Stomp, I get the following error message. Sound like my Mac doesn't like to have the MIDI plugged. 

    The upload works properly if I first unplugged the midi cable before the upload. 

     

    Arduino: 1.8.13 (Mac OS X), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
    
    Sketch uses 10966 bytes (35%) of program storage space. Maximum is 30720 bytes.
    Global variables use 634 bytes (30%) of dynamic memory, leaving 1414 bytes for local variables. Maximum is 2048 bytes.
    /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbserial-1430 -b57600 -D -Uflash:w:/var/folders/y8/hmh6g2sx1b9b4dyp6h7bqbp00000gn/T/arduino_build_595367/MidiTest.ino.hex:i 
    
    avrdude: Version 6.3-20190619
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2014 Joerg Wunsch
    
             System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
             User configuration file is "/Users/Patrick/.avrduderc"
             User configuration file does not exist or is not a regular file, skipping
    
             Using Port                    : /dev/cu.usbserial-1430
             Using Programmer              : arduino
             Overriding Baud Rate          : 57600
             AVR Part                      : ATmega328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :
    
                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
    
             Programmer Type : Arduino
             Description     : Arduino
             Hardware Version: 2
             Firmware Version: 1.16
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xce
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x30
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x06
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
             Vtarget         : 3275.2 V
             Varef           : 4.0 V
             Oscillator      : 0.001 Hz
             SCK period      : 35553.4 us
    
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xde
    
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x30
    avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x02
    avrdude: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.
    
    avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
    
    avrdude done.  Thank you.
    
    the selected serial port 
     does not exist or your board is not connected
    
    
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

     

     

    IMG_1690.jpeg

    IMG_1693.jpeg

    IMG_1713.jpeg

    IMG_1691.jpg

  6. Hi There ,

    started the project this afternoon but somehow the hx doesn’t respond. The code goes to the right MIDI send statement  but nothing is changing. Is there something to set on the HX stomp side ? The voltage I got is not 5 v on the MIDI plug but 4.7v. Could that be an issue? 
     

    thanks. 
     

    pat. 

  7. 2 minutes ago, stoo said:

    If this is your first Arduino project, then I'd suggest - unless you're reasonably confident on the programming side of things - that you stick to either using an SSD1306 OLED with a Nano, or bump up & use a Mega if you want the Nextion screen. You can easily leave out the expression pedal input part if that's of no interest to you, and the price difference between Nano and Mega is only about £10 for the Chinese clones if you're on a really tight budget....

     

    Hi Stoo,

    Thanks a lot for the advise. I think you are right; for my first Adruino project, it is more reasonable to try your original design and improve from there.

    Pat. 

     

  8. Hello Stoo,

    I recently purchased a HX Stomp and I plan on building your MIDI controller. Thanks so much for sharing your design with the world. 

    This will be my first Adruino project, so hopefully the learning curve won't be too steep.

    A quick question, could you please send the reference of the bigger screen. Will the Adruino Nano (posted 2 years ago with the list of items) work with the bigger screen or do I need something else? 

    Thank you

×
×
  • Create New...