ashraf_minhaj
Published © GPL3+

Smart Talking Humanoid Robot Just with Arduino!

An intelligent robot that can talk, see, and react!

IntermediateFull instructions provided23,115
Smart Talking Humanoid Robot Just with Arduino!

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
I've used pro mini,any board is good.
×1
Proximity Sensor
Proximity Sensor
×3
sd card tf module
×1
Servos (Tower Pro MG996R)
×3
micro sd card
×1
UTSOURCE Electronic Parts
UTSOURCE Electronic Parts
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

mofiza.circuit

Code

mofiza.welcome.code

C/C++
#include "ServoTimer2.h"
#include#define SD_ChipSelectPin 10
#include"TMRpcm.h"
#includeTMRpcm tmrpcm;
ServoTimer2 matha; //matha means HEAD
ServoTimer2 lhand;
ServoTimer2 rhand;
int in1= 6;int in2= 7;int in3= 8;
void setup() 
{ matha.attach(2); 
lhand.attach(3); 
rhand.attach(4); 
tmrpcm.speakerPin=9; 
Serial.begin(9600); 
if(!SD.begin(SD_ChipSelectPin)) 
{  Serial.println("SD FAIL");  return;  
}
}
void loop() 
{  
if(!(digitalRead(in3)))  
{   tmrpcm.play("welcome.wav");   
 lhand.write(2500);    
delay(2000);    
lhand.write(1200);  //handshake position        
delay(9000);      
}     
else 
{    
lhand.write(300);  
rhand.write(1700);  
matha.write(1500); }
}

mofiza.fullCode.v1.1

Credits

ashraf_minhaj

ashraf_minhaj

5 projects • 80 followers
Love to kill Soft things with Python and C++, Hard things with Soldering Iron.

Comments