Asked

360 Servo Speech Command Limitation Settings

I am trying to open a window with a 360 servo and the speech recognition. The gears and the servo mount have been printed. The servo that I started using was a regular (MG9956R 60 degree). The problem was that it did open the window all the way. I got it to work with speech recognition to open the window and close the window. I just received a new 360 degree KOOKYE servo and would like to limit the rotation with the speech recognition to open and close the window. Does anyone know if Synthiam can limit the amount it rotates right and left? Since this is a continuous servo I cannot get it to stop. When I say (close the window) it keeps rotating right and when I say (open the window) it keeps rotating left without stopping. I looked through the tutorials but I was not able to find anything helpful. It sounds like auto positioning may be what I should be using and limiting the servo right and left. But I can’t seem to get it to work correctly. It only spins in one direction with the Execute button and I can’t get it to work with speech recognition. The goal is to get it to open and close the window all the way with a speech command. Any ideas how I may be able to get this to work?


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

PRO
USA
#9  

By the way, it is good to see you guys again   :-)

Dave and  Nomad

EzAng

#10  

Dave, I am trying to open a small window about 2ft by 2ft. It does not have to be perfect or open all the way. This is just my first project with EZ-B V4. We are a STEAM program for children K-5th grade. We are an Arduino shop. We have built many projects with Arduino and ESP32 boards. But I wanted to try Synthiam to see if this could be a good platform for teaching the next gen. Thank you so much for the advice I will look into the motor controller with the motion controller that you mentioned. The kids at our center thank you for sharing.

Nomad,  Thank you for that advice. We will take the time measurement into consideration. As I understand it there are many variables to keep in mind when using time to measure rotation. But it is worth looking into as I mentioned it does not have to be a perfect setup and there will be room for degrading servo performance that may change the rotation if measured with time.

EzAng, Thank you for the screen shoots and the scripts. Very simple but effective.:)

Our school will be closed for the next 2 weeks. I hope everyone on this thread is getting a little bit of time off to enjoy as well. I may not be online as often these next 2 weeks. So if I miss you Happy Holidays everyone. I will try my best to keep you all posted on the outcome.

PRO
Synthiam
#11  

Awesome you got something working for your needs. It’s really great to see when people share ingenious ideas to solve problems. You did something I wouldn’t have thought of doing - and it seems to work.

Thanks for the holiday wishes - and hope the same for you and family. The holidays does give me some off time for doing what I love best playing with robots:)

although I am back home at the lake visiting family right now. So it’s a mix of roboting, quading in the snow and eating lots of fish!

Off topic but how’s this for a view to wake up to:) - gonna be hard to leave this place in the new year for the boring old prairies haha

User-inserted image

#12  

WOW DJ, That place looks amazing. I am on my way with my fishing rod. I don't blame you at all. If I was there I would not want to ever leave. I am happy to hear you are having a good time with family. This is what it's all about this time of year. Enjoy the fresh fish.:)

#13  

Okay, I must have missed your explanation of what you're doing earlier. I see you did mention it. My suggestion of a motor controller is probably overkill for what you're doing. Plus very expensive. DJ suggested using limit switches. For what you're doing that's probably the best end simplest way to achieve your goal. Good luck and happy holidays. Please let us know how it turns out.