µ[micro]electronics info

A weblog focused on interesting circuits, ideas, schematics and other information about microelectronics and microcontrollers.




Because I have not tested all electronic circuits mentioned on this pages, I cannot attest to their accuracy; therefore, I do not provide a warranty of any kind and cannot be held responsible in any manner.

My e-mail

My website

USB Host for microcontrollers

It isn't a problem to create an uC-based device as an USB peripherial nowadays - there are a lot of chips with USB device capability, from FTDI to some PIC/USB, or OBDEV's USB software controller. But what to do if you need connect some USB peripherial to your device?

Imagine you need to connect, for example, an USB PC keyboard to your microcontroller-based application - it means the situation microcontroller isn't an USB peripherial, but host (it means microcontroller plays the role of a PC). Maxim has a chip perfectly suitable for such application: MAX3421E (TQFP32). It provides full SPI interface (to the microcontroller), 8+8 I/O lines and a USB HOST interface.
There is a perfect tutorial about using this chip with PIC and Arduino at CircuitsAtHime web:

USB shield for Arduino @ CircuitsAtHome

USB host with MAX3421E @ CircuitsAtHome

How to drive USB keyboard from Arduino

Powered by Drupal - Design by Artinet