Motion Sensor PCB: Design and Manufacturing
What a Motion Sensor Board Is
A motion sensor board is a circuit board built around one job: detect that something moved, decide whether the movement matters, and trigger a response. The sensor, the analogue front end that conditions its output, the microcontroller that makes the decision and the output stage that drives a light, a relay or a radio all sit on the same board.
That combination makes the design different from a general purpose control board. The sensor is a small analogue device with a very weak output, and it shares a board with a switching power supply, a clock and often a radio. Managing that relationship is most of the engineering work.
Sensor Choices and What Each One Demands
PIR sensors. A passive infrared sensor detects the change in infrared radiation as a warm body moves across its field of view. It is the most common choice for lighting and intruder detection because it is cheap, passive and draws very little current. The demand it places on the board is analogue: the pyroelectric element produces a signal measured in microvolts, so the amplifier, the reference and the ground have to be quiet, and the sensor needs a clear field of view with no component or copper in front of it.
Ultrasonic sensors. These transmit a burst of sound and measure the echo. They detect motion and presence at a defined range and are not fooled by a stationary warm object, which makes them useful where a PIR would misread a radiator. They need a driver for the transducer, a receiver with enough gain, and separation between the transmit and receive paths to stop the burst from swamping the echo.
Microwave and radar sensors. A doppler radar module detects movement through glass and plastic, so it can be hidden inside a housing. The sensitivity is high and the detection can be tuned, but the module is a radio, so it needs a clean supply, a defined ground plane and separation from other radios on the board. At higher frequencies, the feed and the antenna need controlled impedance.
Accelerometers and gyroscopes. In handheld and wearable devices, motion is detected by a MEMS inertial sensor. These are digital parts that are easy to integrate, but their performance depends on the mechanical mounting, because vibration and board flex are indistinguishable from real motion.

The Rest of the Board
Beyond the sensor, a motion board carries a few functional blocks. The analogue front end amplifies and filters the sensor output, and its noise performance sets the detection limit. The microcontroller runs the decision logic, and for a battery product it also owns the sleep and wake behaviour that determines battery life.
The power supply converts the input to the rails the sensor and the logic need, and it is a common source of interference because a switching regulator produces ripple and switching noise near the sensor’s frequency band. The output stage drives the load, whether that is a relay, a triac for mains lighting, an LED or a wireless transmitter.
Our PCB assembly group builds these boards across the range from sensor modules to complete assemblies.
Design Rules That Decide Performance
Keep the sensor aperture clear. The PIR window, the ultrasonic port and the radar antenna all need an unobstructed path through the housing and the board. Components, copper pours, silkscreen and conformal coating in the optical or acoustic path are a common cause of a product that tests well on the bench and fails in the field.
Separate the analogue and digital domains. The sensor amplifier should sit over a solid quiet ground, with its own supply filtering, and the digital and switching sections should be placed and routed away from it. Returning digital current under the amplifier is one of the fastest ways to lose sensitivity.
Plan the ground. A single continuous ground plane with controlled return paths is better than splitting the plane into pieces that force return currents to detour. Where the analogue and digital grounds meet, the connection should be made at one defined point and the supply decoupling should be placed at the pin, not at the edge of the board.
Control EMI at the source. The switching supply, the clock and the output drive are the emitters. Snubbers, slow edges where they are acceptable, short loops and local decoupling reduce the noise before it reaches the sensor.
Manage the power budget. A battery powered sensor spends most of its life asleep, so the leakage of the regulator, the pull-up resistors and the sensor itself dominate the average current. A low quiescent current regulator and a microcontroller with a genuine deep sleep mode matter more than the peak current rating.
Think about the environment. Temperature, humidity and sunlight change the behaviour of a PIR sensor, and draughts and air conditioning can produce a false trigger if the sensor is aimed at a moving air path. The mechanical design and the detection algorithm both have to account for it. Our notes on PCB design and layout cover the layout practices in more detail.

Manufacturing and Assembly Notes
A PIR sensor is often a through hole part with a metal can and a lens, and it is normally fitted after the reflow process so that the heat and the washing do not affect it. The lens and the optical window have to be handled without contamination, and the sensor has to sit at the height the housing expects, which makes the mechanical tolerance between the board and the enclosure part of the assembly specification.
Ultrasonic transducers are also commonly hand placed or fitted after reflow, and their acoustic path has to stay free of coating. Radar modules are usually surface mount or connector mounted, and their antenna area must be kept clear of copper, coating and any metallic part of the housing.
Conformal coating protects the board in humid or outdoor installations, but it must not be applied over the sensor window, the acoustic port or the antenna. Masking during coating, or a coating process that excludes those areas by design, is the practical answer. Our notes on PCB manufacturing describe how these process steps are controlled.
Testing a Motion Board
An electrical test proves the board is built correctly, but it does not prove the sensor works. The functional test has to exercise the sensor the way the product will, which means a defined moving target at a defined distance and angle, and a defined ambient background. For a PIR, this is usually a rotating warm target on a fixture; for a radar or ultrasonic module, it is a controlled reflector.
The test should also cover the false trigger case, which is the sensor sitting still in a warm room with the supply and the radio running, because that is where a marginal design shows up. Our notes on PCBA testing describe how these functional checks are set up.
Where These Boards Are Used
Smart lighting is the largest application, where the board turns a lamp on when a person enters and off when the space is empty. Security and surveillance systems use motion detection to start recording or raise an alarm. Consumer devices use inertial sensing for gesture control, screen rotation and step counting.
Industrial automation uses motion sensing for people detection around machinery and for material movement, and automotive systems use it for occupancy detection, gesture control and blind spot warning. In every case the sensing requirement, the environment and the power source decide the sensor, and the sensor decides the board. Our notes on Internet of Things PCBA cover the connected products in this family.
What Drives the Cost
A basic PIR board is an inexpensive two or four layer FR-4 assembly, and the cost is dominated by the sensor and the microcontroller rather than by the laminate. An ultrasonic or microwave board costs more because the transducer or radar module is more expensive and the analogue front end is more demanding, and a board that combines a sensor with a radio, an MCU and sensor fusion costs more again.
Layer count, the tolerance of the sensor, the amount of functional testing and the assembly complexity are the practical cost levers. Over-specifying the laminate rarely helps a motion board; the money is better spent on a quiet analogue front end and a thorough functional test.
FAQ
Which sensor is best for a battery powered product? A PIR sensor, because it is passive and draws very little current, provided the rest of the design includes a low quiescent current regulator and a deep sleep mode.
Can a radar sensor be hidden inside the housing? Yes, which is one of its main advantages. The antenna area must be kept clear of copper, coating and metal, and the housing material has to pass the frequency being used.
Why does my motion board trigger when nothing is moving? Usually because of a draught, a moving heat source, supply noise coupling into the analogue front end, or a marginal ground return under the amplifier.
Should the sensor be placed before or after reflow? PIR sensors and ultrasonic transducers are normally fitted after reflow, so that heat, flux and cleaning do not affect the element or the acoustic port.
Does conformal coating damage the sensor? Coating over the optical window, the acoustic port or the antenna does. Those areas must be masked or excluded from the coating process.
Conclusion
A motion sensor PCB is a mixed signal board where a very small analogue signal shares space with switching supplies, clocks and radios. The sensor choice sets the architecture, and the layout decides whether the design performs. Keep the sensor aperture clear, keep the analogue front end quiet, plan the ground and the power budget from the start, and qualify the board with a functional test that includes the false trigger case.



