I promised I would test the new circuit after june 16th, and as I’ve promised my girlfriend to act more like a grown-up, I immediately broke this promise.
Having finished correcting exam papers ahead of time, I did a few tests this afternoon. It went terrible at first. The first 30min was spent without realising I had swapped the SH- and ICG-wires. Then ..okay I’m getting frustrated all over again just writing about it.
The long story short was that the particular nucleo board I was using had a an old and/or corrupted firmware. 2 hours later, once I figured that out, I resoldered all the resistors I had frantically been swapping, to get something resembling what ltspice said I should be getting and then:
The values for R1, R2, R3 and R4 are:
- R1 = 1200 Ω
- R2 = 2200 Ω
- R3 = 1200 Ω
- R4 = 560 Ω
in the opamp section of the circuit:
Approximately 300mV of the ADC’s range remain unused, however at this point I ran out of time and patience.