In this quickstart you'll be connecting the Orgpal PalThree (from now on, PalThree) to Azure IoT.
Sensor Protocols and Features On-Board
- RS 485/Modbus
- TTL Serial
- 4-20mA
- Flow Meters/Pulse Counts
- On Board Relay
- Ultra Low Power Modes
- RTC On Board
- USB File System
- SD Card/File System
- Flash File System on Board (16MB)
- Direct GPIO for analog and digital input in the 3.3/5V
- Expansion Slots for Modules and Add Ons
- Communication via Ethernet/Wifi, Cellular and Satellite
- A PalThree
- USB 2.0 A male to Micro USB male cable
- Ethernet cable RJ45 terminated
- Visual Studio 2022 (2017 should be OK to)
- .NET nanoFramework VS extension installed in Visual Studio
- nanoff tool installed
- Azure Account
Clone the following repo to download the sample code.
gh repo clone github.com/OrgPal/Azure-Certification.git
The PalThree already has .NET nanoFramework firmware installed. You may want to check if it's running the latest version.
- Install nanoff tool if you haven't done so before.
dotnet tool install -g nanoff
- Run the tool to update the firmware
nanoff --update --target ORGPAL_PALTHREE
Open the PalThree-Azure-IoT solution in Visual Studio.
Uploading the Azure Root CA to the device make things easier (and simpler). Please follow the instructions on how to do this.
If you need to create device a certificate for your device you have follow the instructions here very closely.
Please find here the instructions on how to setup Azure IoT Hub and create an IoT device.