No output for M1 and M2


#1

I have just built the Robotic Arm controlled by the Android app.

Everything works fine except the 25mm motors, which have no output signal (measured in the port).

The motors are OK, provided I have tested both out of the circuit.

Unsuccesfully, I have upgraded the firmware, using the link https://github.com/Makeblock-official/Makeblock-Firmware/tree/master/mblock_firmware (version 1.10101 del 03/06/2014) which gives me compilation warnings under Arduino 1.6.6:

 sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of '191' from 'int' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]

    0xb9,0xde,0xf9,0xf1,0x40};//0~9,A,b,C,d,E,F,-

                            ^

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘134’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘219’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘207’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘230’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘237’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘253’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘135’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘255’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘239’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘247’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘252’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘185’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘222’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘249’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\Me7SegmentDisplay.cpp:9:32: warning: narrowing conversion of ‘241’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]

sketch\MePort.cpp:44:7: warning: extra tokens at end of #else directive [enabled by default]

#else if defined(AVR_ATmega328) // else ATmega328

   ^

sketch\MePort.cpp:72:7: warning: extra tokens at end of #else directive [enabled by default]

#else if defined(AVR_ATmega328) // else ATmega328

   ^

sketch\MePort.cpp:11:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘uint8_t {aka unsigned char}’ inside { } [-Wnarrowing]

};

^

sketch\MePort.cpp:11:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘uint8_t {aka unsigned char}’ inside { } [-Wnarrowing]

sketch\MePort.cpp:11:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘uint8_t {aka unsigned char}’ inside { } [-Wnarrowing]

sketch\MePort.cpp:11:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘uint8_t {aka unsigned char}’ inside { } [-Wnarrowing]

El Sketch usa 23.972 bytes (74%) del espacio de almacenamiento de programa. El máximo es 32.256 bytes.
Las variables Globales usan 1.198 bytes (58%) de la memoria dinámica, dejando 850 bytes para las variables locales. El máximo es 2.048 bytes.

In there any solution reported?


#2

Try this link instead http://www.mblock.cc/download


#3

Thank you.

The version of Arduino IDE coming into mblock is 1.6.5, instead of 1.6.6.

Anyway, the problem is still there. There is no output in the ports M1 & M2 but all the other functions work properly.

When pressing the controls in the phone, the led of the Orion board blinks, so the problem is in the firmware, between the MeWire and the output. It is not a hardware problem because I have tried with another board with the same results.


#4