Sensor Melody Light Robot
Assembly Instructions

is a registered trademark of Artec Co., Ltd.
in multiple countries including Japan, South Korea,
Canada, and the USA.

Sensor Melody Light Robot
Components
Studuino Unit

Battery Box

x1

x1

Sound Sensor Sound

Sensor Connecting Cable(three-wire 15 cm)

Sensorx1
LED (red)Red

LED (green)x1

LED (blue)

Blue

Green

x1

LED (white)

x1

White

x1

x4

x1

Light Sensor

LightSensorx5

x7

Buzzerx1

Basic Cube (white)

Buzzerx1
Basic Cube (clear)x8
Half C (light aqua)

Half B (blue)

Triangle A (gray)USB Cable

x4
Half D (aqua)

x 29

x4

Assembly Instruction Labels

x1
Shows the parts needed
for assembly. Indicatesthe number of partsneeded for assembly.

Indicates tips or warningwhen building a speciﬁc
item.

Shows an image of thecompletely assembled
item.

Indicates when thedirection of acomponent must bechanged for assembly.
02

Sensor Melody Light Robot

Preparing for Assembly

x1

x1

x1

x1

x1

x1

x1x7

Connect the sensor
connecting cable toSensor Connecting Cable

each sensor.
Sensor side

Circuit board side

Make sure the cable is inserted correctly!
Reverse Side of LED/Light Sensor/Buzzer

Gray cableBlack cable

Reverse Side of Sound Sensor

Gray cableBlack cable03Sensor Melody Light Robot

Assembling the Torsox1

x1x1x2x9x2x2

①
1.

2.

WhiteRedBuzzer
04

Sensor Melody Light Robot
②
1.

2.

Completed Torso05

Sensor Melody Light Robot

Assembling the Headx1

x1

x1x4x7x2x4①②06

Sensor Melody Light Robot③④GreenBlue

1.

2.

07

Sensor Melody Light Robot⑤

Completed Head08

Sensor Melody Light Robot

Putting the Parts Togetherx1①x1x1x1x2x3x1x 13x2x1

x1
Make sure the Studuino unit isinserted correctly!
LED cables should run over theStuduino unit.

②09Sensor Melody Light Robot③Buzzer cables should run aroundthe Studuino unit.

④ Connect the white LED, red LED, and buzzer to A2, A3, and A5.
Make sure the cables areinserted correctly!

A3

RedWhite

A2
BuzzerA5

10

Sensor Melody Light Robot⑤Light Sensor

Connect the light sensor to A4.

A4Make sure the cables are inserted correctly!
11Sensor Melody Light Robot⑥Sound SensorConnect the sound sensor to A7.

A7

Make sure the cables are inserted correctly!
12Sensor Melody Light Robot⑦

Make sure not to pinch any cables
between blocks.

⑧ Connect the blue and green LEDs to A0 and A1.
Make sure the cables areinserted correctly!
BlueGreenA0A1

13

Sensor Melody Light Robot⑨ Connect the cables from the battery box to the POWER section.
Make sure the cables are inserted correctly!

－ ＋POWER⑩⑪14

Sensor Melody Light Robot
Replacing the Batteries

①②

③

④

⑤

Use a screwdriver(Phillips #1) to open.

Insert batteries in thecorrect polarity.
Put the lid of the battery
box back in place.
15

Sensor Melody Light Robot
Completed Sensor Melody Light Robot● Before operating your robot, check the Assembly Instructions again to conﬁrm
your robot has been assembled correctly.

Front

LeftBack

Right

16

Sensor Melody Light Robot
Making Your Sensor Melody Light Robot Run

Install the software from the URL below to setup
the Studuino Programming Environment.
★ Proceed to Step 1 when software installation is complete.

http://www.artec-kk.co.jp/studuino/①②Connect the USB cable to the PC and the Studuino unit.

Refer to 1.3 Studuino in Studuino Programming Environment Manual for more details.

Download the program ﬁle SensorMelodyLightRobot_1.ipd from the URL
below in the ArtecRobo section.

http://www.artec-kk.co.jp/artecrobo/

③

④

⑤

Open the downloaded ﬁle.

Transfer the program tothe Studuino unit by clicking
the Transfer button.

Remove the USB cable from the Studuino unit.

17Sensor Melody Light Robot
Making Your Sensor Melody Light Robot Run① The LEDs on your robot ﬂash in response to sound.

② The light sensor in your robot will make the LEDs ﬂash when it gets dark, andthe buzzer will play music if the sound sensor hears a sound.

18

Sensor Melody Light Robot
Sensor Calibration
Some sensors may not function properly after you run the program for the ﬁrst time.
If the sensors are malfunctioning, calibrate the sensor settings.

Click the sensor icon in
the box and you canadjust the range settings
in the condition box
below.
Drag the mouse left or
right to adjust the range
settings.
Refer to the Condition Icon sections in 4.4. The Attribute Field of the Studuino
Programming Environment Manual for more details.

19Sensor Melody Light Robot
Working with Arduino IDE
You can use Arduino IDE to perform more complex tasks, such as making melodies playand lights ﬂash at the same time or playing even longer songs.

Under Use Arduino IDE, install the software forWindows or Macintosh from the URL below.
★ Proceed to Step 1 when software installation is complete.

http://www.artec-kk.co.jp/studuino/①②

Connect the USB cable to the PC and the Studuino unit.

Refer to 1.3 Studuino in Studuino Programming Environment Manual for more details.

Download the program ﬁle SensorMelodyLightRobot_2.ino from the URL
below in the ArtecRobo section.

http://www.artec-kk.co.jp/artecrobo/③④⑤⑥⑦

Open the downloaded ﬁle.
Transfer the program tothe Studuino unit by clicking
the Transfer button.
Remove the USB cablefrom the Studuino unit.
How strongly the lights
ﬂash depends on thestrength of the sound.
The light sensor in yourrobot will make theLEDs ﬂash when it gets
dark, and the buzzer
will play music.
20

Sensor Melody Light Robot
Adjusting Values in Arduino IDEYou can change how strongly the sensors respond in a program by adjusting their value.
● Light Sensor
Changing the value of "if (analogRead(LIGHT_SENSOR_PIN) < 400" in "loop()" will change
the amount of light it will take for your robot to play a song. Changing the less than sign
to a greater than sign will make your robot play songs when it's light rather than dark.

This value can be from 0-1023.

21