17-11-2020, 07:53 AM
(This post was last modified: 17-11-2020, 10:28 AM by someone.
Edit Reason: Correction - Change from GPIO to GPOUT
)
One easy way is to use the Maxim MAX3421E USB Peripheral/Host Controller.
https://datasheets.maximintegrated.com/e...X3421E.pdf
It can be connected up in two ways, the first directly to the User I/O port but this has the consequence of very slow performance or alternatively
using someone's fast SPI interface.
To simply matters, one can grab an Arduino Host shield which contains the MAX3421E and make the necessary modifications:
This schematic is pretty close to the mark.
https://5.imimg.com/data5/XK/RR/MY-18335...rduino.pdf
The simplest method of ensuring that your communicating to the MAX3421E correctly is by:
There are other methods available like using the Vinculum VDRIVE. This provides the bee with direct file access to USB drives.
https://www.ftdichip.com/Support/Documen...DRIVE2.pdf
It's commands make it very easy to load and save files to a USB drive (and the VMUSIC version makes it easy to play MP3 music too!).
Both the above are what someone deems as Frankenstein mods for the microbee. i.e. using later technologies to boost the capabilities of the microbee. (But fun! )
https://datasheets.maximintegrated.com/e...X3421E.pdf
It can be connected up in two ways, the first directly to the User I/O port but this has the consequence of very slow performance or alternatively
using someone's fast SPI interface.
To simply matters, one can grab an Arduino Host shield which contains the MAX3421E and make the necessary modifications:
- (A board someone used had the necessary 3.3V to 5V logic level translators on board making the task even easier.)
- The provision of 5 volts. - Check the current draw of your implementation before straining your microbee's +5V pin. May be use the +10V and a regulator if you're not sure.
- The provision of 3.3 volts. - This is easily done with a voltage regulator such as the LM3940-3.3 and a 33uF output filtering capacitor downstream from the 5 volts.
- Connection to this board can be done using the 2x3 pin header for SCLK, MISO, MOSI, GND
- Connection to the 5V translated logic level /SS and /INT pins from other parts of the shield PCB
This schematic is pretty close to the mark.
https://5.imimg.com/data5/XK/RR/MY-18335...rduino.pdf
The simplest method of ensuring that your communicating to the MAX3421E correctly is by:
- Switching it to peripheral mode
- Connecting some LEDs and current limiting resistors to its GPOUT pins
- Turning the LEDs on and off under software control
There are other methods available like using the Vinculum VDRIVE. This provides the bee with direct file access to USB drives.
https://www.ftdichip.com/Support/Documen...DRIVE2.pdf
It's commands make it very easy to load and save files to a USB drive (and the VMUSIC version makes it easy to play MP3 music too!).
Both the above are what someone deems as Frankenstein mods for the microbee. i.e. using later technologies to boost the capabilities of the microbee. (But fun! )