Closed ghost closed 7 years ago
Depending on the chosen model (pro mini 3.3v or 5v) I wonder if you'll need a logic level converter between the arduino and the ESP or between the arduino and the USB.
Ok I got a 5v one but I have a level shifter
I'll try later tonight, I have both 5v and 3.3v model, I'm very interested by the results of your tests
And how do i wire the usb jack?😂
you need an ATmega32u4 the Pro mini doesn't use that microcontroller.
But you could use a Arduino Pro micro. You'll need the 3.3V version yes, or use a voltage regulator.
What is the difference between the two microcontrollers?
one can talk USB the other not.
Aren't there any library's for usb ?
There are libraries but they'll only work with built-in USB communications. The Pro Micro models will do just fine if you're ready to wait a full month , the good thing is They're not that expensive
[edit] markdown typo ate half my comment lol
I didn't was that they are expensive lol
Lol
Just stumbled upon this and it looks like the ESP8266 can act as a low speed USB if you can bother to lose ESP8266AsyncWebServer and use SDK 1.5.x or earlier
haha @tobozo you haven't read the readme, have you? Because I linked exectly that project. 😄
Your readme says "The Latest SDK" while espusb's readme says "You cannot use SDKs newer than 1.5.X" now I'm confused
Also why are you using an arduino when espusb can have the ESP to act as a host ?
[...]
Although the ESP8266 is awesome, it doesn't have native USB, which means it can't act as a keyboard :(
(cnlohr made a cool project on this and added a USB stack himself: https://github.com/cnlohr/espusb. The problem with that is, that it isn't compatible with the current SDK version, also I wanted to use Arduino to make it more user friendly.)
Here comes the ATmega32u4 into play!
[...]
Ok danke stupid me lol
So in order to use this librarty one would need to use two ESPs, one for the logic+wifi, the other to act as a USB host, and that would be:
thank you sir!
Just wondering if this could work if you add a usb with d+ d- + -
1