camerart
Well-Known Member
hi,
The problem area will be the arctan functions in the PIC.
If you had a directional aerial that had a beam width of 10 degrees, it would mean for a 90 degree quadrant you could use a short Table for the arctan.
So the Table would represent a 90 degree quadrant divided into say 18 sectors [values covering 5 degrees].
Use your Base station as the Datum, so reduce its N, E, to 0,0 and then normalise the received N, E ,GPS data relative to the Dataum 0,0.
This will give a Table pointer for the arctan/ angle.
E
Hi E,
I'm a bit lost when you talk about arctan, although I could do a calculation. I saw you mentioned a PIC which is an 18F series. After a search for which PIC to use, I've almost decided not to use 18F series and stick to the simulator that etc, for 16 series. I have just received 16F886 PICs today. I was hoping to use these.
I can make the aerial to suit the angle, but later. I intend to use 360 degree optical discs for resolution, so can move one degree if necessary.
C