Embedded systems and IoT

Stage 2 of 10 · 7 lessons · ~4 weeks

Electronics you need

Learn enough circuit theory to wire parts safely: Ohm's law, resistors for LEDs, voltage dividers, logic levels, pull-ups, a shared ground and clean power.

Start: Ohm's law and power

Lessons· one lesson for each topic, in this order

  1. 1Ohm's law and power
  2. 2LEDs and current-limiting resistors
  3. 3Voltage dividers
  4. 4Logic levels: 3.3 V and 5 V
  5. 5Pull-ups, pull-downs and buttons
  6. 6Common ground and clean power
  7. 7Breadboard, multimeter and a first circuit

Do this

  • Buy or borrow a multimeter, a breadboard, jumper wires, LEDs, resistors and buttons.
  • Calculate an LED resistor for your board's voltage and check it with the meter.
  • Wire a button with a pull-up and confirm the pin levels with the meter.
  • Design a divider that scales a battery voltage into your input range.
  • Write down your board's logic level and which of your modules are 5 V.
  • Draw a simple schematic of your first circuit, by hand or in a free tool.

Start with

  • BookFree
    All About Circuits Textbook

    All About Circuits · Beginner

    Free: read the DC volume chapters on Ohm's law, series and parallel circuits and dividers

Practise

  • Wire LEDs, resistors and buttons in a simulator first, then build the same circuit for real

Keep handy

Also worth your time

Before moving on: An LED with a calculated resistor and a button with a pull-up wired on a breadboard to your board, with your calculations written down and the resistor voltage measured to match within a reasonable margin.

Tauseef's advice
You do not need an electronics degree for this track, but you do need these seven ideas cold. Most of the "my code is broken" messages I get are a floating input, a missing ground or a 5 V signal on a 3.3 V pin. Buy a cheap multimeter before you buy a second board.

Mark this stage as not done?