johup wrote: ↑Tue Feb 16, 2021 8:00 pm
What is the general procedure with Micropython when I need module xy?
In general, the simple answer is that if you're doing
"import foo"
then either a file named foo.py or a directory "foo" is available in the root of the MicroPython filesystem.
On the Raspberry Pi port, my understanding is that the MicroPython filesystem is the SD card.
johup wrote: ↑Tue Feb 16, 2021 8:00 pm
WHERE does it have to be installed, with pip, pip3 (that can collide with my normal Python3 installation on my Linux host machine), as a tar ball from git to ~ / micropython, or on the SD card? What is with upip.install(), will this work when I got the Wifi to run?
It must be installed on the device, so yes, on the SD card.
upip is a helper that will download a MicroPython library, and it's useful on boards that have WiFi (or Ethernet) and will save them to the filesystem for you. You can also use upip on your PC, and then copy the downloaded files to the board (e.g. SD card).
johup wrote: ↑Tue Feb 16, 2021 8:00 pm
(How) can I enable / talk to the Wifi Interface on the RPi? I read that it works with the pyboard ...
You will need to write a driver for the Raspberry Pi wifi controller (i.e. BCM2385 chipset), and then link in a tcp/ip stack (e.g. LWIP is used on other ports like ESP32 and PYBD). Unfortunately the pyboard's wifi driver (for the bcm43xxx) will not help here.