I'm not sure if I'm posting this in the right place as I'm very new to the Arduino but hopefully someone can help.
I'm trying to use Gravity: Offline Language Learning Voice Recognition Sensor with an Arduino R4 WiFi using library DFRobot_DF2301Q.h version 1.0.0. It worked fine with an R3 but doesn't seem to work with the R4. Does anyone know if there is an updated version of the library? Or any other advice? I've been messing about with it for hours mostly following suggestions from ChatGPT without success.
Thanks in advance.
Check the library.properties to see if the library is compatible with the UNO R4. The two boards are very different architectures so it may not.
I just chec ked and it is compatable.
I just noticed this is your first time.
Read the pinned post re 'How to get the most from the forum' Of immediate importance is to post all the code after doing a IDE/Tools/Auto-Format then a Edit/Copy for Forum and paste into a reply. If the compile has any error, post the verbose log also in a code block using the <CODE/ > above
I've used that module with both the Minima and WiFi with no issues that I recall. In both I2C and UART modes, as well as the second I2C bus on the WiFi. So yes, it's compatible.
You'll have to give the details of how you have it hooked up if you expect any meaningful help. I have my suspicions about some things you've not accounted for in moving to the R4, but I'm not going to waste my time guessing. Tell us exactly what you've done. Clear, well-lit, in-focus pictures can also be helpful.
And you know, the code you're using.
Oh, and if you've been following suggestions from ChatGPT, you've been wasting your time. It's just been making plausible sounding stuff up without any guarantee it has any relationship to reality.
Thanks for taking the trouble to reply and apologies for my late reply, I don't get a lot of time to do this.
Following your advice that the library is ok with the R4 I did finally get the voice recognition to work. I then had problems incorporating it into my larger sketch but I seem to have sorted it now using I2C.
I am building a shop mannequin which turns it's head via a stepper using IR remote control or sensors to follow customers when the come close, it also has a random head turning mode. It speaks using an mp3 module to a speaker in it's chest, breaths using a DC motor which pushes it's chest in and out and gives a breathing sound through the mp3. I am now working on the voice commands and responses. As I'm new to this I'm having to learn it all as I go along, mostly from youtube and AI.
Thanks again for the suggestions, very helpful.