Information on how to use the STM32 Nucleo board with mbed
Adding Connectivity: ACKme WiFi Module¶
The ACKme WiFi Module is an 802.11g compliant module that will allow your device to connect to a WiFi router. Using the ACKme API, you can configure the WiFi module settings and send and receive WiFi messages to the internet.
- Connect an ACKme WiFi shield board into your Nucleo board
- Plug the STM32F411 Nucleo to your PC with a USB cable
The mbed page for the ACKme WiConnect Host Library is found here:
The API documentation for the library will show you all the library commands available for this module. The wiconnect-join_example will demonstrate how to connect the Nucleo board + ACKme WiFi shield board to a local WiFi hotspot.
- Go to wiconnect-join_example and 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 "example.cpp file"
- Enter the SSID name and password of your local WiFi hotspot in the
This module is 802.11g compliant so be sure your WiFi router is set up for 802.11g.
- Open and edit “target_config.h” file and change the
#ifdef TARGET_NUCLEO_F411REto target the Nucleo_F411RE board
- Compile and load the image onto the F411 Nucleo drive
- Open a terminal window to display the status of your WiFi connection. For this example, set the terminal BAUD rate to 115,200
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.
You will receive a message on your terminal console on the status of the connection. If you receive the message
Network join example has completed! your device is wirelessly connected.