Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Mr. Ninja on July 14, 2012, 10:51:06 AM

Title: How Can You Hook up USB to a Microprocessor
Post by: Mr. Ninja on July 14, 2012, 10:51:06 AM
Hi, it's me again, with all the questions in the world. :P

  I decided this needed another thread as it has nothing to do with transmitters or recievers.

So, I would like to know how to connect a USB able (A to B) to an Atmel ATtiny45V. I would love it if you could just include a diagram, as I want to do this on a breadboard.

Thanks, Mr. Ninja
Title: Re: How Can You Hook up USB to a Microprocessor
Post by: beachboy612 on July 14, 2012, 04:43:54 PM
either buy a micrcontroller with a usb port or make it your own.  $50 robot tutorial shows how to make a microcontroller.  you would have to figure out how to add a usb port to it. 
Title: Re: How Can You Hook up USB to a Microprocessor
Post by: newInRobotics on July 15, 2012, 07:56:48 AM
For microcontroller to comunicate with PC via USB You need to have microcontroller with USART feature. There are many USART tutorials online. ATtiny45V does not have USART, it does have something called USI (Universal Serial Interface), it sounds like it could be used for USB comms, however I'm not sure how, so You'll have to research it Yourself.