Arduino only-based adapter (no PC needed)

Discuss everything to do with GIMX here
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

For mouse/keyboard i would suggest use GIMX.

g29emu is at the moment only working as G29 wheel emulator. No DS4 emulation yet.
it could be possible in the future, but i have no plans to do so.
jcrorxp
Posts: 2
Joined: Wed Apr 24, 2019 7:13 am

Re: Arduino only-based adapter (no PC needed)

Post by jcrorxp »

Sir afafruit trimket m0 maybe good to use in you project
, it have a very good usb otg library
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

The Trinket M0 contains an ATSAMD21E18. The datasheet states only one USB device in peripheral mode. Still one host usb missing.
Mysli0210
Posts: 18
Joined: Thu Jul 06, 2017 7:10 pm

Re: Arduino only-based adapter (no PC needed)

Post by Mysli0210 »

This one has got 2 usb Hosts though.
but i guess that it wouldnt be enough as you'd for the time being, need 3 ports, one as device and 2 as hosts
for the ds4 and wheel/or whatever.

https://www.aliexpress.com/item/STM32F4 ... 49543.html

Also if you get a bluepill as a substitute for the pro micro + the mini host shield + the 2/3 port hub, that's ultimately less than 10$ (could also be cheaper without substituting)
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

Datasheet states:

Advanced connectivity
-USB 2.0 full-speed device/host/OTG controller with on-chip PHY
-USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI

Looks plausible however you still need a HUB (or integrate one on your PCB)

However, a better solution would be to use STM32F446RCT6 which costs about 7 euro's and integrate in on a custom PCB together with some connectors.


STM32F446RCT6 Advanced connectivity
– USB 2.0 full-speed device/host/OTG controller with on-chip PHY
– USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI
– Dedicated USB power rail enabling on-chip PHYs operation throughout the entire MCU power supply range
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

I have an idea to design a PCB with the following components

- STM32F4 with 2 USB ports, LQFP64 (or LQFP48/32 if possible)
- Texas Instruments TUSB 2036 USB 2/3-HUB 3,3 V, LQFP-32 (costs only €1,47 each)
- Two USB Type A receptables for connecting wheel/auth device
- One USB-C/micro-usb connector for connecting to PS4

Idea is to have as less components as possible and be able to solder by hand (no stencil needed)
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Arduino only-based adapter (no PC needed)

Post by GoDlike »

STM32 has completely different CPU architecture and needs new FW
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

True, its Cortex M4 vs AVR 8bit.
I wont say there are no differences, but most of them are HAL.
Of course there are lots of benefits like systick timer, lots of irq, PLL.

I see no reason yet it will not work (have worked with many m0,m3 and m4's before)
Mysli0210
Posts: 18
Joined: Thu Jul 06, 2017 7:10 pm

Re: Arduino only-based adapter (no PC needed)

Post by Mysli0210 »

Thijs, after finding the link below. i thought that maybe, we could bypass the auth by dropping the connection, for a very short time every 8 minutes or so.
again its just a thought, that might not be plausible irl.

https://cronusmax.com/forums/showthread ... tification
Mysli0210
Posts: 18
Joined: Thu Jul 06, 2017 7:10 pm

Re: Arduino only-based adapter (no PC needed)

Post by Mysli0210 »

https://www.consoletuner.com/kbase/device_options.htm

it seems like the alternative systems, do infact utilize this tactic.
Post Reply