US English (US)
JP Japanese
CN Chinese
KR Korean

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Knowledge Base Home
  • Contact Us
English (US)
US English (US)
JP Japanese
CN Chinese
KR Korean
  • Home

Can Moku be used with Raspberry Pi?

Written by Dylan Perez

Updated at April 16th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • 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
+ More

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:

  1. 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:

  1. 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

integration compatibility

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Logging speed of Moku Data Logger
  • How do I find the serial number of a Moku ?
  • How to connect my Moku to a WiFi network for the first time

Sitemap

  • Moku:Lab
  • Instruments
  • Software
  • Company
  • Support
  • Store
  • Terms & Conditions
  • Privacy Policy

Offices

United States
+1 (619) 332-6230
12526 High Bluff Dr
Suite 150
San Diego, CA 92130

Australia
+61 2 6171 9730
243 Northbourne Avenue
Suite 2
Lyneham, ACT 2602

Australia
+61 03 7073 3594
700 Swanston Street
Suite 5E, Level 5
Carlton, VIC 3053

Follow us

Youtube LinkedIn

官方微信

Contact us
© 2025 Liquid Instruments. All rights reserved.

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand