LogoLogo
TRIK StudioTRIKLego EV3Lego NXT
English
English
  • TRIK help
  • TRIK Studio
    • About TRIK Studio
      • How to find out the version of TRIK Studio
    • Getting started and creating a project
    • TRIK Studio interface
      • TRIK Studio main menu
      • Working with graphs
      • How to open robot settings
      • How to change TRIK Studio interface language
    • TRIK Studio settings
    • 2D model
      • 2D model tuning
      • Adding restrictions to the 2D Model
        • Restrictions setting examples
    • Visual programming
      • Adding and removing blocks
      • Common blocks
      • Links between blocks
      • Syntax of expressions in the blocks
        • TRIK Studio language types
          • Array
        • TRIK Studio language tokens
        • TRIK Studio language operators
        • Constants
        • Sensor variables
        • Built-in functions
      • Property editing
      • Subprograms
    • Textual programming
    • Exercises
    • External tools
      • PuTTY
      • WinSCP
    • TRIK Studio shortcuts
    • Antivirus conflicts
      • Avast antivirus blocks TRIK Studio. What to do?
  • TRIK Studio Junior
    • About TRIK Studio Junior
      • How to find out the version of TRIK Studio Junior
    • Getting started and creating a project in TRIK Studio Junior
    • TRIK Studio Junior interface
      • How do I replace the "Character movement" image?
    • TRIK Studio Junior settings
    • Visual programming in TRIK Studio Junior
      • Adding and removing blocks in TRIK Studio Junior
      • Blocks in TRIK Studio Junior
      • Links between blocks in TRIK Studio Junior
      • Syntax of expressions in the blocks in TRIK Studio Junior
      • Property editing in TRIK Studio Junior
      • Subprograms in TRIK Studio Junior
    • Exercises in TRIK Studio Junior
  • INTEGRATIONS
    • PyCharm
      • Running a 2D model in TRIK Studio from PyCharm
    • Sublime Text
      • Running a 2D model in TRIK Studio from Sublime Text
      • Uploading programs to several TRIK robots from Sublime Text
    • VSCode
      • Running a 2D model in TRIK Studio from VSCode
      • Uploading programs to several TRIK robots from VSCode
  • TRIK controller
    • About the TRIK controller
      • Screenshot of the TRIK controller screen
    • TRIK controller firmware
      • How to find out the firmware version of the TRIK controller?
    • TRIK controller menu
    • Connecting to the TRIK controller via Wi-Fi
      • Connecting the TRIK controller to a computer and smartphone
      • Connecting the TRIK controller to TRIK Studio
      • Interaction of TRIK controllers
        • An example of solving a problem on the interaction of two robots
    • Connecting to the TRIK controller using UART
    • Launching and uploading programs to the TRIK controller
    • Programming TRIK with the visual programming language
      • TRIK specific blocks
      • Sensory variables for the TRIK controller
    • TRIK controller programming in Python and JavaScript
      • Object «brick»
        • Class «accelerometer»
        • Class «battery»
        • Class «colorSensor»
        • Class «display»
        • Class «encoder»
        • Class «gyroscope»
        • Class «keys»
        • Class «led»
        • Class «lineSensor»
        • Class «motor»
        • Class «objectSensor»
        • Class «sensor»
      • Object «script»
      • Object «mailbox»
      • Object «gamepad»
      • Object «Threading»
      • Function getPhoto
      • Function include
    • TRIK controller web interface
    • Connecting devices to TRIK and working with them
      • Connecting and working with the video module
      • Testing devices connected to the TRIK controller
      • Configuring the operation of a USB camera with a TRIK controller
      • Capturing images with TRIK camera and using them in TRIK Studio
      • Working with battery and charger
  • LEGO EV3 Controller
    • About LEGO EV3
    • Connecting a LEGO EV3 Controller to TRIK Studio
    • LEGO EV3 specific blocks
    • Sensory Variables for the LEGO EV3 Controller
    • Launching and uploading programs to the LEGO EV3
  • LEGO NXT Controller
    • About LEGO NXT
    • LEGO NXT Controller Firmware
    • Connecting a LEGO NXT Controller to TRIK Studio
    • LEGO NXT specific blocks
    • Sensory Variables for the LEGO NXT Controller
    • LEGO NXT C Programming
    • Launching and uploading programs to the LEGO NXT
  • Quadcopter Geoscan Pioneer
    • About quadcopter Geoscan Pioneer
    • Geoscan Pioneer specific blocks
  • TRIK Gamepad
    • About TRIK Gamepad
      • TRIK Gamepad App
      • TRIK Gamepad Utility
    • Robot control from the remote control
  • Feedback
    • Actions in case of TRIK Studio or TRIK controller malfunction
    • Ask a Question
    • trikset.com
Powered by GitBook
On this page
  • Analog sensors
  • Configuration of ports for analog sensors
  • Servo motors
  • Power motors
  • Digital sensors
  • Configuration of ports for digital sensors
  • Encoders
  • Gyroscope
  • Accelerometer
  • Camera

Was this helpful?

Export as PDF
  1. TRIK controller
  2. Connecting devices to TRIK and working with them

Testing devices connected to the TRIK controller

PreviousConnecting and working with the video moduleNextConfiguring the operation of a USB camera with a TRIK controller

Last updated 4 years ago

Was this helpful?

This article is automatically translated from Russian by Google Translator.

On the TRIK controller you can test the devices connected to it:

  1. Analog sensors

  2. Servo motors

  3. Power motors

  4. Digital sensors

  5. Encoders

  6. Gyroscope

  7. Accelerometer

  8. Camera

To do this, go to the Test menu.

Warning! The device must first be connected to a specific port to test it. To test the device, you must first connect it to a specific port.

Analog sensors

To start testing analog sensors, select the corresponding item in the list.

Configuration of ports for analog sensors

Port

Configuration

A1–A2

Infrared distance sensor.

Value limits: 8-80 cm.

A3–A4

Touch sensor. Values:

0 - no touch,

1 - pressing.

A5–A6

Light sensor.

Value limits: 0-100. 0 - white, 100 - black.

The sensor must be installed at a distance of 8-15 mm from the surface.

Servo motors

1. To start a servo test, select the corresponding item in the list.

2. Select the port to which the servo drive is connected. The servo drives are connected to ports S1-S3.

3. Press the "Enter" button on the controller to apply power to the servo drive.

4. If you add power with the "Right" button, the servo will rotate clockwise.

5. If you turn it down, it's counterclockwise.

Power motors

1. To start the power motor test, select the corresponding item in the list.

2. Select the port to which the motor is connected. The motors are connected to ports M1-M4.

3. Press the "Enter" button on the controller to apply power to the motor.

4. If you add power with the "Right" button, the motors will spin forward.

5. If you turn it down, back up.

Warning! If the motor rotates in the wrong direction, just change the direction of the current, disconnect the power wire and insert the other side.

Digital sensors

To start testing digital sensors, select the corresponding item in the list.

Configuration of ports for digital sensors

Port

Configuration

D1–D2

Ultrasonic distance sensor.

Value limits: 8-250 cm.

Warning! If the sensor reads -1, then it is either too far away from the object or too close to it.

Encoders

1. To start the encoder test, select the corresponding item in the list.

2. Connect the wheels to the motors with a bushing.

3. To test the performance of the encoder, rotate the wheel back and forth and watch the encoder readings change.

Warning! Encoders are incremental. When scrolling the motor the encoder value can be either negative or positive.

Gyroscope

1. To start the gyroscope test, select the corresponding item in the list.

2. To test the performance of the gyroscope, change the position of the robot in space and see if the readings change.

Warning! All readings are in milligrades.

Accelerometer

1. To start the gyroscope test, select the corresponding item in the list.

2. To test the performance of the accelerometer, change the position of the robot in space and see if the readings change.

Warning! All readings are in milligrades.

Camera

If the camera is working properly, it should display an image on the screen.