Coding with the VEX GO Electromagnet

The VEX GO Electromagnet is used to transport Disks.

GO_Brain-Electromagnet.png

The following article will cover:

  • How the Electromagnet is Used
  • Transport Disk Example Project

Note: In this article, the example project uses the Code Base - Eye + Electromagnet GO Build.


How the Electromagnet is Used

The Electromagnet is used to have your robot be able to pick up and drop Disks.

GO_Code_Base_Eye_EM_-_Disk.png

The [Energize electromagnet] block is used to ‘boost’ and ‘drop’ Disks.

Energize_Electromagnet.png

The ‘boost’ setting allows you to pick up a Disk.

Boost.png

The ‘drop’ setting allows you to release a Disk.

Drop.png


Transport Disk Example Project

The code below will pick up and transport a Disk to a new location with the Code Base.

Transport_Disk_Example_Project.png