-
8c80062da8
use proper units for pwm pins
Astro
2020-09-16 22:05:31 +0200
-
7d45d5ad32
adc: complete temperature calculation
Astro
2020-09-16 20:49:24 +0200
-
dda1f2f0b4
use ThermodynamicTemperature
Astro
2020-09-16 18:40:07 +0200
-
b1b6d1ea94
fixes
Astro
2020-09-14 00:12:28 +0200
-
1849e6f5e7
cargosha256.nix: update
Astro
2020-09-13 23:24:44 +0200
-
b80fcc430b
channel_state: move adc_calibration into ChannelState
Astro
2020-09-13 23:15:48 +0200
-
bb26490153
unit: replace with uom
Astro
2020-09-13 22:52:20 +0200
-
4a1ce342a0
pins: enable pwm pins
Astro
2020-09-12 00:35:58 +0200
-
8cddbc5173
update cargosha256
Sebastien Bourdeauducq
2020-09-11 18:38:12 +0800
-
37a7898f92
cargosha256.nix: update
Astro
2020-09-11 02:07:17 +0200
-
277f239ed7
cargosha256.nix: update
Astro
2020-09-10 23:44:14 +0200
-
10208e1ac0
main: bump WATCHDOG_INTERVAL to 1s
Astro
2020-09-10 23:28:00 +0200
-
42587810cd
usb: add serial logger
Astro
2020-09-10 23:17:31 +0200
-
c11b71cc0d
adc: don't calibrate but convert using ChannelCalibration
Astro
2020-09-09 23:10:33 +0200
-
2617895460
update cargosha256
Astro
2020-09-06 22:59:12 +0200
-
5244077144
update dependencies
Astro
2020-09-06 21:59:28 +0200
-
4e6aa5fe0c
leds: init
Astro
2020-09-06 21:10:10 +0200
-
9a912392be
channels: fix dac calibration
Astro
2020-09-06 19:08:09 +0200
-
50dcee0c8a
pins: reuse definitions
Astro
2020-09-06 19:06:59 +0200
-
f76ae453a9
ad5680: cap value to MAX_VALUE
Astro
2020-09-06 19:06:31 +0200
-
e5c9ee8ed0
update cargosha256
Sebastien Bourdeauducq
2020-09-04 12:16:31 +0800
-
a3df2bc685
update to newer stm32-eth
Astro
2020-09-03 21:38:56 +0200
-
1711feae84
timer: define sleep() as pub
Astro
2020-05-31 19:54:18 +0200
-
f9b55508dd
ad5680: keep sync high for 1ms
Astro
2020-05-28 20:45:42 +0200
-
cf03613ac5
main: fix peripheral params
Astro
2020-05-28 20:43:34 +0200
-
3c94342448
replace tec_u_meas_adc with pins_adc
Astro
2020-05-28 02:06:32 +0200
-
5418488a2f
replace channel[01].adc with pins_adc
Astro
2020-05-28 02:01:55 +0200
-
f323c1be63
migrate ad5680 to softspi
softspi
Astro
2020-05-27 23:16:22 +0200
-
-
ec6aa03dc3
set pwm values as ratio 0..1
Astro
2020-05-27 20:38:57 +0200
-
35af543e33
channels: fix/optimize calibrate_dac_value()
Astro
2020-05-20 23:07:31 +0200
-
cca0a77657
keep shdn high all the time
Astro
2020-05-20 23:07:03 +0200
-
d326517453
channels: remove unneccessary pub qualifiers
Astro
2020-05-20 21:27:22 +0200
-
e6e150dac3
add Channels::calibrate_dac_value()
Astro
2020-05-19 00:15:39 +0200
-
70127491f6
add vref_pin
Astro
2020-05-18 22:43:44 +0200
-
3d6e1f18a6
add tec_u_meas
Astro
2020-05-18 21:38:13 +0200
-
28a71d34d7
fix tec_i calculation
Astro
2020-05-18 21:23:07 +0200
-
0bc0af7487
rename dac_loopback to dac_feedback
Astro
2020-05-17 02:18:25 +0200
-
34c2da4484
ad7172: fix calibration
Astro
2020-05-17 02:11:53 +0200
-
ba860e52ac
control i_set dac in volts
Astro
2020-05-17 01:23:35 +0200
-
38a220ce4e
fix tec_i calculation, add units::{Amps, Ohms}
Astro
2020-05-17 00:54:37 +0200
-
fb5c7a84e9
add units::Volts, use for stm32f4 adc
Astro
2020-05-17 00:13:52 +0200
-
7f8dd62a36
add itec_pin
Astro
2020-05-16 23:59:31 +0200
-
a317eb60fd
rename ref_adc to dac_loopback
Astro
2020-05-16 19:36:00 +0200
-
feae22b277
ad5680: idle low for powersaving
Astro
2020-05-16 01:18:14 +0200
-
c53c9a289f
pins: fix ref_pins
Astro
2020-05-16 01:09:38 +0200
-
53930497e4
ad5680: fix MAX_VALUE
Astro
2020-05-13 23:19:20 +0200
-
9ecf705420
ad5680: fix SPI_MODE
Astro
2020-05-13 23:19:09 +0200
-
c0079007f2
do not overwrite dac value when pid is disengaged
Astro
2020-05-13 22:11:25 +0200
-
b9d05ff274
channels: add set_dac()
Astro
2020-05-13 21:02:26 +0200
-
eb9aeb160a
add Channels::read_ref_adc()
Astro
2020-05-13 00:15:29 +0200
-
3d1740b23b
refactor into Channels::poll_adc()
Astro
2020-05-13 00:04:55 +0200
-
9466961bd7
main: refactor into Channel/Channels
Astro
2020-05-12 23:16:57 +0200
-
6dd6bb2e1e
pins: add ref[01] adc
Astro
2020-04-10 21:05:05 +0200
-
9682d7657d
README: update title
Sebastien Bourdeauducq
2020-04-09 13:16:30 +0800
-
5faf64eae8
README: link CI, more instructions
Astro
2020-03-23 23:42:22 +0100
-
cfea205e06
README: init
Astro
2020-03-23 23:03:58 +0100
-
56c62975c4
main: improve show pid parameters
Astro
2020-03-23 23:02:50 +0100
-
0df3723ef3
cargosha256: update for nixbld.m-labs.hk
Astro
2020-03-23 14:51:17 +0100
-
8d532dc50a
Cargo.toml: use patch for dependency stm32f4xx-hal
Astro
2020-03-23 00:25:06 +0100
-
d203f21caf
main: re-enable interrupts
Astro
2020-03-21 00:46:24 +0100
-
15f64358a2
main: fix socket handling
Astro
2020-03-21 00:37:24 +0100
-
7fe1d2f761
main: disable ad7172 sync
Astro
2020-03-21 00:36:52 +0100
-
dcf7babf32
ad7172: delint, doc
Astro
2020-03-21 00:34:22 +0100
-
e7782c9cb3
implement shdn* pins
Astro
2020-03-21 00:33:31 +0100
-
b345cc0865
use embedded_hal through stm32f4xx_hal instead of direct dependency
Astro
2020-03-21 00:22:38 +0100
-
a102e5fcec
main: wait for more tcp send headroom
Astro
2020-03-21 00:11:23 +0100
-
10f7020c02
main: fix report padding
Astro
2020-03-21 00:11:03 +0100
-
da65ea21a4
ad7172: eliminate superfluous AdcError
Astro
2020-03-21 00:10:12 +0100
-
9c3485d05f
timer: increase rate to 500 Hz
Astro
2020-03-21 00:07:18 +0100
-
8e41c44303
adc: use ref_sel=external
Astro
2020-03-21 00:06:27 +0100
-
1cba8e56c9
ad7172: add calibrate_offset()
Astro
2020-03-20 23:51:19 +0100
-
63cc1d2fe1
main: always do full session reset
Astro
2020-03-20 23:20:38 +0100
-
194871c85a
ad7172: readback after write_reg()
Astro
2020-03-20 23:19:31 +0100
-
4c3c8498e9
ad7172: retry corrupt transfers
Astro
2020-03-20 00:45:40 +0100
-
82dba2bb67
ad7172: work on adc setup
Astro
2020-03-20 00:45:10 +0100
-
bb51cce6f6
ad7172: remove stale code
Astro
2020-03-19 23:46:55 +0100
-
723901b341
adc: read u32 for unipolar coding
Astro
2020-03-19 23:39:06 +0100
-
2e72a03b93
steinhart_hart: fix equation
Astro
2020-03-19 22:56:14 +0100
-
bec7019f3a
delint
Astro
2020-03-19 22:21:17 +0100
-
c00c1bb081
main: connect adc/sh/pid/dac, split out into mod channel_state
Astro
2020-03-19 22:09:16 +0100
-
a94650e208
main: optimize+doc resets
Astro
2020-03-19 22:01:16 +0100
-
163bb38f68
simplify pid, keep last_output
Astro
2020-03-19 22:00:22 +0100
-
e5b4789304
replace dependency lexical-core with num-traits
Astro
2020-03-19 19:51:59 +0100
-
da4aaf4ff6
implement all the tcp commands
Astro
2020-03-19 18:34:57 +0100
-
cee0a1fcab
steinhart_hart: fix calculation, rename parameters
Astro
2020-03-19 00:23:41 +0100
-
0f4442b124
switch pid+steinhart_hart parameters from f32 to f64
Astro
2020-03-18 21:56:52 +0100
-
1ad821299b
build mods pid + steinhard_hart
Astro
2020-03-18 21:51:30 +0100
-
0575b52bc1
session: eliminate copying LineResult wrapper
Astro
2020-03-18 21:33:10 +0100
-
ac728a2aff
server: reduce sockets from 8 to 4 for memory savings
Astro
2020-03-18 21:15:34 +0100
-
69a4f5a5d2
merge the network code
Astro
2020-03-13 23:39:22 +0100
-
09dbb7d495
add ad5680
Astro
2020-03-12 21:27:03 +0100
-
fed3e767e9
pins: setup dac spi 0,1
Astro
2020-03-12 19:24:57 +0100
-
89b0d142ad
main: use HSE clock
Astro
2020-03-12 18:31:43 +0100
-
f021ebd6e6
pins: setup PwmPins
Astro
2020-03-12 17:26:14 +0100
-
ac336b7a26
main: split into mod init_log
Astro
2020-03-12 00:50:24 +0100
-
c377706e0e
ad7172: move setup from main
Astro
2020-03-12 00:44:15 +0100
-
44c8ff54c1
ad7172::checksum: improve
Astro
2020-03-12 00:43:11 +0100
-
95d66438d2
main: use sensible WATCHDOG_INTERVAL
Astro
2020-03-11 23:17:34 +0100
-
297e38e1cc
main: ignore warnings for now
Astro
2020-03-11 23:17:17 +0100
-
99f7f2b548
Pins::setup, replace adc_input with ad7172
Astro
2020-03-11 23:16:48 +0100