To get started with your weighbridge integration, return a completed copy of the Weighbridge Integration form to [email protected]. The information you send will be used to configure a Raspberry Pi and your AgriDigital Onfarm account to enable the integration (see Weighbridge Integration overview).
Please allow us at least 5 business days to contact you about your weighbridge integration setup.
The Weighbridge Integration form consists of four sections. You’ll need to provide all the information requested to make sure that AgriDigital Onfarm can get accurate data from your weighbridge.
Click a number below to jump to the corresponding section of this how-to article.
1 - Basic information section
Tell us basic information about your farm and your weighbridge.
Get your weighbridge location coordinates using Google Maps.
Go to Google Maps.
Right-click the area on the map where your weighbridge is located, and then select What’s here?
Copy the coordinates at the bottom of the card that appears, onto the Weighbridge Integration form.
2 - Network information section
You will need to find an available IP address in your network so that the Raspberry Pi that we will use for the weighbridge integration can relay accurate weight readings to AgriDigital Onfarm.
Important The following steps must be completed using the same internet router/modem and computer that will be used at the weighbridge. |
Find your computer’s IP address and an available IP address
Option A: On a Windows PC
Get your computer’s IP address
Open the Run window by pressing Windows key + R, type cmd,
and then press Enter.
In the Command Prompt, type ipconfig and then press Enter.
Copy the information labeled IPv4 Address
as the IP address of the computer used at weighbridge.
Copy the information labeled Subnet Mask
as your Subnet mask.
Copy the information labeled Default Gateway
as your Default Gateway IP.
Continued, Option A: On a Windows PC
Find an available IP address for the Raspberry Pi
Your Subnet Mask determines how many possible IP addresses can be used in your network. Use this to find an available IP address for the Raspberry Pi by doing the steps below.
Using the table at the bottom of this page (IP Subnet Calculator site), check how many Usable Hosts (or possible IP addresses) your network can accommodate based on your Subnet Mask.
Open the Run window by pressing Windows key + R, type cmd,
and then press Enter.
Before doing Step 3 below, take note of the following:
Substitute 254 (highlighted in green below) with the Number of Hosts for your Subnet Mask from Step 1 above, and substitute 192.168.1. (highlighted in orange) with the first 3 sets of numbers of your device’s IP address.
This command will check your network for IP addresses that are being used and might take several minutes to run. |
In the Command Prompt, type:
FOR /L %i IN (1, 1, 254) DO ping -a -n 4 192.168.1.%i
and then press Enter.
If you get a Reply from message, then that IP address is already in use on the network.
If you get a Destination host unreachable or Request timed out message, then the IP address is available for the Raspberry Pi.
Once you have an available IP address noted, press CTRL+C to stop the Command Prompt from searching more IP addresses.
Copy the available IP address onto the Weighbridge Integration form.
Option B: On a Mac
Get your computer’s IP address
Go to Apple menu > System Preferences, and then click Network.
From the Location drop-down list, select Automatic.
On the left side, select your active internet connection, and then click Advanced.
Click the TCP/IP tab.
Copy the information labeled IPv4 Address
as the IP address of the computer used at weighbridge.
Copy the information labeled Subnet Mask
as your Subnet mask.
Copy the information labeled Router
as your Default Gateway IP.
Continued, Option B: On a Mac
Find an available IP address for the Raspberry Pi
Your Subnet Mask determines how many possible IP addresses can be used in your network. Use this to find an available IP address for the Raspberry Pi by doing the steps below.
Using the table at the bottom of this page (IP Subnet Calculator site), check how many Usable Hosts (or possible IP addresses) your network can accommodate based on your Subnet Mask.
Open the Spotlight search field by pressing Command-Spacebar, type terminal,
and then press Return.
Before doing Step 3 below, take note of the following:
Substitute 254 (highlighted in green below) with the Number of Hosts for your Subnet Mask from Step 1 above, and substitute 192.168.1. (highlighted in orange) with the first 3 sets of numbers of your device’s IP address.
This command will check your network for IP addresses that are being used and might take several minutes to run. |
In the Terminal window, type:
for ip in $(seq 1 254); do ping -c 4 192.168.1.$ip; done
and then press Enter.
If you get a 64 bytes from message, then that IP address is already in use on the network.
If you get a Request timeout message, then the IP address is available for the Raspberry Pi.
Once you have an available IP address noted, press CTRL-Z to stop the Terminal from searching more IP addresses.
Copy the available IP address onto the Weighbridge Integration form.
Get your modem/router SSID and Password
Many routers or modems have a sticker at its bottom or side indicating its default SSID and password. This is usually labeled as SSID or Network Name, and may be located next to a barcode. Copy this information.
Important If you changed these default router/modem information, be sure to indicate the updated SSID and Password in the Weighbridge Integration form. |
3 - Weighbridge Indicator information section
Let us know more information about your weighbridge.
Unit of measure - specify the unit of measurement in which weight reading is reported. This is found in your weighbridge indicator’s configuration setup.
Decimal point setting - Specify how many decimal points are applied in the weight reading reported. This is found in your weighbridge indicator’s configuration setup.
Get the IP address, Port, and Output Data Format of your weighbridge indicator
Refer to your weighbridge indicator’s settings and look for the setup labeled IP address and Port. The exact wording and placement may vary depending on your indicator’s brand and model.
Important To help us ensure correct configuration, please include photos of your indicator’s screen showing all network-related information, as supporting documents to a completed Weighbridge Integration form. |
Copy the IP address, Port, and Output Data format onto the Weighbridge Integration form.
For customers with Serial connection weighbridge
If your weighscale only has a serial port connection, we’ll need to know more about it so that the Raspberry Pi can relay accurate weight readings.
Refer to your weighbridge indicator’s settings and look for the setup labeled Serial port, Baud rate, Parity, Data bits, Stop bits, Output data format. The exact wording and placement may vary depending on your indicator’s brand and model.
Important To help us ensure correct configuration, please include photos of your indicator’s screen showing all serial port-related information, as supporting documents to a completed Weighbridge Integration form. |
You will also need to connect a Moxa device to your modem/router and to your weighbridge indicator via cables.
If your modem/router is not Wi-Fi capable, you will need to connect the Raspberry Pi via cable.
Specify how long the cables to provide should be (see diagram below).
Important To help us understand your cabling needs, please include photos of your indicator, modem/router, and your general weighbridge office setup as supporting documents to a completed Weighbridge Integration form. |
4 - Address section
Let us know where we should send the Raspberry Pi that will connect your weighbridge to AgriDigital Onfarm.