Rei Vilo's fischertechnik Corner
  • About
  • Blog
  • Reviews
    • How to Start?
    • Controllers >
      • Robotics TXT
      • TXT 4.0 Controller
      • Bluetooth Smart Beginner Set
      • Interface Boards for fischertechnik Models
      • Didacta Advance Pi-F5 interface board
    • Sets >
      • Technical Revolutions Set
      • Pneumatic Power Set
      • Automation Robots Set
      • Electro-Pneumatic Set
      • Starter Set for micro:bit
      • Bluetooth Smart Beginner Set
      • Robotics TXT Smart Home Set
    • Exploring the Lego World >
      • Purchasing
      • Unboxing
      • Installing
      • Building
      • Programming
      • Connecting
      • Playing
      • Expanding
      • Concluding
  • Models
    • Back to the 70's
    • Micro Models
    • New Magasin >
      • Magasin releases 1, 2 and 3
      • Long X-Axis
      • Moving Desk And Y-Axis
      • Compressed Air And Vacuum For Z-Axis
      • Pictures
      • Specifications
    • Power Saving White LED
    • Flipper with I²C LCD Panel
    • Celebrating 50 Years!
    • ft Convention 2013
    • ft Convention 2014
  • Sensors
    • Interfacing an Arduino to a Robo TX Controller >
      • Analog Interface
      • Digital Interface
      • I²C Interface
    • Standard Sensors >
      • Playing With Accelerometers
      • Proximity Sensor
      • Pressure Sensor
    • Advanced Sensors >
      • Industrial Colour Reader
      • Stepper Motor Controller
      • DC-Motor with Quadrature Encoder Controller
    • smartDevices >
      • smartColours
      • smartRFID
      • smartLED
      • smartHub
      • smartControls
      • smartMeter
      • smartCamera
      • smartNewCamera
      • smartWiFi
      • smartBLE
      • smartNode
      • smartIMU
  • RoboPro
    • Value Operations >
      • Min and Max Functions
      • Signal Management With Median
      • Modulo Function
      • Map Function
    • Standard Modules >
      • Software Managed Compressor
      • Self-Calibrated Colour-Reader
      • Standard Conveyor Belt Routine
      • Management Panel
      • Encoder-Motor Position Management
    • Variable Types >
      • CSV List Management
      • Queue Function
    • Program Structures >
      • Parallel Processing
      • Multi-Tasking End Management Procedure
    • Tutorials >
      • Setting Bluetooth LAN with Multiple TX-Cs
      • Dealing with Very Large Models >
        • Getting a General View
        • Defining User's Functions
        • Elaborating the Modelisation
        • Defining the Processes
        • Setting the Messages
        • Going Further
        • References
      • Program Error 2 Message
  • I²C
    • How to Connect an I²C Device to the Robo TX?
    • How to Connect an I²C Device to the Robotics TXT?
    • How to Manage an I²C Device?
    • How to Use an I²C Driver?
    • List of I²C Drivers for Sensors >
      • I²C Real Time Clock DS1307
      • I²C LCD screen 4 lines of 20 characters LCD03
      • I²C Triple Axis Accelerometer ADXL345
      • I²C Red-Green-Blue LED BlinkM
      • I²C Two Axis Compass HMC6352
      • I²C Triple Axis Magnetometer HMC5843
      • I²C True Colour Sensor ADJD-S371
      • I²C Stepper Controller AMIS-30624
    • List of I²C Drivers for smartDevices >
      • I²C True Colours Smart Sensor smartColours
      • I²C RFID Smart Sensor smartRFID
      • I²C 4-Digit 7-Segment LED Display smartLED
      • I²C Screen With Touch and SD-Card smartControls
      • I²C Smart Sensor smartCamera
      • I²C Smart Sensor smartNewCamera
      • I²C Remote WiFi Interface smartWiFi​
      • I²C Remote Bluetooth Interface smartBLE​
      • I²C Remote Interface smartNode​
      • I²C New LCD Screen 4 x 20 characters smartLCD
      • I²C Inertial Measurement Unit smartIMU

Starter Set for micro:bit

At the Hannover Toy Fair 2019, fischertechnik presented the Starter Set for micro:bit (548884) on its Teaching range aimed at academia.

This set leverages the hugely popular BBC micro:bit micro-controller with an interface board.

The set is due to be launch later on 2019, but 
​I managed to find the manufacturer of the interface board, Didacta Advance based in Croatia, and bought one interface board along with a BBC micro:bit micro-controller to test it.
Picture

Hardware

 The board consists on two sections:
  • A flat connector to plug the BBC micro-bit micro-controller onto,
  • Connectors or holes for standard fischertechnik plugs (31336 or 31337), with 6 inputs and 8 outputs.

The six inputs provide analog and digital reading for the switch (37783), the photo-transistor (36134) and the reed contact (36120), except for the input i2 on pin P6 which is digital only. Inputs are protected by the classic resistor and diode circuit.

The eight outputs are driven by two standard L293x Quadruple Half-H Drivers mounted on sockets, easy to replace in case of over-current. Maximum current is 600 mA. So recommended actuators are the LED lamps (164134 and 164135) and the XS motor (137096).

Finally, an I²C port brings expandability for I²C devices.

The board features a 3.5 mm plug for the PLUS Power Set (505283). Another reference features the 5.5 mm plug instead.
​

Underneath, four rubber plugs fit into a standard 500 base board (32985).
Picture

Software

All the software available for the BBC micro:bit can be used. 

Among many options:
  • Graphic-based IDEs on tablets: official BBC application for Android and iOS tablets, Swift Playgrounds​ interactive book on iOS tablets and the Swift Playgrounds application for macOS computers,
  • Online IDEs: MakeCode Editor by Microsoft, with Blocks and JavaScript, or Python editor,
  • Text-based IDE on computers: mbed and Arduino, including other IDEs.

A pins map is provided with the board, with the double naming scheme of the pins for fischertechnik (o1..o8, M1..M4, i1..i6) and BBC micro:bit (P2..P16).

The 
Didacta Advance website offers many tutorials with examples for both Blocks and Python environments.
​
Picture
The Using MakeCode offline page lists multiple options to use MakeCode offline:
  • Native applications are available on Windows and macOS.
  • The MakeCode server can be hosted locally.
  • Finally, command line tools are also available.
Picture
I tried to use Swift Playgrounds​ for macOS but the application crashed repeatedly.

​Once it accepted to run after multiple tentatives, it ran very slowly while taking all the CPU. Even worse, some examples provided for the BBC micro:bit are bugged and actually failed to run, like the button program.

Although promoted as simple and easy, Swift is an advanced language with a steep learning curve.
Picture

Playing with the automatic barrier model

For the automatic barrier model, I used the Blocks environment of MakeCode on my my tablet. This allowed me to upload the program over-the-air through Bluetooth!

The model consists on one XS motor operating in both direction, two switches for limit control, one photo-transistor and associated light, one alarm light. The model uses 3 inputs, two single outputs and one combined double output.

​
I faced two issues, one difficulty and one limitation. 
  • Some ports P3 / i5, P4 / i3 and  P6 / i2 are shared with the matrix LED: this results in interferences on some inputs pins. 
Providing documentation on which the ports to turn low of high in order to prevent those interferences would be great. The solution consists on using the led enable off command on start. 

  • Reading the photo-transistor as analog value didn't work. 
The photo-transistor was connected to input i1 on pin P1. The solution was to read the value as digital with digital read pin P1 instead of analog read pin P1.

  • There are two naming schemes for the pins: one for fischertechnik (o1..o8, M1..M4, i1..i6) and another for BBC micro:bit (P2..P16).
​​Albeit users familiar with either fischertechnik or BBC micro:bit feel at home, the double naming scheme is rather confusing.
​
  • The main limitation is the lack of a specific library to use the fischertechnik naming scheme instead of the BBC micro:bit one.
For example, running motor M1 counter-clockwise requires to set P16 high and P15 low. Running motor(M1, CCW, 255) would be easier.
​

Dedicated Makecode extension for fischertechnik models

Michael Klein is sharing Makecode extensions for fischertechnik.
  • pxt-fischertechnik for the microbit IO F5 board, and
  • pxt-ft-fototransistor-calliope for the fischertechnik phototransistor for both the Calliope and microbit IO F5 board.

To install the extensions on Makecode, 
  • Call the utilities menu and select Extensions.
  • Enter the address https://github.com/MKleinSB/pxt-fischertechnik​ or https://github.com/MKleinSB/pxt-ft-fototransistor-calliope and click on the search icon.
  • Select the fischertechnik extension and install.
The pxt-fischertechnik ​extension brings eventblocks for all inputs.

Dedicated blocks manage the four motors outputs.

The names of the pins are consistent with those printed on the 
board silkscreen. 

Similarly, the 
pxt-fischertechnik extension offers two modes for programming: either procedural or event-based.

Some early issues with the events triggered by a switch were fixed.

Conclusion

It isn't the first time fischertechnik relies on third-party hardware for computing. Last year, fischertechnik launched a similar set based on the Calliope board (544626). The main difference is, the BBC micro:bit is hugely popular among academia and general users as well. 

​At less than 50€, the BBC micro:bit and the interface F5 board bundle is really affordable and delivers 6 inputs and 8 outputs, plus an I²C port and over-the-air upload. It also provides a flexible alternative to the Robotics BT Smart Beginner Set (540586).

Among other boards sharing the same connector, the Microsoft Azure IoT DevKit features a Cortex-M4, a WiFi radio and a screen.

Now, let's hope fischertechnik will continue this strategy with more powerful third-party boards, including single board computers like the Raspberry Pi or the BeagleBone.
Picture

Pros

  • Interface board well designed
  • Popular BBC micro:bit micro-controller 
  • Excellent tutorials
  • Wide offer of tools and IDEs

Cons

  • Six inputs only​
  • Pins double naming scheme 

 Wrap-Up

  • Great value
  • Excellent tutorials
  • Wide offer of tools and IDEs

Links

  • fischertechnik Teaching page
  • BBC micro:bit website
  • Didacta Advance website
  • Swift Playgrounds​ for macOS page
Picture
Picture

Posted: 15 Feb 2019
Edited: 11 May 2019, 14 Feb 2020
Powered by Create your own unique website with customizable templates.