Motor Nodes
Use these nodes to drive the motor via motor driver IC or servo motor via PWM.
Config Nodes
dc motor config
Handle settings for controlling DC motor using this node.
Inputs
- Motor mode : Select motor mode
- Pin 1 : Specify pin1
- Pin 2 : Specify pin2
servo port
Handle settings for controlling servo motor using this node.
Inputs
- Output Pin : Specify output pin
- Motor model : Select motor model
- Channel : Select channel
- MCPWM Unit : Select MCPWM unit
- MCPWM timer : Select MCPWM timer
- Min pulse width(ms) : Specify minimum pulse width in ms
- Max pulse width(ms) : Specify maximum pulse width in ms
- Frequency : Specify frequency
- Max Angle (°) : Specify max angle in degreess
Proc Nodes
dc motor
Turns DC motor ON/OFF. In case of 2 pins connected to the motor, the is turned on in the direction specified.
Inputs
- Motor : Select DC motor config
- Switch : Select to turn motor on/off
- Direction : Select direction of motor
servo
Starts control signal to a servo motor. In case this node is run again, it restarts the signal with the new angle value.
Inputs
- Servo Motor : Select servo motor config
- Angle (°) : Shaft angle in degrees, in positive values from 0 to 360