Discussion Wii Power Management System (open source)

Discussion in 'Wii' started by Gman, Mar 16, 2019.

  1. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    20190102_154619.jpg

    https://github.com/Gmanmodz/Wii-Power-Management-System

    Here are the pcb files, code, and bill of materials for my Wii Power Management System.

    4 buck regulators - 1v, 1.15v, 1.8v, and 3.3v
    1 boost regulator - 5v
    Battery management IC - seamless play and charge and battery protection
    PIC microcontroller

    Interface:
    hold down button for around 1 second to turn on and off. Tap button shortly to cycle through the led modes:
    1. leds off
    2. RGB fade
    3. Battery monitor
    4. Shipping mode (when it is turned off in this mode, it cannot be turned on until you plug in a charger)

    the interface is shown in the Wiivision:


    A - "Auxiliary" IO. default code there is no purpose.
    btn - wire to a tact switch connected to ground for on/off
    T-, T+ - thermistor for thermal protection. Cuts off ~75C
    R-, B-, G- - wire to the common anode RGB led, Anode can be wired to a source voltage like 3.3v
    CHRG - this is the DC voltage source charger input. Recommended to use 12V DC. Cannot exceed 14V! The default code is set to I charge 3.072 A which is ideal for a 1S2P 18650 battery configuration. Please make sure to check the specifications of the battery against the charging settings of the system before use.
    B+ - Battery positive connection

    It's not perfect by any means but it is stable and has already been installed working in 3 portables. I would like to thank Aurelio for the answers to many questions I had over the past 2 years I've worked on this and also for the inspiration from his Powermii. I'd also like to thank Shank for helping me test it further on the Wiivision project.
     
    Last edited: Mar 16, 2019
    Stitches, ahrlad, DefaultLik and 19 others like this.
  2. DeoNaught . .

    Joined:
    Dec 10, 2016
    Messages:
    544
    Likes Received:
    576
    Location:
    Constant Fear
    Portables:
    sin^2(x) + cos^2(x) +e^(i*pi)


    Regular PICkit3 to program yeah?
     
  3. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    yeah
     
    DeoNaught likes this.
  4. StonedEdge . .

    Joined:
    Nov 16, 2018
    Messages:
    16
    Likes Received:
    44
    Location:
    Japan, Tokyo
    Portables:
    One G-Wii
    IMG_4115.JPG

    thanks Gman, will really be useful for projects for other members!
     
  5. MasterNate . .

    Joined:
    Mar 18, 2017
    Messages:
    281
    Likes Received:
    133
    Location:
    The Mitten
    This is pretty awesome!! What is the size of this board? I can see this and powermii being the new standard for wii portables.
     
    Fruity_Grebbles likes this.
  6. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    It's about 44mm x 33mm
     
  7. Stitches 2 and a Half Dollarydoos Staff Member . . .

    Joined:
    Feb 5, 2017
    Messages:
    1,115
    Likes Received:
    1,035
    Location:
    Australia
    Portables:
    6
    hSxCat4.gif
     
  8. buzzyc .

    Joined:
    Mar 4, 2019
    Messages:
    6
    Likes Received:
    1
    Question: Does the 1.8v pad now allows for Lmao/LMAOv2 trims without the need to reconnect the LDO?
    Or is the LDO still required in some capacity?
     
  9. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    The LDO is NOT required for relocation if you are using the 1.8v regulator on this board. I would only recommend installing the 1.8v regulator if you are doing an LMAO trim, otherwise keep the LDO on the Wii and don't assemble the 1.8v reg parts (it's a few dollars cheaper too)
     
    Stitches likes this.
  10. buzzyc .

    Joined:
    Mar 4, 2019
    Messages:
    6
    Likes Received:
    1
    Thanks for the clarification Gman.
    I've looked through the schematic on KiCAD but I'm no engineer so I'm not certain what not to populate if I don't need 1.8v.
    Is it as simple as not populating the components in the red square?

    upload_2019-3-18_12-34-10.png

    Thanks in advance.
     
  11. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    Exactly.
     
    cheese, Stitches and buzzyc like this.
  12. Papa J . .

    Joined:
    Nov 13, 2018
    Messages:
    8
    Likes Received:
    8
    Location:
    Melbourne, Australia
    Portables:
    3
    this is so cool! I looked at that board when I watched the videos and drooled over it :!::!::!:

    Is it just me though or is there a problem with the BOM at row 9 in the parts number column? I tried plugging her into digikey and she gets angry :rothink:
     
  13. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    Oops that's not a part number! Thanks!
     
    Papa J likes this.
  14. Terrapaws .

    Joined:
    Feb 5, 2018
    Messages:
    3
    Likes Received:
    1
    Assuming the buck regulators are adjustable, do you think you could change the values of the passives to more suit a PS2 portable?
     
  15. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    Yes it would be possible but it's not the best idea. Some of the PS2 voltages use very little current so these regulators would not be as efficient. I originally made this system for the PS2 with different regulators, but I ported it over to the Wii for a different project. I should finish up my PS2 PMS soon..
     
    mknrls, cheese, Papa J and 1 other person like this.
  16. Enrique .

    Joined:
    Oct 22, 2017
    Messages:
    105
    Likes Received:
    27
    This looks awesome
    I've never really done this kind of thing before but I wanna try would do I need to buy (besides BOM things obviously) to start making one of these
     
  17. cheese the tallest memer in town Staff Member . . . .

    Joined:
    Mar 2, 2016
    Messages:
    2,421
    Likes Received:
    2,163
    Location:
    Florida
  18. Danielle .

    Joined:
    Feb 25, 2019
    Messages:
    22
    Likes Received:
    0
    Super fantastic!!! I really feel like I need this board for my portable. Although, lots of tiny parts for the board and finding the exact parts sound exhausting, I was wondering if I could buy one from you...?
     
  19. Gman RTFDS Staff Member . . . . . .

    Joined:
    Feb 25, 2016
    Messages:
    804
    Likes Received:
    1,723
    Possibly soon, hold tight.

    Pushed some new changes to the code..
    1. LED mode cannot be changed when the charger is plugged in. Would not make sense because the charger led status takes preference over led modes
    2. Charger led status fades the color in and out. This is important because now there is a distinction between low battery (red) and pre-charging (also red).
    3. I experimented with a soft shutdown (before VBATT is too low to supply the 3.3v line to Wii). I have experienced that the built in ADC is not reliable at a lower VBATT and it shuts down way too soon (even if I lowball the shutdown value). This feature is pushed back for now but I will keep on testing.

    If anyone has any recommendations or features they would like to see added, let me know!
     
    DeoNaught likes this.
  20. Danielle .

    Joined:
    Feb 25, 2019
    Messages:
    22
    Likes Received:
    0
    Amazing. It's truly a work of art. But if I wouldn't want, let's say... To wait for it to become sellable, what are all the parts to make one, if I'm willing to spend the amount of time and energy to make one, what will be all the exact parts that you used like with the links and stuff, cuz there's more than different sizes regulators and stuff. (Sorry in advance if this has already been asked or whatever.)
     

Share This Page

Loading...