mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 00:04:15 +01:00
Fix erronous icon links
This commit is contained in:
11
.project
Normal file
11
.project
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>pycom-documentation</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
||||||
@@ -43,7 +43,7 @@ As of version `1.12.0.b0` of the firmware update tool, you can now provide a `.t
|
|||||||
|
|
||||||
When you start the update tool you will see the following screen:
|
When you start the update tool you will see the following screen:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
When you tick the `Flash from local file` option, an address bar will appear. Click the `...` button and locate the `.tar(.gz)` file with the firmware you wish to flash to your device. From this point the updater will behave just like a regular update but using the local file instead of downloading the latest.
|
When you tick the `Flash from local file` option, an address bar will appear. Click the `...` button and locate the `.tar(.gz)` file with the firmware you wish to flash to your device. From this point the updater will behave just like a regular update but using the local file instead of downloading the latest.
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ The pinout of the Deep Sleep Shield is available as a PDF File
|
|||||||
<a href="/gitbook/assets/deepsleep-pinout.pdf" target="_blank"> Deep Sleep Pinout </a>
|
<a href="/gitbook/assets/deepsleep-pinout.pdf" target="_blank"> Deep Sleep Pinout </a>
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
{{% hint style="info" %}}
|
{{% hint style="info" %}}
|
||||||
To correctly connect a WiPy 2.0, LoPy or SiPy to the Deep Sleep Shield, align the white triangle on the Shield with the Pycom device's LED. Once the Pycom device is seated with the Deep Sleep Shield, this can then be connected to the Expansion Board
|
To correctly connect a WiPy 2.0, LoPy or SiPy to the Deep Sleep Shield, align the white triangle on the Shield with the Pycom device's LED. Once the Pycom device is seated with the Deep Sleep Shield, this can then be connected to the Expansion Board
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ The pinout of the Deep Sleep Shield is available as a PDF File
|
|||||||
<a href="/gitbook/assets/deepsleep-pinout.pdf" target="_blank"> Deep Sleep Pinout </a>
|
<a href="/gitbook/assets/deepsleep-pinout.pdf" target="_blank"> Deep Sleep Pinout </a>
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
{{% hint style="info" %}}
|
{{% hint style="info" %}}
|
||||||
To correctly connect a WiPy 2.0, LoPy or SiPy to the Deep Sleep Shield, align the white triangle on the Shield with the LED of the Pycom Device. Once the Pycom Device is seated onto the Deep Sleep Shield, this can then be connected to the Expansion Board
|
To correctly connect a WiPy 2.0, LoPy or SiPy to the Deep Sleep Shield, align the white triangle on the Shield with the LED of the Pycom Device. Once the Pycom Device is seated onto the Deep Sleep Shield, this can then be connected to the Expansion Board
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ aliases:
|
|||||||
- chapter/datasheets/oem/l01_reference
|
- chapter/datasheets/oem/l01_reference
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The L01 OEM reference board is a reference design suitable for the L01 as well as the W01. It makes it possible to have a single PCB design that can accommodate both of the OEM modules.
|
The L01 OEM reference board is a reference design suitable for the L01 as well as the W01. It makes it possible to have a single PCB design that can accommodate both of the OEM modules.
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ aliases:
|
|||||||
- chapter/datasheets/oem/universal_reference
|
- chapter/datasheets/oem/universal_reference
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The universal OEM reference board is a reference design suitable for the W01, L01, L04 and G01 OEM modules, making it possible to have a single PCB design that can accommodate all of our OEM modules.
|
The universal OEM reference board is a reference design suitable for the W01, L01, L04 and G01 OEM modules, making it possible to have a single PCB design that can accommodate all of our OEM modules.
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ disable_breadcrumbs: true
|
|||||||
|
|
||||||
So, you've decided to order a Pycom development module. Firstly we would like to congratulate you in making an excellent decision. If you haven't yet placed your order we highly recommend you check out the [products](../products) page before you place your order to ensure you know which accessories you might require.
|
So, you've decided to order a Pycom development module. Firstly we would like to congratulate you in making an excellent decision. If you haven't yet placed your order we highly recommend you check out the [products](../products) page before you place your order to ensure you know which accessories you might require.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## [Step 1: Setting up the hardware](connection/)
|
## [Step 1: Setting up the hardware](connection/)
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ First navigate open the Windows start menu and search/navigate to \`Device Manag
|
|||||||
|
|
||||||
Right click the device and select `Update Driver Software`.
|
Right click the device and select `Update Driver Software`.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Select the option to **Browse my computer for driver software**.
|
Select the option to **Browse my computer for driver software**.
|
||||||
|
|
||||||
@@ -41,15 +41,15 @@ Select the option to **Browse my computer for driver software**.
|
|||||||
|
|
||||||
Next you will need to navigate to where you downloaded the driver to (e.g. **Downloads** Folder).
|
Next you will need to navigate to where you downloaded the driver to (e.g. **Downloads** Folder).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Specify the folder in which the drivers are contained. If you haven't extracted the `.zip` file, please do this before selecting the folder.
|
Specify the folder in which the drivers are contained. If you haven't extracted the `.zip` file, please do this before selecting the folder.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You may receive a warning, suggesting that Windows can't verify the publisher of this driver. Click `Install this driver software anyway` as this link points to our official driver.
|
You may receive a warning, suggesting that Windows can't verify the publisher of this driver. Click `Install this driver software anyway` as this link points to our official driver.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If the installation was successful, you should now see a window specifying that the driver was correctly installed.
|
If the installation was successful, you should now see a window specifying that the driver was correctly installed.
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ aliases:
|
|||||||
- chapter/gettingstarted/installation/pymakr
|
- chapter/gettingstarted/installation/pymakr
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Pymakr Plugins <a id="pymakr-plugins"></a>
|
## Pymakr Plugins <a id="pymakr-plugins"></a>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ aliases:
|
|||||||
|
|
||||||
Our boards work with [MicroPython](https://micropython.org/); a Python 3.5 implementation that is optimised to run on micro controllers. This allows for much faster and more simple development process than using C.
|
Our boards work with [MicroPython](https://micropython.org/); a Python 3.5 implementation that is optimised to run on micro controllers. This allows for much faster and more simple development process than using C.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Booting into MicroPython
|
## Booting into MicroPython
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ When booting, two files are executed automatically: first `boot.py` and then `ma
|
|||||||
|
|
||||||
The folder structure in `/flash` looks like the picture below. The files can be managed either using FTP or using the Pymakr Plugin.
|
The folder structure in `/flash` looks like the picture below. The files can be managed either using FTP or using the Pymakr Plugin.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Tips & Tricks
|
## Tips & Tricks
|
||||||
|
|
||||||
|
|||||||
@@ -62,5 +62,5 @@ Follow "Importer des capteurs" under "Statuc do Parc" and select "Provisioning U
|
|||||||
|
|
||||||
Once there give your device a name and enter the DevEUI, AppEUI, and AppKey obtained from the steps above:
|
Once there give your device a name and enter the DevEUI, AppEUI, and AppKey obtained from the steps above:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ You can also setup your Pycom module to act as a gateway with The Things Network
|
|||||||
|
|
||||||
Inside the TTN Console, there are two options, `Applications` and `Gateways`. Select `Gateways` and then click on `register Gateway`. This will allow for the set up and registration of a new nano-gateway.
|
Inside the TTN Console, there are two options, `Applications` and `Gateways`. Select `Gateways` and then click on `register Gateway`. This will allow for the set up and registration of a new nano-gateway.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
On the Register Gateway page, you will need to set the following settings:
|
On the Register Gateway page, you will need to set the following settings:
|
||||||
|
|
||||||
@@ -80,6 +80,6 @@ Most LoRaWAN network servers expect a Gateway ID in the form of a unique 64-bit
|
|||||||
|
|
||||||
Once these settings have been applied, click `Register Gateway`. A Gateway Overview page will appear, with the configuration settings showing. Next click on the `Gateway Settings` and configure the Router address to match that of the gateway (default: `router.eu.thethings.network`).
|
Once these settings have been applied, click `Register Gateway`. A Gateway Overview page will appear, with the configuration settings showing. Next click on the `Gateway Settings` and configure the Router address to match that of the gateway (default: `router.eu.thethings.network`).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The `Gateway` should now be configured.
|
The `Gateway` should now be configured.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ print(binascii.hexlify(sigfox.pac()))
|
|||||||
|
|
||||||
You need to register to the Sigfox Backend. Navigate to [https://backend.sigfox.com/activate](https://backend.sigfox.com/activate)
|
You need to register to the Sigfox Backend. Navigate to [https://backend.sigfox.com/activate](https://backend.sigfox.com/activate)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Find the specific country country where the device will be activated. Enter the device's _Sigfox ID_ and _Sigfox PAC_.
|
Find the specific country country where the device will be activated. Enter the device's _Sigfox ID_ and _Sigfox PAC_.
|
||||||
|
|
||||||
@@ -73,10 +73,10 @@ Once you register your device on Sigfox backend, then your Sigfox PAC was used,
|
|||||||
|
|
||||||
To get new Sigfox PAC navigate to your device on Sigfox backend. On _device_ click on Sigfox Id of device you want to transfer.
|
To get new Sigfox PAC navigate to your device on Sigfox backend. On _device_ click on Sigfox Id of device you want to transfer.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Now you can see your new Sigfox PAC.
|
Now you can see your new Sigfox PAC.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Once you know your new Sigfox PAC go to [https://backend.sigfox.com/activate](https://backend.sigfox.com/activate) and register device with different account.
|
Once you know your new Sigfox PAC go to [https://backend.sigfox.com/activate](https://backend.sigfox.com/activate) and register device with different account.
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ After installing the Pymakr Plugin, you need to take a few seconds to configure
|
|||||||
|
|
||||||
3. Now it should show three arrows `>>>`, indicating that you are connected!
|
3. Now it should show three arrows `>>>`, indicating that you are connected!
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
These settings can also be applied on a per project basis by clicking `Settings` then `Project Settings`. This will open a JSON file which you can edit to enter your desired settings.
|
These settings can also be applied on a per project basis by clicking `Settings` then `Project Settings`. This will open a JSON file which you can edit to enter your desired settings.
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ Please follow these steps to install the [Pymakr VSCode Extension](https://marke
|
|||||||
|
|
||||||
5. That's it! You've installed the Pymakr Extension for VSCode
|
5. That's it! You've installed the Pymakr Extension for VSCode
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Connecting via Serial USB
|
## Connecting via Serial USB
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ After installing the Pymakr Plugin, you need to take a few seconds to configure
|
|||||||
|
|
||||||
7. Finally close the JSON file, click `All commands`, then `Pymakr > Connect` to connect your device. The Pymakr console should show three arrows `>>>`, indicating that you are connected
|
7. Finally close the JSON file, click `All commands`, then `Pymakr > Connect` to connect your device. The Pymakr console should show three arrows `>>>`, indicating that you are connected
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
These settings can also be applied on a per project basis by clicking `All commands` then `Pymakr > Project Settings`. This will open a JSON file which you can edit to enter your desired settings for the currently open project.
|
These settings can also be applied on a per project basis by clicking `All commands` then `Pymakr > Project Settings`. This will open a JSON file which you can edit to enter your desired settings for the currently open project.
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ The Pymakr Plugins have a feature to sync and upload code to a device. This can
|
|||||||
|
|
||||||
To start using the `Upload` feature, ensure that a project folder has been created for the device. For example, if using the `pymakr.conf` from above, this project folder should be named `scripts`. This folder should have the following structure:
|
To start using the `Upload` feature, ensure that a project folder has been created for the device. For example, if using the `pymakr.conf` from above, this project folder should be named `scripts`. This folder should have the following structure:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Library files should be placed into the `lib` folder, certificates into the `cert` folder and so on. The `Upload` button will take the highest level folder (currently open) and upload this to the connected Pycom device. The files will be pushed to the device in exactly the same structure as within the code editor's file directory.
|
Library files should be placed into the `lib` folder, certificates into the `cert` folder and so on. The `Upload` button will take the highest level folder (currently open) and upload this to the connected Pycom device. The files will be pushed to the device in exactly the same structure as within the code editor's file directory.
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ First navigate open the Windows start menu and search/navigate to `Device Manage
|
|||||||
|
|
||||||
Right click the device and select `Update Driver Software`.
|
Right click the device and select `Update Driver Software`.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Select the option to **Browse my computer for driver software**.
|
Select the option to **Browse my computer for driver software**.
|
||||||
|
|
||||||
@@ -32,15 +32,15 @@ Select the option to **Browse my computer for driver software**.
|
|||||||
|
|
||||||
Next you will need to navigate to where you downloaded the driver to (e.g. **Downloads** Folder).
|
Next you will need to navigate to where you downloaded the driver to (e.g. **Downloads** Folder).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Specify the folder in which the drivers are contained. If you haven't extracted the `.zip` file, please do this before selecting the folder.
|
Specify the folder in which the drivers are contained. If you haven't extracted the `.zip` file, please do this before selecting the folder.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You may receive a warning, suggesting that windows can't verify the publisher of this driver. Click `Install this driver software anyway` as this link points to our official driver.
|
You may receive a warning, suggesting that windows can't verify the publisher of this driver. Click `Install this driver software anyway` as this link points to our official driver.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If the installation was successful, you should now see a window specifying that the driver was correctly installed.
|
If the installation was successful, you should now see a window specifying that the driver was correctly installed.
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ aliases:
|
|||||||
disable_breadcrumbs: true
|
disable_breadcrumbs: true
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Tutorials and Examples
|
## Tutorials and Examples
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ duration = 10000
|
|||||||
rmt.pulses_send(duration, data)
|
rmt.pulses_send(duration, data)
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
In this example we define the signal by a tuple of durations and what state the signal starts in.
|
In this example we define the signal by a tuple of durations and what state the signal starts in.
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ duration = (400,200,100,300,200,400)
|
|||||||
rmt.pulses_send(duration, data)
|
rmt.pulses_send(duration, data)
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The following example creates an RMT object on channel 4 and configures it for transmission with carrier modulation.
|
The following example creates an RMT object on channel 4 and configures it for transmission with carrier modulation.
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ aliases:
|
|||||||
- chapter/tutorials
|
- chapter/tutorials
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Tutorials and Examples
|
## Tutorials and Examples
|
||||||
|
|
||||||
|
|||||||
@@ -361,7 +361,7 @@ Once an account has been registered, the nano-gateway can then be registered. To
|
|||||||
|
|
||||||
Inside the TTN Console, there are two options, `applications` and `gateways`. Select `gateways` and then click on `register gateway`. This will allow for the set up and registration of a new nano-gateway.
|
Inside the TTN Console, there are two options, `applications` and `gateways`. Select `gateways` and then click on `register gateway`. This will allow for the set up and registration of a new nano-gateway.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
On the Register Gateway page, you will need to set the following settings:
|
On the Register Gateway page, you will need to set the following settings:
|
||||||
|
|
||||||
@@ -382,7 +382,7 @@ The Gateway EUI should match your Gateway ID from the `config.py` file. We sugge
|
|||||||
|
|
||||||
Once these settings have been applied, click `Register Gateway`. A Gateway Overview page will appear, with the configuration settings showing. Next click on the `Gateway Settings` and configure the Router address to match that of the gateway (default: `router.eu.thethings.network`).
|
Once these settings have been applied, click `Register Gateway`. A Gateway Overview page will appear, with the configuration settings showing. Next click on the `Gateway Settings` and configure the Router address to match that of the gateway (default: `router.eu.thethings.network`).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The `Gateway` should now be configured. Next, one or more nodes can now be configured to use the nano-gateway and TTN applications may be built.
|
The `Gateway` should now be configured. Next, one or more nodes can now be configured to use the nano-gateway and TTN applications may be built.
|
||||||
|
|
||||||
@@ -541,22 +541,22 @@ Once the device has been added, change the `Activation Method` between `OTAA` an
|
|||||||
|
|
||||||
Now that the data is arriving on the TTN Backend, TTN can be managed as to where data should be delivered to. To do this, use the `Integrations` tab within the new Application's settings.
|
Now that the data is arriving on the TTN Backend, TTN can be managed as to where data should be delivered to. To do this, use the `Integrations` tab within the new Application's settings.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Upon clicking `add integration`, a screen with 4 different options will appear. These have various functionality and more information about them can be found on the TTN website/documentation.
|
Upon clicking `add integration`, a screen with 4 different options will appear. These have various functionality and more information about them can be found on the TTN website/documentation.
|
||||||
|
|
||||||
For this example, use the `HTTP Integration` to forward the LoRaWAN Packets to a remote server/address.
|
For this example, use the `HTTP Integration` to forward the LoRaWAN Packets to a remote server/address.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Click `HTTP Integration` to connect up an endpoint that can receive the data.
|
Click `HTTP Integration` to connect up an endpoint that can receive the data.
|
||||||
|
|
||||||
For testing, a website called [RequestBin](https://requestbin.com/), may be used to receive the data that TTN forwards (via POST Request). To set this up, navigate to [RequestBin](https://requestbin.com/) and click the `Create a RequestBin`.
|
For testing, a website called [RequestBin](https://requestbin.com/), may be used to receive the data that TTN forwards (via POST Request). To set this up, navigate to [RequestBin](https://requestbin.com/) and click the `Create a RequestBin`.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Copy the URL that is generated and past this into the `URL` form under the `Application Settings`.
|
Copy the URL that is generated and past this into the `URL` form under the `Application Settings`.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This is the address that TTN will forward data onto. As soon as a LoPy starts sending messages, TTN will forward these onto `RequestBin` and they will appear at the unique `RequestBin URL`.
|
This is the address that TTN will forward data onto. As soon as a LoPy starts sending messages, TTN will forward these onto `RequestBin` and they will appear at the unique `RequestBin URL`.
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ while True:
|
|||||||
time.sleep_ms(100)
|
time.sleep_ms(100)
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If you want to visualise the data output by this script a Processing sketch is available [here](https://github.com/pycom/pycom-libraries/tree/master/examples/pytrack_pysense_accelerometer) that will show the board orientation in 3D.
|
If you want to visualise the data output by this script a Processing sketch is available [here](https://github.com/pycom/pycom-libraries/tree/master/examples/pytrack_pysense_accelerometer) that will show the board orientation in 3D.
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ Firstly you will need to log into the [Sigfox Backend](https://backend.sigfox.co
|
|||||||
|
|
||||||
You should now see the Information page with an entry `Device Type:` followed by a link. Please follow the link
|
You should now see the Information page with an entry `Device Type:` followed by a link. Please follow the link
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Finally, on this page click on `Disengage sequence number` button in the upper right corner.
|
Finally, on this page click on `Disengage sequence number` button in the upper right corner.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user