| Ligne 200 : |
Ligne 200 : |
| | The frequency and encryption key must be updated from team to team to avoids messages collisions and cross-over transmission between the teams. | | The frequency and encryption key must be updated from team to team to avoids messages collisions and cross-over transmission between the teams. |
| | | | |
| − | As the organisator for your team frequency according to the Frequency Plan | + | As the organisator for your team frequency according to the [[ENG-CANSAT-PICO-FREQUENCY-PLAN|Frequency Plan ]] |
| | + | |
| | | | |
| | {{underline|'''Update for frequency plan, encryption key:'''}} | | {{underline|'''Update for frequency plan, encryption key:'''}} |
| | | | |
| − | The '''frequency''' used by the receiver RFM69HCW must be exactly the same as the emitter! | + | * The '''frequency''' used by the receiver RFM69HCW must be exactly the same as the emitter! |
| − | | + | * The '''Encryption key''' used by the receiver RFM69HCW must be exactly the same as the emitter! |
| − | The '''Encryption key''' used by the receiver RFM69HCW must be exactly the same as the emitter! | + | * The '''Node ID''' is the target node id (0..255) where the emitter must sent the messages. |
| − | | |
| − | The '''Node ID''' is the target node id (0..255) where the emitter must sent the messages | |
| | | | |
| | Locate the following lignes: | | Locate the following lignes: |
| Ligne 217 : |
Ligne 216 : |
| | </syntaxhighlight> | | </syntaxhighlight> |
| | | | |
| − | And update it to: | + | And update the value for '''FREQ''' and '''ENCRYPTION_KEY'''. |
| | | | |
| − | <syntaxhighlight lang="c">// Change to 434.0 or other frequency, must match RX's freq!
| + | The NODE_ID doesn't have to be updated, its is used as node identifier allowing message & ACK exchange between one receiver and several emitter (each having an unique NODE_ID (for the same ENCRYPTION_KEY and FREQ). |
| − | #define RF69_FREQ 433.0
| + | |
| − | </syntaxhighlight>
| + | {{underline|'''Openning the Serial Line:'''}} |
| | + | |
| | + | As we want to see the received message, we will open a terminal to receives the messages over the USB-Serial line. |
| | + | |
| | + | This can be done with the help of: |
| | + | * Thonny IDE (that will automatically open the USB-Serial port) |
| | + | * Putty (just open the USB-Serial port) |
| | + | * mpremote |
| | | | |
| − | {{underline|'''Activate the Serial Line:'''}}
| + | Just starts the script and wait for the message to comes |
| | | | |
| − | No need to change here as we are using an Arduino UNO.
| + | [[Fichier:ENG-CANSAT-PICO-RFM69HCW-TEST-20.png]] |
| | | | |
| − | Voilà, We are ready to compile and upload. | + | Voilà, We are ready to test the emitter (cansat). |
| | | | |
| | {{traduction}} | | {{traduction}} |