facebook.png

ETC

ftcommunity.png

© Želimir Bistrović 2019

PROGRAMMING SCHOOL

RoboPRO programs for RoboBUBI interface

PHOTO SENSOR - ANALOGUE (2)

VJ: 014

spajanje014_rp.jpgRoboPro014.jpg
WIRING:
Connect the LAMP to OUT 1 (I1.A3). Connect the PHOTO Sensor (PHOTO diode or PHOTO RESISTOR, NOT LED transistor) to INPUT 1 (U1.A1). Adjust the value (<50) to your sensor:
PROGRAM TASK:
By turning sensor in the direction of light (daylight or lighting) the LIGHT must be switched ON. When turned from the light, it should be OFF. The program should use the VARIABLE to display the output value of the sensor.
DOWNLOAD:vjezba014.zip

FOTO SENSOR - ANALOGUE (1)

VJ: 013

spajanje013_rp.jpgRoboPro013.jpg
WIRING:
Connect the LAMP to OUT 1 (I1.A3). Connect the PHOTO Sensor (PHOTO LED or PHOTO RESISTOR, NOT LED transistor) to INPUT 1 (U1.A1). Adjust the value (<50) to your sensor:
PROGRAM TASK:
By turning sensor in the direction of light (daylight or lighting) the LIGHT must be switched on. When turned from the light, it should be OFF.
DOWNLOAD:vjezba013.zip

IR SENSOR FISCHERTECHNIK - LINE (3) - MOTOR CONTROL

VJ: 012

spajanje012_rp.jpgRoboPro012.jpg
WIRING:
Connect the motor to OUT 1 and 2 (I1.A3 (A3) and I2.A2 (A2)). Connect the IR sensor to the power supply to INPUTS 4 and 5 (U4.12 and u5.8). Connect the sensor power to OUTPUT 3 (I3.3).
PROGRAM TASK:
When the left sensor finds the line, the WHEEL (motor) must start to rotate to one side, and when the right sensor finds the line, the WHEEL (motor) must start to rotate to the other side. When both sensors have found a line, the WHEEL (motor) needs to be stopped.
DOWNLOAD:vjezba012.zip

IR SENSOR FISCHERTEHNIK - LINE (2)

VJ: 011

spajanje011_rp.jpgRoboPro011.jpg
WIRING:
Connect the RED light to OUT 1 (I1.A3) and GREEN to OUT 2 (I2.A2). Connect the IR sensor to the power supply (OUTPUT 3 - I3.3) and to INPUT 4 (U4.12) and INPUT 5 (U5 .8).
PROGRAM TASK:
When the left sensor detects the line, the RED indicator lights up, and when the right sensor finds the line GREEN lamp. When both sensors are in the array, the light bulbs fall and go off alternately.
DOWNLOAD:vjezba011.zip

IR SENSOR FISCHERTEHNIK - LINE (1)

VJ: 010

spajanje010_rp.jpgRoboPro010.jpg
WIRING:
Connect the RED light to OUT 1 (I1.A3) and GREEN to OUT 2 (I2.A2). Connect the IR sensor to the power supply (OUTPUT 3 - I3.3) and to INPUT 4 (U4.12) and INPUT 5 (U5 .8).
PROGRAM TASK:
When the left sensor detects the line, the RED indicator lights up, and when the right sensor finds the line GREEN lamp. When both sensors are in the line, the RED lamp lights up.
DOWNLOAD:vjezba010.zip

PHOTO SENSOR (TRANSISTOR) (2)

VJ: 009

spajanje009_rp.jpgRoboPro009.jpg
WIRING:
Connect the RED lamp to OUT 1 (I1.A3), and GREEN to OUT 2 (I2.A2). Connect the PHOTO SENSOR to INPUT 1 (U1.A1).
PROGRAM TASK:
When the photo sensor has a signal, the GREEN lamp should turn on for 0.2 seconds. If the photo sensor does not have a signal, the RED indicator light for 0.2 seconds should be on. Use ANALOGUE Input Sensor Values - INPUT 1.
DOWNLOAD:vjezba009.zip

PHOTO SENSOR (TRANSISTOR) (1)

VJ: 008

spajanje008_rp.jpgRoboPro008.jpg
WIRING:
Connect the RED lamp to OUT 1 (I1.A3) and GREEN to OUT 2 (I2.A2). Connect the PHOTO SENSOR to INPUT 3 (U3.4).
PROGRAM TASK:
When the photo sensor has a signal, the GREEN lamp should turn on for 0.2 seconds. If the photo sensor does not have a signal, the RED indicator light for 0.2 seconds should be on.
DOWNLOAD:vjezba008.zip

TWO LIGHTS CONTROL WITH TWO MINI_SWITCH

VJ: 007

spajanje007_rp.jpgRoboPro007.jpg
WIRING:
Connect the RED light to OUT 1 and the GREEN to OUT 2. Connect MINI_SWITCH 1 to INPUT 3 and MINI_SWITCH 2 to INPUT 4. NOTE: INPUTS 1 and 2 are analog. The output signals are inverted, 0 is pressed, and 1 is not.
PROGRAM TASK:
Pressing the MINI_SWITCH 1 button will light up the RED light, and pressing MINI_SWITCH 2 GREEN LED will light up. Repeat.
DOWNLOAD:vjezba007.zip

LIGHT CONTROL WITH MINI-SWITCH

VJ: 006

spajanje006_rp.jpgRoboPro006.jpg
WIRING:
Connect the light to the OUTPUT 1. Connect the MINI-SWITCH to INPUT 3 (U3.4). NOTE: INPUT 1 (U1.A1) and 2 (U2.A0) are analog. The output signals are inverted, 0 is pressed, and 1 is not.
PROGRAM TASK:
After the button on MINI-SWITCH is pressed, the lamp lights up for 1 second. Then turn it off. Repeat.
DOWNLOAD:vjezba006.zip

DC MOTOR CONTROL

VJ: 005

spajanje005_rp.jpgRoboPro005.jpg
WIRING:
Connect the motor to the OUTPUT 1 (I1.A3) and OUTPUT 2 (I2.A2).
PROGRAM TASK:
The motor should run on one side 100 milliseconds. Stop the motor for 1 second. Run the motor to the other side for 100 milliseconds. Stop the motor for 1 second. Repeat.
DOWNLOAD:vjezba005.zip

THREE LIGHTS CONTROL - TRAFFIC LIGHT

VJ: 004

spajanje004_rp.jpgRoboPro004.jpg
WIRING:
Connect the RED light to OUT 1 (I1.A3), and YELLOW to Output 2 (I2.A2) and GREEN to OUT 3 (I3.3).
PROGRAM TASK:
Turn on the RED light for 1 second. Turn off the RED and turn on the YELLOW lamp for 0.5 seconds. Shut YELLOW and turn on the GREEN lamp for 1 second. Repeat.
DOWNLOAD:vjezba004.zip

TWO LIGHTS CONTROL

VJ: 003

spajanje003_rp.jpgRoboPro003.jpg
WIRING:
Connect the RED lamp to OUT 1 and GREEN to the output 2.
PROGRAM TASK:
Turn on the red and green lights for 0.5 seconds. Turn off the red and green light for 0.5 seconds. Repeat.
DOWNLOAD:vjezba003.zip

TWO LIGHTS CONTROL

VJ: 002

spajanje002_rp.jpgRoboPro002.jpg
WIRING:
Connect the RED lamp to OUT 1 (I1.A3), and GREEN to output 2 (I2.A2).
PROGRAM TASK:
Turn on the red light for 0.5 seconds. Turn off the red light for 0.5 seconds. Turn on the green light for 0.5 seconds. Shut down the green light for 0.5 seconds. Repeat.
DOWNLOAD:vjezba002.zip

LIGHT CONTROL

VJ: 001

spajanje001_rp.jpgRoboPro001.jpg
WIRING:
Connect the light to OUT 1 (I1.A3).
PROGRAM TASK:
Turn on the light for 0.5 seconds. Press the light for 0.5 seconds. Configure.
DOWNLOAD:vjezba001.zip