Hi,
I just got started with the arduino engineering kit and I was working on section 3.5 where I manipulate the speed of the dc motor from my computer. Unfortunately, though everything seemed to be set up correctly, my dc motor has not moved at all. I have checked that all the wires are in the correct positions and that all lights are green and on, the connection also works fine, no error messages are received when I execute my code, the dc motor just doesnt move.
here is my code:
I think I'm having a similar issue. Exact same wiring and code. The motor doesn't spin but it does vibrate like something might be trying to move inside. I noticed the M1+ LED light up. I tried the DC motor test in Arduino IDE and noticed the M1 LEDs weren't actually lighting up as bright as the M2 and M3 LEDs.
Trying to rule out the LiPo battery I connected a 9V battery to the external power terminals and as soon as I turned on the carrier power switch my computer lost power but the arduino stayed on. I hit the reset button on the arduino and the DC motor test that had been uploaded from the IDE seemed to work fine.
I turned my computer back on, reconnected the LiPo, and tried to run the motor from MATLAB and now there is no M1 LED activation after running the same code. I have no idea what is going anymore. No reported errors on either MATLAB or the IDE.
Edit: Not the exact same libraries loaded, just the motorcarrier, I2C, SPI, servo
Edit #2: Just as an update, it ain't got no gas in it. The issue was just the battery being completely out of juice. I didn't have a 18650 battery charger laying around and when I measured ~3.55V on the terminals I thought that was enough to make things move at least. Still no idea why my computer freaked out with the 9V battery plugged in, but if you measure the battery at about the voltage I did, it may be empty. As said in the preceding section full charge is up around 4.2V range.