A firmware engineer work sample can start with a sensor timeout in a simulator. Ask the candidate to reproduce the fault and trace what the application publishes before the timeout, during the failure, and after recovery. If the job also requires bringing up a board or measuring timing on a physical device, add a separate exercise on equipment you provide.

In a November Ask HN thread, a developer with earlier native-code experience and a decade in full-stack web work asked how to move into embedded development. Imagine their application lands on your desk the same week your device starts publishing old sensor readings as current. What would you need to see before you handed them that ticket? [Ask HN discussion](https://news.ycombinator.com/item?id=50555002)

## Start with the first failure the hire needs to own

On one team, the board and sensor driver already work. The new hire owns what the application does when a read fails. On another team, the new hire will be the person checking whether a sensor on a new board responds at all. The same job title could describe either role.

Employer postings illustrate the range. Overview's embedded systems listing describes work on Jetson edge camera applications, Linux services, and over-the-air updates. BootLoop's founding embedded engineer listing calls for hands-on work with embedded toolchains, hardware CI, and debugging infrastructure. Write down what your hire needs to do independently and what your team can teach. That's also the principle behind the U.S. Office of Personnel Management's guidance to sample actual job tasks and focus on skills people need at entry. [Overview role](https://www.ycombinator.com/companies/overview/jobs/KJFKKbw-staff-embedded-systems-engineer) · [BootLoop role](https://www.ycombinator.com/companies/bootloop/jobs/ZEkiBte-founding-embedded-engineer) · [OPM guidance on work samples](https://www.opm.gov/policy-data-oversight/assessment-and-selection/other-assessment-methods/work-samples-and-simulations/)

## Give the candidate one faulty sensor sequence

Prepare a small starter project that reads a sensor and publishes a value with a freshness flag. In this fictional fixture, a failed read may leave the last good value available, marked stale. A valid new reading makes the output fresh again. The starter implementation has one defect. After a timeout, it still marks the cached value fresh.

Give every candidate the same scripted events and expected output. The values below are arbitrary and chosen to make recovery visible.

| Scripted event | Expected publication |
| --- | --- |
| Sensor returns 21 | 21, fresh |
| Next read times out | 21, stale |
| First retry fails | 21, stale |
| A later read returns 24 | 24, fresh |

Ask the candidate to reproduce the defect, explain where the wrong flag comes from, fix it, and add a regression test. Ask for a short note explaining what they'd check on the target before release and what observation would change their diagnosis. Publish the timebox and give candidates a way to ask clarifying questions. Supply a ready-to-run project with a pinned toolchain and a command that runs the fixture, or offer a session with the tools already set up.

If your application uses Zephyr, its native simulator can run sufficiently hardware-independent Zephyr application code as a Linux process. Use a scripted sensor double to control the return values and errors. The Linux process gives you a repeatable way to inspect the application's state transitions. Board behavior and physical timing require measurements on the target. [Zephyr native simulator documentation](https://docs.zephyrproject.org/latest/boards/native/native_sim/doc/index.html)

## Score the observations behind the patch

A candidate might see the timeout and immediately reset the sensor. Look at the trace with them. The scripted timeout is an input to the exercise. The bug under review is what the application tells its consumers while it waits for a valid reading. A patch that changes the timeout but leaves the wrong freshness flag has missed the defect.

| Review criterion | Evidence you can look for |
| --- | --- |
| Reproduction | The candidate identifies the event where actual output first diverges from expected output. |
| Fault isolation | They trace the read failure and locate the code that decides whether cached data is fresh. |
| Regression coverage | Their test checks that the cached value stays stale through both failures and that the new value becomes fresh on recovery. |
| Target follow-up | They name a specific observation, such as comparing the driver's return code with an application trace from the same failed read, and explain how they'd interpret it. |

Use these criteria in the follow-up conversation. For example, ask why checking only the final value of 24 would miss the regression. It could pass even if every failed read in the middle still appeared fresh. Accept different implementations that preserve the same observable contract.

## Decide whether you need to see the candidate at a bench

For an application-layer role with established drivers and a teammate who owns board bring-up, the trace, patch, and test give you evidence to decide whether to advance the candidate. You can spend the next conversation on a decision from their submission, such as how they'd make stale readings visible to the rest of the system.

For a role that owns board bring-up or target timing, put the relevant instrument and hardware in the next stage. If the hire owns the retry timing budget, give candidates the board, a consistent way to trigger a failed read, and the timing budget from the exercise brief. Ask them to measure the interval between the failed transaction and the retry, mark the events they used as endpoints, and explain whether the measurement meets the budget. A prepared trace works when the duty is interpreting measurements collected by someone else. Include live measurement when the hire will need to operate the equipment.

## Run the exercise through your hiring pipeline

You can use a Kit Work Sample stage for the private brief and submission. Enable links if you want a repository URL, or allow the file type you ask candidates to upload. You can set a deadline and extend it when needed. If your fixture starts in a GitHub template repository, a Kit Code Assignment can give the candidate a private repository. Your team supplies the harness and toolchain, runs any bench session, and records observations in reviewer scorecards. [Process template configuration](/docs/process-template-configuration) · [Reviews and feedback](/docs/reviews-and-feedback)

Before sending the exercise, write down the first fault your hire should be able to own and ask a teammate to run through the brief. Check that your teammate can reproduce the fault and that every review criterion turns on something a candidate can show. [How to structure code assignments](/blog/how-to-structure-code-assignments)