after responding n to 'reset join calibration' the servos rotate, but when I enter calibration values (ex: c12 5), I hear a beep of the buzzer and the corresponding servo does not rotate. I tried several servos and there are no rotation! Why ...
I found the cause of the problem it is the remote that does not work. I launched the testInfraredremote program and I have the same message 'Repeat' every time. This means that it does not decode the transmitted signal. problem led emitter of the remote control ? led receiver on the NyBoard V0.2?
For IR remote, click the button but don’t keep pressing on it. Because it’s looping rapidly, if it detects the same button twice, it will print repeat.
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src/IRremote.h:24:7: warning: type 'struct decode_results' violates one definition rule [-Wodr]
class decode result {
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\RobotIRremote.h:27:7: note: a different type is defined in another translation unit
class decode result {
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src/IRremote.h:27:17: note: the first difference of corresponding definitions is field 'value'
unsigned long value; // Decoded value
^
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\RobotIRremote.h:30:16: note: a field with different name is defined in another translation unit
unsigned int panasonicAddress; // This is only used for decoding Panasonic data
another thing : in the programme i have : Serial.begin(57600) but in my serial monitor i have to put 74880 bauds, if not i receive on my sm some characters incomprehensible
I found the cause of the problem it is the remote that does not work. I launched the testInfraredremote program and I have the same message 'Repeat' every time. This means that it does not decode the transmitted signal. problem led emitter of the remote control ? led receiver on the NyBoard V0.2?
For IR remote, click the button but don’t keep pressing on it. Because it’s looping rapidly, if it detects the same button twice, it will print repeat.
Is the board powered by two 3.7V Li-ion batteries? Are you connecting SW3 between BATT and V_S?
I answer yes for the two questions. Now i have the display : 21:15:16.083 -> other button F7B70000, ...
the messages are also dislayed
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src/IRremote.h:24:7: warning: type 'struct decode_results' violates one definition rule [-Wodr]
class decode result {
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\RobotIRremote.h:27:7: note: a different type is defined in another translation unit
class decode result {
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src/IRremote.h:27:17: note: the first difference of corresponding definitions is field 'value'
unsigned long value; // Decoded value
^
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\RobotIRremote.h:30:16: note: a field with different name is defined in another translation unit
unsigned int panasonicAddress; // This is only used for decoding Panasonic data
forget the last message please, now i receive again "
06:17:24.149 -> REPEAT
06:17:25.806 -> REPEAT
06:17:27.010 -> REPEAT
...
On line 92 of testInfraredRemote.ino, change
delay(500); to
delay(1000);
and see whether you still see repeat.
it is the same thing
another thing : in the programme i have : Serial.begin(57600) but in my serial monitor i have to put 74880 bauds, if not i receive on my sm some characters incomprehensible
Have you installed the 20MHz NyBoard:
ATmega328P (5V 20MHz) NyBoard
and selected it? Check 4.2.3 of the instruction doc.
Regular Arduino runs at 16MHz, and your default setting is probably also at 16MHz.
20/16=1.25
74880/57600=1.3
They are so close.
yes, yes it is ok now, many thanks
congrats!