Tutorials

Download step-by-step tutorials (PDF format) and sample programs (.ino) by right-clicking on the relevant links below, and selecting ‘Save Link As…’:

Tutorial 1
This tutorial will teach you the basics of T-Scratch coding in the Arduino IDE platform, and how to create your very first program in 3 simple steps.
LED Light [Sample Program]


Tutorial 2
This tutorial will teach you how to program a control button and a Light-Emitting Diode (LED) light.
T-Sense (Button) [Sample Program]


Tutorial 3
This tutorial will teach you how to program a buzzer as an output and a button input, similar to how a doorbell works.
T-Sense (Buzzer) [Sample Program]


Tutorial 4
This tutorial will teach you how to program the tilt sensor as an input. It can be used as a shake device to activate outputs like light indication (LED) or sound (buzzer).
T-Sense (Tilt) [Sample Program]


Tutorial 5
This tutorial will teach you how to program the potentiometer (pot)as an input. It can be used as a rotating knob device to tune outputs like light indication (LED) or sound (buzzer).
T-Sense (Pot) [Sample Program]


Tutorial 6
This tutorial will teach you how to program the Light-Dependent Resistor (LDR) as an input. It can be used as a light sensitive device to turn on outputs like light indication (LED) or sound (buzzer) when dark or bright.
T-Sense (LDR) [Sample Program]


Tutorial 7
This tutorial will teach you how to program the T-Pad. It is used as a multi-input button pad and can even be used as a game controller. Its program can be further improved by your imagination and limitless creativity.
T-Pad [Sample Program]


Tutorial 8
This tutorial will teach you how to program the Vibration sensor as an input. It can be used as a switch triggered by vibration to turn on outputs like light indication (LED) or sound (buzzer).
T-Sense (Vibration) [Sample Program]


Tutorial 9
This tutorial will teach you how to program the Passive InfraRed (PIR)sensor. It can be used to detect the presence of objects in the vicinity.
T-Sense (PIR) [Sample Program]


Tutorial 10
This tutorial teaches you how to program the NeoPixel LED chain.
NeoPixel [Sample Program]


Tutorial 11
This tutorial will teach you how to use the T-Scratch’s integrated music player (MP3). Using the integrated player and speaker, you can play music to your liking.
Playing mp3 Files [Sample Program]


Tutorial 12
This tutorial will teach you how to integrate the T-Scratch with App Inventor using Bluetooth as the communication channel.
App Inventor [Sample Program]


Tutorial 13
This tutorial teaches you how to program two different kinds of ultrasonic sensor; Sr04 and URM06. using the distance as an input, you can control when to turn on the indication.
HC-SR04 Ultrasonic Sensor [Sample Program]
URM06 Ultrasonic Sensor [Sample Program]


Tutorial 14
This advanced tutorial will teach you how to configure two T-scratch to communicate with each other on Bluetooth Channel. the tutorial also features the PTP message can be sent from the master device to the slave device.
Master and Slave Programming: [Master Sample Code | Master Sample Config]   [Slave Sample Code | Slave Sample Config]


Tutorial 15
This tutorial teaches you how to program servo motors using Arduino and T-Scratch, and how to control the servo motor movement using a potentiometer (T-Sense).
Servo Project A: [Sample Program]
Servo Project B: [Sample Program]


Consolidated Downloads

Want to work offline? Download our tutorial packs here (right click and select ‘Save Link As’ to download):

All tutorials (PDF) in ZIP format
All sample programs in ZIP format