I intend to build a I2C Compass module that fits into the cavity upwards the sim card holder and right of the battery.
That being said I'd like to explicitly state that everything said below is so far a mere brainstorm and nothing more. I'm still evaluating feasibility and make no promises whatsoever!!!
While the gps does provide heading information, it computes said by drawing a line between the current and last position generated. Thus it is obvious that the heading generated will
- a) Fall behind increasingly with tightness of turn
- b) Be increasingly jittery and inaccurate with decreasing forward speed, as the gps-inherent jitter will be more and more pronounced.
Therefore it is desireable to have a device installed which generates heading directly from the earth magnetic field instead of by comparison of position.
Unlike the gps, the magnetic compass module is affected by magnetic variation. Also the module will be next to useless pending implementation of it's use by software ad hoc.
The module will most likely consist of a HMC6352 or preferrably the 3-axis HMC5843 module on a tiny PCB. The chip in principle does not need any additional periphery to function. If the nearby radio circuits should turn out to interfere with the compass function, the addition of two resistors and two capacitors may prove necessary, which should have ample room in the space available. Connections will be made by soldering wires to the test points on top of the main FR PCB.
- It is possible if unlikely that the compass module could itself throw interference into the gps module. In this case, a decoupling capacitor in the power circuit of the compass module may be necessary.
- It is possible that the shielding of the nearby gps and gsm modules renders the magnetic field unusable to a HMC6352, or that the HMC6352, even decoupled, emits interferrence that render either the GPS or the GSM unusable if mounted in that position, either of which would lead to the project having to be given up since there is no other place inside the casing where the chip could be mounted.
Request for Contributions
I would appreciate contributions in the form of software, especially patches to frontends and gpsd to have them make use of the module. I intend to try and write a module myself, but I don't make any promises yet. See first and next paragraph!
The module is currently in planning stage.
In that order
- Find out about how the i2c bus can be made use of in linux
- Find out if a kernel module exists for this chip
- Order one or more ICs for testing purposes
- Etch a test board
- If none exists, get started on the kernel module
The module is (obviously) not available for purchase yet.
Wether or not I proceed to production state with this project depends largely on expression of interest by the community.
Please note that these are preliminary figures which may well go either up or down. I will try to find volume discount prices on ICs and post more accurate price/order count relations asap.
- The end price for the complete module will probably be in the range of 40-60 USD exc S/H.
- Bare PCBs will range in the area of 1.50 to 2.00 USD + S/H.
- DIY-Kits with IC and PCB will range between 30 and 50 USD depending on order count.
Minimum Order Count
Preliminary minimum order counts are in the range of 40 PCBs. Ordering less PCBs is uneconomical.
Non-binding pre-order is open effective immediately in the discussion thread of this page.