So , after configuring the board pressing EQ does nothing when trying to calibrate.
What I have done so far:
I downloaded the opencat from github as a zip, unzipped the folder and renamed it to OpenCat.
tried the buzzer - it gives me a little melody and I see responses through the monitor.
checked library versions - IRRemote is 2.6.1.
uploaded infrared test sketch - this works fine, I can see responses from the serial monitor.
Is it possible there is something going wrong with the Opencat.ino installation? I see a frightful number of red notes and warnings when the sketch gets compiled.
The buzzer gives a lot of clicks and then nothing.
Serial monitor gives me this:
* Start *
Initialize I2C
Connect MPU6050
Test connection
MPU successful
Initialize DMP
-1 -1 -1 -1
Enable DMP
Enable interrupt
DMP ready!
* Assigning 1 skill addresses...
Can someone comfirm this is OK or if not, what steps I can take to solve the issue? Thanks in advance.
The -1 -1 -1 -1
MPU successful
Initialize DMP
-1 -1 -1 -1
indicates that you haven't calibrated the MPU and saved the constants.
You need to upload WriteInstinct.ino, run it, set the serial monitor as "no line ending" and 115200, and enter three "Y"s after the prompts. Make sure you have disabled the unused encoder in IRremote.h.
After that, upload the main OpenCat.ino.
OK, so I should not have uploaded opencat.io yet.
Should I reset the board? How do I make the EQ button on the remote let the servos rotate to their calibration angles? Pressing the EQ button still does nothing...
For my remote to work I needed to set in IRremote.h as below: #define DECODE_NEC 1
#define SEND_NEC 1
Did you edit this file at all?
Do you have a video showing the serial output and the behavior?
Apparently I'm not following the manual the right way. Chapter 5.3.2 tells me to go into calibration mode, but to do that I need to follow the instructions of chapter 6.1.2 and upload writeinstinct.ino. Although the EQ button still does nothing I can calibrate the servos by following the guide in chapter 6.
@Rongzhong Li I can make a video of the serial output and behavior but I'm unsure for which sketch: WriteInstinct, OpenCat or testInfraredRemote? I'll continue following the guide chapter 6 and calibrate with the help of the serial monitor for now.
@DobromirI did not edit any .h file yet but since testInfraredRemote.ino works I continue following the guide for now. Thanks for the suggestion.
I also have a bunch of orange warnings (?) while uploading OpenCat but I checked testInfraredRemote and when I press EQ the serial output is like this:
other button FF906F REPEAT other button FF906F other button FF906F other button FF906F other button FF906F other button E5CFBD7F other button FF906F other button E5CFBD7F other button E5CFBD7F
REPEAT shows when I press it too often. Not sure why two different numbers show for EQ but it works in OpenCat as expected.
@Dobromir That's promising, I had the same output for infraredRemote. I still need to finish calibrating which I plan to do this weekend but I think it's going to work as expected.
@Berend Vervelde when you will be calibrating legs servos (not with WriteInstinct but later, in the OpenCat) take your time with this tool:
With a little patience it is possible to align them perfectly. And it has a big impact on robot's movement later on
I am having all the same issues.
Sorry for repeating but this is important to check first:
- library version of IRRemote should be 2.6.1. not the newest
- upload WriteInstinct as your first sketch, put assembled robot without legs on horizontal (important) surface, open serial monitor, send YYY command and wait for calibration to finish
Did you try testInfraredRemote if your remote works at all?