| Electronics > Projects, Designs, and Technical Stuff |
| Need a push in the right direction for interfacing with USB Device |
| << < (3/3) |
| rs20:
--- Quote from: LittleRain on November 04, 2018, 01:15:07 am ---Ahh that's really shitty, cause the Atmega32u4 does not act as a host.. Looks like the STM32F072 is going to be my best bet. --- End quote --- Just to clarify, you could be forgiven for thinking that the STM32F072 supports being a USB host because in a single post I a) recommended its dev board and b) said it was important that the MCU supports being a host. However, please double-check that, I'm pretty sure it actually doesn't support it. Sorry for the poorly thought-out recommendation. |
| voltsandjolts:
If you can switch to PS3/4 game pad, someone has done the hard work for you: http://www.hobbytronics.co.uk/usb-host-board-v2 |
| LittleRain:
--- Quote from: ataradov on November 04, 2018, 01:18:53 am ---I'm working on one myself at the moment :) There has been a number of them. I found them very inconsistent and touchy. It is understandable, they do a very low level stuff. So there is really no telling if one will work on your system. Just give it a go and see if it works. This chip does not have USB Host controller, so you can't use it for this project. Although as it was pointed out, you don't need any of this, since there is a good chance that you will find documentation for the protocol. If it is HID, then it is relatively easy to interface it. --- End quote --- Are you going to opensource it? ;) Still haven't found the time to try it yet, but I hope I wont need to dish out $500. Yeah after he mentioned it I realized it didn't have host capability. --- Quote from: SiliconWizard on November 04, 2018, 01:31:28 am ---You need to implement an USB host. Implementing it from scratch and from analyzing USB signals is crazy and close to useless. The USB protocol is well documented, the game pads are HID devices and well documented as well. But implementing that at a low level would be completely crazy IMO. Some MCUs can act as simple USB hosts (those having USB OTG ports for instance). FTDI also has USB host ICs (see the Vinculum series for instance). I would look at either solution. --- End quote --- I'm going to go the host route, and if I remember correctly, the STM32F072 which was recommended does have it. I'll definitely check that out though. --- Quote from: rs20 on November 04, 2018, 02:04:59 am ---Just to clarify, you could be forgiven for thinking that the STM32F072 supports being a USB host because in a single post I a) recommended its dev board and b) said it was important that the MCU supports being a host. However, please double-check that, I'm pretty sure it actually doesn't support it. Sorry for the poorly thought-out recommendation. --- End quote --- I remember checking it out and finding out that it does have host capabilities. It could have been another similar one but I'm pretty sure. --- Quote from: voltsandjolts on November 04, 2018, 04:19:32 pm ---If you can switch to PS3/4 game pad, someone has done the hard work for you: http://www.hobbytronics.co.uk/usb-host-board-v2 --- End quote --- I was actually going to do both haha. Was going to start with the Xbox 360 and then do PS3. The plan was to make a device similar to the "Titan One" adapter. |
| ataradov:
--- Quote from: LittleRain on November 11, 2018, 11:44:54 pm ---Are you going to opensource it? ;) --- End quote --- Yes, but it will take time, since it is more of a "do it right" project rather than a quick hack. I'm trying a lot new stuff I need to learn. |
| Navigation |
| Message Index |
| Previous page |