How does seatbelt sensor work?

When someone sits on the seat, the pressure sensor signals the occupant's weight to the ECU. The ECU then sends that data to the airbag, which has its own control unit. It reads the passenger's seating position and determines if they're wearing a seat belt.