PROGRAMMING SCHOOL
Arduino programs for RoboBUBI interface
1. LIGHT CONTROL7. TWO LIGHTS CONTROL - TWO MINI-SWITCH
2. TWO LIGHTS CONTROL8. PHOTO SENSOR (TRANSISTOR) - DIGITALY (1)
3. TWO LIGHTS CONTROL9. PHOTO SENSOR (TRANSISTOR) - ANALOGUE (2)
4. THRE LIGHTS CONTROL - TRAFFIC LIGHTS10. IR SENSOR FISCHERTECHNIK - LINE (1)
5. DC MOTOR CONTROL11. IR SENSOR FISCHERTECHNIK - LINE (2)
6. LIGHT CONTROL- MINI-SWITCH

LIGHT CONTROL
spajanje001_ar.jpg

Connect light bulb to output 1.

TWO LIGHTS CONTROL
spajanje002_ar.jpg

Connect RED light bulb to OUTPUT 1, and GREEN to OUTPUT 2.

TWO LIGHTS CONTROL
spajanje003_ar.jpg

Connect RED light bulb to OUTPUT 1, and GREEN to OUTPUT 2.

THRE LIGHTS CONTROL - TRAFFIC LIGHTS
spajanje004_ar.jpg

Connect the RED lamp to OUTPUT 1 and YELLOW to OUTPUT 2 and GREEN to OUTPUT 3.

DC MOTOR CONTROL
spajanje005_ar.jpg

Connect the motor to OUTPUT 1(A3) and OUTPUT 2 (A2)connector.

LIGHT CONTROL- MINI-SWITCH
spajanje006_ar.jpg

Connect the lamp to the OUTPUT 1. Connect the MINI-SWITCH to INPUT 1.

TWO LIGHTS CONTROL - TWO MINI-SWITCH
spajanje007_ar.jpg

Connect the RED lamp to OUTPUT 1 and the GREEN lamp to the OUTPUT 2. Connect MINI-SWITCH 1 to INPUT 1, and MINI-SWITCH 2 to INPUT 2.

PHOTO SENSOR (TRANSISTOR) - DIGITALY (1)
spajanje008_ar.jpg

Connect the RED lamp to OUTPUT 1 (I1.A3) and GREEN to OUTPUT 2 (I2.A2). Connect the PHOTOSENSOR to INPUT 3 (U3.4).

PHOTO SENSOR (TRANSISTOR) - ANALOGUE (2)
spajanje009_ar.jpg

Connect the RED lamp to OUTPUT 1 (I1.A3), and GREEN to OUTPUT 2 (I2.A2). Connect the PHOTOSENSOR to INPUT 1 (U1.A1).

IR SENSOR FISCHERTECHNIK - LINE (1)
spajanje010_ar.jpg

Connect the RED light to OUTPUT 1 (I1.A3) and GREEN to OUTPUT 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).

IR SENSOR FISCHERTECHNIK - LINE (2)
spajanje011_ar.jpg

Connect the motor to OUTPUT 1 and 2 (I1.A3 (A3) and I2.A2 (A2)). Connect the IR sensor to the INPUT 1 and 5 power supply (U1.A1 and U3.4). Connect the sensor power to OUTPUT 3 (I3.3).