Commit graph

26 commits

Author SHA1 Message Date
Thomas Kolb a17313246d Fixed mppMaxPWM limits 2016-08-21 19:45:05 +02:00
Thomas Kolb 6fc5a0e2c9 Some parameter tuning 2016-08-21 19:06:20 +02:00
Thomas Kolb 9e353c3248 Limit max. PWM value in MPP if power is lost too often 2016-08-21 19:05:54 +02:00
Thomas Kolb 56b44e8d1e Replaced exponential avg. by block-average for MPP measurement 2016-08-21 19:04:22 +02:00
Thomas Kolb 0e59b70465 Show averaged values in UART output 2016-08-21 19:02:58 +02:00
Thomas Kolb 9dc1ab928c New approach to MPP tracking
Test multiple points for PWM, switch to the one which gives the most
power, repeat. If two consecutive tests give the same point, hold that
for some time or until power changes too much.
2016-08-18 22:05:18 +02:00
Thomas Kolb 473253f5ab Some MPPT tweaks (not final yet) 2016-08-17 22:05:01 +02:00
Thomas Kolb c93c3d41fb Code cleanup 2016-08-17 22:04:04 +02:00
Thomas Kolb dac3d34691 State transition tuning 2016-08-14 22:46:12 +02:00
Thomas Kolb 2246ac0290 Print log data over UART 2016-08-14 04:17:06 +02:00
Thomas Kolb 71c7cb57be Deep sleep cosmetics 2016-08-14 03:10:01 +02:00
Thomas Kolb d313860804 Enable RTC and deep sleep (stop mode) 2016-08-14 01:38:19 +02:00
Thomas Kolb 6fc7e27c0b State tuning; safer startup
- Added some initial values for variables
- Prevent too fast state switching to bootstrap (only bootstrap 5
  seconds after state change)
- Made threshold voltage for switching from MPP to CV different from CV
  constant voltage
2016-08-13 01:12:33 +02:00
Thomas Kolb df0db26122 Increased target voltage 2016-08-07 16:02:51 +02:00
Thomas Kolb cfcbbe5269 Tuning, use idle state, some power saving 2016-08-07 01:04:24 +02:00
Thomas Kolb 33dea2e7a4 First implementation of MPP tracking 2016-08-07 00:36:15 +02:00
Thomas Kolb 97db9c24db Implemented Constant Current mode 2016-08-06 22:22:21 +02:00
Thomas Kolb 3ef6872e03 Implemented constant voltage regulator 2016-08-06 03:15:27 +02:00
Thomas Kolb 7b02652cad Implemented bootstrap and switching 2016-08-06 01:27:11 +02:00
Thomas Kolb b8f8b5f6a2 Added simple pin mapping file 2016-08-05 20:50:33 +02:00
Thomas Kolb 809ed13e46 Cleaned up old comments 2016-08-05 20:48:54 +02:00
Thomas Kolb e485e23038 Enabled TIM1 for PWM 2016-08-05 20:48:36 +02:00
Thomas Kolb 99447b3454 Set all output GPIOs to output
No final setup yet for SW_ON and BOOTSTRAP_PULSE. These are currently
just low (== off) after power-on.
2016-08-05 00:27:40 +02:00
Thomas Kolb c56e00a084 Moved LCD control code to separate module 2016-08-05 00:06:11 +02:00
Thomas Kolb 0d98607a0a Added calibrated current scale 2016-08-04 23:17:25 +02:00
Thomas Kolb 1b81f70df3 Initial commit
What already works:

- ADC-reading with DMA
- Display
- UART debugging
2016-07-28 02:14:03 +02:00