Notifications
Clear all

saurya singh

6 Posts
3 Users
0 Likes
2,049 Views
(@saurya-singh)
Member
Joined: 5 years ago
Posts: 7
Topic starter  

i am trying to make an ir controlled car but the reciever doesn't recieve anything please help


   
Quote
jscottbee
(@jscottbee)
Member
Joined: 5 years ago
Posts: 107
 

Hello Saurya,

Can you give a little more information about your IR setup? Type of microcontroller, wiring and some code examples my help some to see.

Thanks,

Scott


   
ReplyQuote
(@saurya-singh)
Member
Joined: 5 years ago
Posts: 7
Topic starter  

i am using an arduino uno microcontroller

 


   
ReplyQuote
jscottbee
(@jscottbee)
Member
Joined: 5 years ago
Posts: 107
 

First, check your wiring of the IR sensor to the Arduino. Make sure it's connected correctly and you have it powered. If it still does not work, then change the sensor out for another (if you have one)

If that all looks ok, then try another GPIO pin on the Uno, say pin 7 and change the code to reflect this.

 

 

 


   
ReplyQuote
(@saurya-singh)
Member
Joined: 5 years ago
Posts: 7
Topic starter  

thanks a lot


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1081
 

Hi Saurya

You've probably seen it, but just in case you haven't I did a video about using IR Remotes:

I also have an article that accompanies it at https://dbot.ws/irarduino  

One thing I would do is make sure your TRANSMITTER is really working, you can usually use a phone or tablet to "see" the IR beam. 

If the transmitter is working then head to your receiver.  This is where having access to some test equipment would be great as an easy test would be to put a scope or logic probe on the IR receiver output and see if you get pulses when the transmitter buttons are pressed.

If you don't have the equipment to test the IR receiver then try writing a simple Arduino sketch to read the pin you've connected it to and display the results on the serial monitor.  One nice thing about using microcontrollers like the Arduino is that when things don't work you can write simple test sketches to troubleshoot your project, section by section.

You said in your introduction that you are 13, I think it's wonderful that you have an interest in robotics. One skill that is essential when developing projects is to be able to troubleshoot when things don't work. If you develop that skill at your age you'll be able to design and build just about anything.

Take things one step at a time, follow the signal from the transmitter to the receiver and then to the code you're using to read the control signals.  You'll eventually solve the problem, and you'll learn a lot in the process.

Welcome to the forum!

?

Bill

 

 

 

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote