Table of Contents

PYCOM IoT Modules

PYCOM LoPy and FiPy are MC boards based on ESP32 SOC with additional communication options.

Wifi and BLE are intrinsic to ESP32. FiPy additionally provides LoRa, SigFox and NB-IoT / LTE-M. LoPy has LoRa.

PYCOM modules are programmable in the Python dialect MicroPython.

An excellent tutorial on MQTT with io.adafruit.com based on PYCOM

Web Development, JSON, POST

pymakr Plugin for VS Code

Gloabel Settings for pymakr

https://docs.pycom.io/pymakr/settings

The pymakr.json file stores the global settings (not individual project settings) under
C:\Users\<username>\AppData\Roaming\Code\User

Serial Port Connection for pymakr

pymakr.json
{
	"address": "COM25",
	"username": "micro",
	"password": "python",
	"sync_folder": "",
	"open_on_start": true,
	"safe_boot_on_upload": false,
	"sync_file_types": "py,txt,log,json,xml,html,js,css,mpy",
	"ctrl_c_on_connect": false,
	"sync_all_file_types": false,
	"auto_connect": false
}

Wifi Connection for pymakr

pymakr.json
{
	"address": "192.168.4.1",
	"username": "micro",
	"password": "python",
	"sync_folder": "",
	"open_on_start": true,
	"safe_boot_on_upload": false,
	"sync_file_types": "py,txt,log,json,xml,html,js,css,mpy",
	"ctrl_c_on_connect": false,
	"sync_all_file_types": false,
	"auto_connect": false
}