Ligne 117 : |
Ligne 117 : |
| | | |
| == Check the wiring == | | == Check the wiring == |
− | An easy way to check the wiring is to execute the "rfmtest_config.py" (TODO TODO TODO TODO) from the [https://github.com/mchobby/cansat-belgium-micropython cansat-belgium-micropython] | + | An easy way to check the wiring is to execute the "test-rfm69/test_config.py" (TODO TODO TODO TODO) from the [https://github.com/mchobby/cansat-belgium-micropython cansat-belgium-micropython] . |
| + | |
| + | If the script can properly establish a communication with the module, it will returns the following results: |
| + | |
| + | <syntaxhighlight lang="bash">RFM version : 36 |
| + | Freq : 433.1 |
| + | Freq. deviation : 250000.0 Hz |
| + | bitrate : 250000.0 bits/sec |
| + | tx power : 13 dBm |
| + | tx power : 19.95262 mW |
| + | Temperature : 23 Celsius |
| + | Sync on : yes |
| + | Sync size : 1 |
| + | Sync Word Length: 2 (Sync size+1) |
| + | Sync Word : bytearray(b'-\xd4') |
| + | crc on : 1 |
| + | Preamble Lenght : 4 |
| + | aes on : 1 |
| + | Encryption Key : bytearray(b'\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08')</syntaxhighlight> |
| | | |
| == The Emitter == | | == The Emitter == |