new getting started procedure

This commit is contained in:
gijsio
2020-08-11 16:16:04 +02:00
parent 1399e45895
commit 72d8c651ac
7 changed files with 21 additions and 15 deletions

View File

@@ -379,31 +379,31 @@ theme = "doc-theme"
weight = 10
[[menu.main]]
name = "pysense"
url = "/tutorials/expansionboards/pysense"
url = "/tutorials/expansionboards/pysense/"
identifier = "tutorials@expansionboards@pysense"
parent = "tutorials@expansionboards"
weight = 20
[[menu.main]]
name = "pysense 2.0 X"
url = "/tutorials/expansionboards/pysense2"
url = "/tutorials/expansionboards/pysense2/"
identifier = "tutorials@expansionboards@pysense2"
parent = "tutorials@expansionboards"
weight = 30
[[menu.main]]
name = "pytrack"
url = "/tutorials/expansionboards/pytrack"
url = "/tutorials/expansionboards/pytrack/"
identifier = "tutorials@expansionboards@pytrack"
parent = "tutorials@expansionboards"
weight = 40
[[menu.main]]
name = "pytrack 2.0 X"
url = "/tutorials/expansionboards/pytrack2"
url = "/tutorials/expansionboards/pytrack2/"
identifier = "tutorials@expansionboards@pytrack2"
parent = "tutorials@expansionboards"
weight = 50
[[menu.main]]
name = "pyscan"
url = "/tutorials/expansionboards/pyscan"
url = "/tutorials/expansionboards/pyscan/"
identifier = "tutorials@expansionboards@pyscan"
parent = "tutorials@expansionboards"
weight = 60

View File

@@ -20,7 +20,7 @@ In the following guide, we will explain the basic process to get started using y
<!-- ![](/gitbook/assets/getting_started%20%281%29.png) -->
# Step 1: Setting up the hardware
## Step 1: Setting up the hardware
Congratulations on your Pycom module! In the first part of this getting started guide, we will take you through setting up your device. Firstly we will cover how to connect the module to your computer via USB.
@@ -130,6 +130,14 @@ import os
os.fsformat('/flash')
```
## Getting started with
From here on, you can continue to use the additional features of your expansionboard:
|[ Pygate](/tutorials/expansionboards/pysense/)| [Pysense](/tutorials/expansionboards/pysense/) | [Pysense 2.0 X](/tutorials/expansionboards/pysense/)| [Pytrack](/tutorials/expansionboards/pysense/)| [Pytrack 2.0 X](/tutorials/expansionboards/pysense/)| [PyScan ](/tutorials/expansionboards/pysense/)|
|:---|:---|:---|:---|:---|:---|
| ![](/gitbook/assets/expansion_board_3_lopy4.png)|![](/gitbook/assets/pysense_icon.png) | ![](/gitbook/assets/pytrack_icon.png)| ![](/gitbook/assets/pytrack_icon.png)| ![](/gitbook/assets/pytrack_icon.png)| ![](/gitbook/assets/pytrack_icon.png) |
# Step 4: Further reading
Now that we got the basic example running, you can continue with the links below.

View File

@@ -6,9 +6,9 @@ aliases:
- chapter/tutorials/expansionboards
disable_breadcrumbs: true
---
>Note: Before using the pysense and pytrac boards, check the [GitHub](https://github.com/pycom/pycom-libraries) for the latest version of the libraries.
>Note: Before using the Pysense, Pytrack or Pyscan board, check the [GitHub](https://github.com/pycom/pycom-libraries) for the latest version of the libraries.
Make a folder inside your project folder and call it `lib`. Then, copy the appropiate libraries from the github repository to the folder. Always copy the `pysense.py` or `pytrack.py` and `pycoproc.py` files if you want to use the boards' functions
Make a folder inside your project folder and call it `lib`. Then, copy the appropiate libraries from the github repository to the folder. Always copy the `pysense.py`, `pytrack.py` or `pyscan.py` *and* `pycoproc.py` files if you want to use the boards' functions
* [Pygate](../expansionboards/pygate/)
* [Pysense](../expansionboards/pysense/)

View File

@@ -2,9 +2,8 @@
The Pygate is an 8-channel LoRaWAN gateway. This page will help you get started with it.
{{% hint style="info" %}}
While the Pygate shield has the radio chips required to act as a LoRaWAN gateway, it will require a WiPy3, GPy or LoPy4 to run the LoRaWAN gateway software and provide connectivity to the LoRaWAN server (TTN / ChirpStack etc.) via WiFi, Ethernet (with the optional PyEthernet adapter) or LTE-M (a GPy with a mobile subscription is required for LTE-M connectivity).
{{% /hint %}}
>While the Pygate shield has the radio chips required to act as a LoRaWAN gateway, it will require a WiPy3, GPy or LoPy4 to run the LoRaWAN gateway software and provide connectivity to the LoRaWAN server (TTN / ChirpStack etc.) via WiFi, Ethernet (with the optional PyEthernet adapter) or LTE-M (a GPy with a mobile subscription is required for LTE-M connectivity).
A USB connection is recommended for the initial firmware update of the Pycom development module (WiPy 3, GPy, LoPy4) and to upload the configuration & start-up script. The module can be updated over the air via WiFi / LTE-M (depending on network capabilities) or via Ethernet connection which allows installation of the gateway in remote locations.

View File

@@ -8,12 +8,11 @@ aliases:
Both the Pysense and Pytrack use the same accelerometer. Please see the [Pysense Examples](../pysense) to see how to use the accelerometer.
>Note: You need to add the libraries from [here](https://github.com/pycom/pycom-libraries/tree/master/pytrack) in the `lib` folder of your project before the example will work. You can also find the example in there.
## Example
>Note: You need to add the libraries in the `lib` folder before the example will work
You can find this example in the [pycom/pycom-libraries](https://github.com/pycom/pycom-libraries) GitHub repository.
```python
import machine

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB