Modifications

Sauter à la navigation Sauter à la recherche
Ligne 51 : Ligne 51 :  
{{ambox|text=It also possible to start the script from REPL with the instruction {{fname|import basestation}} }}
 
{{ambox|text=It also possible to start the script from REPL with the instruction {{fname|import basestation}} }}
   −
The data can be view onto the REPL/Shell session by using Thonny, Putty, MPRemote.
+
The data can be view onto the REPL/Shell session by using Thonny, Putty, MPRemote, cat (under Linux).
    
You should see the following messages appearing in the REPL.
 
You should see the following messages appearing in the REPL.
Ligne 61 : Ligne 61 :  
[[Fichier:ENG-CANSAT-PICO-MISSION1-RECEIVER-20.png]]
 
[[Fichier:ENG-CANSAT-PICO-MISSION1-RECEIVER-20.png]]
   −
{{ambox-stop|text=The tmp36 values are not consistant because the sensor wasn't attached to the board!}}
+
{{ambox-stop|text=The tmp36 values are not consistent because the sensor wasn't attached to the board!}}
    
Where we could see the received messages with additional information.
 
Where we could see the received messages with additional information.
Ligne 85 : Ligne 85 :  
* The temperature (from tmp36, analog)
 
* The temperature (from tmp36, analog)
 
* The temperature2 (from bmp280)
 
* The temperature2 (from bmp280)
 +
 +
== Extra ==
 +
=== View received data ===
 +
If by any changes you do have a '''Linux''' computer, a '''Raspberry-Pi''' or an '''Apple''' computer then you can easily capture the serial data with the {{fname|cat}} command line utility.
 +
 +
Before using {{fname|cat}}, we do need to identifies the computer device attached to the USB-Serial connection.
 +
 +
The {{fname|dmesg}} command line tools inspecting kernel message car greatly helps to identify the device name.
 +
 +
[[Fichier:ENG-CANSAT-PICO-MISSION1-RECEIVE-20.png]]
 +
 +
=== Catching the data ===
    
{{ENG-CANSAT-PICO-TRAILER}}
 
{{ENG-CANSAT-PICO-TRAILER}}
29 917

modifications

Menu de navigation