Arduino MKR WAN 1300

From SGMK-SSAM-WIKI
Jump to navigation Jump to search

Arduino

Gonzalo has some examples on how to get it up and running on his GitHub:

https://github.com/gonzalocasas/arduino-mkr-wan-1300

Just follow them and you should be up and running in no time

CircuitPython

Since the you want the real fun

Installing

https://learn.adafruit.com/welcome-to-circuitpython/non-uf2-installation

  1. Install bossa(c): http://www.shumatech.com/web/products/bossa
  2. Grab the latest CircuitPython .bin (pre release 4.0.something). https://github.com/adafruit/circuitpython/releases
  3. Install using bossa(c). I had problems on Linux so i tried it on Windows in the office using the GUI tool, just think of that offset of 0x2000

What I tested

  • Blink that LED
import board
import digitalio
import time

led = digitalio.DigitalInOut(board.D6)
led.direction = digitalio.Direction.OUTPUT

while True:
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)

Next Steps

  • Try to send something over LoRa