Introduction: Smart WIFI Video Car( Arduino Control )

Picture of Smart WIFI Video Car( Arduino Control )

All of us have a exploration desire of unknown place. When I and my partner watching the movie "The Martian" and see that there is a robot car in Mars—— A planet that is Fifty-six million kilometers away from our earth. “He” work at Mars with our protagonist and pass back the image into earth of there. What a cool “boy”!we couldn’t suppress our desire to DIY a smart robot car. But we are just a couple of indoors man, we don’t have money and high-technology. Never mind! We were maker and we can make imagination to reality. Okay, please think about what common technology now we can use to control our car? It called “WIFI”, you must be familiar to it,with the rising of WIFI technology in recent years, there are many electric products utilize it, like mobile phone, watch, Smart Home, even in omnibus. So we decide to DIY a different and special robot car based on Arduino, we give it a name called: “Smart WIFI Video Car”.

The function of this robot car is easy to understand by its name. YES! You can control it to obtain images of the surrounding environment by the camera, and synchronous upload video to your Android client. At the same time, you can control it with your android app. Convenient and simply. we add a pan-tilt for controlling the camera to providing more wider view range of the car. It move fast and react quickly. You can adjust the direction of car according to the video. So if you want to “explore” some place narrow and may damage to your health, you can remote control your car as movie shown. Of course it not only for playing but also studying.

Try to get your imagination start and make it more smarter. And we will try our best to improve it. Let’s work together!

Have a look! What a cute and shy boy!

Step 1: WHAT SHOULD WE PREPARED

Picture of WHAT SHOULD WE PREPARED

Module Preparing: OK! Let’s begin. You should prepare these before assembling, both of them are cheap and easy to buy.

1. Crowduino UNO X1 - A 100% Arduino compatible board

2. Crowtial- Motor base shieldX1 - A motor driver shield to control the motor and connect to other sensors

3. Crowtail- WIFI module X1 - Transfering the video stream and control commands

4. USB camera X1(Capture video). - Used to capture the video

5. 4WD Utility CarX1 - The best platform for mobile application.

6. Pan-Tilt X1 - Control the movement of the camera

7. Battery and battery holder.

Step 2: Assemble His "BODY"

Picture of  Assemble His "BODY"

1: LEGS(motor)

It has four ”legs”, you should welding wires on them to make sure it can run up. then you need to fasten them to chassis by using motor bracket as above pictures show.

2: BODY(acrylic chassis)

Install four copper cylinder brackets on the down- chassis for fasten up- chassis,and three copper cylinder brackets on the up-chassis for Crowduino. you can choose each piece of chassis as down-chassis and left one for up-chassis.

3:FEET(wheel)

At last. let’s install the wheels. A basic 4WD Mobile platform has been completed.

Step 3: Assemble His “BRAIN”

Picture of Assemble His “BRAIN”

After assembling the car, we need to start the electronic parts---the brain. The first role is the Crowdunio UNO, fasten it on the three copper cylinder. the next one is Crowtial - Motor base shield. Plug it onto the Crowduino UNO. Then we should link the motor to the “brain”, there has something important enough to pay attention to it. Like human’s nerve, you also couldn’t make fault at this step. Or you will destroy the brain. Please observe the above sketch picture carefully.

Step 4: ASSEMBLE HIS POWER

Picture of ASSEMBLE HIS POWER

We need two batteries and a battery holder.

Fix the holder on the up-chassis. and The red cable connect to the VIN of Crowtial- Motor base shield, the black cable connect to the GND of Crowtial- Motor base shield(DO NOT MIX UP). Unfortunately we make the mistake due to our careless. So we lost a Crowtial- Motor base shield. Forget this unhappy experience and let’s go on…

Now it's time to power it and make a test to insure that can run up rather than going round. It’s ashamed if we make a “smart car” into “stupid car”. Connect the Crowduino UNO with USB cable to PC and Upload the test code into it. if you see that the wheel can’t run in the same direction after powering your car , please exchange the two wire of the motor. For example: if the Motor 1 go forward, but the Motor 2 go back, Now we just change the cable of motor 2, the red cable to OUT2,the black cable to OUT1, then test again.

Step 5: ASSEMBLE HIS "EYE"

Picture of ASSEMBLE HIS "EYE"

Now search an eye for him is emergency. This eye require to be turn to multi-directions. So we combine the pan-tilt with the webcam.Genious! Let's work!

1:Install the Pan-Tilt.

The Pan-Tilt have four holes in the chassis, fix the Pan-Tilt on it with screw.

2: Plug the camera onto the Pan-Tilt.

3: Bind the WIFI module.

4.Connect the WIFI module to the UART port of Crowtial- Motor base shield.

5.Connect the Pan-Tilt to the Crowtial- Motor base shield, up-servo link to D7 and down-servo link to D6.

6.Connect the camera to the WIFI module with a USB cable.

Finally, we can clean up the cable, and make it looks more comfortable! Okay! A WIFI VIDEO REBOT CAR has been completed.

Step 6: LET IT WORK!

Picture of LET IT WORK!

At last we’ll show you how to make it work;

1: Upload the code(when upload the code, please CUT OFF the connection of WIFI module and Crowduino.)

2: Download the APP from attached files at the end of essay

3: Install the APP into your Phone (the APP just for android system)

4: Power the WIFI Video Car, it will work and you need to wait for a moment, then open your phone Wifi switch to search for the WIFI signal called ”Elecrow”. Connect to it without password input.

Ok! sit down and have a relax. Oh yeah, Let's take a look at what others doing now, uh-huh!

Step 7: EXPANSIONS

Picture of EXPANSIONS

You must want to do some interesting experiment by using it. so we 'll demonstrate two kinds of application for you. one called Ultrasonic Obstacle-Avoiding Robot Car and left one called Tracking Car.you need to prepare the Crowtail- Ultrasonic Ranging Sensor module and pieces of Crowtail-IR Reflective Sensor. The black tape in the picture is use for making a black track, This track round in a circle for testing the tracking car.

Step 8: ULTRASONIC OBSTACLE-AVOIDING ROBOT CAR

Picture of ULTRASONIC OBSTACLE-AVOIDING ROBOT CAR

if you want to use some expand function like ultrasonic obstacle-avoiding, you can choose the Crowtail- Ultrasonic Ranging Sensor, simple to assembe and start to work easily. First you need to remove the webcam then tighten the Crowtail module to pan -tilt. At last you need to link to the Crowtail- motor base shield(USE THE D2/D3 PORT),and the up-servo is not necessary.plug it or not don't have influence. Ok! Download the code and upload to the "BRAIN". Power the car and let it run to have a test.

Step 9: TRACKING CAR

Picture of TRACKING CAR

And the other common application is TRACKING CAR. in our experiment ,three pieces of Crowtail-IR Reflective Sensors are in need. First of all, in order to make it looks more comportable,we should to remove the pan - tilt. Then we can install the acrylic pillar to the down- chassis. Now we'll fix three Crowtail-IR Reflective Sensors on down- chassis. It time to make it become a F1 racing car. Download the code and upload it to your Crowduino. Power your car you'll see it run fast along the track. Well done!

Step 10: IF YOU WANT TO SHARE YOUR IDEA?

Both of us want our baby to study more and become more outstanding. So we try to make our smart wifi video car more smarter. but my partner and me don't have enough nice ideas and our knowledge and skills also can't support more powerful function development work. so may be you can become "his" new good teacher and teach him more skills. Please contact us soon. Our email address is " kevin@elecrow.com".

Code and android app also be provided in below upload files.

Comments

JasonK265 (author)2017-09-20

Hi, I would like to adapt this design for school space rover project. I will be making own chassis but want same principal. Pan will not be used. Vehicle just needs to move and transmit video. Will this work ok leaving out pan?

I would like to use the crowtail wifi module and all other parts the same apart from the fact I wish to use a small usb inspection camera mounted in my own design. Will any usb camera work with crowtail wifi module?

Any help appreciated.

WissamN made it! (author)2017-07-28

Hi,

I have like that arduino car but i want to add wifi module and camera, i am wondering if i can do it? what i need to buy to contrall the car through mobile phone app?

this is my car

https://www.aliexpress.com/item/2017-New-Year-pres...

thank you in advance

wwasantha (author)WissamN2017-08-20

Your car based on Bluetooth. So capability and control distance is less than this smart wifi video car.same time your car more expensive than this.instead of modifying your car, it is best to recreate this one.because those are in two different entity.read all comments in this page before going to make this.then you will get enough idea for that.

wwasantha made it! (author)2017-06-25

After camera upgrade with HD 720 USB CAMERA. it gives very rapid and smooth online video stream with rapid video connection

ago mahatma (author)2016-07-02

Hey, can i use other web cam?
I've done all the assembly, but i just got pwr green led on from the crowduino and motor base.
And, red led from in4 motor base blinking continously.

Am i missing something.
The wifi signal even doesnt scanned from my android phone.
When i unplug the usb camera, the wifi on, i can connect to it.

Please help me

wwasantha (author)ago mahatma2017-06-25

Ofcourse you can use web cam but problem is video streaming is very very sluggish. Their crowduino wifi module is excellent and it giving smooth and rapid videos when only you use a "HD 720 HD USB CAMERA".search it on banggood.com.

Elecrow (author)ago mahatma2016-07-15

Of course you can, as you make sure that your webcam has a usb port, and a high-resolution camera will feel better. the wifi signal will appear when you have powered it over one to three minutes, it needs some time.

druid001 (author)2016-03-09

Please reply. The language sometimes is not clear. I am at step 6. I have uploaded the elcrow wifi car sketch. I have green lights on the crowduino and motor shield but the wheels do not move at all. Please advise.

wwasantha (author)druid0012017-06-25

Even I had a problem like you but finally I done it well, with follwing changes.follow them to get rid of this troubles.

I used normal Arduino uno R3 board instead of criwduino board. Then only i able to uploaded the program codes without any error messages. Crowtail motor shield and crowtail wifi mofule and pantilt is essential specially need to use HD camera. Then only video very rapid and smooth with smart wifi car movementinstead of HD 720 USB CAMERA is the cause for slugish video streaming and delay video connection, I know it because I experienced it before update the cam in to HD 720 USB CAM. I used 720 HD camera

See this link..

https://m.banggood.com/HD720-USB-HD-Camera-Free-Dr...

Omer87 (author)2016-04-06

If I don't want to do steps 7-9, would the project still work?!!!

wwasantha (author)Omer872017-06-25

Of course up to step 7 it end up with mobile controlling wifi smart car with live video streaming in mobile app interface. Step 8 and onwards for using same car in different ways but you cant use 2 or 3 of them at once.

Hlwan moe (author)2016-01-28

Can I use other wifi module??

wwasantha (author)Hlwan moe2017-06-25

for this project I recommend their elecrow wifi module.it is essential for this. If you trying to get simillar wifi module in other place and upload the drivers. I would like to say you will end up with failure. Driver upload is very long and complicate process for this module, it also make your module dead (brick) as well.

Elecrow (author)Hlwan moe2016-01-31

You should to prepare a lot for new wifi module. like UVC camera driver, ser2net serial port forwarding software and so on.

druid001 (author)2016-03-06

I have uploaded the sketch, the car is powered but it will not turn the wheels. I have green lights on both the crowduino and the motor shield but not wheel motion. Am I missing a step wit the sketch? It tells me it has successfully uploaded.

wwasantha (author)druid0012017-05-16

Even i faced simillar problem change crowduino board with Arduino uno (normal) board then upload the codes then smart car works well

wwasantha (author)wwasantha2017-06-25

I mean replaced arduino uno R3 board instead of crowduino.then program will uploade nicely, prooven!

Elecrow (author)druid0012016-03-17

SORRY for replying so late, I guess that may be your motors has been break down. Could you take a photo for your car? You'd better focus on the motor wiring and the motor shield wiring.

hadjou (author)Elecrow2016-04-10

hi, please tell me what is the programing language did you use to realise the android app, thank you.

hadjou (author)Elecrow2016-04-09

hi, please tell me what is the programing language did you use to realise the android app, thank you.

hadjou (author)Elecrow2016-03-25

hello, i want to do the same thing, i bought a Crowtail Wifi module, but i went to
wire it to an arduino uno board, i think arduino uno dont have any UART port !! so can you please explain for me how to wire the wifi module (Crowtail) to an arduino uno? i use a motor driver Adafruit :
http://www.elecfreaks.com/wiki/index.php?title=Arduino_Motor/Stepper/Servo_Shield

thank you.

druid001 (author)Elecrow2016-03-18

I have ordered another motor shield. Perhaps I didn't understand the wiring diagram. Can you send the instruction to me in words. Some of the diagram lines were hard to know where to attach. Thanks you.

PunitM3 (author)2017-01-17

Streaaming is slow can you suggest any solution. the app is working dam slow on my new Samsung j2(6) smartphone

wwasantha (author)PunitM32017-06-02

Use normal Arduino uno board instead of criwduino board. Crowtail motor shield and crowtail wifi mofule and pantilt is essential specially need to use HD camera. Then only video very rapid and smooth with smart wifi car movements. I used 720 HD camera
See this link..
https://m.banggood.com/HD720-USB-HD-Camera-Free-Driver-For-WIFI-Smart-Car-p-1087575.html

wwasantha (author)2017-05-24

I made it

ShakerA6 (author)2017-05-10

i wanna ask if we can upgrade it to control by voice and add camera face recognition , if its be ?

wwasantha (author)2017-05-09

I did this smart wifi video car success

Now im looking for upgrade with robotic arm

Regarding Crowtial- Motor base shieldX1 -

what is the use of ports named A0, A1, A2, A3-A4, D4 & D5?

Can I use thoes ports to control a robotic arm servos?

If I use robotic arm with 3 servos can you give arduino codes for uploading

Thanks

aka201 (author)2016-11-21

hi nice project but can the robot do both video recording and ultasonic sensor at the same time pls let me know

HazemM4 (author)2016-11-01

In fact, I do not know how to deal with Wi-Fi

leonpenang (author)2016-10-30

can we feature both video recording and anti collision (the ultrasonic) in this car? if so how can i do so? please help. thanks!

GodswayT (author)2016-10-16

Please can I get the coding

EstimoreP (author)2016-09-07

sir ? how to capture image ? we are done we controlled it smoothly thanks for the project we just want to capture image and to record video . help us thanks

kalpitabhi (author)2016-09-05

bro this a gr8...project really and the way elecrow replys quickly is very good thanks for the project

SurjadeepG (author)2016-08-21

can we use l298n instead of this motor shield

AdityaG66 (author)2016-08-02

Hey! will this project and code work with a normal arduino uno chip and a different motor shield? Crowtail is not available where I live and getting it shipped here turns out to be very expensive.

Elecrow (author)AdityaG662016-08-16

Of course you can, the code is compatible with arduino.

KennP (author)2016-07-09

sir what can i replace to the crowtail? i cant find that crowtail motor base shield in store here in ph please help asap sir thankss

Elecrow (author)KennP2016-07-15

http://www.elecrow.com/crowtail-motor-base-shield-...
This is the linking you need, you can click it to skip into our website.

ahmedaid (author)2016-07-01

When the application run the control screen work without requesting paired with roport or requesting IP or requesting MAC Address or requesting protocols as well as the settings screen doesn't work.
2- your PDF file what is it content and is it include code explanation?



When the application run directly it shows this surface then it shows the control screen (this one show down)

joeyzh (author)2016-06-20

Thank you so much for this project It's such a great project to learn about using Arduino to control both motor car & camera. I remembered I tried to search the Web for such project and saw another similar project only that platform is with wifi built-in. (http://www.amebaiot.com/en/ameba-arduino-amebamotors-camera/)

hadjou (author)2016-04-02

hello,

what programming language you used to create the android application? i need to modify it and compiling it again.

thank you.

hadjou (author)2016-03-27

hello, anyone to help?!!!!

i need to use arduino board insteed of crowduino, and i dont know how do the wiring betwen the crowtail wifi module and the arduino board or adafruit motor driver shield !! please help :)

firatozz (author)2016-03-26

Hi, it's nice project. I bought all items. But i have a problem. I dont want to use adroid. I want to use C# and on desktop. Do you have C# code ?

sugann1 (author)2016-03-25

pls help me to show how to do simulation in proteus in this project

sugann1 (author)2016-03-25

how i create simulation in proteus can i get the real smart wifi video car schematic in proteus

hadjou (author)2016-03-24

hello, i want
to do the same thing, i bought a Crowtail Wifi module, but i went to
wire it to an arduino uno board, i think arduino uno dont have any UART
port !! so can you please explain for me how to wire the wifi module
(Crowtail) to an arduino uno? i use a motor driver Adafruit :
http://www.elecfreaks.com/wiki/index.php?title=Arduino_Motor/Stepper/Servo_Shield

thank you.

Speedyparth (author)2016-02-03

Plz reply fast cause we have to make it for our computer project

Elecrow (author)Speedyparth2016-02-03

It can use for controling the car, but if you want to transmit video, ESP8266 can't meet the requirement.

Speedyparth (author)2016-02-03

Plz reply fast cause we have to make it for our computer project

Speedyparth (author)2016-02-03

Can i use a esp8226 for the communicating pucpose instead of the given module

About This Instructable

33,396views

375favorites

Bio: Elecrow is an open hardware facilitation company based in Shenzhen. We integrate resources to serve new era of innovation. To make your making and innovation ... More »
More by Elecrow:Easiest Arduino Smart Plant WateringDIY Halloween Haunted House (Arduino Project)Arduino sunflower - An electronic sundancer
Add instructable to: