Giter VIP home page Giter VIP logo

ws-extfriend's Introduction

ExtFriend

ExtFriend is a USB adapter for the WonderSwan's EXT port based on the RP2040 chip and the Raspberry Pi Pico board, providing the following features at a low cost:

  • A USB serial port communicating with the WonderSwan at 9600 and 38400 baud,
  • A USB audio device allowing digital stereo audio capture from the WonderSwan.

Both features can be active simultaneously - for example, this could allow one to control a WonderSwan as an audio synthesizer.

Special thanks to BluRaf for providing support and advice through my first journey into TinyUSB lands.

Tips

  • If you mute the USB audio device, the WonderSwan will consider the headphones as disconnected, re-enabling the internal speaker.

Build Instructions

  • Copy pico_sdk_import.cmake from your Pico-SDK installation to the repository's root.
  • Run mkdir build, cd build, cmake .., make.

Installation Instructions (Raspberry Pi Pico)

ExtFriend plugged into a SwanCrystal using a soldered header.

  • Flash the program to the Pico: for example, picotool load -v -x extfriend.uf2
  • Connect the Raspberry Pi Pico to the WonderSwan's EXT port. The default build of ExtFriend uses seven consecutive Pi Pico pins, as follows:
    • EXT GND - Pico GND (for example pin 3)
    • EXT SER_MOSI - Pico pin 2 (GP1)
    • EXT SER_MISO - Pico pin 1 (GP0)
    • If you want to use digital audio capture:
      • EXT HDPN_BCLK - Pico pin 7 (GP5)
      • EXT HDPN_LRCK - Pico pin 6 (GP4)
      • EXT HDPN_SDAT - Pico pin 5 (GP3)
      • EXT /HDPN_DETECT - Pico pin 4 (GP2)

If you don't have an EXT port plug or cable handy, you can use an HDMI breakout board. An example instruction guide is provided here (in Japanese), for a $2 AliExpress board.

License

GPLv3+.

ws-extfriend's People

Contributors

asiekierka avatar

Stargazers

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

Watchers

 avatar

Forkers

grenderg

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.