The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects.
At Industrial Shields we take it to the next level, allowing it to be used in the industrial field, with higher capabilities.
So, in this blog we are going to show you how to adapt a Raspberry Pi image to a Raspberry PLC image so that you can use them with your open-source industrial controllers.
In order to add the configuration files of a Raspberry PLC image to a Raspberry Pi OS, follow these steps:
2- Download an operating system image from Raspberry Pi. You can choose among "Raspberry Pi OS with desktop and recommended software", "Raspberry Pi OS with desktop", "Raspberry Pi OS Lite" or any available image.
All the operating system images available HERE.
3- Take your microSD card with an adapter for your PC, and write the image from the Raspberry Pi Imager.
4- Once written, introduce the microSD card in your Raspberry PLC and do the setup.
5- Create a file in your Raspberry PLC called install.sh, and copy this content. ( Do not use windows notepad for this)
Another way of doing this step is to run this command on your PLC terminal ( Internet connectivity is needed)
6- Run this command to change the permissions:
chmod 755 install.sh
7- Finally, run it as a superuser:
After the reboot is done, the Raspberry Pi image will be now a Raspberry PLC image!