Repository navigation
Motion Master on a Raspberry Pi 5: a card image, and 4 kHz with no skipped cycles #9
Replies: 1 comment
Why a Raspberry Pi 5, and why a microSD cardThis came up, so here is the reasoning in one place. It is now also in the guide, under Motion Master runs on any 64-bit Linux machine. The image targets one board on purpose.
German retail prices on 28 August 2026, each including 19% VAT. Postage is on top, usually €5 to Why 8 GB and not 4 GBOne thing on the board grows with your bus, and that is the process-data recorder. It keeps every One SOMANET drive with the default mapping puts 82 bytes on the bus per cycle.
A 4 GB board covers every row except the last one. 32 drives, a 250 µs period and a five-minute Three reasons to spend the €40 anyway:
The 4 GB board is what the measurements in this thread ran on, and it is not a bad buy at €144. Why a card and not an SSD
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What this is
Motion Master now ships as a card image for the Raspberry Pi 5. Write it to a microSD card, put your Wi-Fi network in one file on the card, and the board comes up as an EtherCAT master with a real-time kernel and Motion Master already running as a service.
The board's Ethernet port carries EtherCAT, so it is not how you reach the board. That is why the Wi-Fi settings go on the card. Until the board has joined a network, there is no way to reach it and tell it which network to join.
Getting it
About 1.3 GB compressed, 8 GB written to the card. Do not unpack it — Raspberry Pi Imager and balenaEtcher both read
.xzdirectly. A checksum is published at the same address with.sha256on the end.The guide is docs/RASPBERRY_PI.md: download, write the card, set the Wi-Fi, find the board, reach it from the Console, and move it to another release. How the image is built is in rt/README.md.
4 kHz on a Raspberry Pi
The image carries a
PREEMPT_RTkernel, one CPU core isolated from the scheduler, and the real-time thread pinned to that core. This is a Pi 5 with one SOMANET Circulo in OP, retimed to a 250 µs period from the Console's Game Loop page:SCHED_FIFO,mlockalland the pinned core all confirmed by the server itself.Task time is the number that decides how far this goes. 79 µs against a 250 µs grid leaves room; against a 125 µs grid it would not, and one drive is not five.
Not synchronised yet
The loop holds its cycle and skips nothing. It is not synchronised with the drives: DC SYNC0 is not activated, so a drive acts on the frame as it arrives rather than on a clock it shares with the master. Synchronised actuation is work we will do.
Worth knowing
update-motion-master <version>moves the board to another release over SSH. Reflashing the card is never needed for a version change.root, and the password isroot. Every image also authorises the same SSH key, and its private half is published beside the image, athttps://dezliul92qqoq.cloudfront.net/motion-master-rpi—chmod 600it, thenssh -i. Both are public on purpose: the API has no authentication, so neither is what keeps anybody out. The password is for the console, with a monitor and a keyboard, which is the way in when the board has no network. The key is for SSH once it has one.Reports from anyone who writes a card are welcome, particularly from a board that is not a Pi 5 Rev 1.1.
All reactions