Modifications

Sauter à la navigation Sauter à la recherche
245 octets ajoutés ,  22 novembre 2022 à 20:35
Ligne 14 : Ligne 14 :  
# The encryption key must be identical on the both side.
 
# The encryption key must be identical on the both side.
 
# Node_IDs used to allow ACK exchange between nodes
 
# Node_IDs used to allow ACK exchange between nodes
  −
[[Fichier:ENG-CANSAT-PICO-RFM69HCW-TEST-00a.jpg|640px]]
      
In this simple example:
 
In this simple example:
Ligne 21 : Ligne 19 :  
# The '''Data Receiver''' (BaseStation) will receive the message.
 
# The '''Data Receiver''' (BaseStation) will receive the message.
 
# The '''Data Receiver''' (BaseStation) will send a ACK reply.
 
# The '''Data Receiver''' (BaseStation) will send a ACK reply.
 +
 +
The following sequence diagram (click to enlarge) shows how the calls takes place within scripts, within the library and within the air.
 +
 +
[[Fichier:ENG-CANSAT-PICO-RFM69HCW-TEST-00a.png|705px]]
    
== Installing the RFM69 library ==
 
== Installing the RFM69 library ==
Ligne 173 : Ligne 175 :  
|-
 
|-
 
| MOSI
 
| MOSI
| GP7 (Miso)
+
| GP7 (Mosi)
 
|-
 
|-
 
| MISO
 
| MISO
| GP4 (Mosi)
+
| GP4 (Miso)
 
|-
 
|-
 
| SCK
 
| SCK
Ligne 271 : Ligne 273 :  
Here how to wire the RFM69 module to the {{pl|2271|base board of Cansat Kit with Pico}} as recommended.  
 
Here how to wire the RFM69 module to the {{pl|2271|base board of Cansat Kit with Pico}} as recommended.  
   −
[[Fichier:ENG-CANSAT-PICO-RFM69HCW-to-Cansat-Pico-Base.jpg|640px]]
+
[[Fichier:ENG-CANSAT-PICO-RFM69HCW-to-Cansat-Pico-Base-fixed.jpg|640px]]
    
{| class="wikitable"  
 
{| class="wikitable"  
Ligne 290 : Ligne 292 :  
| keep the same pin as receiver.<br />Otherwise use UEXT 10 (=gp10)
 
| keep the same pin as receiver.<br />Otherwise use UEXT 10 (=gp10)
 
|-
 
|-
| MOSI
+
| MISO
 
| 7
 
| 7
 
|  
 
|  
 
| GP4 = MISO
 
| GP4 = MISO
 
|-
 
|-
| MISO
+
| MOSI
 
| 8
 
| 8
 
|  
 
|  
Ligne 316 : Ligne 318 :  
|}
 
|}
    +
{{ambox | text = 22/11/2022 21:23 - ''fixed the wiring miso-->miso & mosi-->mosi in the diagram''.}}
 
{{ambox|text=The "''Slave Select''" line on the UEXT connector is not used in this setup because it is wired to PICO GP10. As we want the RFM69 setup code to be the same between the emitter and the receiver... we do need to wire the RFM69's CS line to GP5.}}
 
{{ambox|text=The "''Slave Select''" line on the UEXT connector is not used in this setup because it is wired to PICO GP10. As we want the RFM69 setup code to be the same between the emitter and the receiver... we do need to wire the RFM69's CS line to GP5.}}
  
29 918

modifications

Menu de navigation