Aswinth Raj Balasubramani
Published © CC0

Real Time Face Detection and Tracking Robot With Arduino ...

In this project we are going to implement face tracking by using Arduino and Android. The mobile phone camera will move along with your f...

AdvancedFull instructions provided5 hours40
Real Time Face Detection and Tracking Robot With Arduino ...

Story

Read more

Code

Code snippet #3

Plain text
if (cam_BT.available()) //Read whats coming in through Bluetooth
   {
BluetoothData=cam_BT.read();
Serial.print("Incoming from BT:");
Serial.println(BluetoothData);
}

Code snippet #4

Plain text
if (BluetoothData==49) //Turn Left
{pos1+=2; servo1.write(pos1);}

if (BluetoothData==50) //Turn Right
{pos1-=2; servo1.write(pos1);}

if (BluetoothData==51) //Turn Up
{pos2-=2; servo2.write(pos2);}

if (BluetoothData==52) //Turn Down
{pos2+=2; servo2.write(pos2);}

Credits

Aswinth Raj Balasubramani
6 projects • 4 followers
Electronic Hobbyist and maker at circuitdigest.com. From India
Contact

Comments

Please log in or sign up to comment.