Browse Source

swapped GPIO pins for SCL and SDA, because GPIO12 is a special pin that must not be pulled high during boot

master
Youen Toupin 3 years ago
parent
commit
a91d56c390
  1. 4
      ESP32/src/vehicle-monitor.cpp
  2. 1589
      schema/MCU_board/MCU_board.kicad_pcb
  3. 4
      schema/MCU_board/MCU_board.kicad_prl
  4. 1984
      schema/MCU_board/MCU_board.kicad_sch
  5. 168996
      schema/MCU_board/fp-info-cache

4
ESP32/src/vehicle-monitor.cpp

@ -26,8 +26,8 @@ ADC batterySensor(39);
Dps310 pressureSensor = Dps310(); Dps310 pressureSensor = Dps310();
const int8_t speedSensorPin = 13; const int8_t speedSensorPin = 13;
const int8_t debugLedPin = 2; const int8_t debugLedPin = 2;
const int8_t I2C_SDA = 12; const int8_t I2C_SDA = 15;
const int8_t I2C_SCL = 15; const int8_t I2C_SCL = 12;
const float wheelDiameterInches = 20; const float wheelDiameterInches = 20;
const int numImpulsesPerTurn = 2; const int numImpulsesPerTurn = 2;

1589
schema/MCU_board/MCU_board.kicad_pcb

File diff suppressed because it is too large Load Diff

4
schema/MCU_board/MCU_board.kicad_prl

@ -1,7 +1,7 @@
{ {
"board": { "board": {
"active_layer": 31, "active_layer": 0,
"active_layer_preset": "All Layers", "active_layer_preset": "Toutes Couches",
"auto_track_width": true, "auto_track_width": true,
"hidden_nets": [], "hidden_nets": [],
"high_contrast_mode": 0, "high_contrast_mode": 0,

1984
schema/MCU_board/MCU_board.kicad_sch

File diff suppressed because it is too large Load Diff

168996
schema/MCU_board/fp-info-cache

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save