Follow these steps to prepare your UltraLite DevKit to run the UrsaLeo demo and start sending sensor data from the ThunderBoard sensors to your model.
As a prerequisite, you will need:
- A computer (Windows 10) with the latest version of balenaEtcher and PuTTY installed
- A microSD card reader connected to your computer
- UrsaLeo UltraLite DevKit with Silicon Labs Thunderboard 2 sensor
- Ethernet cable
- USB-A to micro-B cable
Update your RPi software steps:
- Flash the UrsaLeo demo image
- Connect to USB Console Port
- Configure your UltraLite
- Configure Wifi (Optional)
1. Flash the UrsaLeo demo image
- Download the UrsaLeo demo image to your PC from ursaleo.com
- Insert the SD card from the DevKit into your PC's card reader and start balenaEtcher. Select the downloaded UrsaLeo demo compressed image file.
- Select the SD card. Cancel any dialogues requesting you format the drive
- Flash the image. This will take a couple of minutes to flash and verify. Cancel any requests to format.
When the flash has completed, eject the SD card from the PC and place it in the UltraLite's SD card socket
2. Connect to USB Console Port
- Connect a USB cable from your PC to the micro-USB connecter near to the Power Switch on the UltraLite
- Open the Device Manager and note the COM port for the Silicon Labs USB to UART device
- Start Putty, select a Serial session and enter the COM Port and set a Baud Rate of 115200
- Select Open
- Turn the power on and allow the UltraLite to boot up until the login prompt appears
Login as "root" with no password
3. Configure your UltraLite
- At the prompt enter the following command to display the configuration menu
ul-config
Once the menu is displayed, proceed through the available options in order:
Option 1 - Configure WiFi (optional)
- Select option 1 to optionally configure Wifi connectivity
- Follow the prompts, enter your ISO country code, SSID and password and enter to return to the menu
Option 2 - Connect Sensor
- Connect the ThunderBoard to the USB-A socket on UltraLite adjacent to the Ethernet connectors with the cable supplied - the blue LED will turn on
- Enter option 2 to start the BLE paring
- Press the button marked "Reset" near the centre of the ThunderBoard - the yellow LED will start flashing
- Enter the option for your ThunderBoard MAC
Option 3 - Register gateway
- Enter option 3 to register the gateway
- Press return to accept the default service: demo.services.ursaleo.com
- The gateway will acquire an access token then display the Device ID number which should be noted down.
Option 4 - System info
- This option can be used at any time to display the system information.
Option 5 – Reboot
- Enter option 5 to reboot the gateway. It must be used before the changes are saved, now or in the future
- The UltraLite will reboot and return to the login prompt
- On rebooting the gateway will connect and start sending data from the ThunderBoard sensors
Option 6 - Power down
- Use option 6 to power down the gateway safely
- The push button adjacent to the Serial USB socket will also power it down safely
Warning: The UltraLite should never be disconnected from the power supply without shutting down the operating system first as doing so can permanently corrupt the SD card.
To view your sensor data in the demo models, navigate back to the Getting Started page and continue through the 3 step process.
The LED module should now be showing the status of your gateway:
• LED 1 = On (connection to Internet)
• LED 2 = On (connection to Thunderboard )
• LED 3 = On (Connection to UrsaLeo service)
• Note: If LED 2 does not turn on, press the reset button located in the centre of the Thunderboard.
Comments
0 comments
Please sign in to leave a comment.