Table of Contents

Forth for the BBC micro:bit

BBC micro:bit

There was an opportunity to have early access to a spare BBC micro:bit.

Matthias Koch took the time and effort to adapt his Mecrsip-Stellaris Forth to the BBC micro:bit hardware.

The complete Mecrisp Github File System contains many files covering the different Controllers it runs on – but which are not necessarily related to the micro:bit.

We want to make it easy to get to the stage of running the first Forth code on the micro:bit.

As result here a Starter Pack.

Suggestions to improve it are welcome.

How do you install Mecrisp onto the micro:bit?

Documents

Hardware - All the bits and pieces that make up your BBC micro:bit.

All the BBC micro:bit pins
More details about your BBC micro:bit : Specs & Schematic.

Or visit Mo McRoberts, Lead technical architect for BBC Archive Development and BBC Datalab, at github: SCH_BBC-Microbit_V1.3B.pdf
https://github.com/bbcmicrobit/hardware

Check http://tech.microbit.org/ - Hardware designs for the BBC micro:bit - as well.

Inofficial Schematic (PDF) - no warranty for correctness and completeness.

Calliope is the German Version

Calliope

The same basic processor, and the best, the basic Mecrisp Forth Binary Matthias Koch did is identical for both systems.

Now all components are on one side, with added microphone and loudspeaker. The connector holes have been put at the end of the star shape – less risk of short circuits

Github with all of the data:
http://www.calliope.cc/ in German,
http://www.calliope.cc/en and in English .
You can buy it here http://www.exp-tech.de/en/calliope-mini.
Price is a bit higher – but contains components that you have to buy separately with micro:bit.

2 Files as a first step on how the Calliope IO works. Thanks to Matthias Koch for the code and Carsten Strotmann for bringing a Calliope.

Documents

There is an eBook in German and English – not about Forth yet but a lot of examples and background information. And showing small examples that work in other languages, and that can be re-implemented in Forth on both boards as programming exercise.
English https://www.amazon.co.uk/BBC-Micro-Tests-Tricks-Secrets/dp/1541200721/ref=asap_bc?ie=UTF8
German https://www.amazon.de/Micro-bit-Praktikum-Burkhard-Kainka-ebook/dp/B01MQL04TB

How to Start? – Go to A Start With Forth here - most of the relevant eBook contents:
https://wiki.forth-ev.de/doku.php/en:projects:a-start-with-forth:start0

The full eBook is available here for easy read on the mobile
https://www.amazon.co.uk/Start-Forth-2017-Bits-Bites-ebook/dp/B073NMX1XP/ref=sr_1_13?s=books&ie=UTF8&qid=1499278235&sr=1-13

More Clones

There are microbit clones around , but they are probably not compatible with the mecrisp version described here.

\\

Enjoy these systems; how to use the Bluetooth with Forth will be shown later when there is time.

1)
not included in the Starter Pack - TeraTerm download (Heise 2017)