Magnet#

Introduction#

The green Magnet cards control the Electromagnet connected to port 3, so the robot can pick up and drop magnetic objects, such as Disks.

Motor cards and Magnet cards can’t be used in the same project, because the motor and the Electromagnet both connect to port 3.

Below is a list of available cards:

  • magnet pickup – Picks up a magnetic object with the Electromagnet.

  • magnet drop – Drops what the Electromagnet is holding.

magnet pickup#

The magnet pickup card uses the Electromagnet connected to port 3 to pick up a magnetic object, such as a Disk.

A green Coder card that reads magnet pickup.

Example

Pick up a Disk, drive forward 30 cm, drop it, then reverse 15 cm to back away.

A red Coder card that reads when start GO.

A green Coder card that reads magnet pickup.

A blue Coder card that reads drive 30 cm.

A green Coder card that reads magnet drop.

A blue Coder card that reads reverse 15 cm.

magnet drop#

The magnet drop card makes the Electromagnet connected to port 3 drop the object it is holding.

A green Coder card that reads magnet drop.

Example

Pick up a Disk, turn around, drop it, then reverse 15 cm to back away.

A red Coder card that reads when start GO.

A green Coder card that reads magnet pickup.

A blue Coder card that reads turn around 180°.

A green Coder card that reads magnet drop.

A blue Coder card that reads reverse 15 cm.