@The Salty Memes Thank you !!! @Ollie For the vita button YES, if it can help other person of course I would share them, for the moment I need to test it more for that I need to receive the PCBs
It is tomorrow and this is what the end result should look like :
I don't know how much is the thinnest ps2 but my goal is to make thethinnest !
*Yup I forgot the Power button (of the PMS) and the power indicator hole
For now, I have tested the L/R trigger it's a totally different design and much thinner and simpler than on my O-Wii, and it work pretty good !
I also printed a test to see if the location of the batteries was good :
And finally the last impression of test that I made is to see if the cut-out PS2 goes well and that everything is good, I only had a few small modifications to make.
Tonight I print the full test of the underside (or the final?)
The print of the night ... (I hate my bed, it is not flat, and I have tried to add a sheet of paper and here is the result :/ )
Fortunately the second try was the good !
I have chosen to keep the original color, because I don't want it black or white, and I think with white or black buttons/joystick it can look nice.
So I sanded the print, and then I applied two coats of varnish :
This time I only had a few very minimal adjustments to make that didn't require printing another version.
Of course after checking that all the components fit well, I started the assembly :
Talking about battery !
I planned to use two 5000mah LiPo batteries connected in parallel, so I tested them to check their capacity and internal resistance, and here is the result on this image.
They don't look too different, I think I can put them together (I don't really know the max gap of capacity/ IR). In any case, I keep their PCMs.
Finally, here is the final bottom assembly !
Here you can see the first test, and It works Fine !
For the moment I have not yet tested if the controller works and if the memory card is detected, as well as the USB.
I am waiting my PCBs ... But for the moment I'm really happy with this result !
In the past day I tested if the memory card and the controller were well connected.
And they weren't !
So I took the motherboard apart, and it was just a wire on each thing that was soldered in the wrong place, after having this modification and reassembled, the controller and the memory card work perfectly.
Here some sexy Zoomed pics (phone with lens)
PS2 controller connection, a bit dirty with the glue ... and memory card connection.
Here it is the USB connection with the two 15K pull down resistor.
I had a small problem with the buttons, the buttons of the directional cross have a gap of 13cm and I put 15, so to repair this error without
ordering again PCBs I moved the buttons and used small enamelled copper wires.
As I have GND everywhere I had no trouble soldering the other terminal of the buttons.
After I soldered all the components on the pcbs (I would put other pictures tonight) :
For the moment I uploaded the firmware in the PIC, after a test it works (except the joystick because not configured yet) !
And for the moment I'm still printing test prints for the top part
Oh I would love vita button models. This is looking awesome so far, your projects never cease to amaze.
What are your plans regarding the slightly faulty PS+ code? Are you planning on patching the software or are you just gonna leave it be?
I realized one thing, green is ugly !
It was probably because I'm lazy to paint that I wanted to leave in green.
Everyone makes mistakes, so I bought a protective mask and painted everything white !
I completely covered the bottom part with masking tape because that was already mounted, Here's the result :
Here is the inside being assembled, here the PCBs allows to hold the screen in place, it works great, and it avoids adding parts to print.
For the moment I'm trying to make the joysticks work, but I can't configure them at all
I know that @Gman entered the values of the joysticks directly in the code, for his GS2, I'm going to ask him for these values.
Let's see the positive side : It's still funny to see CG going around in circles !
So for the moment the goal is to make the joysticks work, then I will put the loudspeakers and the U-Amp.
Here is my first problem that I had with the joysticks :
A simple short between L/R and GND on both joystick FFC connector !
Some measurements on the test pads allowed me to find quickly enough, always add test pads on your PCBs !
Thank you very much @Gman for your help in guiding me in the right direction.
The second problem is that I reversed the start and select button, so I just reverse the pin in the PS2 plus code :
And my biggest problem now is that the joysticks don't want to be configured correctly when I run the configuration function of the PS2 plus code (L1, L2, Select).
Gman advised me to measure thevoltage values returned by the joysticks, and these values are good, which exclude out the idea of defective joysticks.
Here is my values :
After that I had the idea to put the voltage values that I found in min and max directly in the code (by putting in the form 0-255, 255 is the max voltage is 3.3V here).
Like that when I press L2, R2, Start and Select it puts this values in the EEProm.
After test, it seems to work, but another problem is the stick are inverted, and there is only one direction that works (up and left, right and down don't work).
As we can't just put a - since the joystick values are in a 0- 3.3V range, I added this in the code : inMin+(inMax-x)
which allows to reverse the direction :
And after testing that reverses the directions well, but I still have my problem, the joysticks only go in one direction per axis (only up even when I put the joystick down, the same when I put the stick to the left, it goes left but when I put it on the right it also goes left).
This drawing better explains my problem :
Thanks @Emetsys , but I don't know how to get debug value with the pickit ?
The value range are 0 - 255
I checked a second time the voltage values that the joysticks return and it was good.
Her is the result with the value :
So I modified the range a little because when I go to the end stop on one side of the joystick it did not activate it, by reducing the min and max values it works.
I define the value in the lutInit.
I have tested to add just a ~ to invert the value of the stick :
After this modification it work better but another problem apears
When I put the joystick to above 50% the direction was good but when I put the joystick in the full position the direction goes inverted (and that for all direction).
I am going to test another things...