arduino-pico
lufa
Our great sponsors
arduino-pico | lufa | |
---|---|---|
32 | 5 | |
1,753 | 1,007 | |
- | - | |
9.3 | 3.1 | |
7 days ago | 13 days ago | |
C++ | C | |
GNU Lesser General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
arduino-pico
-
Pico with arduino-pico and TinyUSB in Clion
I managed to get the Arduino IDE to work great with my Pi Pico's using earlephilhower/arduino-pico and TinyUSB in the USB stack. I can code for MIDi and do all kinds of neat stuff... But...
-
Pico W and SHT41 errors
I am trying to build a data logger. Currently my hardware is a Raspberry Pi Pico W, a SHT41 (https://www.adafruit.com/product/5776), and a small breadboard. Software is Arduino IDE, arduino-pico (https://github.com/earlephilhower/arduino-pico), and Adafruit_SHT4X library (https://github.com/adafruit/Adafruit_SHT4X).
- DIY Mahjong Scorer Guide with Chito - mahjongAsst
-
MicroPython code example for Bluetooth Classic (not BLE)
The standard Pico w SDK has examples for Bluetooth classic, serial connection, mouse control, keyboard control etc... Everything you need can be found HERE
-
Beginner question
If you want more guidance, you could use the Arduino framework https://github.com/earlephilhower/arduino-pico
-
Pico W and Arduino IDE
If you are using the earlephilhower implementation of the Arduino Core for Pico, wifi is documented here: wifi docs
-
DIY Simucube Active Pedal Prototype
rp2040 is really powerful its not a conventional "desktop" raspberry pi, its a microcontroller similar to stm32 or the avr boards that the arduino uses. https://github.com/earlephilhower/arduino-pico for arduino support.
-
Tinyusb - CDC and HID device at the same time?
Do you want to do serial communications along with USB HID (keyboard)? Sure, you can do that with TinyUSB. I've done it with the arduino-pico core: https://github.com/earlephilhower/arduino-pico
- Raspberry Pico W as a Remote CLI for Network Devices (RS-232)
- My first project
lufa
-
QMK can't flash my keyboard
* QMK Toolbox 0.2.2 (https://qmk.fm/toolbox)* Supported bootloaders:* - ARM DFU (APM32, Kiibohd, STM32, STM32duino) via dfu-util (http://dfu-util.sourceforge.net/)* - Atmel/LUFA/QMK DFU via dfu-programmer (http://dfu-programmer.github.io/)* - Atmel SAM-BA (Massdrop) via Massdrop Loader (https://github.com/massdrop/mdloader)* - BootloadHID (Atmel, PS2AVRGB) via bootloadHID (https://www.obdev.at/products/vusb/bootloadhid.html)* - Caterina (Arduino, Pro Micro) via avrdude (http://nongnu.org/avrdude/)* - HalfKay (Teensy, Ergodox EZ) via Teensy Loader (https://pjrc.com/teensy/loader_cli.html)* - LUFA/QMK HID via hid_bootloader_cli (https://github.com/abcminiuser/lufa)* - LUFA Mass Storage* Supported ISP flashers:* - AVRISP (Arduino ISP)* - USBasp (AVR ISP)* - USBTiny (AVR Pocket)* Auto-flash enabled* Auto-flash disabled* Auto-flash enabledUSB device disconnected (CH341SER_A64): wch.cn USB-SERIAL CH340 (COM15) (1A86:7523:0264)USB device connected (CH341SER_A64): wch.cn USB-SERIAL CH340 (COM15) (1A86:7523:0264)
- QMK Toolbox flash fails on YMD 09 Macro pad
- TinyUSB: Open-source cross-platform USB Host/Device stack for embedded systems
-
ATmega32u4 (Pro Micro) + LUFA Library + Arduino IDE
I briefly checked its code - wrapping it for reasonably convenient use with Arduino IDE would be not that simple. USB is quite abstract protocol and a particular device type requires a matching handler code. You can find example for keyboard HID here: https://github.com/abcminiuser/lufa/tree/master/Demos/Device/ClassDriver/Keyboard - as you can see, there is not so small amount of code for handling it: even though all really hard work is done inside the library, you still need to make a lot of proper calls to make it work.
-
Ben Eater || How does a USB keyboard work?
For AVR devices I've always liked LUFA because it has tons of examples to get you started and works great even on low-end devices like the AT90USB162 (16MHz 8-bit cpu with 512 bytes of SRAM).
What are some alternatives?
pico-sdk
tinyusb - An open source cross-platform USB stack for embedded system
GP2040 - Gamepad firmware for Raspberry Pi Pico and other RP2040 microcontrollers supporting Nintendo Switch, XInput and DirectInput
Adafruit_TinyUSB_Arduino - Arduino library for TinyUSB
thonny - Python IDE for beginners
qmk_firmware - Open-source keyboard firmware for Atmel AVR and Arm USB families
Visual Studio Code - Visual Studio Code
display-switch - Turn a $30 USB switch into a full-featured multi-monitor KVM switch
mdloader - Massdrop Firmware Loader - for CTRL / ALT / SHIFT / Rocketeer keyboards
Display_Lib_RPI - A C++ Library to connect electronic displays to Raspberry Pi single board computers.
facedancer - Implement your own USB device in Python, supported by a hardware peripheral such as Cynthion or GreatFET