Modifications

Sauter à la navigation Sauter à la recherche
353 octets ajoutés ,  27 février 2022 à 21:41
Ligne 8 : Ligne 8 :  
As the kit contains only one micro controller (the Feather M0 Express), we will use the very common '''Arduino UNO''' (not included) as micro controller for the '''Data Receiver'''.
 
As the kit contains only one micro controller (the Feather M0 Express), we will use the very common '''Arduino UNO''' (not included) as micro controller for the '''Data Receiver'''.
   −
In this simple exemple:
+
In this simple example:
 
# The '''Data Emitter''' will send a message and wait 500ms for a response.
 
# The '''Data Emitter''' will send a message and wait 500ms for a response.
 
# The '''Data Receiver''' will receive the message.
 
# The '''Data Receiver''' will receive the message.
Ligne 84 : Ligne 84 :     
where the tuned frequency is declared with the constant '''RF69_FREQ'''.
 
where the tuned frequency is declared with the constant '''RF69_FREQ'''.
 +
 +
{{ambox-stop|text=Use the frequency assigned to your team by the instructor.}}
 +
 +
In packet radio, several teams can share the same frequency if they use distinct encryption key.
 +
 +
Like TCP (from TCP/IP network), the packet radio is able to detect packet colission try to recover from it.
 +
 +
However, more teams share the same frequency, more collision we have.
    
=== Encyption Key ===
 
=== Encyption Key ===
Ligne 95 : Ligne 103 :  
rf69.setEncryptionKey(key);</syntaxhighlight>
 
rf69.setEncryptionKey(key);</syntaxhighlight>
   −
{{ambox-stop|text=It is highly recommended for each team to define their proper encryption key.}}
+
{{ambox-stop|text=It is highly recommended for each team to define its own encryption key.}}
    
'''When all the teams do use the same frequency and the same key''' then they will all receives the messages from the other teams sending messages. Your messages will also been received by all the other teams.
 
'''When all the teams do use the same frequency and the same key''' then they will all receives the messages from the other teams sending messages. Your messages will also been received by all the other teams.
29 836

modifications

Menu de navigation