diff --git a/micropython/misc/test_devices.txt b/micropython/misc/test_devices.txt new file mode 100644 index 0000000..a32b7f4 --- /dev/null +++ b/micropython/misc/test_devices.txt @@ -0,0 +1,15 @@ +26 01 16 5C +26 01 18 52 +26 01 1E 4F +26 01 17 83 +26 01 1B 5C +26 01 1E B5 +26 01 13 DA +26 01 1E 8F +26 01 18 F1 +26 01 1A CE +26 01 12 F1 +26 01 1B 18 +26 01 19 40 +26 01 19 96 +26 01 18 FF diff --git a/micropython/misc/todo.txt b/micropython/misc/todo.txt new file mode 100644 index 0000000..eeb0de0 --- /dev/null +++ b/micropython/misc/todo.txt @@ -0,0 +1,15 @@ +TODO: + +1. Only certain frequencies are currently supported by the driver. The frequency can be specified by the 3-byte register FRF for the sx127x chip. For details see the datasheet. + +Example: + freq = 868.1E6 + temp = int(freq * 2**19 / f_xosc) + lsb = temp & 0xFF + mid = temp >> 8 & 0xFF + msb = temp >> 16 & 0xFF + +2. Spreading factors 11 and 12 do not work correctly with LoRaWAN. Possible reason: TTN mandates the use of 'Low datarate optimization' at these spreading factors. Maybe we can enable this in the driver? + +3. PBC for RFM95 module +https://github.com/attexx/rfm9x_breakout_board diff --git a/micropython/misc/upload_notes.txt b/micropython/misc/upload_notes.txt new file mode 100644 index 0000000..6658f77 --- /dev/null +++ b/micropython/misc/upload_notes.txt @@ -0,0 +1,11 @@ +Upload a file: +-------------- +ampy --port /dev/ttyUSB0 put main.py + +Run a file: +----------- +ampy --port /dev/ttyUSB0 run main.py + +REPL: +----- +picocom /dev/ttyUSB0 -b115200