Matthias Blankertz 502805e2e8
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m19s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
Run pytests / Check-Pytest (push) Successful in 11s
hwconfig: Fix pad config for SD SPI, move clockrate to hwconfig
The code snippet in hwconfig to adjust the drive strength was incorrect:
It was adjusting the wrong pins. This was probably not updated during
some pin shuffling in the breadboard phase.

Fix this by adjusting the correct pins. Experimentation shows that both
setting the slew rate to fast or setting the drive strength to 8 mA
(default: slow and 4 mA) is sufficient to make SD SPI work at 25 MHz on
the Rev1 PCB. For now, the combination 8 mA and slow is chosen (slow
slew rate should result in less high frequency EMI).

Also make the SD clock rate adjustable in hwconfig, and set it to 25 MHz
for Rev1 and 15 MHz for the breadboard setup.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2025-10-13 23:38:33 +02:00
2025-04-01 21:14:39 +02:00
2024-05-31 12:30:59 +00:00
2024-04-15 19:01:00 +02:00

TonBERRY pico

Von TonUINO inspiriert, auf einer moderneren Platform für zusätzliches Features: WLAN und Bluetooth zum Managen der Audiodateien per Handy-App oder Webseite - kein Ausbau der SD-Karte mehr nötig. Aus Sicht des Hörers bleibt die Funktionalität aber die selbe - durch einfaches Auflegen einer RFID-Karte (oder einer Figur mit RFID-Chip) und wenige Tasten zur Lautstärkeregelung kann das Gerät kinderleicht bedient werden.

Dabei soll der Geist des Ursprungsprojekts, dass es ein "einfach" zu bastelndes Projekt auch für Elektronik- und Programmier-Unerfahrene ist erhalten bleiben. Deswegen:

  • Zusammenbau aus fertigen Modulen, die mittels 2.54mm-Raster Sockel/Steckleisten zusammengesetzt werden - keine SMD-Lötarbeiten
  • Die Software ist größtenteils (bis auf kritische Module wie z.B. den MP3-Dekoder) in MicroPython geschrieben, sodass Anpassungen auch ohne weitergehende Programmierkenntnisse möglich sind
  • Die Kombination aus Raspberry Pi Pico W und sonstigen nötigen Modulen sollte nicht nennenswert teurer sein als die Arduino-Module des TonUNIO.

Design

Überlegungen zum Design gibt's im Wiki.

Description
Von TonUINO inspirierte Musikbox auf Basis eines Raspberry Pi Pico W
Readme MIT 4.9 MiB
Languages
C 78.2%
Python 17.7%
CMake 1.8%
Shell 1.2%
C++ 1.1%