Hi,
I am working on building a small quad copter drone that is programmed using an arduino pro mini like board. I am making my own arduino board so that I can make it fit my needs. I am trying to figure out how I can use a wireless serial communication module to send instructions from a pc to arduino. I can also use an android phone if that makes things easier.
I need to be able to send some thing like "LAND"
from the PC to the arduino wirelessly over a distance of about 20m(the more the better).
The arduino is the flight controller for the drone so it will have instructions like(pseudocode)
if(Serial.available()!=0){
if(Serial.getString()== "LAND"){// I know this is a syntax error but im just trying to explain things
land = true; // The loop function executes the landing code whenever land is set to true
}
Please let me know if this is possible and how-so
Also what would be the preferred method of communication? RF,Bluetooth, WI-FI?
I was thinking RF and did a bit of research into other's peoples projects into this but I could only find one example of something where it does PC to Arduino.
However I could not figure out how it worked in the code side...
Also I forgot to mention I want some sort of small device that if possible I can simply add to my pcb design of my custom arduino board so that it's literally a part of the device and fits right in, the main reason for this is to ensure that it doesnt move around or become disconnected in flight, which could obviously become a problem if i have to send a landing signal from my pc.
Is there anyway to do this, maybe there is some sort of existing smd package? or anything fit for a pcb, im thinking small but also quite affordable. At the moment price is not an issue but it would be nice to find something reasonably worth it.
Also I would like to be able to send Serial.print("Has landed") and similar back to the pc from the arduino. If this is too much of a hassle one-way communication is fine but whatever works
How do normal rc quads work and what is their range?
Thanks!