Hi!! I am trying to design a type of dogfighting rc airplane system with Arduino, ir sensors and receivers, and a relay module. The problem is I don't know how to set up the ir sensors and receivers. Any help is appreciated. Thanks!!
Since you haven't said what the "IR sensors", "receivers" and "relay module" are supposed to do it's not going to be easy to help.
But if you plan to point an IR transmitter in one plane at a receiver in another plane then, unless you're going to be dogfighting in the dark, it's going to be difficult to avoid ambient light effects swamping the IR signal.
Steve
Google for "rc aicombat" (pr vosit rcgroups.com). Get 2 planes. Get a streamer. Learn to fly. Learn to make aircombat. Come back ... that'll be in a 2 years or so ...
The thing is I don't want to have to buy streamers every time. I am familiar with that method though. I was planning on using a lens to concentrate the IR signal. I was planning on every time I got hit, having my throttle get cut using the relay module for around 10 seconds. I just do not know the set up for IR Sensors and recovers and the code for them. Thanks for the help!!
If you plan on doing a 10 second engine cut, best you learn how to do upwind deadstick landings while you are at it.
I did r/c formation flying and r/c combat back 20 years ago and any laser setup would be the last thing to consider.
Acquired skills by both operators is a must, even then, no guarantees one or the other will flinch and pull out at close quarters flying.
Delta_G:
I get it. I remember laser tag.I’m just going to say, coolest project idea I’ve seen in a while. I like this one. Don’t know about making it work. But I really like where you’re coming from. Especially with something like an FPV rig. Of all the projects I’ve seen here in I don’t know how long, this is the one I want to play with.
So the thing I remember about laser tag was that if you got far enough away, all you had to do was shoot it the general direction of somebody and it would set it off. I know the military uses something much better for war games, so there must be a way. Although they don’t have to worry about expense. I bet it involves real actual lasers.
The way you deal with ambient lighting is to modulate your signal. Your receiver isn’t just looking for an IR burst. It’s looking for an IR burst that is flashing at a certain rate.
I don't think it is a good idea at all to have lasers, strong enough for the range necessary, flashing about all over the sky ( and the ground and all areas in between) when there are other r/c pilots staring open eyed into the wide blue yonder keeping control of their own aircraft.
Laser tag, where EVERYONE wears safety goggles and signs waivers too. Yeah, lets put the lasers up in the sky.. NOT.
IR sensors out in sunlight looking for a few mW from a laser. Are you kidding?
Put a video camera in the plane and have it take X-many frames of the target in center and some width (distance) maybe?