Community Question

Hey everyone.

I'm looking for a little help or examples to create a "reminders" script via speech to text. What I'm looking to do is something like the following example...

Human
"Robot. Set a reminder for 3:30pm to remind me to take my pills."

Robot
"Understood. A reminder has been set for 3:30pm as requested."

And when 3:30pm arrives...

Robot
"It is now 3:30pm. Time to take your pills."

I have tried various ways of combining elements of a "say the time" and a simple "alarm" script, but so far have not had any luck. I would like it to be dynamic in the fact that any "time" I verbally say to the robot via speech recognition would be recognised and automatically set, without manual input like physically typing out an alarm script. The problems I'm facing with this is...

1.) One way of doing this would be to write multiple scripts, each containing every permutation of hours and minutes within the 24 hour clock, or to go even further, days, weeks or months (which would obviously be a heck of a lot of scripts). The "Say the time" script I have uses vairables, so I know this would shorten the process.

2.) The the speech to text side of things where the reminder subjects such as "pills" "Take out the trash" "Your favourite TV show is about to start" for example, would need to input verbally and in to a dynamic script. Essentially, editing an existing script via speech recognition.

I hope what I wrote above is clear enough in explaining what I'm asking, and any help or script examples anyone can offer would be appreciated, as I've had no success with this so far, and I think I'm a little out of my depth with this one.

Thanks guys.

Steve. :)
Steve G
Commented May 2015
Good for you. I'm pleased your enjoying the build. I can't wait to see your finished InMoov buddy.
CochranRobotics
Commented May 2015
Thanks Steve,

I dont have an issue at all with people not using EZ-AI. I completely understand needing light weight stuff. We don't use it in the class that I teach as the computers are too lightweight to handle it. I should be teaching a more advanced class next year that will go into C# programming. I will introduce EZ-AI to these students and have them recreate some of what I have done with EZ-AI and have them come up with other things that they think a robot should be able to do.

I would still download the sample project I posted earlier and check out how I format the data for spoken reminders. From there, you would just write the piece that reads and writes from a text file. It will give you a good head start or at least let you see how someone else is doing this.
Steve G
Commented May 2015
No problem. I'll check that project out. Thanks again.
Toymaker
Commented May 2015
Steve G, what about giving you EZB-v4 a sense of time with a RTC (real time clock) module.
You would be able to poll it in your main program and do a time comparison (per poll cycle) with a reminder listing that has been set up. These RTC modules are only a few quid on ebay and they come with back-up battery, here is one.

www.ebay.co.uk/itm/DS1307-I2C-RTC-AT24C32-Real-Time-Clock-Board-Module-Arduino-ARM-PIC-UK-SELLER-/400871752739?pt=LH_DefaultDomain_3&hash=item5d55d18423

They connect via I2C so are easy to use. I use these together with an Atomic clock module (that automatically sets/changes the time) with a custom PIC that then sends the time/date data to the v4, here is my setup.

User-inserted image

You probably do not need the Atomic clock module so you would not need the custom PIC which just decodes the MSF time signal.

Hope this is of some use.

Tony
Steve G
Commented May 2015
@Tony.

Thanks for that. It looks like a neat little bit of kit. It defiantly looks like something I could use and is certainly cheap enough. I can see a few potential uses for this so might grab myself a couple.

Thanks again. :)

Steve.
Question
AvatarSteve G
Asked on Monday, May 25, 2015