Trip and Odo
by Martin ROGER 9 months 3 weeks
Trip and Odo

Added trip and odometer readings to the pulse counters
Some issues with the MUX on the bench
Added force-reset of the screen
Need to clean up the schematics
417fffae
Added simulations for OpAmp circuitry
by Martin ROGER 1 year 2 months
a4631c3f
Updated LTSpice OpAmp circuit simulation
by Martin ROGER 1 year 2 months
Updated LTSpice OpAmp circuit simulation

Went and plonked a non-ideal LM358 OpAmp model. Suspicion is that the Common mode voltage is too close so it is non-linear above 80Ohm (which corroborates the observations from before.
Suggestions of correction :
- Change OPAMP with tighter common mode voltage limit
- Change supply voltage of OPAMP to 7V and above -> Risky business
- Change Rset and Vref to something lower. Ideally could go down to Vref at 3V and would lose a little bit of resolution between 3V and V3 but could also lose the voltage divider (5.1K and 2.7K) thus reducing stray current .

In any case upload a V2 of the circuit with those different options
96394240
Create Calibration reference.xlsx
by Martin ROGER 1 year 2 months
Create Calibration reference.xlsx

Documenting the excessive current through the Rsense...
4e5fdee8
PCB update
by Martin ROGER 1 year 2 months
PCB update

To reflect pin reassignments
4286a9e4
Code refactor act deux
by Martin ROGER 1 year 2 months
Code refactor act deux

Moved a lot of repetitive pattern functions to their own .h files to allow for easier readibility. Same goes for general shared variables.
Still compiles !
9cdbe79c
Code refactor for PlatformIO
by Martin ROGER 1 year 3 months
Code refactor for PlatformIO

Refactoring and changes of order of declarations
6fb1b404
Updated schematic and code
by Martin ROGER 1 year 3 months
Updated schematic and code

GPIO4 is reenabled but subject to suspicions
Schematic is updated, PCB is not.
b5568669
Multiple issues !! Read comment
by Martin ROGER 1 year 10 months
Multiple issues !! Read comment

Counter_3 moved to non-ADC GPIO18
Moved away from trying to put two ISRs on the same pin (you would think the IDE tells you off...)
Tried GPIO4 for Counter3 but seemed to perturbate ADC2 for the high KR analog
Should retry with the sorted double interrupt but no guarantee this will resolve things
Updated schematics with currently GPIO4, may need to move to GPIO18 also in schematics and PCB and kill one of the digitals
9df9eb99
Merge pull request #30 from martinroger/Martin-dev...
by Martin ROGER 1 year 10 months
Merge pull request #30 from martinroger/Martin-dev_PulseCounters

Implemented based on pulse counting
5bf2a797
Report a bug