Ligne 2 : |
Ligne 2 : |
| | | |
| == Introduction == | | == Introduction == |
− | {{ambox|text=Before starting this point, we recommand to follow all the sensors testing steps (BMP280 sensor, TMP36 Sensor, RFM69HCW radio and RFM69HCW Testing). | + | {{ambox|text=Before starting this point, we recommand to follow all the sensors testing steps (BMP280 sensor, TMP36 Sensor, RFM69HCW radio, RFM69HCW Testing and onboard NeoPixel). |
| | | |
| It contains all the details about the wiring, install needed libraries and conduct basic testing.}} | | It contains all the details about the wiring, install needed libraries and conduct basic testing.}} |
Ligne 9 : |
Ligne 9 : |
| * Air temperature | | * Air temperature |
| * Air pressure | | * Air pressure |
− | and transmissing the information via the RFM69HCW radio module. | + | and transmitting the information via the RFM69HCW radio module. |
| | | |
| == Wiring == | | == Wiring == |
Ligne 71 : |
Ligne 71 : |
| # Going autonomous (removing Serial Connexion waiting) + add the Lipo | | # Going autonomous (removing Serial Connexion waiting) + add the Lipo |
| | | |
− | The code proposed here under has been tested up to 22620128 (22.6 millions) iterations without issue, time when we decided to ends the test :-) . | + | The code proposed here under has been tested up to 23197 iterations without issue, time when we decided to ends the test :-) . |
| | | |
| Once uploaded to your Feather, open the Serial Monitor and set it to 9600 bauds. '''The sketch would wait until you open the Serial Monitor to start transmitting the data'''. | | Once uploaded to your Feather, open the Serial Monitor and set it to 9600 bauds. '''The sketch would wait until you open the Serial Monitor to start transmitting the data'''. |
Ligne 158 : |
Ligne 158 : |
| | | |
| == The code explained == | | == The code explained == |
− | Here some explanation about the {fname|mission1-serial-radio-capture.ino}} sketch used in the CanSat. | + | Here some explanation about the {{fname|mission1-serial-radio-capture.ino}} sketch used in the CanSat. |
| | | |
| This Arduino sketch would: | | This Arduino sketch would: |
Ligne 398 : |
Ligne 398 : |
| } | | } |
| </syntaxhighlight> | | </syntaxhighlight> |
| + | |
| + | == Fault tolerant design == |
| + | The goal is to transmit the data to the ground station.<br />The code of the Emitter (this section) and Receiver (next section) are doing the job. |
| + | |
| + | However, what would happens to your data if the antenna did break? All the data are lots! |
| + | |
| + | This is where the "Extra Flash" would be a great help! |
| + | |
| + | As showed earlier, it is also possible to store/save the data into the Flash. |
| + | |
| + | A good approach would be: |
| + | # to save the data in the Flash |
| + | # then send it over Radio. |
| + | |
| + | In this way, the data stays available inside the CanSat and could be extracted as suited. |
| | | |
| {{ENG-CANSAT-TRAILER}} | | {{ENG-CANSAT-TRAILER}} |