2 ms·
TV/VGA + Serial Console on an RP2040 would be cool. - rs232 - UART - USB-TTL w/ configurable (3.3v/5v) voltage levels - (optional) VGA output - (optional)
by westurner 4y ago
TV/VGA + Serial Console on an RP2040 would be cool.
- rs232
- UART
- USB-TTL w/ configurable (3.3v/5v) voltage levels
- (optional) VGA output
- (optional) WiFi/Bluetooth (RP2040W Pi Pico W)
The OpenWRT hardware/port.serial wiki page explains how to open a serial console with screen and a tty /dev; and about 3.3V/5V bricking a router and/or the cable:
https://openwrt.org/docs/techref/hardware/port.serial#use_your_old_pda_as_a_console https://openwrt.org/docs/techref/hardware/port.serial#use_yo...
PiKVM may have console support but with a Pi 3/4+, not a $4/$6 RP2040 /W with or without low-level WiFi+Bluetooth
"Raspberry Pi Pico Serial Communication Example (MicroPython)"
https://electrocredible.com/raspberry-pi-pico-serial-uart-micropython/ https://electrocredible.com/raspberry-pi-pico-serial-uart-mi...
> The RP2040 microcontroller in Raspberry Pi Pico has two UART peripherals, UART0 and UART1. The UART in RP2040 has the following features: [pinout]
- westurner 4y ago> - RS232 RS232: https://en.wikipedia.org/wiki/RS-232 https://en.wikipedia.org/wiki/RS-232 Serial Port: https://en.wikipedia.org/wiki/Serial_port https://en.wikipedia.org/wiki/Serial_port > - UART UART: Universal Asynchronous Receiver Transmitter: https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter https://en.wikipedia.org/wiki/Universal_asynchronous_receive... > - USB-TTL w/ configurable (3.3v/5v) voltage levels USB-to-serial adapter: https://en.wikipedia.org/wiki/USB-to-serial_adapter https://en.wikipedia.org/wiki/USB-to-serial_adapter > Most commonly the USB data signals are converted to either RS-232, RS-485, RS-422, or TTL-level UART serial data. - SunFounder Thales Pi Pico Kit > Components > Slide Switch, Resistor, : https://docs.sunfounder.com/projects/thales-kit/en/latest/components/slide_switch.html https://docs.sunfounder.com/projects/thales-kit/en/latest/co... Kepler has the 2040W: https://docs.sunfounder.com/projects/kepler-kit/en/latest/ https://docs.sunfounder.com/projects/kepler-kit/en/latest/ /? how to limit voltage to 3.3v: https://www.google.com/search?q=how+to+limit+voltage+to+3.3v https://www.google.com/search?q=how+to+limit+voltage+to+3.3v - Zener diode > Voltage shifter: https://en.wikipedia.org/wiki/Zener_diode#Voltage_shifter https://en.wikipedia.org/wiki/Zener_diode#Voltage_shifter - Voltage regulator > DC voltage stabilizer: https://en.wikipedia.org/wiki/Voltage_regulator#DC_voltage_stabilizers https://en.wikipedia.org/wiki/Voltage_regulator#DC_voltage_s... - TIL electronics.stackexchange has CircuitLab built-in: https://electronics.stackexchange.com/questions/241537/3-3v-adc-protection https://electronics.stackexchange.com/questions/241537/3-3v-... . Autodesk TinkerCAD is a neat, free, web-based circuit simulator, too; though it supports Arduino and bbc:micro but not (yet?) Pi Pico like Wokwi. There is at least one RP2040 JS simulator: Wokwi appears to support {MicroPython, CircuitPython,} on {Pi Pico} and also Rust on ESP32: Wokwi > New Pi Pico project: https://wokwi.com/projects/new/pi-pico https://wokwi.com/projects/new/pi-pico Wokwi > New Pi Pico + MicroPython project: https://wokwi.com/projects/new/micropython-pi-pico https://wokwi.com/projects/new/micropython-pi-pico wokwi/rp2040js : https://github.com/wokwi/rp2040js https://github.com/wokwi/rp2040js https://www.hackster.io/Hack-star-Arduino/raspberry-pi-pico-online-simulator-2023-be0a69?f=1 https://www.hackster.io/Hack-star-Arduino/raspberry-pi-pico-... > - (optional) WiFi/Bluetooth (RP2040W Pi Pico W) /? "pi pico" bluetooth 5.2 [BLE] https://www.google.com/search?q=%22pi+pico%22+bluetooth+5.2 https://www.google.com/search?q=%22pi+pico%22+bluetooth+5.2 : - From https://www.cnx-software.com/2023/02/11/raspberry-pi-pico-w-bluetooth-le-support/ https://www.cnx-software.com/2023/02/11/raspberry-pi-pico-w-... : >> The Raspberry Pi Pico W board was launched with a WiFi 4 and Bluetooth 5.2 module based on the Infineon CYW43439 wireless chip in June 2022 bluekitchen/btstack is the basis for the Bluetooth support i Pi Pico SDK 1.5.0+: https://github.com/bluekitchen/btstack https://github.com/bluekitchen/btstack > MicroPython awesome-micropython: https://github.com/mcauser/awesome-micropython https://github.com/mcauser/awesome-micropython https://github.com/pfalcon/awesome-micropython https://github.com/pfalcon/awesome-micropython : - There is a web-based MicroPython REPL, and it only works over HTTP due to WebSockets WSS, so it's best to clone that file locally: http://micropython.org/webrepl/ http://micropython.org/webrepl/ https://github.com/micropython/webrepl/ https://github.com/micropython/webrepl/ awesome-circuitpython: https://github.com/adafruit/awesome-circuitpython https://github.com/adafruit/awesome-circuitpython - microsoft/vscode-python-devicesimulator lacks maintainers and Pi Pico Support: https://github.com/microsoft/vscode-python-devicesimulator/wiki/Deprecation-of-the-extension https://github.com/microsoft/vscode-python-devicesimulator/w... https://vscode.dev/ https://vscode.dev/ is the official hosted copy of VSCode as WASM in a browser tab. YMMV with which extensions work after compilation to WASM and without WASI (node/fs,) in a browser tab. From "MicroPython officially becomes part of the Arduino ecosystem" (2022) https://news.ycombinator.com/item?id=33699666 https://news.ycombinator.com/item?id=33699666 : > [in addition to the Arduino IDE support for Pi Pico now] For VSCode, there are a number of extensions for CircuitPython and MicroPython: > joedevivo.vscode-circuitpython: https://marketplace.visualstudio.com/items?itemName=joedevivo.vscode-circuitpython https://marketplace.visualstudio.com/items?itemName=joedeviv... > Pymakr https://github.com/pycom/pymakr-vsc/blob/next/GET_STARTED.md https://github.com/pycom/pymakr-vsc/blob/next/GET_STARTED.md > Pico-Go: https://github.com/cpwood/Pico-Go https://github.com/cpwood/Pico-Go https://scratch.mit.edu/ https://scratch.mit.edu/ has bbc:microbit (and LEGO Boost) extensions when you click plus at the lower left; but not (yet?) Pi Pico support: https://github.com/LLK https://github.com/LLK https://github.com/LLK/scratch-gui/commit/421d673e714a367ff227efcdcff0e7344f3a107d https://github.com/LLK/scratch-gui/commit/421d673e714a367ff2... https://github.com/microbit-more/mbit-more-v2 https://github.com/microbit-more/mbit-more-v2
- wvenable 4y agoThe reason for this port is that I'm using PicoVGA as a VGA terminal for an 8bit retro computer. I'm using USB host mode on the Pico for keyboard and mouse input. I found a Pico W for sale for a reasonable price + shipping so now I can add wifi support.
- westurner 4y agoCan it run a ~GNUscreen text console attached to a serial port attached to pins on the other side of the Pico, and maybe a BLE keyboard/controller? (And how, while I'm at it; Thonny has an AST parse tree menu item)
- wvenable 4y agoI don't see why not. Pico has a few dedicated UART pins. Bluetooth support is pretty new, though.
- westurner 4y ago2023-02-10; bluekitchen/btstack: https://github.com/raspberrypi/pico-sdk/commit/c8ccefb9726b89d35d230d194d6977705908ffe7 https://github.com/raspberrypi/pico-sdk/commit/c8ccefb9726b8...