EVSheild Problem - Lock Up
 Software and Programming Related   Started by Neostormerr S   2015-09-11 15:06:57 -04:00   Comments: 10    Viewed: 727

  1. Postby NeoStormer » Thu May 07, 2015 10:44 pm

    While running the following code the Arduino locks up:
        #define GLOBAL_DELAY 100
        EVShield evshield(0x34,0x36);
        long i=0;
        void setup()
        void loop()
    The serial consistantly ends at 214 with a GLOBAL_DELAY of 100; this happens for any length of delay, even 10 seconds, which makes me question that the issues is I2C related. The LEDs lock up at different colors, again at consistent colors. I know that the pre-production boards had 3 LEDs but I only have 2 working (the rear ones), just wondering if my board is faulty.
    Neostormerr S, 2015-09-11 15:06:57 -04:00
  2. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby micgil2293 » Fri May 08, 2015 9:37 am

    Your front LED will not light with that command. Try this command : evshield.bank_a.centerLedSetRGB(100,100,100);
    This will turn the front LED white. As for the lockup, put this command before your delay: evshield.bank_a.getFirmwareVersion();

    This is a temporary fix until we can come up with a permanent solution to the problem.
    Mindsensors Support, 2015-09-11 15:09:05 -04:00
  3. Postby NeoStormer » Fri May 08, 2015 2:16 pm

    I also noticed that Motor 1 on Bank A does not respond to the speed command:
        evshield.bank_a.motorRunRotations(SH_Motor_1, SH_Direction_Forward,  5, rotations, SH_Completion_Wait_For, SH_Next_Action_BrakeHold);

    The code works for the other motors, all of them run at speed/power level designated, but that particular one runs at full speed all the time.
    Neostormerr S, 2015-09-11 15:09:54 -04:00
  4. Postby NeoStormer » Thu Jun 18, 2015 6:36 pm

    Was this problem ever fixed?
    Neostormerr S, 2015-09-11 15:10:06 -04:00
  5. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby micgil2293 » Fri Jun 19, 2015 9:38 am

    The pre-production boards will have the issue with Motor 1 on Bank A but later boards will not. Hardware changes were implemented to address this issue. The EVShield libraries have also been updated to fix the lock-up issue you were experiencing. Go to https://github.com/openelectrons/EVShield to download the most recent library.
    Mindsensors Support, 2015-09-11 15:10:20 -04:00
  6. Postby NeoStormer » Wed Jul 15, 2015 12:37 pm

    So i'm stuck with a bad board?
    Neostormerr S, 2015-09-11 15:10:35 -04:00
  7. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby micgil2293 » Wed Jul 15, 2015 12:46 pm

    You can send us the pre-production board and we will make the necessary hardware changes to allow Motor 1 on Bank A to function properly. We will send the working board back to you within a day or two of receiving it. Were you able to get the lock-up issue resolved with the updated software?
    Mindsensors Support, 2015-09-11 15:10:50 -04:00
  8. Postby NeoStormer » Tue Jul 21, 2015 7:06 pm

    That sounds reasonable, i'm currently out of the state for a couple weeks but I will certainly try it out when I get back.
    Neostormerr S, 2015-09-11 15:11:02 -04:00
  9. Postby NeoStormer » Sat Aug 15, 2015 1:05 pm

    Had a chance to try it out today, the lock-up issue has been resolved with the newest updated software.

    Is the address on the mindsensors.com website the correct address to send the unit back for repair?
    Neostormerr S, 2015-09-11 15:11:12 -04:00
  10. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby support » Sat Aug 15, 2015 1:49 pm

    Yes, that's correct address to send.
    Mindsensors Support, 2015-09-11 15:12:00 -04:00
  11. (You must log in or sign up to post here)

Log in | Sign up
Tems & Conditions!