Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubts with the project #3

Open
MordredFTC opened this issue Oct 22, 2019 · 2 comments
Open

Doubts with the project #3

MordredFTC opened this issue Oct 22, 2019 · 2 comments

Comments

@MordredFTC
Copy link

MordredFTC commented Oct 22, 2019

Hi, I see your project on GitHub. My main doubts are:
1º- what is the specific code to upload to the MCU to communicate with the USB Host Shield?
2º- If I am not wrong, I need to wire the USB Host Shield with the MCU. Can I communicate with the pinout of your website?
3º- Where can I connect the battery?
4º- If I connect a hub of the adapter (putting the specific code for mouse), I can use keyboard and mouse simultaneously?

Thanks in advice, I want to create a usb to bluetooth adapter, but I am very confused because I want to use only the MCU, without an arduino. Its my first time using MCU. I am very noob with arm.

@I0x0I
Copy link
Owner

I0x0I commented Oct 22, 2019

Hi MordredFTC,

Thank you for your interest. The USB host part is not implemented in this project because nRF chips do not have build-in USB function blocks and including another USB host chip will consume much more power. The keyboard matrix (a bunch of switches) is directly connected to the nRF chip in this project, you may refer to the original post for more details. An implementation of USB to Bluetooth translation highly depends on the USB host chip you choose, you should be able to find some application notes and demos of your chip.

Cheers.

@MordredFTC
Copy link
Author

MordredFTC commented Oct 22, 2019

The chip I choose is the MAX3421E. Thanks for your reply, I am lost in my project and need help. I want to configure the project like your fifth point (keyboard and/or mouse with usb cable --> hub usb (it's possible connect boths together?) MAX3421E --> nRF51822 as bluetooth controller only --> computer.
For the wires, I saw https://raw.githubusercontent.com/wiki/RIOT-OS/RIOT/images/yunjia-nrf51822-full.jpg with the mains pins. My main problem is the code for the MCU and the power wires. Thanks for all. I know that I don't need keyboard_map. h and part of keyboard_driver.c, also if the hub is possible, I need to code mouse files. But I don't understanding how to implement my things. I have all the hardware necesary to do with an arduino pro micro and hc-05, but I want to do and learn how do with only this module. Sorry for my bad english and my poor knowledge of arm. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants