The first line here let me zoom in. The first line here is to include that x seven hundred eleven. The text which is the library that you are going to use to interface Arduino the x 7 11 module now that 7 11 has a method that takes that all bands to which you are connecting that that happens with child that data on the clock.
These are bin's number 5 and 6 as you can see here. So this is very easy and very straightforward. So you have to connect these two. Ben's been Number five to that data out been Number Six to that clock out which are the two Tobin's that exists and that 7 11 with you. Now we have these valuable flawed calibration factor this calibration factor is adjusted according to your loads. So depending on which loads you are using you'll need to adjust this number until you reach the point at which you can do it the way it correctly.
Also Read: Everything You Need To Know About Arduino
We will talk about the calibration process and I separated lesson. Now we have floor units floor units K these are in ounces. These are all on the ground. These are and cablegrams and these are an onslaught on cells. And here we have the three LEDs that we really talked about that had led that green lead and they are dead.
They are connected to one to 15 in the top area. We are initiating the serial communication serial again using the 9600 baud rate. Then we are renting loads Arduino board project. So if I are going the seat at the moment or once I connect Arduino it will display the sentences the face on Southerns lords.
We have got Project remove anything above not cell which is an indication or a manual. You need to remove anything that exists above the road sense to make sure that it gets the right rating readings and to start calibrating after reading starts to show bliss known where it all loads. So you want to grab something that you know its exact way. So lets say that you have three kilos of rice in your kitchen you can simply grab these and put them on your blood cell.
You can start blessing plus or minus to increase the calibration vector or decrease it. This is the completion factor that we are talking about. And at the beginning it wont give you all three kilograms for the Rice or the bag with rice.
You need to start adjusting calibrating first or using the Syrian mortar until you reach right calibration factor for your project. A lot. As we mentioned earlier each load cell has its own calibration factor. So you need to work on this. We will talk about this in the practical lesson once. I hope that load cell to the Arduino on board if you can see that calibration is a bit time consuming. It will take you like five minutes to get the right calibration factor for your loads soon.
Also Read: Everything You Need To Know About Arduino
But so at the first scandal its skin calibration factor adjust to this calibration factor. At the beginning of each loop we need to get to the new production factor. Since we already added these lines of plus or minus to change the calibration factor we need we need to take that factor into consideration consideration each time sitting under the bent reading. It will bring.
That's an honest reading. And to better show you things that happens here I will hook up my Arduino. So okay now click on Tools make sure that dowdiness connected then to will see it on a monitor. Now this is our cereal monitor as you can see loads. If we wanted Ok I will on Chick fil A. Now as you can see these of the four sentences lots of doing about three more and I think after reading this about plus or minus these five sentences are written here.
And the Zero Factor is this. So now it's something than getting any readings of the calibration factor is eight. So let's go back to the loop serum then it will print the word reading. So if you want here as you can see this is it reading.
Also Read: Everything You Need To Know About Arduino
Now you can convert the readings to onsides or two kilo gloms and if one packet as you can see this is the reading in Kilo gloms the calibration factor is 8. And let's continue as you can see it will bring in kilogramme. This is it then it will print kilograms which is this sentence. After that will bring the calibration factor which is this then we'll bring the calibration factor variable which is this. That equals it as we are defined at the beginning of the program in the setup.
Now to bring new line so that we can go to any one line below. I added three if statements. This is the first IF statement. This is the second and this is the third. They are all identical with different conditions.
This will check if they are not in Kilgallon is below 15 or 50 it will bring below 50 and it will turn that lead on until that green and yellow LEDs off. If they it is above 50 and below a hundred kilogram it will bring between 15 or 50 and a hundred and it will tear them off the heads and turn on the green ones. If units is above or equal hundreds kilogram it will bring above hundreds and it will turn off the red and green and it will turn on the yellow.
Also Read: Everything You Need To Know About Arduino
Now I will move on. But I'll wait on the Lord. Now I'm blessing with it. So as you can see it's something gridding. It started reading more. It's now 15 kilograms. Now if I placed way above 50 kilograms it'll Drent above 50 and below 100. So let me place you can see now it's.
Between 50 and 100 but it's going really fast so I will support this claim. As you can see between 50 and 100 now is a way that's above 500. It will start giving you a 100 as you can see. So it's now there's no and so it's now 0 kilograms so it's been hitting below 50. This is simply how to interface old cell to Arduino using a 7 would you. You can copy this code. I will place it in a separate article.
You can Code it. And does that mean you are doing. And after I think that 7 11 library you can start using it and you can display readings on the LCD instead of cereal monitor. But I placed three things here for easier calibration of the calibration factor. So it's easy and straightforward. And the next lesson I will talk about how to calibrate your not sell that correct way.
Also Read: Everything You Need To Know About Arduino
Dear visitor. Click on "Follow" button from right side above and sign in with your Gmail account. Write unlimited comments on every post. 100% Free