ATtiny 2313 for interfacing with USB.

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
vmax
Posts: 1
Joined: Mon Dec 17, 2007 6:10 am

ATtiny 2313 for interfacing with USB.

Post by vmax » Mon Dec 17, 2007 6:26 am

Hello,
I am doing a project on USB interfacing and i want to interface various electronic device like LED,LCD,stepper motors, relays etc.i want to interface this devices with USB port and IC ATtiny 2313. I have seen some projects regarding this.but i am not cleared from those projects.
A PC will genrate the command for controlling the various port of the ATtiny2313 through USB port. and the data from the various port of IC ATtiny2313 will be applied to electronic devices.

can any one tell me what is nessacity for programming this IC Attiny2313 for my application?

WIth Thanks And Regards,
vmax

Guest

Post by Guest » Mon Dec 17, 2007 11:57 am

Just an detail: the ATmega8 is cheaper nowadays, than the ATtiny2313 and it has four time more flash (ATtiny2313 can be quite limiting). So if You don't need any special feature of ATtiny2313 (20MHz, a whole 8-bit port, etc..) I'd go for ATmega8....

gert
Rank 1
Rank 1
Posts: 27
Joined: Sat Oct 20, 2007 5:58 pm

Post by gert » Mon Dec 17, 2007 9:34 pm

Using a Tiny2313 should be possible. However, keep in mind that there are just a few hundred bytes left for your application,

As always "Powerswitch" is a good staring point.

@guest: how much do you pay for a atmega8, at which quantities?

/g

Guest

Post by Guest » Tue Dec 18, 2007 12:21 am

gert wrote:@guest: how much do you pay for a atmega8, at which quantities?


Slightly above 30 CZK (czech crowns) for < 10 pcs at my local "drug-store". For tiny2313 something more than 40 CZK. (as for today 1USD = 18,324CZK; 1EUR = 26,370CZK). (As a hobbyst I don't need more...)

Guest

Post by Guest » Wed Dec 19, 2007 8:39 pm

@guest: good deal. Here, @ 10pcs, the 2313 is €1.30, and the mega8 is €1.80.

Post Reply