Tag: Robotics

CODE FOR RUNNING YOUR TOY CAR VIA IR TV REMOTE.

#define move_forward { analogWrite(M1a,spd);digitalWrite(M1b,LOW);analogWrite(M2a,spd);digitalWrite(M2b,LOW); } #define move_backward { digitalWrite(M1a,LOW);analogWrite(M1b,spd);digitalWrite(M2a,LOW);analogWrite(M2b,spd); } #define move_left { analogWrite(M1a,spd);digitalWrite(M1b,LOW);digitalWrite(M2a,LOW);analogWrite(M2b,spd); } #define move_right { digitalWrite(M1a,LOW);analogWrite(M1b,spd);analogWrite(M2a,spd);digitalWrite(M2b,LOW); } #define move_stop { digitalWrite(M1a,LOW);digitalWrite(M1b,LOW);digitalWrite(M2a,LOW);digitalWrite(M2b,LOW); } #define M1b 6 #define M1a 5 #define M2b 10 #define M2a 9 #define spd 150 #include <IRremote.h> IRrecv irrecv(11); decode_results results; String s,s1=””; void setup() { Serial.begin(9600); irrecv.enableIRIn(); pinMode(M1b,OUTPUT); pinMode(M1a,OUTPUT); pinMode(M2b,OUTPUT); pinMode(M2a,OUTPUT); } void loop() { if(irrecv.decode(&results)) { s=String(int(results.value)); Serial.println(s); irrecv.resume(); if(s==”-1″&&s1!=””) s=s1; if(s==”21420″) { move_forward; } else if(s==”19380″) { move_backward; } else if (s==”-26266″) { move_left; } else if (s==”-31876″) { move_right; } else if (s==”29580″) { move_stop; } s1=s; delay(50); } else...

Read More

CODE FOR HACKING THE TV REMOTE.

For making the TOY CAR Controlled via TV Remote, The CODE You Need, To Hack TV Remote: #include<IRremote.h> IRrecv IRrecv(11); decode_results results; String s; void setup() { Serial.begin(9600); IRrecv.enableIRIn(); } void loop() { if (IRrecv.decode(&results)) { s=String(int(results.value)); Serial.println(s); IRrecv.resume(); } } click here —–>  Code for running your Toy Car via IR TV...

Read More

TV REMOTE CAN HAVE AN AUTHORITY TO RUN YOUR TOY-CAR.

Are you  a Tech-savvy like me? Do you find Robotics is an interesting step towards future world? If your answer is “yes”,then my friend you are in right locus. Today i’m gonna show you how you can make a simple toy car which you can control through your TV remote.Now you might think how anyone could control a toy car using a TV remote? It seems like insane. But in reality you can make it happen just by hacking the values of every key of remote. So here is the list of every parts you need : A Chassis....

Read More

Translate:

Recent Posts

Categories

Free Facebook Likes

Pin It on Pinterest