Quick start guide for firmware 1.3
This guide permits to send messages over the Lora network.
Update firmware
Update your board with the lastest firmware avaiable:
- Download the file Lora_v13_devaddr.bin.zip and unzip it.
- Connect the board to the PC via Mini Usb cable.
- Go to the mbed site
- Download the lastest mbed serial port driver, it is named as mbedWinSerial.
- Install the driver.
- When the driver is installed, a MBED mass storage device and a Serial line and a HID device are finded out. Open the MBED mass storage.
- Copy the file fw_devaddr.bin into the MBED mass storage
- The Green led on the board will blink while the file is programmed into the device flash memory
Use your board
Now take your board:
The board doesn’t have the correct device address in order to send correctly messages to your operator, so you have to set it. Follow next steps correctly:
- Insert antenna and Micro-USB from the windows PC to the board and put the board on the table.
- If you did not installed the mbed serial driver then go to mbed website otherwise go to the step 5
- Download the lastest mbed serial port driver, it is named as mbedWinSerial.
- Install the driver.
- Now switch on the Lora Sensor Node.
- If the MBED Windows serial port driver is installed correctly Windows will recognize the board as a memory storage called MBED and as a Serial Com Port.
- Now we have to connect a terminal to the Serial Com. First step, find which number is, going to “Device Manager” and finding the node called “Ports (COM and LPT)”. In this example the number port is 170.
- Open a terminal like putty, you can find it here. Launch it and set the properties signed in red in the figures:
- Press the Open button. Now reset the board pressing S3 button and after keep the S2 button pressed for 5 seconds.
- On the putty console you will see the starting boot text:
BAEVTSS002 firmware version 1.3 - DEVADDR mode
RN2483 1.0.1 Dec 15 2015 09:38:06
- Keeping the S2 button pressed you will see after some seconds the text “Please release the button S2”. Now you can insert the 8 hexs networkID provided by your operator. After the last character inserted this value will be memorized and the text “devaddr changed successfully” will appear.
devaddr programming mode acrived, insert 8 hexs or press Enter to exit
DEVADDR $> 12345678
Changing DEVADDR please wait...devaddr changed successfully
note: If you press Enter you can skip the procedure. 1234567 is just for example, please contact your Operator in order to know which networkID you have to use. Without the correct networkID you won’t send messages with the board.
- Now the device is in sleeping mode, in 2 minutes it will wake up and it is going to send a message. For skipping the sleeping phase, press S2 button.
- After pressing S2 button you will see the first message sent by your device. Now tilt your board to 90 degrees and wait 30 seconds.
- The board will send another message. Now it’s time to see the data sent.
- Power off the board. And in the logger window, you will have 2 rows, every row is a message received from the server.
- If you click on the + node you can see the unencrypted data received Payload (hex):.
- All messages start with the number 18, the other three number couples are the data read from the accelerometer mounted on the board. You will see the data changed when you have tilted the board and sent the second message.