webhdx / PicoBoot

Raspberry Pi Pico (RP2040) based IPL replacement modchip for GameCube
GNU General Public License v2.0
1.47k stars 94 forks source link

Question on extra Pico pins #88

Open Bobby-McGonigle opened 1 year ago

Bobby-McGonigle commented 1 year ago
Answer some general questions first
Are you my GitHub sponsor? no 😢
Did you check older issues to see if it was requested before? yes

I'm interested in adding 3 to 6 Neopixel LEDs to my GameCube

I'm a novice tinkerer and have built with ws2812b neopixels before, but not on anything this complicated

But I think there is plenty of IO, just matter of will I negatively impact the script and if there is enough amperage yo drive the LEDs

Love PicoBoot by the way, I've installed 2 myself, such a great solution!

webhdx commented 1 year ago

Hey @Bobby-McGonigle

I don't think there are any reasons why it wouldn't work. I think someone ported PicoBoot to RP2040-Zero board which has Neopixel LED on board. It's just something I'm not interested in doing myself since I'd like to keep PicoBoot as simple as possible. But I encourage people to fork the project and add more features like that.

Answering your 2nd question about power draw - it'll work from the internal power regulation circuitry BUT I'd be careful to not put too many LEDs because GameCubes start to show their age and most consoles would do better with fresh capacitors.

webhdx commented 1 year ago

BTW Here is the project I've mentioned: https://github.com/fengye/PicoBoot Its only problem is that it reverts system clock to stock 133MHz which for now doesn't really matter but in the future it will. It can be easily fixed tho - someone just needs to hook up logic analyzer and modify delays to match WS2812 specification.

Bobby-McGonigle commented 1 year ago

Thank you @webhdx

I'll give it a try, and I'll post a fork if successful.

Good note about capacitors, I'll see about re-capping before I jump into this.

Thanks!

jbarker2160 commented 1 year ago

I'd run a memory profiler after each time a library is added. Running out of RAM can completely mess up your timings!

On Fri, May 19, 2023, 15:33 Bobby McGonigle @.***> wrote:

Thank you @webhdx https://github.com/webhdx

I'll give it a try, and I'll post a fork if successful.

Good note about capacitors, I'll see about re-capping before I jump into this.

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/webhdx/PicoBoot/issues/88#issuecomment-1555139370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZERF5T4CUQYAYWHTUXILLXG7DIXANCNFSM6AAAAAAYID35ZM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

paulmreese commented 1 year ago

You can return the system clock to its normal setting once all of the PicoBoot code has run, basically where the tight_loop_contents() call occurs. set_sys_clock_khz(125000, true);

I've currently got a Pico W running as an Access Point serving a control website. The controls are served as a captive portal, and I've got it fairly hard-coded to run the 5 NeoPixels I installed (4 controller ports and power). I intend on uploading the code in the coming days, but I wanted to say that the power does work for me. I'd also mention that I solder a wire onto the 5V of the controller port board similar to as shown in this post , and that's the source of power for the Pico and the NeoPixels.