Bureaucrats, checkuser, Administrators
3,313
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
== | == About the module == | ||
$20-25 compass module for embedded systems. SMD will be cheaper. | $20-25 compass module for embedded systems. SMD will be cheaper. | ||
| Line 6: | Line 6: | ||
== Testing with the BusPirate == | |||
Settings: | |||
* M (mode) | * '''M''' (mode) | ||
* 8 (3-wire raw) | * '''8''' (3-wire raw) | ||
* 4 (400KHz) | * '''4''' (400KHz) | ||
* 2 (3.3V high) | * '''2''' (3.3V high) | ||
* W (turn on 5V output) | * '''W''' (turn on 5V output) | ||
Reset | === Reset=== | ||
\[/_\/_\/_\/_\&:10] | \[/_\/_\/_\/_\&:10] | ||
The delay may not be needed. | The delay may not be needed. | ||
Take sample | === Take sample === | ||
1100 is the response for success, 00xx is for incomplete, xx11 is error, see p9 of datasheet) | |||
\[/-\/_\/_\/_\&&]&:10[&:10/-\/-\/_\/_\!!!!&!!!!!!!!!!!&!!!!!!!!!!!] | \[/-\/_\/_\/_\&&]&:10[&:10/-\/-\/_\/_\!!!!&!!!!!!!!!!!&!!!!!!!!!!!] | ||
| Line 60: | Line 61: | ||
[0b1000 && ]&[& 0b1100 r:4] | [0b1000 && ]&[& 0b1100 r:4] | ||
Sample readings: | |||
Sample | |||
0,-6 | 0,-6 | ||