Difference between revisions of "Motor (use with mDesigner)"
From Microduino Wiki
(→Pins Usage) |
(→Pins Usage) |
||
Line 79: | Line 79: | ||
| style='background: #FDEDEC' | No | | style='background: #FDEDEC' | No | ||
|} | |} | ||
+ | |||
+ | =Blocks= | ||
+ | ==Motor - Set Speed== | ||
+ | ::[[File:MDesigner_Motor_Set_Speed.png]] | ||
+ | |||
+ | |||
+ | ==Motor - Brake== | ||
+ | ::[[File:MDesigner_Motor_Brake.png]] | ||
+ | |||
+ | ==Motor - Car Control== | ||
+ | ::[[File:MDesigner Motor Car Control.png]] |
Revision as of 15:35, 13 June 2018
The Motor module is a stack-able module which allows the control of up to two DC motors. Each motor can be individually controlled for direction and speed. Support for this module is found in mDesigner.
Pins Usage
The Motor module stacks upon other mCookie modules, but it does utilize several pins.
These pins should not be used when using the Motor module or else there will be interference and unknown behavior.
Refer to the chart below when using other modules, sensors or trinkets along with the Motor module to avoid possible pin conflicts.
Additional more indepth information regarding pins and pin conflicts can be found here: MCookie_Upin27_Layout
Pin Name | Safe to use along Motor module? |
---|---|
Pin 0 | Yes, but not recommended (serial communication). |
Pin 1 | Yes, but not recommended (serial communication). |
Pin 2 | Yes |
Pin 3 | Yes |
Pin 4 | Yes |
Pin 5 | No, used by Motor module (motor 2) |
Pin 6 | No, used by Motor module (motor 1) |
Pin 7 | No, used by Motor module (motor 2) |
Pin 8 | No, used by Motor module (motor 1) |
Pin 9 | Yes |
Pin 10 | Yes |
Pin 11 | Yes |
Pin 12 | Yes |
Pin 13 | Yes |
Pin A0 | Yes |
Pin A1 | Yes |
Pin A2 | Yes |
Pin A3 | Yes |
Pin A6 | Yes |
Pin A7 | Yes |
Pin I2C | No |
Blocks
Motor - Set Speed