Tylor Koenigsfeld

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: MEGA + RAMPS Cant Connect Software #29183
    Tylor Koenigsfeld
    Participant

    For anyone who has this issue, Java 8-261 does not seem to work for makelangelo. Java 8-161 seems to work correctly when connecting

    in reply to: MEGA + RAMPS Cant Connect Software #29182
    Tylor Koenigsfeld
    Participant

    So it seems to connect fine on my desktop, my laptop however does not work. I ended up resetting my laptop to factory settings and installed the newest x64 Java. It still crashes when connecting with the same error. It is allowed through windows defender and still crashes even when windows defender is disabled. Any ideas?

    in reply to: lcd dosent work with ramps 1.4 #29180
    Tylor Koenigsfeld
    Participant

    Joe,

    I did the hardware bypass and got pins 33 and 31 mapped to 18 and 19. I changed my code to say the following

    // Encoder rotation values
    #define BTN_EN1            19
    #define BTN_EN2            18
    #define BTN_ENC            35

    Is there something else you modified in the code? My dials and buttons seem to work about as badly as before. Thanks for the reply.

    in reply to: lcd dosent work with ramps 1.4 #29174
    Tylor Koenigsfeld
    Participant

    Which LCD are you using? When I turn my dial, nothing updates on the screen. I have to mess with it for a couple minutes for it to finally move a little bit. Also It would seem the SD card pins are incorrect as well for my LCD. I can detect my SD card using a different arduino program with the following code, im not sure how to adopt it for makelangelo.

    
    const int chipSelect = 53;    
    #include <SD.h>
    
    Sd2Card card;
    SdVolume volume;
    SdFile root;
    
    void setup() {
      
      Serial.begin(115200);
      Serial.print("\nInitializing SD card...");
      
      pinMode(53, OUTPUT);
      pinMode(48, OUTPUT);  
      digitalWrite(48,HIGH);
      pinMode(SPI_MISO_PIN, INPUT);
      pinMode(SPI_MOSI_PIN, OUTPUT);
      pinMode(SPI_SCK_PIN, OUTPUT);
      
      digitalWrite(SPI_MOSI_PIN,LOW);
      digitalWrite(SPI_SCK_PIN,LOW);
      digitalWrite(53,LOW);
      delay(1);
      
      SD.begin(53);
    }
    
    void loop () {
     
     
       if (!card.init(SPI_FULL_SPEED, chipSelect)) {
        Serial.println("initialization failed. Things to check:");
        Serial.println("* is a card is inserted?");
        Serial.println("* Is your wiring correct?");
        Serial.println("* did you change the chipSelect pin to match your shield or module?");
        return;
      } else {
       Serial.println("Wiring is correct and a card is present.");
      }
    
      // print the type of card
      Serial.print("\nCard type: ");
      switch(card.type()) {
        case SD_CARD_TYPE_SD1:
          Serial.println("SD1");
          break;
        case SD_CARD_TYPE_SD2:
          Serial.println("SD2");
          break;
        case SD_CARD_TYPE_SDHC:
          Serial.println("SDHC");
          break;
        default:
          Serial.println("Unknown");
      }
    
      // Now we will try to open the 'volume'/'partition' - it should be FAT16 or FAT32
      if (!volume.init(card)) {
        Serial.println("Could not find FAT16/FAT32 partition.\nMake sure you've formatted the card");
        return;
      }
    
      // print the type and size of the first FAT-type volume
      long volumesize;
      Serial.print("\nVolume type is FAT");
      Serial.println(volume.fatType(), DEC);
      Serial.println();
     
      volumesize = volume.blocksPerCluster();    // clusters are collections of blocks
      volumesize *= volume.clusterCount();       // we'll have a lot of clusters
      volumesize *= 512;                            // SD card blocks are always 512 bytes
      Serial.print("Volume size (bytes): ");
      Serial.println(volumesize);
      Serial.print("Volume size (Kbytes): ");
      volumesize /= 1024;
      Serial.println(volumesize);
      Serial.print("Volume size (Mbytes): ");
      volumesize /= 1024;
      Serial.println(volumesize);
    
     
      Serial.println("\nFiles found on the card (name, date and size in bytes): ");
      root.openRoot(volume);
     
      // list all files in the card with date and size
      root.ls(LS_R | LS_DATE | LS_SIZE);
      delay (3000);
    }
    in reply to: MEGA + RAMPS Cant Connect Software #29173
    Tylor Koenigsfeld
    Participant

    So sorry, forgot to mention that I have read that post and done everything in there.

    Java.exe, the SE binary and OpenJDK all have access through the firewall as per your guide. I have tested disabling the firewall and the issue still persists. Do you prefer to use linux for this? Any other ideas?

    If I can get this figured out I would gladly make a donation to the children’s hospital on your behalf, thanks for the reply.

Viewing 5 posts - 1 through 5 (of 5 total)