Connecting and Sending PyCom LoPy 4 Data to a Server



  • Hello guys,

    I am really new to using the PyCom and there are a couple of things I am trying to do but don't know how to do them. I want to connect a sensor to the PyCom which will collect data and then transmit that data to a server. The main issue is connecting the PyCom to the server and then transmitting the data to it.

    Is it possible to do this? I was thinking I could create a server on Digital Ocean and then somehow connect the PyCom to it. If this is possible how would I go about doing this? I have visited PyComs website and read through some of their documentation but I am still not sure how to go about implementing it.

    Any help would be appreciated!



  • D not forget LoRa as an option if it is a LoPy 4 device.



  • @letsgo depend on what you are looking for. It can be as simple as connecting through wifi to your server domain or IP. Use WLAN for this.
    You can also use MQQT to an a IOT edge service like they offer Amazon or Azure.
    Relaying on Sigfox (If you have compatible Pycom hardware) and then a callback to your server.


 

Pycom on Twitter