How to use

On Niryo Studio

The Conveyor Belt

On Niryo Studio, open the Conveyor Belt tab in the left menu. The interface will let you control up to two Conveyors directly. You can enable them and control their speed and direction.

To use a single Conveyor Belt, connect the product to Ned and toggle the button of the “Conveyor Belt 1” on Niryo Studio. You can now adjust the speed by using the slider or entering the percentage value and choosing if the Conveyor Belt has to move forward or backward.

To use two Conveyor Belts, follow the steps detailed in the previous paragraph, then, on the “Set Conveyor Belt ID” section of Niryo Studio, select “Conveyor Belt 2” and click “Update”. Now, connect your second Conveyor Belt to Ned, which will be considered as “Conveyor Belt 1”. Please note that the ID are saved until you disconnect the Conveyors. These steps are required each time you reconnect two Conveyors.

IR sensor

First, connect the sensor to Ned as previously detailed. In Niryo Studio, in the “Digital I/O panel”, make the following change:

  • If you connected the Sensor on the A connection in the previous section, change the mode of “1A” to “INPUT”.
  • If you connected the Sensor on the B connection in the previous section, change the mode of “2A” to “INPUT”.

When the distance measured is smaller than the adjusted distance, the “INPUT” is “LOW”, it means an obstacle is detected. When the distance measured exceeds the adjusted distance, the “INPUT” is “HIGH”, it means that there is no obstacle.

Blockly

New blocks have been designed to be used with the Conveyor Belt. It keeps Ned’s Ecosystem easy to use with Niryo Studio.

Images Description
../_images/Blockly_conveyor_1.png Allows the user to choose the Conveyor ID
../_images/Blockly_conveyor_2.png Allows the Conveyor Belt to be controlled via Ned
../_images/Blockly_conveyor_3.png

This block will control the Conveyor Belt:

  • With the ID (1 or 2),
  • With the speed (from 0 to 100%),
  • With the direction (FORWARD and BACKWARD)
../_images/Blockly_conveyor_4.png This block stops the Conveyor Belt

With the Control Box

../_images/potentiometer.png

The rotary potentiometer allows you to control the speed and the direction of the Conveyor Belt. When the potentiometer is at its origin, centered, the Conveyor Belt is stopped. The more you turn the potentiometer clockwise, the fastest the Conveyor Belt will move forward. Conversely, the more you turn the potentiometer counterclockwise, the fastest the Conveyor Belt will move backward.