Update the docs to recommend powering the MCP from regulated 3.3V
Turns out the USB power from the board is unregulated, and causes stability issues with the MCP when actively using Bluetooth. More details: https://racechrono.com/forum/discussion/comment/10996/#Comment_10996
|
@ -40,8 +40,8 @@ Recommended parts list:
|
|||
* ~22 AWG wires
|
||||
|
||||
First, solder the male headers to your microcontroller board.
|
||||
You'll need G, USB, SCK, MO, MI and 7.
|
||||
It's also recommended to solder 9, R and 3V for future improvements and
|
||||
You'll need G, 3V, SCK, MO, MI and 7.
|
||||
It's also recommended to solder 9, R and USB for future improvements and
|
||||
mechanical stability on the breadboard.
|
||||
Soldering male headers is a lot easier if you first insert them into a
|
||||
breadboard.
|
||||
|
@ -73,7 +73,7 @@ Check connections:
|
|||
|
||||
MCP pin | Microcontroller pin
|
||||
------- | ------------------
|
||||
VCC | USB
|
||||
VCC | 3V
|
||||
GND | G
|
||||
CS | 7
|
||||
SO | MI
|
||||
|
|
|
@ -120,19 +120,18 @@ public:
|
|||
void *entry = pidMap.getEntryId(pid);
|
||||
if (entry != nullptr) {
|
||||
PidExtra *pidExtra = pidMap.getExtra(entry);
|
||||
pidExtra->skippedUpdates = 0;
|
||||
|
||||
switch (pid) {
|
||||
case 0xD0:
|
||||
case 0xD1:
|
||||
pidExtra->updateRateDivider = 2;
|
||||
pidExtra->skippedUpdates = 0;
|
||||
break;
|
||||
case 0x140:
|
||||
pidExtra->updateRateDivider = 4;
|
||||
pidExtra->skippedUpdates = 0;
|
||||
break;
|
||||
case 0x360:
|
||||
pidExtra->updateRateDivider = 20;
|
||||
pidExtra->skippedUpdates = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 711 KiB After Width: | Height: | Size: 167 KiB |
Before Width: | Height: | Size: 404 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 292 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 692 KiB After Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 777 KiB After Width: | Height: | Size: 159 KiB |
Before Width: | Height: | Size: 836 KiB After Width: | Height: | Size: 178 KiB |