AutoRCCar
AutoRCCar copied to clipboard
RC control test
I am unable to find the point to which i have to solder my audrino pins could you please help me to find to what points i should connect my forward backward left right in remote...??

Please respond ASAP I have uploaded HD photos of my transmitter chip just need to know which points should we connect or solder for forward, backward, left , right functions..?? Thank you*
I have found my rc car remote controller has tactile switches so i sorted out which pins of switch is connected to the board and used optocouplers (4N35) to couple different circuits i.e. arduino and controller .I have provided schematic of one switch just replicate same for remaining switches .Hope this will help u

This is my arduino sketch ignore the comments (//)(italic in the code)
// assign pin num int right_pin = 6; int left_pin = 7; int forward_pin = 10; int reverse_pin = 9; /int f1 = A2; int re1 = A3; int l1 = A4; int r1 = A5;/
// duration for output int time = 50; // initial command int command = 0;
void setup() { pinMode(right_pin, OUTPUT); pinMode(left_pin, OUTPUT); pinMode(forward_pin, OUTPUT); pinMode(reverse_pin, OUTPUT); /* pinMode(f1, OUTPUT); pinMode(re1, OUTPUT); pinMode(l1, OUTPUT); pinMode(r1, OUTPUT);*/ digitalWrite(forward_pin, LOW); digitalWrite(reverse_pin, LOW); digitalWrite(right_pin, LOW); digitalWrite(left_pin, LOW); /digitalWrite(f1, LOW); digitalWrite(re1, LOW); digitalWrite(r1, LOW); digitalWrite(l1, LOW);/ Serial.begin(115200); }
void loop() { //receive command if (Serial.available() > 0){ command = Serial.read(); } else{ reset(); } send_command(command,time); }
void right(int time){ digitalWrite(right_pin, HIGH); //digitalWrite(r1, HIGH); delay(time); // digitalWrite(right_pin, LOW); //digitalWrite(r1, LOW);
}
void left(int time){ digitalWrite(left_pin, HIGH); // digitalWrite(l1, HIGH); delay(time); // digitalWrite(left_pin, LOW); //digitalWrite(l1, LOW); }
void forward(int time){ digitalWrite(forward_pin, HIGH); //digitalWrite(f1, HIGH); delay(time); //digitalWrite(forward_pin, LOW); //digitalWrite(f1, LOW); }
void reverse(int time){ digitalWrite(reverse_pin, HIGH); //digitalWrite(re1, HIGH); delay(time); //digitalWrite(reverse_pin, LOW); //digitalWrite(re1, LOW); }
void forward_right(int time){ digitalWrite(forward_pin, HIGH); //digitalWrite(f1, HIGH); digitalWrite(right_pin, HIGH); //digitalWrite(r1, HIGH); delay(time); // digitalWrite(forward_pin, LOW); //digitalWrite(f1, LOW); //digitalWrite(right_pin, LOW); //digitalWrite(r1, LOW); }
void reverse_right(int time){ digitalWrite(reverse_pin, HIGH); //digitalWrite(re1, HIGH); digitalWrite(right_pin, HIGH); //digitalWrite(l1, HIGH); delay(time); //digitalWrite(reverse_pin, LOW); //digitalWrite(re1, LOW); //digitalWrite(right_pin, LOW); //digitalWrite(l1, LOW);
}
void forward_left(int time){ digitalWrite(forward_pin, HIGH); //digitalWrite(f1, HIGH); digitalWrite(left_pin, HIGH); // digitalWrite(l1, HIGH); delay(time); //digitalWrite(forward_pin, LOW); //digitalWrite(f1, LOW); //digitalWrite(left_pin, LOW); //digitalWrite(l1, LOW); }
void reverse_left(int time){ digitalWrite(reverse_pin, HIGH); //digitalWrite(re1, HIGH); digitalWrite(left_pin, HIGH); //digitalWrite(l1, HIGH); delay(time); //digitalWrite(reverse_pin, LOW); //digitalWrite(re1, LOW); //digitalWrite(left_pin, LOW); //digitalWrite(l1, LOW); }
void reset(){ digitalWrite(right_pin, LOW); digitalWrite(left_pin, LOW); digitalWrite(forward_pin, LOW); digitalWrite(reverse_pin, LOW); /digitalWrite(l1, LOW); digitalWrite(r1, LOW); digitalWrite(re1, LOW); digitalWrite(f1, LOW);/ }
void send_command(int command, int time){ switch (command){
//reset command
case 0: reset(); break;
// single command
case 1: forward(time); break;
case 2: reverse(time); break;
case 3: right(time); break;
case 4: left(time); break;
//combination command
case 6: forward_right(time); break;
case 7: forward_left(time); break;
case 8: reverse_right(time); break;
case 9: reverse_left(time); break;
default: Serial.print("Inalid Command\n");
}
}
I solved this issue by removing the buttons and soldering the wires on to the circular middle part. Keep it in mind that the circular middle part and the surrounding area shouldn't be in contact and should be electrically isolated. There should be a tape applied on the buttons. Find it on the board and you have to remove it to take the buttons off the board. Good luck!
Did you keep batteries in the remote or audrino is sending power through pins...???
I powered it from 3.3V arduino On Mar 14, 2019 12:15 PM, "SaiSurya9999" [email protected] wrote:
Did you keep batteries in the remote or audrino is sending power through pins...???
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/164#issuecomment-472724346, or mute the thread https://github.com/notifications/unsubscribe-auth/AttPT6G_SCNHQ8z59y5NBJLIInuXD_z3ks5vWe_wgaJpZM4btdRs .
@MyFirstRoboticProject Could you provide pics of the RC car and your remote circuit so that i can understand clearly please...!!!
I have found my rc car remote controller has tactile switches so i sorted out which pins of switch is connected to the board and used optocouplers (4N35) to couple different circuits i.e. arduino and controller .I have provided schematic of one switch just replicate same for remaining switches .Hope this will help u
![]()
![]()
![]()
Very much helpful Thank you so much...!!
This is my arduino sketch ignore the comments (//)(italic in the code)
// assign pin num int right_pin = 6; int left_pin = 7; int forward_pin = 10; int reverse_pin = 9; /int f1 = A2; int re1 = A3; int l1 = A4; int r1 = A5;/
// duration for output int time = 50; // initial command int command = 0;
void setup() { pinMode(right_pin, OUTPUT); pinMode(left_pin, OUTPUT); pinMode(forward_pin, OUTPUT); pinMode(reverse_pin, OUTPUT); /* pinMode(f1, OUTPUT); pinMode(re1, OUTPUT); pinMode(l1, OUTPUT); pinMode(r1, OUTPUT);*/ digitalWrite(forward_pin, LOW); digitalWrite(reverse_pin, LOW); digitalWrite(right_pin, LOW); digitalWrite(left_pin, LOW); /digitalWrite(f1, LOW); digitalWrite(re1, LOW); digitalWrite(r1, LOW); digitalWrite(l1, LOW);/ Serial.begin(115200); }
void loop() { //receive command if (Serial.available() > 0){ command = Serial.read(); } else{ reset(); } send_command(command,time); }
void right(int time){ digitalWrite(right_pin, HIGH); //digitalWrite(r1, HIGH); delay(time); // digitalWrite(right_pin, LOW); //digitalWrite(r1, LOW);
}
void left(int time){ digitalWrite(left_pin, HIGH); // digitalWrite(l1, HIGH); delay(time); // digitalWrite(left_pin, LOW); //digitalWrite(l1, LOW); }
void forward(int time){ digitalWrite(forward_pin, HIGH); //digitalWrite(f1, HIGH); delay(time); //digitalWrite(forward_pin, LOW); //digitalWrite(f1, LOW); }
void reverse(int time){ digitalWrite(reverse_pin, HIGH); //digitalWrite(re1, HIGH); delay(time); //digitalWrite(reverse_pin, LOW); //digitalWrite(re1, LOW); }
void forward_right(int time){ digitalWrite(forward_pin, HIGH); //digitalWrite(f1, HIGH); digitalWrite(right_pin, HIGH); //digitalWrite(r1, HIGH); delay(time); // digitalWrite(forward_pin, LOW); //digitalWrite(f1, LOW); //digitalWrite(right_pin, LOW); //digitalWrite(r1, LOW); }
void reverse_right(int time){ digitalWrite(reverse_pin, HIGH); //digitalWrite(re1, HIGH); digitalWrite(right_pin, HIGH); //digitalWrite(l1, HIGH); delay(time); //digitalWrite(reverse_pin, LOW); //digitalWrite(re1, LOW); //digitalWrite(right_pin, LOW); //digitalWrite(l1, LOW);
}
void forward_left(int time){ digitalWrite(forward_pin, HIGH); //digitalWrite(f1, HIGH); digitalWrite(left_pin, HIGH); // digitalWrite(l1, HIGH); delay(time); //digitalWrite(forward_pin, LOW); //digitalWrite(f1, LOW); //digitalWrite(left_pin, LOW); //digitalWrite(l1, LOW); }
void reverse_left(int time){ digitalWrite(reverse_pin, HIGH); //digitalWrite(re1, HIGH); digitalWrite(left_pin, HIGH); //digitalWrite(l1, HIGH); delay(time); //digitalWrite(reverse_pin, LOW); //digitalWrite(re1, LOW); //digitalWrite(left_pin, LOW); //digitalWrite(l1, LOW); }
void reset(){ digitalWrite(right_pin, LOW); digitalWrite(left_pin, LOW); digitalWrite(forward_pin, LOW); digitalWrite(reverse_pin, LOW); /digitalWrite(l1, LOW); digitalWrite(r1, LOW); digitalWrite(re1, LOW); digitalWrite(f1, LOW);/ }
void send_command(int command, int time){ switch (command){
//reset command case 0: reset(); break; // single command case 1: forward(time); break; case 2: reverse(time); break; case 3: right(time); break; case 4: left(time); break; //combination command case 6: forward_right(time); break; case 7: forward_left(time); break; case 8: reverse_right(time); break; case 9: reverse_left(time); break; default: Serial.print("Inalid Command\n"); }}
Could you please provide me the pics of audrino and breadboard clearly for one function forward so that i could do better..
this is schematic of my circuit. just ignore those comments and extra pins (f1,r1 ....) connect the circuit and burn the arduino sketch into uno and run rc_control_test.py. It will work

Thank you so much i have sorted out everything with your help..!!! Mine is working fine.... 🥇
Hi @SaiSurya9999 could you please send me your collected data file ? i tried every thing and i can't get the accuracy of neural network over 60% , did you face this problem to if so how did you solve it? thank you in advance
Hi @saisurya9999 plz help me out with the connection pic of ur rc.since I m having the same RC control
Tqs
No I didn't got
I have used octocupler for push button switch in my project but issue is it take only reverse and left please help me it's urgent
Can u send the clear pic of ur circuit connection
On Thu, Apr 25, 2019, 7:46 AM Sanjay Patel <[email protected] wrote:
I have used octocupler for push button switch in my project but issue is it take only reverse and left please help me it's urgent
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/164#issuecomment-486494000, or mute the thread https://github.com/notifications/unsubscribe-auth/AJP5EGI7POWYOFX4DYH2GJDPSEH65ANCNFSM4G5V2RWA .
send me the whole pic of your connection where you had used 4 optocouplers
https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=56ab1e3c-1ede-4e42-b16f-4564b64aa948 I’m protected online with Avast Free Antivirus. Get it here — it’s free forever. https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=56ab1e3c-1ede-4e42-b16f-4564b64aa948 <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, 25 Apr 2019 at 08:41, Sanjay Patel [email protected] wrote:
[image: IMG_20190425_084013] https://user-images.githubusercontent.com/41965052/56707258-c22a7200-6735-11e9-8154-c47e396347a9.jpg [image: 15561618227111884990849802617994] https://user-images.githubusercontent.com/41965052/56707283-d1112480-6735-11e9-8128-0916f95ea8da.jpg [image: Uploading 15561618497967758446630844155180.jpg…]
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/164#issuecomment-486503899, or mute the thread https://github.com/notifications/unsubscribe-auth/AJP5EGKPHUVNYQH5NVFJWHLPSEON3ANCNFSM4G5V2RWA .
I will send you whole image of my circuit, i have one question that it require any registers between octocupler and push button of remote ?
No it's ok to use without resistors On Thu, Apr 25, 2019, 2:15 PM Sanjay Patel <[email protected] wrote:
I will send you whole image of my circuit, i have one question that it require any registers between octocupler and push button of remote ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/164#issuecomment-486576592, or mute the thread https://github.com/notifications/unsubscribe-auth/AJP5EGL7TQQ577OUNZ432DDPSFVRTANCNFSM4G5V2RWA .

It done successfully thank you very much
Okay what was the error
On Thu, Apr 25, 2019, 4:59 PM Sanjay Patel <[email protected] wrote:
It done successfully
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/164#issuecomment-486634439, or mute the thread https://github.com/notifications/unsubscribe-auth/AJP5EGNSKWX2DATMSQ7QHX3PSGI3BANCNFSM4G5V2RWA .
Hi @SaiSurya9999 plz help me out with the connection pic of ur rc.since I m having the same RC control
Hi..Did you got this?
you can refer the code skull posted images for final working circuit diagram
Hi @SaiSurya9999 plz help me out with the connection pic of ur rc.since I m having the same RC control
Hi..Did you got this?
you can refer the code skull posted images for final working circuit diagram
I am unable to find the point to which i have to solder my audrino pins could you please help me to find to what points i should connect my forward backward left right in remote...??
![]()
But I didn't understand which pins to solder on this board? This board is exactly same as mine . Plz help me @arunph @codeskul @SaiSurya9999
Hi @SaiSurya9999 plz help me out with the connection pic of ur rc.since I m having the same RC control
Hi..Did you got this?
you can refer the code skull posted images for final working circuit diagram
I am unable to find the point to which i have to solder my audrino pins could you please help me to find to what points i should connect my forward backward left right in remote...??
![]()
But I didn't understand which pins to solder on this board? This board is exactly same as mine . Plz help me @arunph @codeskul @SaiSurya9999
Yeahhh..!!! I got it.
Well done.
On Sun, Apr 28, 2019, 8:15 PM Nandhu Krishnan <[email protected] wrote:
Hi @SaiSurya9999 https://github.com/SaiSurya9999 plz help me out with the connection pic of ur rc.since I m having the same RC control
Hi..Did you got this?
you can refer the code skull posted images for final working circuit diagram
I am unable to find the point to which i have to solder my audrino pins could you please help me to find to what points i should connect my forward backward left right in remote...?? [image: WhatsApp Image 2019-03-13 at 8 30 17 PM] https://user-images.githubusercontent.com/46582001/54289411-20105980-45cf-11e9-95ba-23afef914f0c.jpeg [image: WhatsApp Image 2019-03-13 at 8 30 17 PM (1)] https://user-images.githubusercontent.com/46582001/54289413-20a8f000-45cf-11e9-935f-5dea73cf91d3.jpeg
But I didn't understand which pins to solder on this board? This board is exactly same as mine . Plz help me @arunph https://github.com/arunph @codeskul https://github.com/codeskul @SaiSurya9999 https://github.com/SaiSurya9999
[image: 20190428_140149] https://user-images.githubusercontent.com/20750718/56865993-ff228d00-69f1-11e9-8728-cc08976370f0.jpg Yeahhh..!!! I got it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/164#issuecomment-487385758, or mute the thread https://github.com/notifications/unsubscribe-auth/AJP5EGPRLF7PJXJOO42NTPDPSW2ABANCNFSM4G5V2RWA .
Hi @SaiSurya9999 plz help me out with the connection pic of ur rc.since I m having the same RC control
Hi..Did you got this?
you can refer the code skull posted images for final working circuit diagram
I am unable to find the point to which i have to solder my audrino pins could you please help me to find to what points i should connect my forward backward left right in remote...??
![]()
But I didn't understand which pins to solder on this board? This board is exactly same as mine . Plz help me @arunph @codeskul @SaiSurya9999
Yeahhh..!!! I got it.
Is the car running using your keyboard.and how did you made it.can u send the circuit connection pic of it