Back to #1--> Smart Fridge on Azure IoT Hub
To Dig MT3620 Kits and Discovery Azure Cloud behind
1. MT3620 Kits
The Sphere MT3620 module is based on the MT3620 SoC, which includes built-in Microsoft security, WiFi connectivity, and the combined versatility and power of an Arm Cortex-A7 processor with the low overhead and real-time guarantees of two Arm Cortex-M4F microcontrollers. A suite of on-chip peripherals, real-time clock, Flash, and RAM are also available. In addition to the MT3620, the 33 x 22 mm module includes a dual-band WiFi chip antenna and system clock. Up to 27 configurable GPIOs and three configurable serial ports (UART, I2C, or SPI) are provided as I/Os on the module.
The core part is MT620 SoC, lead to Fast Development to Mass-Commercial Product. This is what I would like to try how long it takes me to build one MVP and prototype design beyond the maker's comfort zone.
With the Click board
2. Azure Cloud
With experience with cloud service like AWS, Azure booming recently.
Like all the cloud service, one shall fully understand the price policy before action, or stunning bill will come unexpectedly.
One small tip, there are chances to waive your misplacing bill with service phone call. Some salary-less university students made the grace, but not for all.
In all , Azure is more user friendly and easy to use.
3. Install IDE for MT3620 Kits in Ubuntu 18.04
3.1 The following is required before installation
- An Azure Sphere Development Kit, with MT3620 Kit
- Linux machine running Ubuntu 18.04 LTS,not new version of Ubuntu 20.1, optional One PC running Windows 10 Anniversary Update or later,
sudo apt-get update sudo apt-get install -y net-tools curl
then, open https://aka.ms/AzureSphereSDKInstall/Linux to download install script,
chmod +x install_azure_sphere_sdk.sh sudo /opt/azurespheresdk/Tools/azsphere_connect.sh
Follow https://docs.microsoft.com/en-us/azure-sphere/install/install-sdk-linux to get Azure Sphere SDK installed.
3.2 Setup IDE for development
sudo apt install cmake ninja-build
Install visual Studio Code for Linux https://code.visualstudio.com/Download
After installation, configure VS Code with the path to the Azure Sphere SDK installation directory: In the File menu select Preferences > Settings > Extensions > AzureSphere. Under Azure Sphere: Sdk Path enter the path to the AzureSphere install directory
Install GNU embedded toolchain for ARM core CM4 https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
After installation, configure VS Code with the path to the GNU Arm Embedded Toolchain:
In the File menu select Preferences > Settings > Extensions > AzureSphere.Under Azure Sphere: Arm Gnu Path enter the path to the GNU Arm Embedded Toolchain install directory.
Optional, you can install terminal tools
sudo apt install minicom sudo minicom -D /dev/ttyUSB5 -b 115200
The visual Studio Code comes with installed extension as Azure Sphere and Azure IoT hub for fast development
4. Connect MT3620 Kits
4.1 Claim the device
Every device must be "claimed" by an Azure Sphere tenant. Claiming the device associates its unique, immutable device ID with your Azure Sphere tenant. The Azure Sphere Security Service uses the device ID to identify and authenticate the device.Connect MT3620 to the PC,
4.2 Create an Azure Sphere tenant
An Azure Sphere tenant isolates your Azure Sphere devices and provides a way for you to manage them. The Azure Sphere tenant is used only for Azure Sphere.
azsphere tenant create --name <my-tenant>
4.3 Claim your device. After you claim your device into a tenant, you cannot move it to a different tenant.
azsphere device claim
4.4Enable app development on device.
azsphere device enable-development
5 Ready to Go
Then everything is done and ready for development.