mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 11:06:37 +01:00
GitBook: [master] 105 pages and 326 assets modified
This commit is contained in:
committed by
gitbook-bot
parent
7f83446ce9
commit
764a0073d6
@@ -8,29 +8,29 @@ In Pybytes, go to `Devices` Page:
|
||||
|
||||
1. Click on `Add Device`.
|
||||
|
||||

|
||||

|
||||
|
||||
2. Select your device \(e.g., WiPy, LoPy, SiPy, etc.\);
|
||||
1. Select your device \(e.g., WiPy, LoPy, SiPy, etc.\);
|
||||
|
||||

|
||||

|
||||
|
||||
3. Select your shield \(e.g., PySense, PyTrack, PyScan or other\);
|
||||
1. Select your shield \(e.g., PySense, PyTrack, PyScan or other\);
|
||||
|
||||

|
||||

|
||||
|
||||
4. Select your network option;
|
||||
1. Select your network option;
|
||||
|
||||

|
||||

|
||||
|
||||
5. Enter a unique name and the network credentials \(SSID and password\) for your device;
|
||||
1. Enter a unique name and the network credentials \(SSID and password\) for your device;
|
||||
|
||||

|
||||

|
||||
|
||||
## Step 2: Connect your device to Pybytes
|
||||
|
||||
At the end of the "Add Device" wizard, Pybytes will give you two options for you to connect your device to Pybytes:
|
||||
|
||||

|
||||

|
||||
|
||||
Select how you would like to connect your device to Pybytes:
|
||||
|
||||
@@ -38,7 +38,7 @@ Select how you would like to connect your device to Pybytes:
|
||||
|
||||
{% page-ref page="quick.md" %}
|
||||
|
||||
2. [Connect your device by flashing Pybytes Library](flash.md)
|
||||
1. [Connect your device by flashing Pybytes Library](flash.md)
|
||||
|
||||
{% page-ref page="flash.md" %}
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@ From firmware 1.16.x onwards all Pycom devices come with Pybytes library build-i
|
||||
|
||||
At the last step of the "Add Device" process:
|
||||
|
||||

|
||||

|
||||
|
||||
1. Click on download "Pybytes library"
|
||||
|
||||

|
||||

|
||||
|
||||
You can also download _Pybytes library_ at the device's settings page:
|
||||
|
||||
1. Navigate to your device in Pybytes;
|
||||
1. Navigate to your device in Pybytes;
|
||||
2. On your device's page click on settings tab;
|
||||
3. Click on the button _Download_ at Pybytes library;
|
||||
|
||||

|
||||

|
||||
|
||||
### Step 2. Flash your device with Pymakr
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@ In case you want to extend Pybytes library you can flash Pybytes library manuall
|
||||
|
||||
At the last step of the "Add Device" process:
|
||||
|
||||

|
||||

|
||||
|
||||
1. Download the [firmware updater](https://pycom.io/downloads/) for your operating system;
|
||||
|
||||

|
||||

|
||||
|
||||
2. Copy the device token.
|
||||
1. Copy the device token.
|
||||
|
||||
### Step 2: Firmware updater
|
||||
|
||||
@@ -26,25 +26,24 @@ Install the Firmware updater on your computer.
|
||||
|
||||
1. Start the `Firmware updater`;
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
2. Select your device serial port \(Make sure your device is connected to your computer\);
|
||||
|
||||
3. Mark the options "Erase flash file system" and "Force update Pybytes registration";
|
||||
1. Select your device serial port \(Make sure your device is connected to your computer\);
|
||||
2. Mark the options "Erase flash file system" and "Force update Pybytes registration";
|
||||
|
||||

|
||||
|
||||
4. Paste your device token from Pybytes;
|
||||
1. Paste your device token from Pybytes;
|
||||
|
||||

|
||||

|
||||
|
||||
5. The firmware updater will update the device's firmware.
|
||||
1. The firmware updater will update the device's firmware.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## Next step: Set up your device's dashboard!
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ Once you have you account setup and are logged in Sigfox backend, you need to cr
|
||||
|
||||
Click on GROUP → <your\_company\_name> → API ACCESS → New
|
||||
|
||||

|
||||

|
||||
|
||||
In the form chose arbitrary _name_, select Profiles `DEVICE MANAGER [R]` and `DEVICE MANAGER [W]`. Then click on Ok.
|
||||
|
||||
@@ -38,5 +38,3 @@ Read more how to use Sigfox with [Custom contract](devkit.md).
|
||||
|
||||
{% page-ref page="custom.md" %}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ Detailed steps which are same for all devices are [**described here**](../quick.
|
||||
|
||||
After your device was flashed with Pybytes firmware in automatically start adding itself to Sigfox backend.
|
||||
|
||||

|
||||

|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ But every device you want to add to Pybytes you need register on Sigfox backend.
|
||||
|
||||
After you add your Sigfox credentials to Pybytes you can see DevKit contract type is selected as default \(on page Settings → Sigfox API\).
|
||||
|
||||

|
||||

|
||||
|
||||
## Add your device to Pybytes
|
||||
|
||||
|
||||
@@ -15,5 +15,3 @@ Now it's time to explore Pybytes. You can start by connecting your Pycom board t
|
||||
|
||||
{% page-ref page="add-device/" %}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Introduction
|
||||
|
||||

|
||||

|
||||
|
||||
## What is Pybytes?
|
||||
|
||||
|
||||
@@ -42,12 +42,12 @@ _thread.start_new_thread(send_env_data, ())
|
||||
1. Upload the code into your device. Now your device is sending data to Pybytes.
|
||||
|
||||
{% hint style="info" %}
|
||||
|
||||
In this code, we're calling the function `pybytes.send_virtual_pin_value(persistent, pin, value))` to communicate with Pybytes. This function is part of the Pybytes library, and it has three arguments: `persistent`, `pin` and `value`.
|
||||
|
||||
* `persistent` denotes information that is infrequently accessed and not likely to be modified;
|
||||
* `pin` represents which virtual pin is receiving data;
|
||||
* `value` is the value being attributed to that particular pin.
|
||||
{% endhint %}
|
||||
|
||||
## Step 2: Add a signal from your device
|
||||
|
||||
@@ -55,23 +55,23 @@ Go to Pybytes.
|
||||
|
||||
1. On `Devices` page select a device;
|
||||
|
||||

|
||||

|
||||
|
||||
2. On your device's page click on `Data` tab.
|
||||
1. On your device's page click on `Data` tab.
|
||||
|
||||

|
||||

|
||||
|
||||
3. Click on the `Define New Signal` button.
|
||||
1. Click on the `Define New Signal` button.
|
||||
|
||||

|
||||

|
||||
|
||||
4. Define the new signal by entering a number, a name, a data type and a unit. Finally, click on the button `Define`.
|
||||
1. Define the new signal by entering a number, a name, a data type and a unit. Finally, click on the button `Define`.
|
||||
|
||||

|
||||

|
||||
|
||||
5. Your signal was added!
|
||||
1. Your signal was added!
|
||||
|
||||

|
||||

|
||||
|
||||
{% hint style="info" %}
|
||||
The name and unit are labels used to identify your signal inside Pybytes \(In this example we defined `Sinwave` as the name of the signal and `Rad` as the unit\).
|
||||
@@ -87,27 +87,27 @@ The datatype also has to match the variable used as argument on `pybytes.send_vi
|
||||
|
||||

|
||||
|
||||
2. Click on the button `Create a new display`.
|
||||
1. Click on the button `Create a new display`.
|
||||
|
||||

|
||||

|
||||
|
||||
3. Select the type of visualisation \(e.g. Bar chart or Line chart\).
|
||||
1. Select the type of visualisation \(e.g. Bar chart or Line chart\).
|
||||
|
||||

|
||||
|
||||
4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.
|
||||
1. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.
|
||||
|
||||

|
||||

|
||||
|
||||
5. Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget.
|
||||
1. Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget.
|
||||
|
||||

|
||||
|
||||
6. Mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.
|
||||
1. Mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.
|
||||
|
||||

|
||||
|
||||
7. Click on the tab `Dashboard`. Your widget was successfully added there!
|
||||
1. Click on the tab `Dashboard`. Your widget was successfully added there!
|
||||
|
||||

|
||||
|
||||
@@ -115,13 +115,13 @@ The datatype also has to match the variable used as argument on `pybytes.send_vi
|
||||
|
||||
1. Click on the button `Organise`. Now the dashboard's grid will enter the edit mode and allow you to resize and reposition its widgets.
|
||||
|
||||

|
||||

|
||||
|
||||
2. Resize a widget by clicking on the triangle icon at the bottom right corner of the widget and drag the cursor over the grid. After, click on the button `Save` to save this action.
|
||||
1. Resize a widget by clicking on the triangle icon at the bottom right corner of the widget and drag the cursor over the grid. After, click on the button `Save` to save this action.
|
||||
|
||||

|
||||

|
||||
|
||||
3. Change the widget's position by drag-and-dropping it over the grid. After, click on the button `Save` to save this action.
|
||||
1. Change the widget's position by drag-and-dropping it over the grid. After, click on the button `Save` to save this action.
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user