Let's start with the hardware set up for sale communication.
So you have your Raspberry Pi here and you can see it's already powered on for me.
OK.
And you have your avenue and the USB cable.
So what you're simply going to do is connect the Arduino to the Raspberry Pi with the USB cable, as
you can see.
You can do that when the Raspberry Pi is put up on.
Apple will offer it doesn't really matter.
And that's pretty much it.
Now you can see also on the old, you know, here I'm going to unplug it here.
You're going to see you have some pins here on the Arduino.
You know, you have zero and one, which are X and T X, and those are also pins for telecommunications.
So you could use those eventually, which some use on the Raspberry Pi.
But this is much more complex because you need a voltage level shifter between five volts and 3.3 volt.
It's also less robust, less reliable and usually cables are already working well.
OK.
I've never had any problem with cellular communication that way.
And one more thing is that so here I have an Arduino uno.
You may have a different kind of bond, OK?
And depending on the Bond USB-C connector, you may be different.
So I have like a standard classic one, but you may have a micro USB.
Well, it doesn't really matter.
As long as you can connect the USB connector here to the USB connector here on the Raspberry Pi, everything
is going to work correctly.
Now that the hardware setup is down, let's do the software setup, and for that, you go to your Raspberry
Pi desktop, so make sure, of course, that you have correctly plugged your out in the world to the
Raspberry Pi using the USB cable.
And so for the audio side, there is nothing to sale, is already configured and ready to be used with
the cellular library under Raspberry Pi board.
We will need to do a few setup steps.
So first of all, you can open a terminal here.
Click on the icon and do unless Dash then does T y.
And in this, we can list all of the stuff that starts.
We've slashed Dave Slash, did you what you press enter.
And you can see all of that.
So what is this?
Well, basically we are going to try to find the port of the Arduino on the Raspberry Pi.
OK, so the plot is basically the name that is given to the port here so that we can recognize it and
then we can connect to it.
And will you have quite a few?
I'm going to give you the answer to both.
Is that one?
OK, slash Dave slash TDY ACM zero.
So you should have something like this.
Did you, I assume, are two white USB depends.
We have a number that can be zero one.
What usually you will start with this.
Know how to be sure you have this port?
Well, you simply disconnect your Arduino.
So I just unplugged my out in the world.
OK?
I just unplugged the USB cable, and now I'm going to run this command again.
And you can see that here.
We don't have the white patient zero anymore.
I'm going to read like the Arduino.
Now, don't always plug IRA in the Quran, and you can see now we have this.
So basically you just disconnect your Arduino, you rendered command, you connect your Arduino and
you just find what is the Newport that is here.
So now we know that this is the name of the port.
What you could also do is if you have the Arduino IEEE installed.
You can see here on tools and what we can find also the same name.
All right.
So now we have to put hungering to to clear on a terminal.
The second step we need to do is to make sure that our users of debate user, which is here, you can
see how the permission to access to cellular communication.
So we're going to do groups to see all the groups we are in.
OK.
So other by use it, you can see we are already in the dial out group.
And this is the one that gives you access to cellular communication.
So if you don't have this when you type groups, so what you can do is sudo add user and then the name
of your user.
So it's PI and the name of the group you press enter and you can see here.
The user is already a member of bail out, but it was not the case.
It would add you to the group, OK, if you just added your user to the dialogue, you need to log out
and login.
So what you can do is look at logging on.
You can also watch a Raspberry Pi, so you can be sure.
All right.
That was the second step.
The third step is to install a Python library.
So on the other side, we have the civil service library called Cellular, which is already installed
on the I don't know.
But on the Raspberry Pi side, we need a Python module and this Python module is by.
OK, so we are going to use the PI serial module and to install it.
So first, make sure you have IP three.
So if you don't have the IP three sudo apt, get install Python three.
Dash the IP.
OK, it's already here, and then IP three installed by serial like that.
OK.
Press Enter.
And already installed.
So actually, it may already be installed on your raspberry base, so if that's the case, that's wonderful.
And then you can do Pipe three show by Cellule.
OK.
To see the version, to see more details and maybe the page with documentation and everything for this
library.
And that's pretty much it.
OK, great.
So now everything is correctly set up.
The original word is plug it to the Raspberry Pi.
With the USB cable, you have the correct permission on the Raspberry Pi and you also have a cellular
library ready to be used on both sides.
Let us know.
Initiate the communication.