Introduction

The goal of this lab is to get you set up with the NUCLEO board we will be using, including installing software and debugging programs using Mbed Studio. By the end of the lab, you should be able to create your own programs, and build them with or without the debugger. This lab will not be graded, but completing it will be necessary to complete future lab assignments.

Equipment Needed

Be sure to pick up the following equipment for this lab:

Verifying your board works out of the box

First, check the jumper positions on the board: JP1 should be off, JP5 should be to the right (U5V side), JP6 (IDD) should be on (see picture).

IMG_6515.HEIC

Next, connect the board to a PC with the provided USB cable. The plug for the mini USB is at the top as shown in the picture. When you plug in the board, the red LED LD3 (PWR) and LD1 (COM) should light up, and the green LED LD2 in the middle should start blinking.

Press the user button (blue button) and the green LED should change its blinking frequency.

Installing Mbed Studio

<aside> ⚠️ You only need to install Mbed Studio if you are using your own computer. It should be installed on the lab computers already. You will still need to create an account, though.

</aside>

  1. Go to the Mbed Studio website, download the application for Windows, Mac, or Linux, and install it.
  2. Launch Mbed Studio. You will be asked to sign in. Since you don’t have an account yet, click “Create one now.” You will be taken to a website where you are asked to log in. Click “Create an account” again. You will be asked to log in again…click “Sign up.” From there you should be able to create an account.
  3. After you create an account, check your email for a message from Mbed notifications and verify your email address.
  4. Log in to Mbed studio using your new account name (or email) and password.