-
1Step 1: Creating device manifest on the WolkAbout IoT Platform
If you don't have an account on WolkAbout IoT Platform, visit https://demo.wolkabout.com/#/registration and create one.
After you log in to your account, select 'Devices' from navigation menu on the left. Choose the option to manage device manifests, and click the button to create a manifest. Choose the import option and import manifest.json file.
You can now create device from the imported manifest. Click on 'Create device' to do so. Since the manifest will already be selected, just click on the 'Next step' button, enter device name and save it.
New screen will pop up displaying device key and password which you need to connect your device to the Platform, so don't forget to save this information (there are options to download it or send it via email).
That's it! You have now created your device on WolkAbout IoT Platform.
In case you need it, you can find WolkAbout™ IoT Tool Web Application User Manual here.
-
2Step 2: Trying the example without rebuilding the project
Make sure that jumpers on the TI CC3200 LaunchPad board are mounted as follows:
* J2 in short * J3 in short * SOP 2 in short
Connect micro USB to the TI CC3200 Launchpad board and to the PC
Open the UniFlash tool, and make a new configuration by choosing Connection: CC3x Serial UART interface, under the "Board or Device" TI CC3200 should be discovered. If it's not discovered, install the FTDI driver which is located in {SDK_ROOT}/tools/ftdi folder.
Next step is to flash to binary images into the devices SFlash memory from the UniFlash. Add new files:
- /sys/mcuimg.bin URL:{SDK_ROOT}/example/application_bootloader/ccs/Release
- /sys/mcuimg1.bin URL:{PROJECT_ROOT}/WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad/WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad-Factory.bin
- /sys/config.txt URL:{PROJECT_ROOT}/WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad/config.txt
If you make changes in this project you will find your new .bin file located here {PROJECT_ROOT}/WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad/Release/WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad.bin
/sys/config.txt description
The file should look like this:
wifi_network_name=default_value wifi_network_security_type=default_value wifi_network_password=default_value device_key=default_value device_password=default_value
Change default values with your own. WiFI parameters with your own. For wifi_network_security_type insert one of follow WEP, WPA, WPA2 or OPEN. The device_key and device_password you will get when you create your device on WolkAbout IoT Platform.
-
3Step 3: Testing the example
Remove the SOP 2 jumper from the TI CC3200 LaunchPad board and the device should connect to the platform and send sensor's readings every 30 seconds. You should also be able to turn on and off LED from the platform by switching the actuator state.
Building the example
- Open the Code Composer Studio and import the project.
- Open the project properties:
- Resource
- Linked Resources And change the CC3200_SDK_ROOT to your {SDK_ROOT} - folder where you installed SDK Also, change the ORIGINAL_PROJECT_ROOT to the folder where you downloaded project
- Resource
- Inside project go to the:
- WolkConnect-C
- examples
- main.c - Exclude from Build
- examples
- WolkConnect-C
- Now you should be able to build the project
- For trying the example follow the steps from above for Trying example without rebuilding the project
Performing firmware update
- Details can be found in WolkAbout™ IoT Tool Web Application User Manual
- Upload the file WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad/WolkConnect-C-SimpleLink-Wi-Fi-CC3200-LaunchPad-Factory.bin or any other .bin that you previously built for CC3200 LaunchPad
- The device should reboot itself and load a new firmware image!
Note: The process of downloading and installing can be tracked with serial monitor as described below
Debugging the example
- Debugging from the Code Composer:
- Add taget configuration as described in Getting started guide
- Put SOP 2 jumper in short
- Connect PC and the TI CC3200 Launchpad board
- Debugging just with the serial console
- Install some serial monitor or open the serial monitor in CCS
- Set the baud rate to 115200
- You should be able to see all messages from the board which indicate what's happening
Note: This can be done either with SOP 2 mounted or dismounted
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.