Différences entre versions de « ENG-CANSAT-MISSION1-CAPTURE »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 65 : Ligne 65 :
 
# Testing the radio reception
 
# Testing the radio reception
 
# Going autonomous (removing Serial Connexion waiting) + add the Lipo
 
# Going autonomous (removing Serial Connexion waiting) + add the Lipo
 +
=== LED and errors ===
 +
x
 
=== Reading and transmitting data ===
 
=== Reading and transmitting data ===
 
This Arduino sketch would:
 
This Arduino sketch would:

Version du 29 octobre 2018 à 18:04

Introduction

The following Wiring is used to capture

  • Air temperature
  • Air pressure

and transmissing the information via the RFM69HCW radio module.

Wiring

Wire the barometric sensor

The BMP280 is wired on the I2C bus of the Feather.

ENG-CANSAT-BMP280-wiring.png

Wire the temperature sensor

Then connect the TMP36 sensor as follows:

  • The pin 1 (on the left) to a power source (3.3V),
  • The pin 3 (the the right droite) to the ground/GND.
  • The pin 2 (middle one) to the A3 analogue input.

ENG-CANSAT-TMP36-01.png

Wire the radio module

Finally wire the RFM69HCW radio as follows:

ENG-CANSAT-RFM69HCW-Wiring-Feather.jpg

Feather M0 Express RFM69
3V VIN
GND GND
MO MOSI
MI MISO
SCK SCK
6 CS
9 G0
10 RST

Testing

Now, we will move forward in several steps.

  1. Getting data from sensors + send them it over the serial connexion (to confirm good working) + transmit over radio
  2. Testing the radio reception
  3. Going autonomous (removing Serial Connexion waiting) + add the Lipo

LED and errors

x

Reading and transmitting data

This Arduino sketch would:

  1. Wait for the serial connexion to be established before starting the sketch
  2. Collect the sensor data
  3. Send it to serial connexion
  4. Send it over the radio connexion



Written by Meurisse D. from MC Hobby - License: CC-SA-BY.