This is an old revision of the document!
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.
One of the base boards we are using is pysense: https://docs.pycom.io/product-info-datasheets/boards/pysense
PYCOM modules run on micropython: https://boneskull.com/micropython-on-esp32-part-1/
Interrupt handling on PYCOM: https://docs.pycom.io/firmware-and-api-reference/notes#interrupt-handling
Networking, all channels: https://docs.pycom.io/firmware-and-api-reference/pycom/network
LoRa: https://docs.pycom.io/firmware-and-api-reference/pycom/network/lora
LTE: https://docs.pycom.io/firmware-and-api-reference/pycom/network/lte
https://github.com/brocaar/pycom-examples/blob/master/pysense-example/main.py
https://docs.pycom.io/pytrack-pysense-pyscan/apireference/pysense
An excelent tutorial on MQTT with io.adafruit.com based on PYCOM
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 }