
peter653

Hello, I just got my EZ-Robot developer kit today, and have been having a lot of fun playing around with it.
I've been having some difficulty getting the Sound Board (EZB) control to work though. I have selected an MP3 and pressed the play button, but there is no sound coming out of the robot.
I can get the robot to make sounds via the diagnostics in the built in web server, and I can also play the same MP3 via my PC using the Sound Board (PC) control.
Any ideas?
The EZ-B is obviously connected to your network since you can access the web server, and the speaker works as it makes the diagnostic sounds so that's a good thing.
Have you connected ARC to the EZ-B?
Scan for (or manually type in if known) the IP of the EZ-B V4
Click on Connect
The EZ-B should then chime indicating successful connection.
Once that is done the soundboard (EZ-B) should work through the EZ-B on board speaker.
Code:
Run the script and see if it plays through the ezb speaker...
The ARC is connected to the board, as I am able to get the camera working through the ARC interface.
When I execute the script, I get an error (see below copied and pasted from the console)
Start
1: sayEZB("I am a robot")
> Error on line 1: Value cannot be null.
Parameter name: source
Done (00:00:00.0460026)
When I check the Syntax it says its OK.
This being said, I just tried the Sound Board (EZB) control again and it worked!
Not sure what the issue was before, but it seems to be working now.... weird.
However, it sounds like it's working now which is great. If it does happen again have a look to see if the debug gives any indication as to why sounds aren't playing.
The syntax was correct. Was the code typed or was it copied and pasted? There is/was a slight glitch where copied and pasted code would cause problems. Always retype code.
Valid syntax is this;
Code:
Which is exactly as Richard's code. Copying and pasting it may be the issue.
I think you are right - the original issue was due to lack of connectivity with the EZB, I mistook the fact that I could see from the camera and access the web server as connectivity with ARC. Now that it is connected, it seems to be working.
Thanks for all your help everyone!