Python SDK
Bimea maintains the Python library Megamicros, which allows users to create custom programs for antenna acquisition and processing.
The library is published under the MIT license and regularly updated on the PyPi website.
Installation example:
virtualenv venv
source venv//bin/activate
pip install megamicros
Test the package by executing the megamicros command:
megamicros
Get the version:
megamicros -v
Checking a megamicros device
Connect a megamicros device on your PC and check it using the --check-device option :
megamicros --check-device
--------------------
Megamicros python library
Copyright (C) 2024-2025 Bimea
This program comes with ABSOLUTELY NO WARRANTY; for details see the source code'.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source code for details.
--------------------
MegaMicros documentation is available on https://readthedoc.bimea.io.
--------------------
megamicros 3.0.4
Checking Megamicros device...
Found Megamicros device:
- 32 available MEMs found
- 0 available analogs found
- MEMs: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
- Analogs: []
If successful, this command ensures that your Megamicros system and the Megamicros Python library are operational.
If not, you must check the USB connection using the --check-usb option:
megamicros --check-usb
--------------------
Megamicros python library
Copyright (C) 2024-2025 Bimea
This program comes with ABSOLUTELY NO WARRANTY; for details see the source code'.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source code for details.
--------------------
MegaMicros documentation is available on https://readthedoc.bimea.io.
--------------------
megamicros 3.0.4
Checking USB...
Found following mu32 Megamicros device found with following characteristics:
- system name: mu32
- usb vendor id: fe27
- usb vendor product: ac03
- usb bus address: 0
- pluggable mems number: 32
- pluggable analogs number: 0
If you get the message No Megamicros system found, please check your USB cable.
On windows systems, verify you have the driver installer Zadig.
Reinstall the USB driver.
On linux and MacOs systems, verify that users have correct r/w permissions on the USB devices. If not, you must create a new device rules file:
> sudo vi /etc/udev/rules.d/99-megamicros-devices.rules
# Insert next lines which give access to the Megamicros devices (Mu32-usb2, Mu32-usb3, Mu256, Mu1024):
SUBSYSTEM=="usb", ATTRS{idVendor}=="fe27", ATTRS{idProduct}=="ac00", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="fe27", ATTRS{idProduct}=="ac01", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="fe27", ATTRS{idProduct}=="ac03", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="fe27", ATTRS{idProduct}=="ac02", MODE="0666"
On windows systems, it is mandatory to install the Zadig driver before using Megamicros (see the download page or download the latest version from the official website).