**Design requirement for Pic code to interface a CMPS03 compass module.**
The designer is required to-
Choose suitable Microchip PIC IC to satisfy requirement - PIC 16877 to be considered.
PIC will require I2C to read a CMPS03 compass module
A minimum pin count but still able to provide 12bit data output either in parallel (or serial, see non preferred option)
**My Preference is for 12 pins providing 12 bit parallel output representing integer data received from the compass module. **The pic will constantly output parallel data via 12 pins
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
3) ASM and HEX files for upload to PIC IC via Microchip MPLAB
* * *This broadcast message was sent to all bidders on Sunday Mar 5, 2006 8:56:44 AM:
Thank you very much for your fast response.
In answer to your questions and to be fair to all parties, this reply has been sent to all tendering persons.
Your questions are as follows-
*Do you have the hardware parts (PIC micro, compass module)?
I have PIC and Programmer but have not invested in compass module until I know project can be done and is viable. I suspect the answer is yes it is viable.
Please select a pic you feel is most suitable, please keep to a DIL packaged device so that I can maintain through hole PCB construction
Program pins grouped on one side of the device to enable easy bus connection if possible
Maintain low device pin count PIC16877 is approximately the device style I wish to use.
*What language you want this done?
Any you like for programming, I require ASM and Hex to allow me to program device.
*Could we be provided with the data sheet of the compass with the communication protocols and timing diagrams?
Please see attached Zip file, all links are included in text.
*How would you like the compass data displayed?
Ideally I wish to obtain 12 bit Parallel output via 12 pins from the PIC.
*Do you want us to build the system also? (No bid was made only question asked)
Not required at this stage, but I will take your offer into consideration
Please feel free to contact me should you have any further questions.
* * *This broadcast message was sent to all bidders on Wednesday Mar 8, 2006 2:24:46 PM:
Thank you all for you prompt response to my bid request, as a result i am now in a position to consider your bids.
I would like to make a slight change to the program, this will in no way affect the task for which you are bidding.
The output from the PIC is 10 bit and not 12 as first stated, I know some of you have will have done preliminary work towards this task, i am very sorry for any inconvenience this may have caused.
There had simply been an oversight on my part.
I have been impressed by the Bids recived and now have the tough position of deciding on my coder.
please can you all reply to acknowledge that you fully understand the project requirement.
ie. pic talks to the compass and outputs the bearing from the pic by means of 10 pins being used as a 10 bit binary bus connection. Please also acknowledge the change from 12 bit to 10 bit parallel output
code for Microchip PIC 16F877 or similar DIL Package/Device