This is code is part of a Technion course project in advanced IoT, implementing a device to read and transmit sensors data from a Formula racing car built by students at Technion - Israel Institute of Technology.

Dependencies:   mbed Buffer

Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong by ST

This is code is part of a Technion course project in advanced IoT, implementing a device to read and transmit sensors data from a Formula racing car built by students at Technion - Israel Institute of Technology.

How to install

  • Create an account on Mbed: https://os.mbed.com/account/signup/
  • Import project into Compiler
  • In the Program Workspace select "Formula_Nucleo_Reader"
  • Select a Platform like so:
  1. Click button at top-left
  2. Add Board
  3. Search "B-L072Z-LRWAN1" and then "Add to your Mbed Compiler"
  • Finally click "Compile", if the build was successful, the binary would download automatically
  • To install it on device simply plug it in to a PC, open device drive and drag then drop binary file in it

Files at this revision

API Documentation at this revision

Comitter:
Helmut64
Date:
Fri May 19 14:04:56 2017 +0000
Parent:
7:6a8a82bfb0c6
Child:
9:2f9e4be4d046
Commit message:
Updated description.

Changed in this revision

SX1276GenericPingPong/GenericPingPong.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SX1276GenericPingPong/GenericPingPong.cpp	Fri May 19 13:59:59 2017 +0000
+++ b/SX1276GenericPingPong/GenericPingPong.cpp	Fri May 19 14:04:56 2017 +0000
@@ -131,7 +131,7 @@
     dprintf("Freqency: %.1f", (double)RF_FREQUENCY/1000000.0);
     dprintf("TXPower: %d dBm",  TX_OUTPUT_POWER);
 #if USE_MODEM_LORA == 1
-    dprintf("Bandwidth: %d kHz", LORA_BANDWIDTH);
+    dprintf("Bandwidth: %d Hz", LORA_BANDWIDTH);
     dprintf("Spreading factor: SF%d", LORA_SPREADING_FACTOR);
 #elif USE_MODEM_FSK == 1
     dprintf("Bandwidth: %d kHz",  FSK_BANDWIDTH);
--- a/main.cpp	Fri May 19 13:59:59 2017 +0000
+++ b/main.cpp	Fri May 19 14:04:56 2017 +0000
@@ -5,7 +5,10 @@
  */
  #include "main.h"
 
-
+/*
+ * IMPORTANT NOTE
+ * Use the Nucleo-L073RZ target for the STM B_L072Z_LRWAN1 LoRa board 
+ */
 DigitalOut myled(LED1);
 BufferedSerial *ser;