Week 3 · Lesson 1 · 55 minutes

Connect directly to your ESP32

Build and explain this stage of your own connected prototype.

Planned lesson. Follow your teacher’s teaching order.

Task steps and checks

Do the work

  1. Proceed only with checked state code and circuit, teacher-approved local wireless access and suitable equipment. Otherwise keep checking through Serial and mark the real browser check NOT TESTED.
  2. With permission, follow the connected starter instructions. Join your group’s unique ESP32 network. Open the HTTP address printed in Serial Monitor. Do not use school Wi-Fi credentials or cloud accounts.
  3. Change the state through Serial. Then read /state and compare it to both LEDs and the page. The message “no internet” does not mean the local connection failed.
Follow the path
  1. Browser asks /state
  2. ESP32 reads its state
  3. Browser shows reply

Check your result: A changed state must travel from this board to this browser. If the page only loads or shows sample data, the state-reading check has not passed.

Revised weekly handout pages: 1, 2.

Materials

Existing October design, saved code, teacher-verified ESP32 circuit, USB data cable and computer; shared hardware, individual evidence.

Resources

Vocabulary

State transition
A rule linking the current state and an event to the next state and output.

See it

Your device connects straight to the ESP32Your laptopor phoneESP32access point1. Join its Wi-Fi network2. Open the HTTP addressprinted in Serial MonitorNo internet or cloud account needed
The ESP32 makes its own small Wi-Fi network. Your device joins that network and talks to the board directly, so nothing leaves the classroom.

Watch

Watch an ESP32 run as an access point and serve a page that controls an LED. Use your own starter code and classroom network, not the code in the video.

Turn On/Off ESP32 LED from BrowserYouTube

Open on YouTube

The video is on YouTube, which needs a VPN on most networks in mainland China. It is extra: the lesson works without it.

More examples and practice

Retrieve your saved version · 5 minutes

Open your own latest code and evidence. State what actually works and the next check; keep earlier versions.

Connect directly to your ESP32 · 10 minutes

The ESP32 can create a local access point. Join its unique classroom network and open the HTTP address printed in Serial Monitor. No internet, school Wi-Fi login or cloud account is needed. Follow classroom network rules.

The laptop says this network has no internet. Has the local prototype failed?

Reveal reasoning

Not necessarily. The ESP32 serves the page locally. Check the chosen network and printed HTTP address. A loaded page alone does not prove that its status is current.

Build test and record · 30 minutes

Work through the task below. Take turns with hardware; each student records their own actions, predictions and observations.

Practice

  1. Use the connected starter README and teacher-checked pin profile. Read /state and compare the page with the board. Trace browser request → ESP32 state → response → page. If AP use is unavailable, continue Serial checks and schedule the real connection test.

Save and explain your evidence · 10 minutes

Save the version and results. Explain one decision and one limitation to a partner. Record unfinished work for the next lesson instead of claiming success.

Connect directly to your ESP32 / Make the browser and LED agree

Do only the parts you did not finish in class. Write what really happened; if you did not test something, write NOT TESTED. This is one task for the week, and nothing else is due.

  1. Open this week’s handout and your saved code.
  2. Finish the evidence for both lessons. Use only your saved code and real results.

You are finished when: The evidence for both lessons is complete and matches what you really did.

Why this matters: Each week’s evidence becomes part of the connected prototype evidence you submit in Week 8.

  • There is no hardware task at home.

Revised weekly handout pages: 1, 2.

Weekly homework (Word) · Chinese weekly handout (Word)

Feedback on this week’s evidence

Task feedback only. Final C and D are separate best-fit judgements out of 8 using the school’s current MYP Year 5 criteria; do not average weekly bands.

This week’s task
Connect directly to your ESP32 / Make the browser and LED agree
Personal evidence and explanation
Identify your own technical action, evidence file, actual outcome and limitation.
BandObservable evidence
0No assessable evidence for this task yet.
1–2Identifies parts of the task; personal work and results are difficult to follow.
3–4Completes some steps with support; evidence or explanations have gaps.
5–6Completes the task with traceable personal evidence and explains results and limitations.
7–8Works independently, uses precise evidence to justify decisions and checks the effect of changes.