140 Commits

Author SHA1 Message Date
d0a7d020bf Merge branch 'external-handle' of git.alemauri.eu:alema/usbc_soldering_iron into external-handle 2026-05-18 22:31:27 +02:00
617a09d775 removed programmer 2026-05-18 22:31:23 +02:00
b4086ddea0 100W 2026-05-16 18:34:34 +02:00
ccdf7e9981 tweak pid for less overshoot 2026-05-16 18:34:24 +02:00
d875568d9a oops, actually call setup() 2026-05-16 18:34:04 +02:00
a7d3ceaffe some comments and attribution 2026-05-16 17:30:18 +02:00
5688dfb8c5 moved setup to it's own function 2026-05-16 17:23:28 +02:00
52d67f3cf3 one comment on encoder 2026-05-16 16:58:06 +02:00
2a61c07a15 moved ui stuff 2026-05-15 22:30:29 +02:00
546178c700 moved isqrt to filter.h 2026-05-15 21:31:21 +02:00
288aa914e9 draw degrees C or F 2026-05-15 16:46:02 +02:00
bee70b76b9 encoder "fast lane" 2026-05-15 16:25:14 +02:00
0609877f9e remove negative windup 2026-05-15 14:02:49 +02:00
17c021a2a4 hand rolled fixed point math 2026-05-14 21:30:51 +02:00
d4fa0d5b99 different PID controller 2026-05-13 23:16:42 +02:00
e45617d6b2 new graphics 2026-05-12 23:40:22 +02:00
944133bd45 avoid string parsing 2026-05-12 23:40:02 +02:00
51952ead3d shrim 2026-05-12 21:24:40 +02:00
9799947842 PID calibration 2026-05-11 18:03:22 +02:00
3a6e6bdcea different PID 2026-05-11 02:12:42 +02:00
b395e77117 fix encoder 2026-05-11 02:12:25 +02:00
3c50fcd695 fix FR_math impl 2026-05-10 12:58:25 +02:00
c1cee6a15a Merge branch 'external-handle' of https://git.alemauri.eu/alema/usbc_soldering_iron into external-handle 2026-05-10 12:09:00 +02:00
204e750b74 use FR_math for fixed point arithmetic 2026-05-10 12:08:56 +02:00
64326d0dea fix delta calc to signed 2026-05-10 11:07:28 +02:00
f0d961a65d TODOs for usbpd EPR impl 2026-05-09 01:06:31 +02:00
0200e47327 start work on PID controller 2026-05-09 01:05:49 +02:00
f7f5a16d64 start work on EPR support 2026-05-05 22:32:51 +02:00
5e12e9a4a0 state machine encoder logic and first simple menu 2026-05-04 00:47:57 +02:00
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