📘 CodingMarble Learn

Creative Hardware Design: Needs Analysis, Function and Look, Choosing a Board

A good hardware project starts with a real need of a real user, not with a gadget. We write the need in one sentence, turn it into functions (what the device must do), design how it looks and feels, and then choose a board. A board is chosen by how many pins the modules need, whether Wi-Fi or Bluetooth is needed, the size, the power use and the price. Choose the smallest and cheapest board that fits, with a little room to grow.

🎬 Step-by-step story

  1. Start with a person and a need. A grandmother forgets to water her plant. The need is: remind her at the right time.
  2. Turn the need into functions: measure soil moisture, show a light, make a beep. Each function needs a module.
  3. Design the look: a box shaped like a flower pot is friendly. Change its size so the board and wires fit inside.
  4. Look at three boards. They differ in pins, Wi-Fi and price. Tap a board to read its facts.
  5. Count the pins that all modules need. A board must have at least that many pins, and Wi-Fi if the idea needs it.
  6. Free play: change the pins and Wi-Fi. The cheapest board that fits gets a star.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why not start by choosing a cool board?

A board is a means, not the goal. If you do not know the need, you may buy parts you do not need. The 3D starts with a person and a need.

How do I get functions from a need?

Ask what must happen: sense, decide, tell. Each answer becomes a function and a module, like the three cubes.

Why does size matter?

Parts must fit inside the box with space for wires. In the 3D, drag the size slider: a box that is too small turns red.

What is the difference between the three boards?

They differ in pins, Wi-Fi and price. Tap each board and read the label above it.

Why not just take the board with the most pins?

More pins cost more and may need more power. Count pins first, then choose the cheapest board that has enough.

What if I need Wi-Fi?

Only boards with Wi-Fi fit. Turn on the Wi-Fi switch and watch the other boards turn red.

Needs analysis: who needs what?

Needs analysis means finding the real problem before building anything.

  1. Pick a user (a child, an elder, a farmer, a shop owner).
  2. Watch or ask: what is difficult, slow or unsafe for them?
  3. Write the need in one sentence: “Grandmother needs to remember to water the plant.”
  4. List limits: cost, size, power (battery or plug), place (indoor or outdoor), time to build.

Compare ideas by usefulness, cost and how easy they are to build. Drop the ideas that are too big for the time you have.

Function design: what must it do?

A function is one thing the device must do. Break the need into small functions, each with an input, a rule and an output.

Write them as a requirements list and mark each as must have or nice to have. Do the must-haves first.

Appearance design: shape, size and feel

Look and feel decide whether people use the device. Think about:

Make a paper or cardboard model first and ask the user to try it. Change the design before you solder anything.

Choosing a board

Compare boards using a table of what you need.

Choose the smallest and cheapest board that fits all of the must-haves.

Try it: choose a board for your idea

In the 3D go to the last step. Set pins needed to 12 and no Wi-Fi: which board gets the star? Now turn Wi-Fi on. What changes? Predict first, then check.

At home: write your own idea in three lines (user, need, three functions), count the pins, and pick a board from a list in a shop or online catalogue.

Key formulas and definitions

Worked examples

1. A project uses 3 LEDs, 2 buttons, 1 analog sensor and 1 buzzer. How many pins are needed? Which of these boards fit: 8, 20 or 30 pins?

Pins = 3 + 2 + 1 + 1 = 7. With 20% spare, 7 × 1.2 = 8.4, so about 9. The 8-pin board is just too small. Choose the 20-pin board.

2. The same project must also send data over Wi-Fi. Which board is now the choice, if only the 30-pin board has Wi-Fi?

Wi-Fi is a must-have, so only the 30-pin Wi-Fi board fits.

3. The Small board costs 1 unit, Standard 2 units and Wi-Fi board 3 units. A project needs 12 pins and no Wi-Fi. Which is the best?

Small has 8 pins: too few. Standard has 20 pins: fits and is cheaper than the Wi-Fi board. The Standard board is the best.

4. Write the need and three functions for a school bag alarm that tells a child when a book is missing.

Need: the child must not forget books. Functions: detect each book (input), compare with the list (rule), beep and show a light (output).

5. Your box is 8 cm wide. The board is 7 cm wide, the battery 3 cm wide, placed side by side. Will they fit?

Total width = 7 + 3 = 10 cm, which is more than 8 cm. They will not fit. Put the battery above the board, or use a wider box.

Common mistakes

Practice quiz

1. What should come first in a hardware project?
2. A function in design means:
3. Which makes a board unsuitable?
4. If a project does not need Wi-Fi, a good choice is to:
5. Why make a cardboard model?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is needs analysis?

Finding the real problem of a real user before you design: who, what is hard, and what limits you have.

How do I choose a microcontroller board?

Count the pins, decide if Wi-Fi or Bluetooth is needed, check voltage, size, power and price, then pick the cheapest board that fits.

What is the difference between function and appearance design?

Function design says what the device does. Appearance design says how it looks, how big it is and how it feels to use.

Where this is taught

China高三Sel.6 Open-source hardware projects

Learn first

Learn next

Related lessons

All Computer Science lessons