GR KAEDE BOARD RESET AUTOMATICALLY

As my code is ready & while verifying the code the Board is working fine for some time & then suddenly it is resetting itself.

As per my code it should switch the tasks according to the input from pins while switching between that it is resetting itself some times & it is working fine for some times.

  • Can you share your sketch with me?

    I will try to do that with debugger.

  • #define SE1 0

    #define SE2 1

    #define RE1 8

    #define RE2 9

    LiquidCrystal lcd(12,11,10, 5, 4, 3, 2);

    void loop()

    {

       lcd.blink();

       delay(1000);

       lcd.clear();

    delay(1000);

    lcd.setCursor(2,0);

    lcd.write("ADITYA INDIA");

    lcd.autoscroll();

       delay(1000);

    lcd.setCursor(2,1);

    delay(1000);

    lcd.clear();

    delay(1000);

    lcd.write("ADITYA INDIA");

       delay(1000);

       lcd.clear();

       delay(1000);

       lcd.print("KAEDE");

       delay(1000);

       lcd.clear();

       delay(1000);

       lcd.print(s1);

       delay(1000);

       lcd.clear();

       lcd.print(s2);

       delay(1000);

       lcd.clear();

       lcd.print(s3);

       delay(1000);

       lcd.clear();

       lcd.print(s4);

       delay(1000);

       lcd.clear();

       lcd.print("GR KAEDE");

       delay(1000);

       digitalWrite(PIN_LED0, HIGH);

       delay(1000);

       digitalWrite(PIN_LED0, LOW);

       delay(1000);

       digitalWrite(PIN_LED0, HIGH);

       delay(1000);

       digitalWrite(PIN_LED0, LOW);

       delay(1000);

    if(SE1==0 & SE2==0)

    {

    digitalWrite(RE1, HIGH);

    digitalWrite(RE2, LOW);

    lcd.print("ADITYA");

    delay(1000);

    lcd.clear();

    }

    else

    {

    digitalWrite(RE1, LOW);

    digitalWrite(RE2, HIGH);

    lcd.print(ADITYA);

    delay(1000);

    lcd.clear();

    }

    }

  • THIS CODE IS SOME PART OF THE CODE & SOME TIMES WHILE SWITCHING FROM CONDITION TO CONDITION THE DISPLAY IS SHOWING SOME GARBAGE VALUES TOO OR IT IS RESTTING ITSELF

  • THE ABOVE STATED PROBLEM IS RESOLVED BY ME.

    I FOUND SOME DRY SOLDERS OF PINS WHICH I CONNECTED THE DISPLAY PINS & I RESOLDERED IT SO THAT IT IS WORKING FINE.

    FOR RESETTING OF BOARD WHILE SWITCHING BETWEEN TASKS I JUST ADDED SOME MORE DELAY FOR IT & THEN IT IS WORKING FINE NOW.