KFC Posted March 23, 2020 Posted March 23, 2020 (edited) Hi, friends, I am a newer. I need EV3 to control 3 motors at the same time. However, it seems that the scratch program (block) can control only 2 motors at the same time. Could anyone tell me how to do? (Eg. Show me a picture of your scratch program) Thanks a lot. Edited March 23, 2020 by KFC Quote
JopieK Posted March 23, 2020 Posted March 23, 2020 Of course it can! You can't use the dual motor block that is meant for driving vehicle wheels but you can use the motor blocks in parallel. See e.g.: (http://robotsquare.com/2013/07/16/ev3-nxt-compatibility/) Quote
KFC Posted March 24, 2020 Author Posted March 24, 2020 Hi, JopieK, Thank you so much! I tried to arrange the 3 green blocks in parallel before, and I failed. Now they are arranged in serial as shown above. And actually, they work almost at the same time. That means they are functionally in parallel, right? Thanks! Quote
dr_spock Posted March 24, 2020 Posted March 24, 2020 The blocks can be arranged in parallel and motors start at the same time like a slot machine. ** I am not professional programmer nor do I play one on TV. Use at your own risk. Quote
KFC Posted March 25, 2020 Author Posted March 25, 2020 Hi, dr_spock, Thanks a lot. My son built a car having three motors with mecanum wheels. He wants to control the moving by IR controller. He usually needs to drive the three motors at the "same time". However, we could not arrange 3 green blocks "in parallel in an IR block" before. Now he can arrange in serial (functionally they work as parallel) in an IR block as Jopiek suggested. And now the car can move in 8 directions and rotate clockwise and reverse. He is very happy! I will encourage him to try what you suggested. Thanks again Thank Jopiek, too. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.