Circuit Biscuits

Lesson 1 - Meet The Bluepill Pupil Notes

The Bluepill is a small programmable computer. In this lesson we meet the board, connect to it with the dashboard, and prove that it can receive commands and send information back.

In This Lesson

Lesson 1 Pupil Notes

Title

Meet The Bluepill

Big Question

What kind of computer is a microcontroller, and how do we know our board is really alive?

What This Lesson Is About

The Bluepill is a small programmable computer. In this lesson we meet the board, connect to it with the dashboard, and prove that it can receive commands and send information back.

Key Words

  • microcontroller
  • firmware
  • USB
  • serial
  • command
  • status

Before You Start

  • Find the USB connector, main chip, and onboard LED.
  • Open the dashboard.
  • Make sure the board is connected before sending commands.

What To Remember

  • the Bluepill is the hardware board
  • firmware is the program stored on the board
  • the dashboard is our control surface for talking to the board
  • PING is a quick connection test
  • GET_STATUS asks the board to report useful information

What We Did

  • identified the main parts of the board
  • connected through the dashboard
  • sent PING
  • sent GET_STATUS
  • compared the log, status panel, and board behaviour

What To Look For

  • does the board respond at all?
  • what changes after connecting?
  • what information appears when you ask for status?
  • which dashboard panels seem to control actions, and which ones mainly show information?

Try This

  • Send PING and check the reply.
  • Send GET_STATUS and look at the returned values.
  • Press the HELLO_WORLD control after communication is working.

Why It Matters

This is the first time we treat the board as a real embedded system, not just an object on the desk. We are learning how engineers prove that hardware, firmware, and the control interface are all working together.

Check Yourself

  • What is the Bluepill?
  • What is firmware?
  • What is the dashboard for?
  • What does PING prove?
  • What does GET_STATUS tell us?

Reflection

  • Something new I learned:
  • One command that worked:
  • One part of the dashboard I now understand better:
  • One question I still have: