Testing devices connected to the TRIK controller
This article is automatically translated from Russian by Google Translator.
On the TRIK controller you can test the devices connected to it:
Analog sensors
Servo motors
Power motors
Digital sensors
Encoders
Gyroscope
Accelerometer
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.
Last updated