No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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 show a TX-Pi-XL (with 3.5" display) using an ftDuino to connect to fischertechnik actors and sensors.


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

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 Jessie Lite or Raspbian Stretch Lite 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:

wget -O

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

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.

Duplicating and distributing TX-Pi images

The entire setup process takes some time and is rather complex. It's thus helpful to be able to copy and redistribute the result.

The PiShrink script allows you to create an installable SD card image from a working TX-Pi setup.

# read image from SD card reader
sudo cp /dev/sdb tx-pi-fullsize.img
# shrink image
sudo ./ -c tx-pi-fullsize.img tx-pi.img

The resulting image tx-pi.img can be copied to another SD card and will resize itself on first boot and generate new SSH keys etc.


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.