-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ward Mattar edited this page Jun 2, 2018
·
6 revisions
- Follow instructions in each project at OS Mbed to deploy devices binaries
- After installing binaries on all devices
- Connect "Forumla_Nucleo_Reader" to sensors data input
- Connect "Formula_LoRa_Transmitter" to UART output from "Forumla_Nucleo_Reader" device (this part did not work for us, see details below)
- Connect "Formula_LoRa_Receiver" to desired PC with GUI installed (see "How to use" for details on installation)
- Open GUI
- Java 8: install
- RXTX library for Windows: please follow installation instructions here
- Download and extract latest release
- Make sure LoRa and Nucleo devices are connected to their respective sources
- Run 'Technion Formula GUI.exe'
- Follow instruction above: install Java and RXTX
- Import this repository to NetBeans
- Import all the libraries in TechnionFormulaGUI/lib to project
- Update image relative links in code to test GUI, but release must reference ./resources/* or ./lib/*
- Optional: We used implementations of car gauges and speedometer from harmoniccode, you could change them or add to display more info
- Download termite in order to communicate with Nucleo and LoRa devices
- To use Termite, open software while device are connected:
Click Settings
Set "Baud Rate" to 230400
Select COM port corresponding to your device
Select OK. If successful you can view printed text from device and send to it
- Follow instructions in each project at OS Mbed to change/deploy devices binaries
- Commit all changes to GitHub
- Create a new tag for project, continue from current Tag number (i.e. V1_1 to V1_2 or V2_0)
- Build JAR file for the project using NetBeans (should be found in ...\NetBeansProjects\TechnionFormulaGUI\dist)
- Install Launch4
- Using Launch4, open /settings/release.xml
- Update the paths for the following items on your PC:
- Output file (desired path to for executable)
- Jar (path to built JAR)
- Icon, you can use provided one: /resources/icon.ico or any other supported image
- In "Splash" tab, change it to: /resources/splash.bmp or any other BMP image
- Finally build executable, you should now have "Technion Formula GUI.exe"
- To make deliverable, make a new folder named "Technion-Formula-GUI-v1.1", with current version number, copy following items to it:
- Copy lib folder as is (with all sub-folders)
- Copy resources folder as is
- Copy "Technion Formula GUI.exe"
- Make a zip of the new folder (with same name)
- Draft a new release using https://github.com/ward-mattar/TechnionFormulaGUI/releases: choose latest tag, upload binary (drag and drop), you can add release notes: What's new? Any notes? etc.
- Publish release
- Run devices while they are connected to PC (not using other DC sources like batteries or 5V pins)
- See data from "Forumla_Nucleo_Reader" sensor pins using Termite terminal
- Transmit data between devices by giving comma-separated numbers (13 values) using Termite terminal to "Formula_LoRa_Transmitter", which transfers them wirelessly to "Formula_LoRa_Receiver" and it in turn display them on GUI (or on Termite, but not both simultaneously)
- We could not figure out how to make the devices run on power sources other than USB port (connected to PC)
- We could not connect "Formula_LoRa_Transmitter" to "Forumla_Nucleo_Reader" via UART port in order to read data directly from source