usocket/network librarie

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
CookieNinja
Posts: 3
Joined: Mon May 16, 2022 8:57 am

usocket/network librarie

Post by CookieNinja » Mon May 16, 2022 9:02 am

Good Morning/Afternoon/Evening

So I'm rather new to the microcontroller scene, so I could easily be missing something simple. However, I'm trying to send live sensor data from my Raspberry Pi Pico, running Micropython 1.18, over my Wave Pico-ESP8266 wifi module running the latest firmware, to Firebase. I'm using Thonny with the interpreter set to MicroPython (Raspberry Pi Pico). I've been trying to get hold of the usocket and unetwork libraries as the library I'm using for Firebase uses usocket for many of the functions. So is there something I'm missing on how to get hold of the usocket library or is it module dependent?

Kind Regards

anna.marzetti
Posts: 1
Joined: Tue Jun 14, 2022 5:53 am

Re: usocket/network librarie

Post by anna.marzetti » Tue Jun 14, 2022 5:58 am

Good Morning/Afternoon/Evening

I am sorry I cannot help, I have the same doubt that you do, I am unable to connect Firebase to the Raspberry Pi Pico through Micropython. That is why I wanted to ask you if you were able to do so after all or if you were forced to use C or change the database?

Thank you very much!

I send you all my best wishes.

Kind regards!!

User avatar
scruss
Posts: 360
Joined: Sat Aug 12, 2017 2:27 pm
Location: Toronto, Canada
Contact:

Re: usocket/network librarie

Post by scruss » Tue Jun 14, 2022 6:10 pm

CookieNinja wrote:
Mon May 16, 2022 9:02 am
... I've been trying to get hold of the usocket and unetwork libraries
They should be built in. Try

Code: Select all

import usocket
in the REPL and see what it does.

Alternatively, try

Code: Select all

help('modules')
in the REPL to see the libraries built in

Post Reply