Go Down

Topic: Unable to find guidance on how to use MKR motor carrier (Read 1 time) previous topic - next topic


I have no idea if this is the right place or if this will get seen but i got an arduino mega and an mkr motor carrier in the hopes that i could run quite a few motors at once. But i have been unable to find any information on how to us the mkr or if i can even use it with the mega. I would really love it if anyone has some links to tutorials on the mkr motor carrier because arduino completely ignores it in their tutorials section. Also google wont help as i only find store links when searching. i really need some help as i have just spent a lot of money on this and am unable to find a place that tells me how to use it.


I recently got an arduino mega and mkr motor carrier, i have been completely unable to find any tutorials on how to use or program or any projects with the mkr motor carrier. i would love it if anyone had some links to places where i can't find tutorials on how to use this darn thing as i have just spent a lot of money on it and it seems to be completely neglected by arduino support wise. i could really use some help as i am just beginning.


The first thing to do is install the library:
  • Sketch > Include Library > Manage Libraries
  • In the "Filter your search" field, type "mkrmotorcarrier".
  • Press Enter
  • From the search results, click on "MKRMotorCarrier".
  • Click the "Install" button.
  • Wait for installation to finish.
  • Click the "Close" button.

After installing the library, you will find a nice selection of example sketches under File > Examples > MKRMotorCarrier. These demonstrate how to use the MKRMotorCarrier to control your MKR Motor Carrier. You can find documentation on the MKRMotorCarrier library's functions here:

There is information on the MKR Motor Carrier hardware here:

After working through that information, if you still have any questions, feel free to come back here and ask. We'll do our best to provide assistance.


I've merged your other cross-post @Piffel.

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.


quick question why is the mkr motor carrier library under incompatible in the examples sections


if i can even use it with the mega.
It is theoretically possible to use the MKR Motor Carrier with the Mega, but this is not something I would recommend for a beginner. The MKR Motor Carrier was specifically designed to be used with the Arduino MKR boards:

Those boards will plug right in to the MKR Motor Carrier. A good board to start with is the MKR Zero:
or if you want WiFi connectivity, go with the MKR WiFi 1010:

In order to use the MKR Motor Carrrier with your Mega, you would need to use jumper wires to connect the correct pins from the Mega to the correct pins on the MKR Motor Carrier. But it's even more tricky than that. The Mega uses 5 V logic levels, while the MKR boards use 3.3 V logic levels. So you will need to make sure that you are not subjecting the components on the MKR Motor Carrier to logic levels above their maximum rating by using level shifters on some of those lines between the Mega and the MKR Motor Carrier. In the end, it would be very messy and probably more trouble than you would want to go through.

A better option for your Mega is the Arduino Motor Shield:
That will plug right into your Mega, with no tricky wiring needed for the connection.


quick question why is the mkr motor carrier library under incompatible in the examples sections
Because the library is written for the MKR boards, which use the SAMD architecture. Your Mega uses the AVR architecture, thus the library is shown as incompatible while you have the Tools > Board > Arduino Mega or Mega2560 board selected. If you were to install Arduino SAMD Boards and select one of the SAMD boards from the Tools > Board menu, the library would not be shown as incompatible, but that doesn't help if you don't have a MKR board.

Note that my first reply was made before I found your other post that explains you are trying to use the MKR Motor Carrier with your Mega.


hey i know its been forever but thanks for all the help is there a place where in can ask which board to use to get wifi control thats compatible with my mega


You're welcome. I'm glad if I was able to be of assistance.

The best place to ask about adding WiFi support to your Mega is here:

Go Up