This commit is contained in:
Maxim Devaev 2023-08-11 05:07:58 +03:00
parent fbe9ea2656
commit fd4dbc71a0
1 changed files with 14 additions and 12 deletions

View File

@ -118,34 +118,36 @@ If you are making the Pico HID for V2 or V3, add the following lines to the PiKV
----- -----
## Arduino HID replacement ## Replacing the legacy Arduino HID
!!! note !!! warning
This section is intended for advanced users of the **legacy** PiKVM V0 with Arduino HID **This section is intended for advanced users of the [legacy Arduino HID](arduino_hid.md).**
!!! tip It may seem tempting, but **don't to use the Arduino HID for new PiKVM builds**
It may seem tempting, but **don't try to use Arduino for new PiKVM builds** just because you have it at your fingertips. Connecting and flashing Arduino
just because you have it at your fingertips. Connecting and flashing the Arduino
is much more time consuming than Pico. In addition, different Arduino board works is much more time consuming than Pico. In addition, different Arduino board works
with different voltages, may or may not have SPI (for Pico, we use SPI to free up with different voltages, may or may not have SPI (for the Pico, we use SPI to free up
the UART on Raspberry Pi for the console and other useful things), etc. the UART on Raspberry Pi for the console and other useful things), etc.
Using the Pico HID is the recommended fast and standard way in the PiKVM world. Using the Pico HID is the recommended fast and standard way in the PiKVM world.
The Pico HID can be used to replace the [legacy Arduino HID](arduino_hid.md) in DIY PiKVM V0 builds. The Pico HID can be used to replace the [legacy Arduino HID](arduino_hid.md).
Moreover, it can use both Serial (UART) port and SPI. The connection scheme is also noticeably simplified, Moreover, it can use both Serial (UART) port and SPI. The connection scheme is also noticeably simplified,
getting rid of the transistor for the Reset line and level shifter for RX/TX (MOSI/MISO). getting rid of the transistor for the Reset line and level shifter for RX/TX (MOSI/MISO).
* **For the Arduino HID over SPI**: Throw away the Reset transistor and level shifter, and follow this guide ??? example "For the Arduino HID over SPI"
Throw away the Reset transistor and level shifter, and follow this guide
from the very beginning, as if you were connecting Pico HID for V2/V3. from the very beginning, as if you were connecting Pico HID for V2/V3.
* **For the classic Serial (UART) HID**: Get rid of the transistor and level shifter, and follow this guide ??? example "For the classic Serial (UART) HID"
Get rid of the transistor and level shifter, and follow this guide
from the very beginning, but the schemes and configs will be slightly different. from the very beginning, but the schemes and configs will be slightly different.
* The `GP22` on the Pico is connected directly to the `GND`. This enables UART mode instead of default SPI. * The `GP22` on the Pico is connected directly to the `GND`. This enables UART mode instead of default SPI.
* In the original V0, `GPIO4` [on the Raspberry Pi](https://pinout.xyz) was used for the Reset line. Now we recommend using `GPIO25` * In the original V0, `GPIO4` [on the Raspberry Pi](https://pinout.xyz) was used for the Reset line.
for consistency reasons. However, you can use `GPIO4` by changing the `reset_pin` value in the config example below. Now we recommend to use `GPIO25` for consistency reasons.
However, you can use `GPIO4` by changing the `reset_pin` value in the config example below.
On the scheme, this is a yellow wire, the `RUN (Pico) -> GPIO25 (Pi)` line. On the scheme, this is a yellow wire, the `RUN (Pico) -> GPIO25 (Pi)` line.
??? example "Simple wiring diagram" ??? example "Simple wiring diagram"