0

I'm very new to Arduino and especially the forum so please let me know if I am on the wrong topic or anything.

Anyways let me get straight to the point. I am working on a school project where I need to create a robot head that can move and talk using the Arduino Uno. I have the speech files as a .wav and from what I gathered you need an sd card reader connected to the Uno to read .wav files. So I purchased the Arduino MKR Zero, but after I got the board I realized that it is a standalone board, not a file reader for the Uno. This project is due next week so I need to figure out how to make the MKR Zero read the files and play them off the speakers but have it timed and programmed off the Uno. Is this possible with the hardware I have?

Here is a picture of my setup: enter image description here

2
  • you don't need the Uno
    – jsotola
    Oct 11, 2019 at 21:10
  • I do because the MKR Zero doesn't have enough ports for all the motors that I need to use for my project.
    – Tucker Epp
    Oct 12, 2019 at 4:00

1 Answer 1

0

Let the MKR Zero play the wav files. It has DAC on A0 and AudioZero library to play wav files from SD card.

You can use Serial communication to command the Zero from Uno. In Uno use hardware Serial or create SoftwareSerial to send commands to Serial1 of MKR Zero. You can then test the MKR first with commands sent from Serial Monitor.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.