Raspberry Pi Controlled AI Robo Car PiCarX | SunFounder

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
viral science the home of creativity hey friends welcome back to another video today i have a amazing robo kit so this is a biker x kit sent to me by sunfounder.com links to purchase this kit will be in the description so you can check it out this spike rx runs on a raspberry pi and it can be controlled with a smartphone it has a camera which can also change its view direction as well this is a ai based car and it can identify human faces colors and has multiple features like obstacle detection edge detection line following it can also play music and also do some text to speech as well you can program this robot as per your logic and make use of each and every function this robot has it is based on python and if you are good in it then you can easily program this and if you don't know python then you can program with ebox code which is very simple to do just drag and drop the functions as per your logic and it's done in this video i will show you how to assemble this robot and will test some of its features so let's get started with this video so here is the box of the pikerx let's quickly unbox it and see what's inside so on the top you can see the manual where on the front page all the images of the components is listed and inside this manual you will find the assembling steps where each and every step is properly mentioned so if you follow this each and every step you can easily assemble this car and on the last page you can find the wiring diagram so with this you can easily make the pi rx so let's keep this manual aside for a while and see what's inside the box so on this top layer you will find the metal chasses of the robocar and you will find some wires as well on the second layer you will find the motors and the wheels and allen key and some screws to fix this car and on the third last layer you will find the battery holder some servo motors sensors and the pi car hat and a screwdriver to assemble this so these were all the components which we found inside the box and now let's follow the assembling procedure to assemble our robocar so on the very first step it's mentioned to assemble the battery holder so for that we'll first fix the ribbon as per the diagram so this is the top main chassis so here is the ribbon and this ribbon is used to remove the battery easily so we have fixed the ribbon as per the diagram and now we'll place the battery holder so here is the battery holder and now we'll place it on the chassis and we are using this m3 into four screws which is mentioned in the assembly manual and will fix this battery holder so the next step is to fix the standoff so here is the position so we'll fix the standoffs over here so these were the standoffs mentioned you will find each and every screws and standoffs and other small small components labeled inside this plastic bag so we'll fix this standoffs the standoffs are used to place the raspberry pi over it [Music] so after fixing this we'll fix the motors [Music] so these were all the screws and nuts required it's mentioned in the manual as well [Music] and here is the motors so now we'll fix this on the bottom of the chassis [Music] we'll pass out this battery wire from the small hole so we can connect it with the pi hat on the top so now we'll fix this motor and screw it [Music] [Music] [Music] [Music] so i'm using this allen key to tighten the screws [Music] so now i fixed both the motors and will pass out the wires from the hole behind this so this step is done let's move to the other step so now we are fixing the standoffs over the raspberry pi so we are using this 2.5 into 11 standoff and we are using the raspberry pi 4. i am using a 4 gb ram model so we'll place this pi on the top of the standoff [Music] after placing it we'll tighten it up with the other standoff [Music] [Music] so the next step is to connect this ffc cable this is cable used for the camera so we'll connect it to the camera connector of the raspberry pi so now we'll connect this robot hat on the raspberry pi make sure you connect all the header pins properly and to protect this they are given a case for this pie hat so we'll place it above this pie hat and we'll tighten this up with the screws so we are using 2.5 into 14 screws so we'll properly tighten this up so in the next step we have to connect the servo arm and we are using 1.5 into four screws so we'll place this from the bottom and we'll tighten this up with the four screws so now we have to connect this ultrasonic sensor with the plate and the rivet so here is the ultrasonic sensor and this is the plate and we are using this 3090 rivet these are the self locking rivets so first we'll pass on this ultrasonic sensor we'll place the back plate and now we'll pass on the rivet and with the gentle pressure we'll press this rivet and it will self lock it so as you can see it is locked so it won't come out so now we'll fix another standoff on the bottom so we are using this one so we'll pass on the screw and rotate the stand off clockwise so it will get tight enough so as per the manual the next step is to connect the ffc cable to the camera so here is the camera module and we'll connect this ffc cable with the camera so now we'll connect the camera module with the a3 plate and we are using this two into four screws to fix this [Music] so now we'll connect the servo arm on the a3 plate with this we can control the tilt of the camera so after this step we'll connect the power cable to the raspberry pi by this hat and it's time to upload the os on our sd card so here is the sd card i'm using a 32 gigabits of sd card and will upload the raspberry pi plus easy block os so here is the os i'll share the link to download this so you need to download this wise i already downloaded it and now you will need this application that is raspberry pi imager and with help of this will upload this os into sd card so first we'll select the os selected this downloaded image file now we'll select the storage that will be our 32 gigabits sd card so make sure you select it properly and we'll click on this right button and we'll continue so it will take some time and our os will be loaded into the sd card so after this you will find this kind of messages just click on ok and you can now remove the sd card so click on continue and remove the sd card now your os is flashed into this sd card and now you can plug this sd card into the raspberry pi so now we need to insert the 18650 batteries these are not provided inside the box so you need to purchase it separately so in this way you can connect these batteries so now the next step is to zero the servos so for that power on the raspberry pi and it will power the hat system and wait for some time and now plug the servo pin to the pin 11 of the pi hat and it will zero the servo so to cross check this you can connect the servo arm on the servo and rotate it to the left side and again connect it to the pin 11 and it will come to the zero position so in this way you have to do this for all the three servos so the next step is to connect the pan and tilt servo to the a2 plate and we are using m2 into four screws and two servo motors to fix this [Music] [Music] so now we'll pass the ffc cable of the camera from the middle of the two servo motors and will connect the tilt servo with the servo arm which is on the head of the camera so here is the servo motors and will pass on this ffc cable from it and we'll connect the teal servo with the servo arm which is on the head of the camera and we'll screw it up so it should look something like this so now we'll use this washer and connect the pan servo motor so place this washer on the servo arm and connect the pan servo motor make sure it looks straight and we'll tighten this up with the screw from bottom [Music] so now the next step is to connect the steering servo so we are using m2 into four screws and we'll connect this steering servo on this chassis so the next step is to connect the servo arm with the a7 plate for steering so we are using m 1.5 into four screws to connect this make sure you don't tighten up the screw we should keep it a bit free so it can rotate freely so now we'll connect the steering servo arm which we made with the steering servo motor so here in the bottom you have to connect it [Music] and we'll tighten this up with the screw so it will not get removed so now we'll connect this a4 bottom plate with m3 into 6 screws [Music] do [Music] so now we'll connect the ir grayscale sensor module and we'll use m3 into six screws to fix it [Music] [Music] so the next step is to connect the a5 plate with the rivet we are using 3065 rivet so these are the saf locking rivet so we are going to use this and this is the a5 plate so on this three positions we have to fix this plate and to lock it we are using the rivets so gently press the rivet and it will get self-locked and this plate will move freely so on this three positions we'll connect the rivet so with the help of it this robot can move left and right direction through the steering servo so we'll do the same thing on the other side as well [Music] so now we'll connect the wheels so first we'll connect the front wheels so we are using two hexagonal washers and one round washer so this two hexagonal washer will go straight away inside the wheel and we are using rivet 4 1 2 0 to fix it so first we'll place two hexagonal washers inside this wheel next we'll connect the round washer then we'll pass on the rivet from the other side and then we'll connect it to the a5 plate so just press it gently and it will get connected make sure the wheel turns freely and yeah it's moving freely and we'll do this on the other side as well [Music] [Music] so now we'll connect the other two rear wheels this will easily slide in in the motors [Music] [Music] [Music] so now it's time for the wiring we are using a four pin wire and a five pin wire four pin wire is for the ultrasonic sensor and five pin wire is for the grayscale module and we are using this wires to connect on the pi hat and we'll also connect the servo wires on the pi hat according to this circuit diagram so here is our robo car and we'll connect the connectors which are provided all the screws wires are provided extra so if you lost some of the wires or screws you will always have some extra pieces so to fix this car so we have connected this four pin wire to the ultrasonic sensor and we will connect this five pin wire to the grayscale ir module so these are the servo connections pan tilt and steering servo make sure you connect it line by line and these are the motor connections so we'll pass on this wire from the bottom of the wheels [Music] so first we'll connect the ultrasonic sensor wires make sure you connect it according to the diagram the white pin will go to the d3 pin the yellow will go to d2 rider will go to the 3.3 volt that is positive connection and the black will go to the ground that is a negative ground connection similarly we'll connect the grayscale module wires so over here the white wire will go to a0 the brown wire will go to a1 yellow wire will go to a2 the red wire will go to 3.3 volt that is positive connection and the black wire will go to the ground connection so in this way we have done the connections of ultrasonic sensor and the grayscale module so now we'll connect the servo wires so first we'll connect the pan servo to p0 then we'll connect the tilt servo to p1 and then we'll connect the steering servo to p2 and now we'll connect the motor wires so we'll connect the left motor with the left one and the right motor with the right connection so in this way we have completed all the wiring connections as well so now our pi car is ready so we have downloaded this application ez block studio so we'll open this up so this is the release note the version release moved we'll cancel it so on the top you'll find the connection button so here we need to connect it so first we'll turn on the pi car so first we'll also need to select the model of the car so we'll cancel this again we'll click and we'll select the change product button and over here we'll select the pi rx and now we'll connect on the connect button so you can see the ip has found for this car so we'll click on it and we'll press the done button so in this way the car will be connected with the application so since we are using it for the first time we need to configure it with the wi-fi passwords and country name and all the details which will go to the raspberry pi so after configuration completes you will get a message and now you will need to select the product again and now we'll set the name of our product so you can set anything i'm setting pi crx so we'll click on confirm and since we are using it for the first time we need to calibrate all the servo motors calibrate it and make sure you set it to the center position at the proper angle you can use these buttons to set it to the center position at the proper angle [Music] since we are confident with the connections now we'll connect the cable wrap to make all the connections neat and tidy so now we'll try out some examples on this car so first we will try the joystick control so on the top you will find this will click on the run button and here is the joystick we can pause it and we can adjust the joystick so i am dragging it towards the left side i am controlling with the left arm so now we can control it very easily with one hand so now we'll try out the second example where we can also control the camera and view the footage so here with the joystick you can also change the angle the direction of the camera and view the camera in all other directions as well so now we'll try on the third example that is bull fight so in this example the car will follow a red color object so for a red color object i have tied a cloth on a stick so where will move the stick the car will follow it so as you can see the car is following the stick and the red cloth so here is the another example this is color detection so we'll press on run and over here it will detect the color of the object placed in front of the camera so again i'm placing the same red cloth on in front of the camera and it will display the color name so as soon as i bring the red color in front of the camera it detects and the name is printed red outside the green box so now we'll try out another example that is human face detection so we'll press on the run button and now as soon as i bring the camera in front of my face it detects and creates a blue box so as you can see it has detected and it created a blue box and it can detect multiple faces as well it can even count the number of faces it's due to the ai in the car so now we'll try out next example that is sound effect and text to speech so on the top block you can find the word ready written on it so we'll change this word to viral signs and as soon as i play the button it will play the sound so friends if you like this robot then do hit that like button share this video with your friends and also don't forget to subscribe to my channel for more such videos and i will see you in the next one do subscribe and press bell icon to get instant notification for new video [Music]
Info
Channel: Viral Science - The home of Creativity
Views: 12,669
Rating: undefined out of 5
Keywords: viral science, viral science creativity, viral dodhia, arduino, raspberry pi, projects, raspberry pi robot, picarx, sunfounder, picrawler, raspberry pi car, how to make raspberry pi robot, raspberry pi AI robot, artificial intelligence, python, ezblock os, arduino project, raspberry pi project, smartphone controlled car, smartphone controlled robot, how to assemble picarx, how to assemble pi crawler, how to assemble Pi Car X, sunfounder picarx, SunFounder Pi Car X
Id: UrP-juYYDgQ
Channel Id: undefined
Length: 31min 48sec (1908 seconds)
Published: Sun Jun 05 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.