How to connect industrial Raspberry PLC to Wi-Fi

Industrial Communications
March 15, 2021 by
How to connect industrial Raspberry PLC to Wi-Fi
Boot & Work Corp. S.L., Quesada Dani Salvans

Introduction

Raspberry Pi based PLC family devices has Wi-Fi wireless connectivity by default. 

It uses the two most common frequencies: 2.4GHz and 5GHz. It also uses the IEEE 802.11.b/g/n/ac bands. And, to connect them to the Wi-Fi network, you have to follow some specific steps. 

Requirements

The key points to consider are as follows: 

Related Links

Touchberry Pi

Family Products

See 

How to

Program Open Source PLC Raspberry Pi interrupt inputs with Python

Read 

How to

Find your perfect industrial PLC

Read 

Raspberry PLC

Family products

See 

Basics about

Digital outputs of a Raspberry Pi automation PLC

Read 

Basics about

Raspberry Pi PLC Analog outputs

Read 

Explanation

To connect this PLC with your Wi-Fi network, you must modify the wpa_supplicant file inside the Raspberry:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

And you must configure the file with the configuration parameters of the Wi-Fi network (it may change depending on the specific configuration of each case):

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
ssid="NETWORK SSID"
psk="NETWORK PASSWORD"
key_mgmt=WPA-PSK
}

And that is all, after that you must restart the networking services to apply the changes:

sudo service networking restart

Or you can reboot the system to apply the changes:

sudo reboot

Want to learn more about our equipment? 

Follow our blog for more TIPS and technical explanations.

​Search in our Blog

How to connect industrial Raspberry PLC to Wi-Fi
Boot & Work Corp. S.L., Quesada Dani Salvans March 15, 2021

Looking for your ideal Programmable Logic Controller?

Take a look at this product comparison with other industrial controllers Arduino-based. 

We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.


Industrial PLC comparison >>>