65ac37fd62
fix logic errors
2026-05-01 23:54:30 +02:00
364e62f933
reduced i2c timeout
2026-05-01 23:32:22 +02:00
f0dfc95910
reverted pwm frequency to 100khz
...
Also recompile on header change
2026-05-01 19:08:18 +02:00
7aa3e0c3e5
moved pd negotiation to owm module
2026-05-01 18:57:25 +02:00
14a33963b0
moved defines to funconfig.h
2026-04-30 22:27:48 +02:00
ba23e42050
first temperature controller
2026-04-30 02:19:24 +02:00
246183e9a3
removed usb commands
2026-04-28 19:35:36 +02:00
7cf89e9e45
changed _k to _c to reflect reality, tip temperature approx
2026-04-28 19:34:43 +02:00
4ffb554d43
pwm generation and tip driving
2026-04-26 22:11:19 +02:00
adcf08f236
comment on adc conversion
2026-04-25 11:36:40 +02:00
2ccf069e15
Add SC7A20 accelerometer support
...
!!! AI GENERATED MESSAGE !!!
This commit introduces support for the SC7A20 accelerometer.
The accelerometer readings can now be displayed on the screen,
and the display mode can be toggled using the encoder.
Additionally, the EMA filter constants for voltage and current
readings have been updated from K2 to K4 for potentially smoother
readings.
2026-04-24 22:42:18 +02:00
48f1656540
const qualifier for sendBytes
2026-04-24 01:55:20 +02:00
f5dfa7960b
removed allucinated functions
2026-04-24 01:45:12 +02:00
de32bd245c
parallel compilation with redefined make rules
2026-04-23 20:13:06 +02:00
5828ecfb48
print highest voltage and select 9v with button
2026-04-22 21:02:21 +02:00
8adfe875cd
started work on PD negotiation
2026-04-22 00:39:46 +02:00
a38c71674b
removed unused command
2026-04-21 21:59:30 +02:00
1fdf6d2cca
i2c at 400kHz
2026-04-21 21:56:23 +02:00
7b1be30a6c
ADC conversion and DMA
...
Setup ADC conversions to happen automatically, transferring results to a buffer
using DMA, also set up channel injection, where instead the tip temperature is
read sinchronously
2026-04-21 21:51:24 +02:00
0023394615
correct use of #if defined check
2026-04-19 23:46:18 +02:00
2a38ba36b0
indentation to tabs
2026-04-19 23:07:36 +02:00
4820010ef1
use ssd1312 display (soldered)
2026-04-19 21:26:22 +02:00
a1590577d2
added fixed point exponential average filters
2026-04-19 18:54:44 +02:00
2c82d8d42e
draw useful info on screen
2026-04-19 16:46:54 +02:00
1ba352af4e
Refactor ADC reading and conversion
...
Introduce `VCC_MV` to `funconfig.h` for consistent voltage readings.
Add `get_current_ma` function to `main.c` for clearer current
calculations.
Remove unused `PIN_LED` and `Delay_Ms(5000)` from `main.c`.
Update VBUS voltage calculation to use `VCC_MV`.
Print TIP sensor voltage in millivolts instead of raw ADC values.
2026-04-19 14:05:06 +02:00
ab5e54a9dd
scan correct I2C bus
2026-04-19 00:26:36 +02:00
77701636b5
moved i2c setup to it's own function
2026-04-18 22:40:26 +02:00
55bee1a5d8
push script to generate NTC lut
2026-04-17 22:21:42 +02:00
4591e6e04a
try to set higher contrast
2026-04-17 21:09:49 +02:00
dae0fbcbda
i2c test and display
2026-04-16 13:10:52 +02:00
9e254e0fb1
interrupt-based encoder
2026-04-11 21:40:33 +02:00
90a94a533b
more work on basic functions
2026-04-10 17:10:39 +02:00
e1528385c2
read some adcs
2026-04-10 00:58:53 +02:00
a75570e67b
it talks
2026-04-09 20:51:51 +02:00
043fbba67e
firmware not working
2026-04-09 17:16:19 +02:00
6bc4087474
project start
2026-04-06 00:06:45 +02:00
821380d21c
independent programmer
2026-04-05 20:08:18 +02:00
03bf92f505
refined implementation
2026-04-05 17:00:53 +02:00
920d0a46c3
technical manuals of the mcu
2026-04-05 01:32:08 +02:00
a51793e529
better ignore
2026-04-05 01:31:47 +02:00
6cd3815d5a
first (non working) programmer
2026-04-05 01:31:11 +02:00
d79565b10d
firmware setup
2026-03-25 18:47:44 +01:00