Information on how to use the STM32 Nucleo board with mbed
You are viewing an older revision! See the latest version
Adding Connectivity from Wiznet W5500 Ethernet Module to Cloud via AT&T M2X¶
The Wiznet W5500 Shield is an 802.11 Ethernet module that will allow your device to connect to an Ethernet network and send data to the cloud using the AT&T M2X module. Make sure you have a logon to the AT&T M2X site - so to allow you use of the cloud.
- Connect the Wiznet W5500 shield board into your Nucleo board as shown in picture below.
- Plug the STM32F401 Nucleo to your PC with a USB cable
The mbed page for this example is :
import this example program into your mbed compiler by clicking the “Import this program” button **
- Click the “Import” button on the pop up window shown below
- Open the "main.cpp file"
- check for STM32F401 references
- Compile and load the image onto the F401 Nucleo drive
- Open a terminal window to display the status of your Cellular connection. For this example, set the terminal BAUD rate to 115200
Additional information on how to set up a terminal window for console output can be found here: Creating Console Output
Once the BAUD rate is set, you may need to unplug then replug your Nucleo board and restart your terminal program with the correct BAUD rate settings. You can also reset your program by pushing the Black reset button on the Nucleo board.
Below is the data and screens you will see on your AT&T M2X account homescreen. Data & Keys below are examples and you have to import your own account details to allow access.
You will see via your AT&T M2X login that the random data is collected periodically onto the cloud. This can be plotted a number of ways and frequencies to allow you to plot temp conditions or movement of devices from your IoT device on the ground.