Page 1 of 1

ATtiny 2313 for interfacing with USB.

Posted: Mon Dec 17, 2007 6:26 am
by vmax
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

Posted: Mon Dec 17, 2007 11:57 am
by Guest
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....

Posted: Mon Dec 17, 2007 9:34 pm
by gert
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

Posted: Tue Dec 18, 2007 12:21 am
by Guest
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...)

Posted: Wed Dec 19, 2007 8:39 pm
by Guest
@guest: good deal. Here, @ 10pcs, the 2313 is €1.30, and the mega8 is €1.80.