graphs
This commit is contained in:
parent
d3b6c912dd
commit
b513cbd5d0
BIN
.gitea/graph-16g-filter.png
Normal file
BIN
.gitea/graph-16g-filter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
.gitea/graph-2g-filter.png
Normal file
BIN
.gitea/graph-2g-filter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
BIN
.gitea/graph-4g-filter.png
Normal file
BIN
.gitea/graph-4g-filter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
.gitea/graph-8g-filter.png
Normal file
BIN
.gitea/graph-8g-filter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -53,18 +53,24 @@ x: 0.5480, y: -0.8960, z: -0.0960 mag: 1.0547
|
|||||||
> ### Notes
|
> ### Notes
|
||||||
> FIFO is always and only 10-bit
|
> FIFO is always and only 10-bit
|
||||||
|
|
||||||
|
|
||||||
### Noise at 2G
|
### Noise at 2G
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
### Noise at 4G
|
### Noise at 4G
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
### Noise at 8G
|
### Noise at 8G
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
### Noise at 16G
|
### Noise at 16G
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Using i2c on STM32
|
## Using i2c on STM32
|
||||||
Simple example code
|
Simple example code
|
||||||
```c
|
```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
3200
data/fifo_16g_50.txt
3200
data/fifo_16g_50.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_2g_100.txt
3200
data/fifo_2g_100.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_2g_200.txt
3200
data/fifo_2g_200.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_2g_400.txt
3200
data/fifo_2g_400.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_2g_50.txt
3200
data/fifo_2g_50.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_4g_100.txt
3200
data/fifo_4g_100.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_4g_200.txt
3200
data/fifo_4g_200.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_4g_400.txt
3200
data/fifo_4g_400.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_4g_50.txt
3200
data/fifo_4g_50.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_8g_100.txt
3200
data/fifo_8g_100.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_8g_200.txt
3200
data/fifo_8g_200.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_8g_400.txt
3200
data/fifo_8g_400.txt
File diff suppressed because it is too large
Load Diff
3200
data/fifo_8g_50.txt
3200
data/fifo_8g_50.txt
File diff suppressed because it is too large
Load Diff
17
plot.gp
17
plot.gp
@ -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."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", \
|
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", \
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user