In compliance with high industry standards

Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteria

How to connect industrial Raspberry PLC to Wi-Fi

Industrial Communications

Odoo image and text block

  Introduction


Raspberry Pi based PLC family devices have 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 

Basics about digital outputs of a Raspberry Pi automation PLC
Read >>

Basics about Raspberry Pi PLC analog outputs
Read >>

How to find your perfect industrial PLC
Read >>

How to program open source PLC Raspberry Pi interrupt inputs with Python

Read >>

Raspberry PLC family products
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.

 

Looking for your ideal PLC?

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

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


Industrial PLC controller comparison >>

Do you want more information?

Just fill the form!

Tell me more!