Aller au contenu principal

Introduction

Bimea maintains the Python library Megamicros, which allows users to create custom programs for antenna acquisition and processing.

The library is published under an MIT license and regularly updated on the PyPi website.

astuce

See on Github the Megamicros Python toolkit

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 python library
Copyright (C) 2024-2026 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.1.0
Checking Megamicros device...
>>>> Found Mu32 Megamicros device

If successful, this command ensures that your Megamicros system and the Megamicros Python library are operational.

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"