FTScratchTXT

About the product

FTScratchTXT enables use of the fischertechnik ROBOTICS TXT Controller on PCS or notebooks together with the easy-to-learn programming language Scratch. This allows little applications for the control of motors and lamps using switches, light barriers and lots of other sensors to be created in a flash. The large number of options offered by the programming language, Scratch, means that much larger programs can be created.

This Scratch extension FTScratch is based on Scratch 3.0

HowTo

Windows

  1. Connect ROBOTICS TXT with the PC (USB/WiFi/Bluetooth)
  2. Download the USB driver ( 32 Bit / 64 Bit ) and install it
  3. Download latest version of FTScratchTXT.exe and start it (requires a .NET Framework 4, generally available on Windows PCs)
  4. Open Scratch with fischertechnik extension (Chrome preferred)
  5. Get started!

Linux/Mac

  1. Connect ROBOTICS TXT with the PC (USB/WiFi/Bluetooth)
  2. Download FTScratchTXT and start with the help of mono. (Console: mono FTScratchTXT.exe)
  3. Open Scratch with fischertechnik extension (Chrome preferred)
  4. Get started!

Block description

This incident is activated as soon as a switch / reed contact / light barrier is pressed / closed on universal input I1-I8 (or released / opened).
This incident is activated as soon as the number of pulses on counter input C1-C4 is higher / lower than an entered value or a value resulting in combination with blocks from the category "Operators".
This incident is activated as soon as the value of the colour sensor / ultrasound distance sensor / NTC resistance / photo resistance on universal input I1-I8 is higher / lower than an entered value or a value resulting in combination with blocks from the category "Operators".
This block can be used to request the current value of counter input C1-C4 and for calculations or conditions in combination with blocks from the categories "Control", "Operators" and "Incidents". The return value is a 16-Bit value.
This block can be used to request the current value of the colour sensor / ultrasound distance sensor / NTC resistance / photo resistance on universal input I1-I8 and for calculations or conditions in combination with blocks from the categories "Control", "Operators" and "Incidents". The return value is a 16-Bit value.
This block is used to request whether a switch / reed contact / light barrier on universal input I1-I8 is pressed / closed (or released / opened). It can be used for calculations or conditions in combination with blocks from the categories "Control", "Operators" and "Incidents". The return is a Boolean value.
Playing the installed sound files 1 - 29 can be started using this block.
Playing the installed sound files 1 - 29 can be started using this block. It waits until playing finishes before performing further commands.
Output O1 - O8 can be set, e.g. for a lamp, to a value of 0...8 using this block. Values lower than 0 or higher than 8 are cut off at 0 or 8.
Output O1 - O8 can be set to a value of 0...8 using this block. Values lower than 0 or higher than 8 are cut off at 0 or 8.
The current value of counter input C1 - C4 can be reset using this block.
Output M1 - M4 can be set, e.g. for a motor, to a value of 0...8 using this block. Values lower than 0 or higher than 8 are cut off at 0 or 8.
Output M1 - M4 can be set to forward (backward), e.g. for a motor, with a value of 0...8 using this block. Values lower than 0 or higher than 8 are cut off at 0 or 8.
Output M1 - M4 can be changed, e.g. for a motor, to forward (backward) using this block.
A motor on output M1 - M4 can be stopped using this block. The corresponding counter is unaffected.
Output M1 - M4 can be set, e.g. for a motor, for a set number of steps and a speed of 1...8, to forward / backward using this block. Output M1 - M4 can only be started again after running the "Stop motor" block. Before execution, the corresponding counter is reset. Program execution is blocked until the chosen distance is reached. Outputs M1 - M4 can only be individually started again after running the "Stop move" or "reset" block.
Two of the outputs M1 - M4 can be set, e.g. for a motor, synchronised with a speed of 1...8, to forward / backward using this block. Outputs M1 - M4 can only be individually started again after running the "Stop move" or "reset" block.
This block is a combination of the two previous blocks. Before execution, the corresponding counter is reset. Program execution is blocked until the chosen distance is reached. Outputs M1 - M4 can only be individually started again after running the "Stop move" or "reset" block.
A motor on output M1 - M4 can be stopped using this block. The corresponding counter is reset and synchronisation is disabled.
Universal input I1 - I8 can be changed from digital to analog using this block.
This block resets the ROBO TXT. All outputs and counters are set to 0. Synchronisations are disabled.