() motor ()

Free or lock motor

() motor () block is a stack block available in actuators extension for evive and all Arduino boards. The block free or locks the motor connected to the selected slot from evive, Arduino Uno, Mega & Nano.

Input Parameters

  1. Motor stopping action:
    1. Lock: This means that both the motor output pins will be HIGH, resulting in stopping the motor. But in this case, the motor also resists any rotational movement. This is like the brake.
    2. Free:  This means that both the motor output pins will be LOW, resulting in stopping the motor. But in this case, the motor if free for any rotational movement. This is like the clutch.
  2. Motor channel:
    1. evive: The motor channel can be motor channel 1 or motor channel 2.
      evive motor channel
    2. Arduino Uno, Mega, and Nano: The motor channel can be 1-4 depending on which channel has been initialized previously using connect motor () direction 1 () direction 2 () & PWM () block.  
evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. This script locks and frees the motor.

run motor example upload mode

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation

DC Motor

Introduction evive has two inbuilt motor control units with which you can control motors with a current limit of 1A each. It uses an SN754410NE…
Attach the Motors to the Base

DC Motor Driver

evive has a dedicated pair of DC Motor Driver pin outputs, which can be used when the user has to connect a large motor which…
evive-Plug-and-Play-Part-1

evive – Plug and Play: Part 1

In this tutorial, we are going to give you a hands-on experience of evive’s plug and play interface through activities for controlling a DC motor, a servo motor, understanding the inbuilt touch sensors of evive.
What is a DC Motor

What is a Dual-Shaft (DC) Motor?

Learn what is dual-shaft(DC) motor, how does DC motor work, interface it with evive using PictoBlox and what projects to make using a DC motor.
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions