Skip to content
Tactiverge

Courses / Electrical and Computer Engineering

ECE-240

Microcontroller inputs, outputs and sensors

Pins, pull-ups and debouncing, sensor range and calibration, sampling and ADC quantisation, and PWM: the electrical side of talking to the world from a microcontroller.

Entry level
Level 2 · Builder
Stage
Intermediate
Size
4 modules · about 8 h of lessons
Readiness
Ready to follow

Course codes are internal Tactiverge identifiers for organising our own lessons. They are not university course numbers, carry no academic credit, and Tactiverge is not an accredited institution.

Before you start

Prerequisites are advice, not gates: open any lesson whenever you like.

What you will be able to do

  1. Outcome 1

    Read digital inputs reliably with pull-ups and debouncing.

    Taught in: Pins: high, low and in between, Pull-ups: giving a button a resting voltage, Debouncing: one press, one count

  2. Outcome 2

    Scale and two-point calibrate a sensor from its datasheet.

    Taught in: Range, resolution, accuracy, precision, Reading the datasheet line, Two-point calibration

  3. Outcome 3

    Explain sampling and ADC quantisation noise.

    Taught in: Signals: smooth waves and stored numbers, Sampling: how often is often enough?, ADC counts, quantisation and noise

  4. Outcome 4

    Use PWM duty cycle to set an average voltage.

    Taught in: PWM: dimming with an on/off switch

The route

Work down the spine. Staged lessons have practice that is checked on the server; reading lessons are Academy pages without auto-checked practice.

Practice and labs

  • 51 practice items across 10 staged lessons, 20 of them generated fresh each attempt
  • 4 browser labs or studios, and 2 lessons that open with an interactive experiment
  • Interactive work in 3 of 4 modules

Everything runs in your browser. Simulations are simplified educational models with stated assumptions.

Project milestones

  1. 1. Temperature sensor

    Convert ADC counts to degrees Celsius in the Code Lab.

    Open: Code Lab: ADC counts to °C
  2. 2. Interlock

    Complete the three-sensor interlock mission.

    Open: Mission: The Three-Sensor Interlock

Assessment

  • Practice: Server-checked practice items in every staged School lesson of this course.
  • Mastery checkpoint: A School mastery checkpoint drawn from the lessons of that term. Auto-checked questions plus a self-assessed written answer; no reviewer has marked any yet.
  • Code exercise: Automatic tests run in your browser against your code.
  • Project: Project evidence you keep in your own records. Self-assessed: no reviewer has assessed it yet.

Readiness and review

Ready to follow

Outcomes taught4/4

Modules with checkpoint-backed lessons4/4

Modules with interactive labs3/4

3 verified videos · 1 project activities · 1 mastery checkpoints draw on these lessons

Review status of the lessons

  • 10 Technically checked (automated tests)
  • 7 Academy reading lessons (no review record)

Still needed: technical review (7 Academy lessons without a review record; course mapping (automated checks only)) and educational review (17 lessons and the course sequence). No educator has reviewed this course.

The course mapping itself is checked by automated tests only. Lessons were written with AI assistance.

Follow it on your own

  1. Check the prerequisites; skim any you have not met.
  2. Work through the modules in order, doing each lesson’s practice before moving on.
  3. Do the labs and milestones, and record your runs and decisions in your own notes.
  4. Sit the mastery checkpoints listed under Assessment when you feel ready. There is no deadline.