Robotics Systems & Experimental Research机器人系统与实验研究
Assemble the recommended ELEGOO UNO R3 Smart Robot Car V4, calibrate its sensors and investigate line following or obstacle avoidance. Extend learning with laptop vision/AI and simulated maze planning, then turn one focused experiment into a reproducible study. An original 15-session pathway informed by the Mayflower ASTEM 2025 collection; dates, kit price and ordering arrangements remain to be confirmed.亲手组装推荐的 ELEGOO UNO R3 Smart Robot Car V4,标定传感器,研究循线或避障;用电脑端视觉/AI 与迷宫仿真拓展学习,把一个聚焦实验做成可复现研究。参考 Mayflower ASTEM 2025 资料库重新设计为 15 次课;开班时间、套件价格与订购安排待确认。
保留版 · ELEGOO 实验教案库(2026 年 10 月)
以下为原有的 15 次综合课程,保留供教师选用实验、脚本与记录模板。它不是新版 Program 1 的逐课安排。
For secondary-school and early undergraduate learners with basic Python and algebra. Embedded C/C++ is introduced in class. Recommended hardware: ELEGOO UNO R3 Smart Robot Car V4 with camera, assembled by students; confirm the supplied revision and have the kit ready by session 4.面向具备基础 Python 与代数知识的中学生及大学低年级学习者,课堂补充嵌入式 C/C++。推荐学生亲手组装带摄像头的 ELEGOO UNO R3 Smart Robot Car V4;确认实收版本,最迟第 4 次课备齐套件。
Proposed teaching format建议教学安排
15 sessions, approximately two hours per session plus 2–3 hours of independent practice. Recommended platform: ELEGOO V4 with Camera. Dates, tuition, seller, current kit price and ordering arrangements will be confirmed before enrollment.共 15 次课,建议每次约 2 小时,另配 2–3 小时课外练习。推荐平台为 ELEGOO V4 带摄像头版。开班时间、学费、卖家、当期套件价格与订购安排在报名启动前确认。
Order a kit. Build your robot.网上订购套件,亲手组装机器人
Students assemble the ELEGOO chassis, motors, controller and sensors, then wire, program and test the robot. Plan for kits to arrive by session 4. Use Arduino C/C++ on the car and Python on a laptop for logs, plots and vision.学生亲手组装 ELEGOO 底盘、电机、控制器与传感器,完成接线、编程和调试;计划第 4 次课前备齐套件。小车运行 Arduino C/C++,电脑用 Python 做日志、绘图与视觉分析。
Keep assembly photos and a wiring record. Check connections with power off, start motor tests with wheels raised, and follow the supplied power and charging instructions.保留装配照片与接线记录。断电检查连接,架空车轮测试电机,并遵循随套件提供的供电与充电说明。
Simulation supports the build用仿真辅助实机学习
While waiting for the kit, use simulation and documented sample data to practice programming and algorithms. After assembly, validate behavior on the robot. Record simulated and physical results separately.套件到货前,可用仿真与注明来源的样例数据练习编程和算法;组装完成后,在机器人上验证。仿真结果与实机结果分开记录。
ONE SHARED PLATFORM · 一套贯穿全程的平台
Our choice: ELEGOO V4 with Camera.推荐第二款:ELEGOO V4 带摄像头版
Chosen for this course’s assembly, sensing and repeatable control experiments. The same robot carries students from their first motor test to a focused study.根据本课的组装、传感和可重复控制实验需求选择。从第一次电机测试到结课研究,都围绕同一台小车展开。
COURSE RECOMMENDATION · 本课推荐
ELEGOO UNO R3 Smart Robot Car Kit V4.0 · With Camera
Suggested: one kit per two learners; the instructor checks one sample first.建议两人一套,教师先验收一套样机。
A laptop, suitable USB connection, black tape, a light-colored track surface and a ruler.另备电脑、匹配的 USB 连接、黑胶带、浅色赛道底板与尺子。
Record the shield revision and use its matching manual and firmware.记录扩展板型号,选用对应手册与固件。
01 / HARDWARE MAP
从零件到机器人Meet the robot you will build
俯视概念图,箭头指向车头 · Top view, arrow points forward 虚线引出底部传感器 · Dashed line reveals underside sensors
1
控制器Arduino UNO · C++
读取传感器、执行控制逻辑、发出电机指令。
2
超声波与转向舵机Ultrasonic sensor + servo
测量前方距离;舵机改变传感器朝向。
3
摄像头模块Camera module
传送图像;Python 视觉实验在电脑上运行。
4
底部循迹传感器Underside line sensors
检测黑线与地面的反射差异。
5
电池与供电Battery + power
按套件说明接线、充电和检查极性。
6
车轮、电机与驱动Wheels, motors + driver
驱动板把控制指令转换为电机动作。
ON THE ROBOT机器人 · Arduino C++
传感 → 控制 → 电机 Sense → control → drive
⇄
图像 / 实验记录 Images / experiment logs
ON THE COMPUTER电脑 · Python
图像分析、绘图与实验比较 Vision, plots & experiment analysis
示意图不按实物比例,也不是接线图;装配以对应版本的厂家说明为准。摄像头传图不等于机器人已经具备 AI;电脑端实验和实机控制分别验证。Conceptual layout, not a wiring diagram. Follow the manual for your kit revision. Camera streaming is not onboard AI; computer analysis and robot control are tested separately.
4WD assembly, line sensing, ultrasonic ranging, camera and rechargeable battery pack.四驱组装、循线传感、超声测距、摄像头与随附充电电池包。
Recommended: one platform for building, measuring, control and a focused research project. Official US store showed out of stock at review.本课推荐:同一平台完成组装、测量、控制和研究。核对时官方美国站显示缺货,订购时另查卖家库存。
Reviewed 2026-10-23. Prices are dated manufacturer-store references in USD, excluding tax/shipping; they are not Amazon quotes. Check the selected seller’s current price, stock, camera version and included battery before ordering.核对日期 2026-10-23。表中为当日厂商官网美元参考价,不含税运费,并非 Amazon 报价。下单前核对卖家的实时价格、库存、带摄像头版本和电池包是否随附。
Hardware boundaries & version checks · 硬件边界与版本核对
Official V4 downloads distinguish driver-board and IMU revisions, including MPU6050 and QMI8658C variants. Match the physical board before loading code; a newer repository is not automatically the correct firmware. Gyro exercises are optional after this check.官方 V4 下载包区分电机驱动板和 IMU 版本,包括 MPU6050、QMI8658C 等配置。先核对实物板卡再刷程序,不默认“最新仓库”就适配;陀螺仪练习在版本确认后选做。
Stock wheel encoders are not documented for this kit. PWM is a command, not measured speed. Use a ruler or independent overhead video for physical displacement; encoder odometry and grid-maze planning stay in simulation unless extra hardware is validated. Camera streaming is an image source; the course’s vision and AI programs run on a laptop.这款标配未列出车轮编码器。PWM 是指令,不是实测速率;实机位移用尺子或独立顶视视频测量。编码器里程计与网格迷宫规划先在仿真中进行,增加硬件后再单独验证。摄像头提供图像,课程视觉与 AI 程序在电脑运行。
READ → DECIDE → ACT · 读取 → 判断 → 执行
See the feedback loop.先看懂小车为什么这样动
Change a sensor situation, then step through the controller. This teaching animation explains decisions; it is not a physical simulator or measured kit performance.改变传感器情境,逐步查看控制器的判断。这里的动画解释控制逻辑,不代表实机仿真或套件实测性能。
02 / TRY THE CONTROL LOOP
机器人怎样“看见”并行动?Sense, decide, act — then check again.
先改变场景,再逐步观察。数值与位移是教学示意,不是实机测量或物理仿真。Change the scene and step through the loop. Readings and motion are illustrative, not measured data or a physics simulation.
地面黑线 · Black tape on the floor
01读取SENSE
02判断DECIDE
03驱动ACT
04复测CHECK
第 1 步 · SENSE
读取左、中、右三个循迹传感器:1 · 0 · 0。这里用 1 表示检测到黑线。
Read the left, middle and right sensors: 1 · 0 · 0. In this model, 1 means line detected.
已尊重系统的减少动态效果设置,请用“下一步”。 Reduced motion: use Step.
先学会用简单规则解释行为,再在课程中用实测数据比较控制方法。三个离散循迹读数不等于精确的横向距离;电机指令也不等于测得的轮速。Start with an explainable rule, then compare controllers using recorded experiments. Three discrete line readings do not give precise lateral distance; a motor command is not measured wheel speed.
静态示例 · Print example
循迹:黑线在左 → 向左修正 → 左侧慢、右侧快 → 再次读取传感器。 Line tracking: line on the left → steer left → left motors slower than right → read again.
From foundations to a reproducible study.从基础实践到可复现研究
Each session pairs a concept with an experiment and a reviewable deliverable. Research questions and logs begin in session 1; choose one capstone focus by session 11.每次课都包含概念、实验与可检查的交付物。第 1 次课开始记录研究问题与实验,第 11 次课前确定一个结课研究方向。
Map the recommended ELEGOO V4 kit’s sensors, UNO-compatible controller, motors and camera; set up Python, version control and an experiment notebook. Record the delivered board/shield revision and matching manufacturer instructions; have the kit ready by session 4. Define a measurable line-following or obstacle-avoidance question.认识推荐的 ELEGOO V4 套件的传感器、UNO 兼容控制器、电机与摄像头,配置 Python、版本管理与实验记录。记录实收控制板/扩展板版本并匹配厂商说明,最迟第 4 次课备齐套件;提出一个可测量的循线或避障问题。
Deliverable · 课堂成果
System diagram, kit/revision checklist, working environment and a measurable question系统框图、套件与版本清单、可运行环境及可测量的问题
Functions, arrays, loops, debugging and CSV logs. Lab: replay documented ultrasonic and line-sensor traces, plot readings over time and flag missing or invalid values. Distinguish sample data from later measurements on each team’s robot.函数、数组、循环、调试与 CSV 日志。实验:回放注明来源的超声波和循线传感器样例,绘制读数变化并标记缺失或无效值;区分样例数据与之后各组的实机测量。
Deliverable · 课堂成果
Runnable analysis notebook with labeled plots and documented sample data含标注图表与样例数据说明的分析笔记本
Arduino IDE, C/C++, GPIO, PWM and serial messages. Match the pin map, libraries and firmware to the delivered V4 board/shield and servo revision; do not assume the newest repository code fits every kit. Compile a small sensor/serial program; use recorded input if the kit is still in transit.学习 Arduino IDE、C/C++、GPIO、PWM 与串口通信。按实收 V4 控制板/扩展板及舵机版本匹配引脚表、库与固件,不默认仓库最新版适用于所有套件。编译简单传感器/串口程序;套件尚未到货时用已记录输入练习。
Deliverable · 课堂成果
Version-pinned firmware or interface test, matching pin map and serial log固定版本的固件或接口测试、匹配的引脚表与串口日志
With the kit ready, assemble the ELEGOO V4 chassis, four motors, controller, sensors and camera using the matching manual. Document wiring and check it with power off. Follow the supplied rechargeable-battery and charging instructions; test motor direction with wheels raised, then use low PWM commands for first floor trials.备齐套件后,按对应版本说明组装 ELEGOO V4 底盘、四个电机、控制器、传感器与摄像头,记录接线并断电检查。遵循配套充电电池及充电说明,先架空车轮确认方向,再用较低 PWM 指令进行初次地面测试。
Deliverable · 课堂成果
Assembled robot, parts checklist, assembly photos, wiring diagram and motor test log组装完成的机器人、零件清单、装配照片、接线图与电机测试记录
Repeat ultrasonic readings at ruler-measured distances and line-sensor readings over black tape and the floor. Compare raw and filtered distance values, check line-state polarity and test lighting/material changes. Mark ultrasonic timeouts as invalid, not as a clear path.用尺测量固定距离并重复读取超声波数据,在黑色胶带与地面上记录循线读数。比较原始和滤波距离值,确认循线状态极性,测试光照与材料变化。将超声波超时标为无效,不当作前方畅通。
Deliverable · 课堂成果
Distance calibration/error plot, line-state table and invalid-reading policy距离标定与误差图、循线状态表及无效读数处理规则
Repeat timed straight and turning trials; measure displacement and heading with a ruler, marked course or external video. Study 4WD skid/slip and battery effects: PWM is a command, not measured speed. Stock wheel encoders are not documented, so use simulated traces for odometry. Gyro exploration is optional after checking the board and matching firmware.重复定时直行与转弯,用尺、标记场地或外部视频测量位移与朝向,研究四驱滑移及电池状态影响:PWM 是控制指令,并非实测速度。原装配置未列明车轮编码器,因此里程计使用仿真数据;确认板卡与匹配固件后可选做陀螺仪实验。
Deliverable · 课堂成果
Measured motion/repeatability table and separately labeled simulated odometry实测运动与重复性结果表,另行标注的里程计仿真
Build a line-following baseline from the kit’s available sensor states, then compare steering strength or hysteresis under a fixed tuning protocol. Measure completed runs, line loss, recovery time and lap time. Use simulated continuous error to introduce P/PID; claim physical lateral error only when measured independently.用套件实际提供的传感状态建立循线基线,按固定调参流程比较转向强度或滞回规则。统计完成次数、丢线、恢复时间和单圈用时;用连续误差仿真介绍 P/PID,只有独立测量后才报告实机横向偏差。
Deliverable · 课堂成果
Line-following comparison, tuning log, metric definitions and one failure analysis循线对照、调参日志、指标定义与一个失败案例分析
Embedded integration and autonomous behavior嵌入式集成与自主行为
Integrate line following and ultrasonic avoidance with explicit follow, stop, scan/turn and recovery states. Test corners, lost lines, invalid distance readings and conflicting inputs. Record how logs are collected; do not assume the robot stores data or streams telemetry wirelessly without implementing it.用明确的循线、停车、扫描/转向与恢复状态整合循线和超声波避障,测试转角、丢线、无效测距与输入冲突。说明日志采集方式;未经实现,不默认机器人能存储数据或无线传输遥测。
Deliverable · 课堂成果
Versioned firmware, state diagram, logging method and behavior test log固定版本固件、状态图、日志采集方法与行为测试记录
Use saved images from the kit camera or documented sample images for a laptop-based line/marker detector. Compare lighting conditions and document capture settings. The camera supplies images; this exercise does not assume onboard AI. Optional overhead phone video provides an independent motion measurement after spatial calibration.在电脑上保存从套件摄像头获取的图像,或使用注明来源的样例,实现线条/标记检测,比较不同光照并记录采集设置。摄像头提供图像,本实验不假设车载 AI;可选用俯拍手机视频,经空间标定后独立测量运动。
Deliverable · 课堂成果
Laptop detector, labeled images, capture method and lighting-related error analysis电脑端检测器、标注图像、采集方法与光照误差分析
Extract image features and compare a small laptop-based classifier with a rule-based baseline for a defined visual task. Separate training and test data by capture session or course layout, keeping neighboring video frames together to reduce leakage. Report errors and runtime without claiming deployment on the UNO controller.提取图像特征,在明确的视觉任务上比较电脑端小型分类器与规则基线。按采集批次或场地布局划分训练和测试数据,将相邻视频帧留在同一组以减少泄漏;报告误差与运行时间,不声称已部署到 UNO 控制器。
Deliverable · 课堂成果
Baseline comparison, confusion matrix and documented data split基线对比、混淆矩阵与数据划分说明
Micromouse planning in simulation仿真中的 Micromouse 路径规划
Use grid maps, pose and flood-fill or shortest-path search in simulation. Compare exploration and planning baselines on fixed mazes, separating exploration cost and final path length. Explain the localization gap between the simulation and a stock V4 car; timed turns and ultrasonic avoidance alone do not establish map position. Finalize the capstone protocol.在仿真中学习网格地图、位姿与洪水填充或最短路径搜索,固定迷宫比较探索与规划基线,区分探索代价和最终路径长度。解释仿真与原装 V4 小车之间的定位差距:仅靠定时转弯和超声波避障无法确定地图中的位置。确定结课实验方案。
Deliverable · 课堂成果
Tested maze representation, two baselines and a capstone experiment protocol经测试的迷宫表示、两种基线与结课实验方案
Run repeated line-following or obstacle-avoidance comparisons, changing one factor at a time: steering rule, filter or distance threshold. Predefine success, timeout, line loss, false stop and collision counts as applicable. Alternate condition order, record surface/lighting/battery condition and retain failed runs. Keep any laptop-perception or simulation results separate.围绕循线或避障重复对照实验,每次只改变转向规则、滤波器或距离阈值中的一项。按任务预先定义成功、超时、丢线、误停车和碰撞指标;交替安排条件顺序,记录地面、光照与电池状态并保留失败。电脑感知或仿真结果另行报告。
Deliverable · 课堂成果
Raw logs, configuration files and an experiment matrix including failed runs原始日志、配置文件及包含失败运行的实验矩阵
Plot repeated results and report variation as well as averages. Test the fixed controller on a held-out course or lighting/surface condition; distinguish tuning data from evaluation data. Examine trade-offs such as fewer false stops versus longer reaction delay, and explain limits of the sample size and measurement method.绘制重复实验结果,同时报告均值与波动。固定控制器,在未用于调参的路线或光照/地面条件下测试,区分调参数据与评估数据。分析误停车减少与反应延迟增加等权衡,说明样本量及测量方法的局限。
Deliverable · 课堂成果
Results figures, uncertainty summary and claim–evidence table结果图、波动说明与主张—证据对应表
Write the question, related work, methods, results and limitations with citations. Package the kit revision, matching manual/firmware version, wiring photos, course layout, raw data and analysis commands. Ask a peer to reproduce one result; distinguish manufacturer examples from the team’s changes.撰写问题、相关工作、方法、结果与局限并注明引用。打包套件版本、匹配的说明与固件版本、接线照片、场地布局、原始数据和分析命令,让同伴复现一个结果;区分厂商示例与本组修改。
Deliverable · 课堂成果
Report draft, poster draft, code and a peer reproduction checklist报告初稿、海报初稿、代码与同伴复核记录
Demonstrate the self-assembled V4 robot live or in a recorded run, explain one failure and one supported conclusion, then revise after peer feedback. Present physical, laptop and simulation findings with clear labels; propose a next experiment rather than claiming untested capabilities.现场或录制展示自行组装的 V4 小车,解释一个失败与一条有证据支持的结论,再根据同伴反馈修改。清楚区分实机、电脑实验与仿真结果,提出下一步实验,不宣称未经测试的能力。
Deliverable · 课堂成果
Final technical report, poster, demonstration and reproducibility package最终技术报告、海报、演示与可复现材料包
Original teaching scripts and templates accompany the Chinese lesson plans. Run the analysis on a laptop; use revision-matched manufacturer firmware on the robot.以下为本课程编写的入门脚本和模板,不含厂商固件。电脑端脚本只用于数据分析与教学模型,小车使用与实收硬件匹配的厂商程序。
One question. A fair comparison. Traceable evidence.一个问题,一组公平比较,一条证据链。
Choose one experiment选择一个研究问题
Line following: does a steering rule reduce line-loss events without increasing lap time?循线:改变转向规则,能否在不增加单圈用时的前提下减少丢线?
Obstacle avoidance: does distance filtering reduce false stops, and how much response delay does it add?避障:距离滤波能否减少误停?它又增加了多少反应延迟?
Optional laptop study: compare vision methods under changed lighting, or compare maze policies in simulation.电脑选做:比较不同光照下的视觉方法,或在仿真中比较迷宫策略。
Use completion rate, line-loss count, recovery time, false stops and measured trial time. Report continuous lateral error only with a separate measurement method. Document how logs were collected; use stationary/tethered capture or an external recording where needed.采用完成率、丢线次数、恢复用时、误停次数和实测运行时间等指标。连续横向误差需有独立测量方法。注明日志采集方式,必要时采用静止/有线采集或外部录像。
What students submit提交什么
A working robot assembled from the kit, a parts list, assembly photos and wiring diagram, source code and environment notes, raw logs and plots, a 4–6 page technical report, a poster and a demonstration. Label any supplementary simulation results; include failed runs, limitations and a peer reproduction record.用套件自行组装的可运行机器人、零件清单、装配照片与接线图、源码与环境说明、原始日志和图表、4–6 页技术报告、海报与演示。补充的仿真结果单独标注;保留失败记录、局限说明及同伴复核记录。
Proposed assessment · 建议评价方式
Labs and engineering notes 35% · Experimental design and analysis 30% · Reproducibility 20% · Report and presentation 15%实验与工程记录 35% · 实验设计与分析 30% · 可复现性 20% · 报告与展示 15%
A technical report is the course outcome. Any later submission depends on the quality, originality and evidence of the work and the venue’s review; publication is not guaranteed.课程目标是完成技术研究报告。后续是否投稿取决于研究质量、原创性、证据与评审要求,不承诺发表。
SOURCE MATERIALS · 资料来源
Read the originals. Follow a structured pathway.查阅原始资料,按课程路径学习。
The Mayflower ASTEM 2025 collection supplies reference slides and example labs. This 15-session sequence, assignments and research assessment are an original teaching design, not an official syllabus from the repository authors.Mayflower ASTEM 2025 资料库提供参考课件与实验示例。这里的 15 次课安排、作业及研究评价为重新设计的教学方案,并非仓库作者发布的官方教学大纲。
Use the matching ELEGOO manual and firmware revision for the delivered kit. These manufacturer resources supplement the Mayflower reference slides.ELEGOO 手册和固件须与到货套件版本匹配;这些厂商资料用于补充 Mayflower 参考课件。
Reference snapshot: Mayflower ASTEM 2025 · 4723090, reviewed October 23, 2026. Materials remain hosted in the linked source repositories and publisher sites; this page links to them and does not redistribute the collection. Follow each source’s access and reuse terms.参考版本 4723090,核对日期 2026 年 10 月 23 日。资料仍由所链接的来源仓库和发布网站托管,本页提供链接,不重新分发资料库;使用时遵循各来源的访问和使用条件。
Start with a research-readiness assessment.从一次科研能力评估开始
Tell us about your current stage, background, interests, and timeline. We will recommend an appropriate track, research direction, and project starting point.告诉我们您目前所处阶段、基础、兴趣与时间线,我们会建议适合的培养路径、研究方向和项目起点。