Modifications

Sauter à la navigation Sauter à la recherche
966 octets ajoutés ,  12 octobre 2018 à 14:14
Ligne 155 : Ligne 155 :  
The code is the same for the both flavor, you must indicates the right frequency according to the module you have. Trying to generate 900Mhz signal on a 433Mhz would result in "nothing generated"!
 
The code is the same for the both flavor, you must indicates the right frequency according to the module you have. Trying to generate 900Mhz signal on a 433Mhz would result in "nothing generated"!
   −
The RFM69HCW 433Mhz can generate signal from 424 Mhz to 510 Mhz (see datasheet). You have to select the Frequency accordingly to the authorised Frequency Plan and Radio License. The 433 Mhz is free for use, please select your own frequency in that range.
+
The RFM69HCW 433Mhz can generate signal from 424 Mhz to 510 Mhz (see [https://cdn-shop.adafruit.com/product-files/3076/sx1231.pdf datasheet]). You have to select the Frequency accordingly to the authorised Frequency Plan and Radio License. The 433 Mhz is free for use, please select your own frequency in that range.
    
Locate the following lignes:
 
Locate the following lignes:
Ligne 168 : Ligne 168 :  
#define RF69_FREQ 433.0
 
#define RF69_FREQ 433.0
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
{{underline|'''Activate the Serial Line:'''}}
 +
 +
The begin of the {{fname|setup()}} function does contains the following lines.
 +
 +
<syntaxhighlight lang="c">void setup()
 +
{
 +
  Serial.begin(115200);
 +
  //while (!Serial) { delay(1); } // wait until serial console is open, remove if not tethered to computer
 +
</syntaxhighlight>
 +
 +
Update it and remove the comment mark in the front of the {{fname|while}} loop like showed here under.
 +
 +
<syntaxhighlight lang="c">void setup()
 +
{
 +
  Serial.begin(115200);
 +
  while (!Serial) { delay(1); } // wait until serial console is open, remove if not tethered to computer
 +
</syntaxhighlight>
 +
 +
This way, the Feather will wait for the "serial monitor" to be open before starting the sketch.
 +
 +
This {{fname|while}} loop is important otherwise, none of the serial.print() would be visible in the serial monitor.
 +
 +
Voilà, We are ready to compile and upload.
 +
 +
=== Compile and upload ===
    
{{ENG-CANSAT-TRAILER}}
 
{{ENG-CANSAT-TRAILER}}
29 910

modifications

Menu de navigation