Hi !
Another fast post to cover a super important scenario:
Connect to a Wifi network in the Wio Terminal.
The code and implementation are extremely simple for this, and with a couple of lines of code, we can connect and also display the local IP.

Source Code
As usual, the full code is below and some notes
- The Wifi mode must be set to STA and also must be disconnected before starting a new connection.
- I added a counter to display how much time takes to connect to the WiFi network.
- This can also be used for a timeout control.
- I also display the IP address assigned to the device.
Now we are connected, so we can start to interact with Azure resources !
References
- Download Arduino IDE
- Wiki Seeed – Historgram
- Wiki Seeed ā loading Images
- Wiki Seeed ā Installing the File System Library
- Wiki Seed – Wifi Connectivity
ĀæCon ganas de ponerte al dĆa?
En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultorĆa:
- Si tienes ganas de ponerte al dĆa con Front End (ES6, Typescript, React, Angular, Vuejs…) te recomendamos nuestros MĆ”ster Front End: https://lemoncode.net/master-frontend#inicio-banner
- Si te quieres poner al dĆa en Backend (stacks .net y nodejs), te aconsejamos nuestro Bootcamp Backend: https://lemoncode.net/bootcamp-backend#bootcamp-backend/banner
- Y si tienes ganas de meterte con Docker, Kubernetes, CI/CD…, tenemos nuestro Bootcamp Devops: https://lemoncode.net/bootcamp-devops#bootcamp-devops/inicio
WioTerminal – Posts to interact with a Digital Twin Door šŖ with Azure IoT āļø and Azure Functions
- Convert and use images on the device
- 1st steps š£, developer steps
- Buttons and Charts time ššš
- Connecting to Wifi š¶, display local IP and get ready for Azure āļø scenarios
- Getting JSON data from an Azure āļø Function
- Parsing JSON data from an Azure āļø Function
- Display a Digital Twin Door šŖ state using XBitmap with Azure IoT āļø
- Display a countdown progress bar š„ for the next Azure IoT āļø refresh data call
- Open and close the Digital Twin Door šŖ using the Wio Terminal Buttons
- Training an š£ļø audio recognition module. Record šļø audio samples forĀ training
- Training an š£ļø audio recognition module. Edge Impulse for Arduino step-by-step and optimizations
- Training an š£ļø audio recognition module. Running the model on the device
- Playing sound on the open and close events from the Digital Twin Door šŖ (coming soon)