This commit is contained in:
William Clark 2023-12-26 22:57:02 +00:00
parent d3b6c912dd
commit b513cbd5d0
22 changed files with 23 additions and 51200 deletions

BIN
.gitea/graph-16g-filter.png Normal file

Binary file not shown.

After

(image error) Size: 24 KiB

BIN
.gitea/graph-2g-filter.png Normal file

Binary file not shown.

After

(image error) Size: 51 KiB

BIN
.gitea/graph-4g-filter.png Normal file

Binary file not shown.

After

(image error) Size: 43 KiB

BIN
.gitea/graph-8g-filter.png Normal file

Binary file not shown.

After

(image error) Size: 38 KiB

View File

@ -53,18 +53,24 @@ x: 0.5480, y: -0.8960, z: -0.0960 mag: 1.0547
> ### Notes
> FIFO is always and only 10-bit
### Noise at 2G
![DC noise at 2G](.gitea/graph-2g.png)
![DC noise at 2G](.gitea/graph-2g-filter.png)
### Noise at 4G
![DC noise at 4G](.gitea/graph-4g.png)
![DC noise at 2G](.gitea/graph-4g-filter.png)
### Noise at 8G
![DC noise at 8G](.gitea/graph-8g.png)
![DC noise at 2G](.gitea/graph-8g-filter.png)
### Noise at 16G
![DC noise at 16G](.gitea/graph-16g.png)
![DC noise at 2G](.gitea/graph-16g-filter.png)
## Using i2c on STM32
Simple example code
```c

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

17
plot.gp
View File

@ -22,3 +22,20 @@ do for [g in "2g 4g 8g 16g"] {
stub."200.txt" u n(4) w p ps 0.3 t "200 Hz", \
stub."400.txt" u n(4) w p ps 0.3 t "400 Hz", \
}
set ylabel "|[x y z]|"
set xlabel "Samples over time"
set yrange [-0.1:0.1]
do for [g in "2g 4g 8g 16g"] {
name = sprintf("graph-%s-filter", g)
out = sprintf("%s.png", name)
stub = sprintf("data/filt_%s_", g)
set title sprintf("[%s AUTORESET filter] comparison of f_{cutoff} DC acc. removal", g)
set output out
plot stub."1.txt" u n(4) w p ps 0.3 t "1", \
stub."2.txt" u n(4) w p ps 0.3 t "2", \
stub."4.txt" u n(4) w p ps 0.3 t "4", \
stub."8.txt" u n(4) w p ps 0.3 t "8", \
}