Giter Club home page Giter Club logo

tobiasvandyk / pico-mcu-from-raspberry-pi Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 6.0 110.42 MB

2021-2023: RPi Pico and ST7789, ILI9486, ILI9488 LCD Touch Macro keypad, VS1053 music player, PCM5101 USB-Audio-DAC, and OLED SSD1306, with RPi-cmake-SDK, Arduino IDE (both mbed and C++ SDK-based), and Micropython. using Windows, Linux and RPi Os.

License: GNU General Public License v3.0

C++ 57.08% Python 2.33% C 40.02% PowerShell 0.58%
raspberry-pi-pico ssd1306 oled rp2040 arduino usb-audio-dac pcm5101a i2s-dac pimoroni-audio-pack-pico vs1053

pico-mcu-from-raspberry-pi's Introduction

Pico MCU from Raspberry Pi

The RPi Pico is programmed as:

  1. USBMidi PC Interface
  2. Touch LCD Macropad
  3. VS1053 SDCard SPI MP3 music player
  4. i2s Audio-USB DAC Pimoroni (PCM5100A) and Waveshare (PCM5101A)
  5. LCD ST7789 240x135 SPI Pico connector display driver
  6. OLED SSD1306 i2c display driver
  7. RP2040Zero Waveshare Mini Pico Neopixel Demo
  8. For the RP2040 RPi Pico and PSRAM refer to the second paragraph here.

Other Recent Related Topics

pico-mcu-from-raspberry-pi's People

Contributors

tobiasvandyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pico-mcu-from-raspberry-pi's Issues

RP2040 SDCard 4bit SDIO?

Store a collection of PC editable macro definitions or music files or picture files on the SDCard and then have the Pico read it on power-up. This Waveshare IPS ST7789 LCD Pico Board 320x240 2.8 inch hardwired the LCD, Touch controller and SDCard to SPI-1 which makes the SDCard usable. But this Waveshare IPS ILI9488 Pico Evaluation Board Touch LCD 480x320 3.5 inch has the SDCard hardwired to SDIO pins which are not in the correct sequence for the current PIO drivers. The RPi SDK example is a wip (https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_sd_card)

Sep 2022: There is an implementation for the RP2040 here:
https://github.com/ZuluSCSI/ZuluSCSI-firmware/tree/main/lib/ZuluSCSI_platform_RP2040
Also see here:
https://forums.raspberrypi.com/viewtopic.php?t=337143
https://forums.raspberrypi.com/viewtopic.php?t=356274
https://forums.raspberrypi.com/viewtopic.php?t=361335&start=50

And this could be a solution: https://github.com/carlk3/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico or https://github.com/carlk3/no-OS-FatFS-SD-SPI-RPi-Pico/tree/sdio - D0 to D3 are offset correctly (each D0 + 1) but SDIO-CLK is not at the required D0 - 2 offset.

There is a note that "For SDIO, data lines D0 - D3 must be on consecutive GPIOs, with D0 being the lowest numbered GPIO. Furthermore, the CMD signal must be on GPIO D0 GPIO number - 2, modulo 32. (This can be changed in the PIO code.)"

Similarly at Visrealm it notes: Six GPIOs for signal pins, and, optionally, another for CD (Card Detect). Four pins must be at fixed offsets from D0 (which itself can be anywhere):
CLK_gpio = D0_gpio - 2.
D1_gpio = D0_gpio + 1;
D2_gpio = D0_gpio + 2;
D3_gpio = D0_gpio + 3;

Hi Tobias,

Great that you made this together. We have developed a Music player for people with Dementia based on Rpi's. However, the Rpi 's are difficult toe get. So we want to use the Pico in combinatie with the VS1053. ( wi use the adafruit music maker).
Will build test in next weeks.
Any recommendations?
Thanks
Olaf
Ps we are a foundation and have an open source approach.

Pico Touch Macropad fixes

ST7789 LCD Macropad and TFT_eSP V2.5.43 fix: To obtain a working Touch-Macropad for the the Waveshare IPS ST7789 LCD Pico Board 320x240 2.8 inch using Bodmer TFT_eSPI version 2.5.43 replace the file Processors/TFT_eSPI_RP2040.h with the same file from the previous version V2.5.34.

Choosing an LCD Touch Display: Of the 5 different LCD displays tested here, with the firmware as attached below, my favourite is the fast Waveshare 3.5 inch Type C 125MHz LCD display (even though it is not an IPS screen). It is available here.

Win11 24H2 new icon-bar with labels is good!
Old Win11 22H2:
Win11Icons

New Win11 24H2:
Win11-not-obtuse-icons

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.