Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.35 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.35 KB

Workshop

Workshop examples, Pycom Goal

Hardware

Development Tools

Services

Step By Step

1 - Assemble the hardware (Pycom board)

Start by connecting the Pycom to the expantion board and then connect the antenna to the Pycom board as shown in the picture: Connect the antenna

2 - Install the development tools

Install an IDE. We recommend Atom.io or Visual Studio Code. Open the IDE and install the plugin Pymakr.

If on Mac or Linux there could be a problem connecting to the serial port (usb) on your computer. This is due to a incompatibility in the Pymakr plugin. It could be fixed by information you find in update-electron.txt

3 - Connect to the Pycom board

4 - Create an application on TTN

Dev EUI - Get the Mac address

from network import LoRa
import ubinascii
lora = LoRa (mode=LoRa.LORAWAN)

ubinascii.hexlify(lora.mac())