I have uploaded Open-Cat to my bittle, opened the serial monitor and type "c" and send. Bittle moves a bit and then i get repeating
The function decode(&results)) is deprecated and may not work as expected! Just use decode() - without any parameter.
on the screen. I also can't seem to hit run on the remote (button CH).
Any ideas?
Thanks
ho provato non cambia nulla
It should not be NL, but "no line ending"
Per la sessione va bene analizza le schermate prima e fissiamo un incontro , ho ancora 4 robot da montare entro lunedì. Grazie 😂
You need to set the serial monitor as "no line ending", not the "a capo (NL)". Otherwise, your input won't be parsed correctly.
We could set up a remote desktop session to configure.
UN ALTRA COSA DA SEGNALARE...
Se compilo Moduletest.ino la compilazione non va a buon fine.
Per favore aiutatemi hi acquistato 5 Robot e sono fermo con tutto dalla calibrazione ai test . Grazie
Arduino:1.8.12 (Windows 10), Scheda:"Arduino Uno"
Sto compilando lo sketch... "C:\\Users\\Sergio\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Sergio\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Sergio\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IC:\\Users\\Sergio\\Documents\\Arduino\\libraries\\IRremote\\src" "-IC:\\Users\\Sergio\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\libraries\\Wire\\src" "-IC:\\Users\\Sergio\\Documents\\Arduino\\libraries\\Adafruit_PWM_Servo_Driver_Library" "-IC:\\Users\\Sergio\\Documents\\Arduino\\libraries\\I2Cdev" "-IC:\\Users\\Sergio\\Documents\\Arduino\\libraries\\MPU6050" "C:\\Users\\Sergio\\AppData\\Local\\Temp\\arduino_build_166729\\sketch\\moduleTests.ino.cpp" -o "C:\\Users\\Sergio\\AppData\\Local\\Temp\\arduino_build_166729\\sketch\\moduleTests.ino.cpp.o" In file included from C:\Users\Sergio\Desktop\Windows Arduino\hardware\OpenCat-main\ModuleTests\moduleTests.ino:177:0: C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:89:7: error: 'prog_uchar' does not name a type; did you mean 'getchar'? const prog_uchar dmpMemory[MPU6050_DMP_CODE_SIZE] PROGMEM = { ^~~~~~~~~~ getchar C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:229:7: error: 'prog_uchar' does not name a type; did you mean 'getchar'? const prog_uchar dmpConfig[MPU6050_DMP_CONFIG_SIZE] PROGMEM = { ^~~~~~~~~~ getchar C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:271:7: error: 'prog_uchar' does not name a type; did you mean 'getchar'? const prog_uchar dmpUpdates[MPU6050_DMP_UPDATES_SIZE] PROGMEM = { ^~~~~~~~~~ getchar C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpInitialize()': C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:342:30: error: 'dmpMemory' was not declared in this scope if (writeProgMemoryBlock(dmpMemory, MPU6050_DMP_CODE_SIZE)) { ^~~~~~~~~ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:342:30: note: suggested alternative: 'dmpGetGyro' if (writeProgMemoryBlock(dmpMemory, MPU6050_DMP_CODE_SIZE)) { ^~~~~~~~~ dmpGetGyro C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:349:42: error: 'dmpConfig' was not declared in this scope if (writeProgDMPConfigurationSet(dmpConfig, MPU6050_DMP_CONFIG_SIZE)) { ^~~~~~~~~ In file included from C:\Users\Sergio\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:28:0, from C:\Users\Sergio\AppData\Local\Temp\arduino_build_166729\sketch\moduleTests.ino.cpp:1: C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:390:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:390:98: note: suggested alternative: 'dmpUpdate' C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:394:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:394:98: note: suggested alternative: 'dmpUpdate' C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:433:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:433:98: note: suggested alternative: 'dmpUpdate' C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:437:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:437:98: note: suggested alternative: 'dmpUpdate' C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:441:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:441:98: note: suggested alternative: 'dmpUpdate' C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:459:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:459:98: note: suggested alternative: 'dmpUpdate' C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:478:98: error: 'dmpUpdates' was not declared in this scope for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]); ^ C:\Users\Sergio\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:478:98: note: suggested alternative: 'dmpUpdate' Uso la libreria IRremote alla versione 3.0.1 nella cartella: C:\Users\Sergio\Documents\Arduino\libraries\IRremote Uso la libreria Wire alla versione 1.0 nella cartella: C:\Users\Sergio\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\Wire Uso la libreria Adafruit_PWM_Servo_Driver_Library alla versione 2.3.1 nella cartella: C:\Users\Sergio\Documents\Arduino\libraries\Adafruit_PWM_Servo_Driver_Library Uso la libreria I2Cdev nella cartella: C:\Users\Sergio\Documents\Arduino\libraries\I2Cdev (legacy) Uso la libreria MPU6050 nella cartella: C:\Users\Sergio\Documents\Arduino\libraries\MPU6050 (legacy) exit status 1 Errore durante la compilazione per la scheda Arduino Uno.
sono passati oltre 30 minuti ma il risultato è ancora questo, pare tra l'altri ci sia qualcosa che no va nel cerchio rosso
Sto provando ad inviare il codice writeinstinct ma ottengo questo errore ed il telecomando non funziona, durante l'invio e non la compilazione ottengo questi errori
In file included from C:\Users\Sergio\AppData\Local\Temp\arduino_build_942917\sketch\OpenCat.h:85:0,
from C:\Users\Sergio\Desktop\Windows Arduino\hardware\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:
C:\Users\Sergio\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\Wire\src/Wire.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
C:\Users\Sergio\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\Wire\src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
C:\Users\Sergio\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\Wire\src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
se poi trasgerisco lo schetck al robot ottengo quanto seguein allegato
Quindi una volta caricato il codice dalla IDE di arduino, non dovrebbe piu' succedere ? Si spegneranno tutti ? Oppure ?
Stefen you at least have the instructions in English I have difficulty setting my little girl. In the meantime, I ask a question ..... when switched on, the first LED turns green and then in sequence I have the others blue while the last two remain red, is there any problem in your opinion?
Do you have a screenshot/recording elaborating the problem?
It's a complex system after all and we need more information to diagnose the problem.
Did that, but same thing. What is the deal with the constant error message repeating itself. Makes it hard to catch what happens. It happens right after sending a c after uploading Open-Cat (I have already done the writeinstinct stuff without issue). I think I'm very close, I hope :)
Does Code&Robots on android work with the Bittle?
You need to upload WriteInstinct.ino and enter "yyy" after the prompts.
Then upload OpenCat.ino.
You need to install 2.6.1 of the IRremote library and edit the IRremote.h to shrink its size. As discussed in this post: https://www.petoi.com/forum/challenge/it-seems-my-irremote-h-file-is-too-large-here-it-is
I suggest read the whole user manual before setting it up: docs.petoi.com