This is code is part of a Technion course project in advanced IoT, implementing a device to receive and present 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 receive sensors data from another L072CZ-LRWAN1 installed on a Formula racing car (built by students at Technion - Israel Institute of Technology), and sends it to a GUI presenting the data (GUI project: github.com/ward-mattar/TechnionFormulaGUI).

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_Receiver"
  • Select a Platform like so:
  1. Click button at top-left
  2. Add Board
  3. Search "NUCLEO F103RB" 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
Revision:
9:2f9e4be4d046
Parent:
0:c43b6919ae15
Child:
11:9d7409ebfa57
diff -r 3b0d7b4ff28f -r 2f9e4be4d046 PinMap.h
--- a/PinMap.h	Fri May 19 14:04:56 2017 +0000
+++ b/PinMap.h	Tue May 30 15:49:05 2017 +0000
@@ -8,7 +8,7 @@
 
 #ifdef TARGET_NUCLEO_L476RG
  #define FEATURE_LORA   1
-#elif TARGET_STM32L0
+#elif TARGET_DISCO_L072CZ_LRWAN1
  #define FEATURE_LORA   1
  #define B_L072Z_LRWAN1_LORA    1 // the STM Lora Board
 #endif
@@ -31,7 +31,7 @@
 #define LORA_DIO0       PB_4
 #define LORA_DIO1       PB_1
 #define LORA_DIO2       PB_0
-#define LORA_DIO3       PC_13
+#define LORA_DIO3       (PinName)0x2D //PC_13
 #define LORA_DIO4       PA_5
 #define LORA_DIO5       PA_4
 #define LORA_ANT_RX     PA_1