---
title: "Load Cell Occupancy Sensor"
url: "https://maker.wiznet.io/WIZnet/projects/load-cell-occupancy-sensor/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/load-cell-occupancy-sensor/md"
type: "UCC: User Created Content"
author: "alex"
author_url: "https://github.com/newAM/LoadCellOccupany"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "alex"
original_url: "https://github.com/newAM/LoadCellOccupany"
published: "2023-02-21"
language: "en"
hardware: ["WIZnet W5100"]
likes: 4
views: 409
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Load Cell Occupancy Sensor

> This project is a occupancy sensor that uses a load cell for couches and beds, transmitting data to my Home Assistant server via MQTT

Original author: alex (source: https://github.com/newAM/LoadCellOccupany)

## Components

- **WIZnet W5100** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5100))

## Article

**DETAILS**

## **Overview**

Load cells → HX711 (ADC) → ATMega328P (MCU) → W5100 (Ethernet) → MQTT Broker → Home Assistant

This sensor takes input from 4 load cells, each supporting one leg of a bed or couch. The load cells are sampled with a ATMega328P (Arduino) using an HX711 load cell ADC. These samples are then transmitted to an MQTT broker via the Wiznet W5100 (same as Arduino Ethernet shield).

## **Project Contents**

- LoadCell_ArduinoCode – firmware for the ATMega328P

- LoadCell_Case – 3D printable case designed in OpenSCAD

- LoadCell_Holder – 3D printable holder for the load cells designed in OpenSCAD

- LoadCell_HomeAssistant – example Home Assistant configuration

- LoadCell_KiCAD – schematic and PCB

##### **ORIGINAL LINK: **[**HTTPS://GITHUB.COM/NEWAM/LOADCELLOCCUPANY**](https://github.com/newAM/LoadCellOccupany)

---

Source: https://maker.wiznet.io/WIZnet/projects/load-cell-occupancy-sensor/
