LOAD CELL MODULE

by SDPL96 in Circuits > Microcontrollers

411 Views, 0 Favorites, 0 Comments

LOAD CELL MODULE

cell module.jpg

In this tutorial we will learn how to program a simple Load Cell project onto the Load Cell Board.

Supplies

Load Cell Module available from below link

https://sourcewell.in/contact-us/

Prerequisites

cell module.jpg
IMG_20220323_100539[1].jpg

Since the code is developed in Keil environment, a basic understanding of the Keil is a must.

Following is the software that must be pre-installed for this project.

1. Download and Install the Keil software(Keil Keygen Mandatory)

2. Download and Install Database Installer(TH065_OCD_ICE)

http://www.megawin.com.tw/en-global/support/index/...

3. Download the source code from the following Git Repository

https://github.com/sourcewell-devices-pvt-ltd/FwDe...

4.Load Cell schematic are available at :

https://github.com/sourcewell-devices-pvt-ltd/FwDe...

5. Load Cell manual are available at :

https://github.com/sourcewell-devices-pvt-ltd/FwDe...

Megawin 8051 ICE Adapter Connections

ocd connection.png

Import the Code Build and Debug It

Build.png
Debug.png

Output Read Tool

Termite set.png
Termite out.png

By using Termite we can read the output of module. The UART Protocol Frame Format is as follows. Configure the UART for 115200, 8 Bits, No parity, 1 stop bit. The module is configured as slave device.

To read from module send ‘R’. The module sends total 8 bytes of data that is 4 bytes (32 bit) of raw value data and 4 byte (32 bit) of calibrated actual readings in float of weight sensor reading in MSB first format.