This project is an IAR Renesas RL78G14 project that using Novatel CNN0301-10 cellular radio to demo Exosite cloud activatation, and cloud connectivity to send and receive data to/from the cloud by using Exosite's Cloud Data Platform.
The project functionality includes:
- New device activation and save cik to EEPROM.
- Period send data to draw triangle wave to Exosite cloud.
- Send adc value and temp to Exosite cloud.
- Read data source on Exosite cloud.
License is BSD, Copyright 2012, Exosite LLC (see LICENSE file)
Tested and developed ith IAR for RL78 30-day evaluation 1.20.4.
- Download and install IAR Embedded Workbench for Renesas RL78 30-day evaluation
- Add a new device to your Exosite Portal with the MEID shown on the Novatel module.
- The device type will be (YRDKRL78G14 with Novatel CDMA)
- Download project repository as a zip file.
- Extract the project and open it with IAR.
- Confirm SW5.2(SW5, switch 2) is OFF(down) then plug in the USB cable to your PC
- Compile the project and download the program to the board
- Flip switch 5.2(up) to the on position
- If this is the first time the modem has been used, you will need to activate it on the cellualar network to do this:
- Press and hold switch 1, and reset the board.
- The LCD will show the activation process.
- The LCD will show "Network Activation Successful" if the modem is successfully activated.
- Now that your modem is activated, reset the board with out any buttons pressed
- The device should now turn on and connect to the Exosite platform.
- When connected, the device will periodically send the folowing sensor values to Exosite
- Potentiometer
- Temperature
- Ping
- The ping is a value that starts at zero and increments every time sensor values are reported
- The device also reads data from the Exosite that tells the device if it should turn the LEDs on, or off.
Possible error messages while attempting to communicate with Exosite.
Error Msg | Possible cause |
---|---|
Connect Err | Problem getting modem to open socket |
Conn err | Response for activation didn't matck expected response length |
Dev Not Enab | Received a 409 response when activating with platform, and there isn't a CIK stored in NVM |
R_W Error | Received a 401 response when activating with Exosite |
Unknown: 1 | This should only happen if data corruption, in memory, occurs. In this case we have no idea what happened. |
-
v1.0:
- 5-03-2013 -- Initial Release of Novatel branch