Can Moku be used with Raspberry Pi?
-
Moku:Go
Moku:Go General Moku:Go Arbitrary Waveform Generator Moku:Go Data Logger Moku:Go Digital Filter Box Moku:Go FIR Filter Builder Moku:Go Frequency Response Analyzer Moku:Go Logic Analyzer & Pattern Generator Moku:Go Oscilloscope & Voltmeter Moku:Go PID Controller Moku:Go Spectrum Analyzer Moku:Go Waveform Generator Moku:Go Power Supplies Moku:Go Lock-in Amplifier Moku:Go Time & Frequency Analyzer Moku:Go Laser Lock Box Moku:Go Phasemeter
-
Moku:Lab
Moku:Lab General Moku:Lab Arbitrary Waveform Generator Moku:Lab Data Logger Moku:Lab Digital Filter Box Moku:Lab FIR Filter Builder Moku:Lab Frequency Response Analyzer Moku:Lab Laser Lock Box Moku:Lab Lock-in Amplifier Moku:Lab Oscilloscope Moku:Lab Phasemeter Moku:Lab PID Controller Moku:Lab Spectrum Analyzer Moku:Lab Time & Frequency Analyzer Moku:Lab Waveform Generator Moku:Lab Logic Analyzer/Pattern Generator
-
Moku:Pro
Moku:Pro General Moku:Pro Arbitrary Waveform Generator Moku:Pro Data Logger Moku:Pro Frequency Response Analyzer Moku:Pro Oscilloscope Moku:Pro PID Controller Moku:Pro Spectrum Analyzer Moku:Pro Waveform Generator Moku:Pro Lock-in Amplifier Moku:Pro Laser Lock Box Moku:Pro Digital Filter Box Moku:Pro FIR Filter Builder Moku:Pro Phasemeter Moku:Pro Multi-instrument Mode Moku:Pro Logic Analyzer/Pattern Generator Moku:Pro Time & Frequency Analyzer
- Python API
- MATLAB API
- Arbitrary Waveform Generator
- Data Logger
- Digital Filter Box
- FIR Filter Builder
- Frequency Response Analyzer
- Laser Lock Box
- Lock-in Amplifier
- Oscilloscope
- Phasemeter
- PID Controller
- Spectrum Analyzer
- Time & Frequency Analyzer
- Waveform Generator
- Logic Analyzer & Pattern Generator
- Multi Instrument Mode
- Moku Cloud Compile
- Moku general
- LabVIEW
While the Moku software and mokucli
are not currently available for ARM processors, it is possible to use API commands to control your Moku.
To install the Moku Python API onto the Raspberry Pi, first open up a terminal and run python -m pip install moku
and wait for that to complete. Then, run moku download --fw_ver=601
(replace 601 with the most recent firmware version). This will install the instrument bitstreams for the associated firmware version.
It is also possible to download the API package directly from our website which is available here.
The way in which you discover your Moku's IP will depend on how your Moku is connected.
Ethernet:
- Run
sudo arp-scan --interface=wlan0 --localnet
in your terminal. This will return all devices that are connected to your network.

2. To determine which IP corresponds with your Moku, look for the Liquid Instruments MAC addresses. The address will depend on your hardware platform. For Moku:Pro the address is 70:69:79:b0
. For Moku:Go it's 70:69:79:b9
, and for the Moku:Lab it is 70:b3:d5:87
3. Record the IP address of the Moku. In your script, connect to your Moku by running: i=Oscilloscope('192.168.##.##', force_connect=True)
.
USB:
-
Run
ip n
. The return message will be something like this.

2. Look for the Liquid Instruments MAC address to locate your Moku. Take note of the IPv6 address as well as the %suffix. These will both be needed to communicate with Moku.
3. To establish an API connection, use the following syntax:
i=Oscilloscope(‘[IPv6%suffix]’, force_connect=True)
For example, for this terminal output the syntax would be:
i=Oscilloscope(‘[fe80::7269:79ff:feb9:49a%enx706979b90499]’, force_connect=True)
Troubleshooting
Sometimes, you will receive an error similar to the following:
requests.exceptions.ConnectionError: HTTPConnectionPool
This is due to the Python requests package being incompatible. To fix this, run:
pip install requests==2.31.0
Some operating systems require requests package v2.32.2:
pip install requests==2.32.2