Page 1 of 1

usocket/network librarie

Posted: Mon May 16, 2022 9:02 am
by CookieNinja
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

Re: usocket/network librarie

Posted: Tue Jun 14, 2022 5:58 am
by anna.marzetti
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!!

Re: usocket/network librarie

Posted: Tue Jun 14, 2022 6:10 pm
by scruss
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