Skip to content
fischertechnik controller based on the raspberry pi
Shell Python
Branch: master
Clone or download
Latest commit 90005aa Jun 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
cases Adjust image path Jun 23, 2019
dist Fixed wording Apr 27, 2019
images Add addon renderings Jun 23, 2019
pipower Pipoer rendering Jun 12, 2019
setup Added new TS-Call app. May 3, 2019
.gitignore Added gitignore Apr 21, 2019 Considering develop branch as stable May 4, 2019 Updated link to latest Stretch May 14, 2019

TX-Pi - A Raspberry Pi setup for fischertechnik

This repository contains the basic requirements to make a Raspberry Pi hardware and software compatible with the community firmware for the fischertechnik TXT.

The image below shows a TX-Pi-XL (with 3.5" display) using an ftDuino to connect to fischertechnik actors and sensors.

TX-Pi with ftDuino

Features and Highlights

  • Runs on any Raspberry Pi
  • User friendly touchscreen GUI for small add-on screens
    • Waveshare 3.2" and 3.5" tested
    • Screen mirroring onto the "big screen" for demos and bigger audiences
    • Automatic detection and unsage of keyboards and mice
  • System tools for network configuration etc
  • Support for various USB or Bluetooth attached fischertechnik interfaces
    • Robo Interface
    • Robo I/O extension
    • Robo LT
    • BT Smart Controller
    • BT Remote Control Receiver and Sender
    • fischertechnik 3D printer
    • ftDuino
    • Lego WeDo 1.0
    • Lego WeDo 2.0
  • Integrated app store for the ft community firmware

Videos and more information

See the TX-Pi in action at:

There's also a thread in the fischertechnik community forum about the TX-Pi.


You'll need:

  • a Raspberry Pi B+, 2 or 3
  • a Waveshare 3.2" LCD touchscreen (either V3 or V4) (see below for 3.5" support)
  • a micro SD card with at least 8GB space

Optionally you might use matching ft compatible cases and the PiPower to supply the Pi from fischertechnik power sources.

In case you do not want to use the 3D printed case, you might opt for a wide variety of standard RPi cases suited for the LCD touchscreen. See the image below for how this might look like:

TX-Pi in standard case

Hardware setup

The case consists of four parts. A bottom and top part for Pi and a bottom and top part for the display. Both parts can be connected to each other using ordinary fischertechnik parts.

The connector height of the display differs between V3 and V4 and the V3 display needs a higher bottom part.

The required screws are M2.5 * 12mm countersunk.

Software setup

SD card images:

Attention: the image files are experimental at the moment, so if you experience any problems, please let us know!

For your convenience, you might download one of the SD card images. To install the image onto SD card, please follow the instructions given on the Raspbian site except to use the TX-Pi image instead of the Raspbian image.

Alternatively: manual installation

If you want to manually install Raspian and the TX-Pi setup instead of using a SD card image as described above, follow the instructions here. The entire installation consists of three main steps:

  1. Install a standard raspbian operating system image onto SD card
  2. Do some minor manual preparations
  3. Run a script that will do all the tx-pi specific modifications

Step 1: Install Raspbian onto SD card

Get an SD card image of e.g. Raspbian Stretch Lite (recommended) or Raspbian Jessie Lite (still supported but not actively maintained) and install it onto SD card. Other versions may work as well but the aforementioned ones have been tested. More information on installing rasbian on SD card can be found here.

Insert the SD card into your Pi and boot it. Unless you are very familiar with the Pi and are able to do a headless setup you should have a keyboard and HDMI display connected to the Pi.

Step 2: Do some manual preparations

Now log into your pi using the keyboard and the screen. The login is "pi" and the password is "raspberry" as with any raspian installation.

Start the raspi-config tool by typing sudo raspi-config and perform the following things:

  1. Change the hostname to tx-pi or something similar
  2. Disable "wait for network" in the Boot Options

Leave the raspi-config tool and shutdown the Pi by typing sudo shutdown -h now. Connect the small 3.2 inch LCD if you haven't yet done so.

Start your Pi again.

Step 3: Run the TX-Pi setup

Again log into your Pi and once more use use the login pi and the password raspberry.

Now download the setup script by typing:


and run the script by typing

sudo bash ./

This will now take about one hour and download and install a lot of programs from the internet onto your Pi. Once the installation is done your Pi will automatically reboot and it will boot into the user interface of the fischertechnik community firmware..

3.2 inch display

Support for 3.5" screens

The TX-Pi also supports the 3.5" TFT displays from Waveshare. To configure TX-Pi for one of these instead of the default 3.2" version the install script has to be invoked with a special option.

If you use the regular (A) type display from waveshare:

sudo bash ./ LCD35

and if you have the IPS (B) type display:

sudo bash ./ LCD35B

If you have the IPS (B) revision 2.0 type display:

sudo bash ./ LCD35BV2

The 3.5" display has a resolution of 320x480 pixel while the 3.2" display and the display of the fischertechnik TXT only provide 240x320 pixels. Thus some apps written for the TXT or the regular TX-Pi setup may look a little different. But due to the Qt framework most apps will just look fine.

3.5 inch display

Tweaking the display performance

The 3.5" display are driven by a 16 MHz data clock by default which results in a rather poor redraw performance. This can be increased by setting the SPI clock to a higher value. E.g. to set it to 40Mhz change the line in /boot/config.txt:


You can also change the screen orientation by changing the ORIENTATION value in line 35 of the script before running it.

Optional I2C breakout

Since the RPi already has a builtin I2C interface, the TX-Pi I2C breakout was developed. It's an additional case part to be put inbetween RPi and display. It holds a prototype HAT board which provides enough soldering eyes to connect to the 3V3 RPi I2C bus. Additionally, the top part could hold a step-down power converter and an I2C level shifter. Thus the RPi could be powered via printed fischertechnik flush sleeves in the breakout case, and an 5V I2C port can be provieded. All related information is stored here on

I2C breakout


This is a work in progress. Some parts aren't working by now and some may be broken. But the project is progressing fast and most functionality is working.

You can’t perform that action at this time.