Menu

ATTiny2313

Help
2019-06-04
2019-06-06
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-06-04

    I wanna use this chip to drive a two-digit Led display (instead of using the Emic2), the outputs would be "buffered" by transistors so the total current of 50 mA would not be a problem ; the number to be displayed would be transmitted via RS232, and the segments to be lit defined in tables. Now my questions :
    1) I saw that GCBasic can generate code for this chip, this seems to be OK.
    2) Can I program it with my STK 200 ? As far as I can remember, the original (parallel) could program the "old" 2313, I think the pinout is "almost" the same ? But what is about the "clock/Xtal" related pins, the chip is delivered with internal oscillator enabled ... and this didn't exist with the "old" version. The new one is listed with the available chips in AVRISP.
    3) Is the integrated oscillator's precision sufficient for (software) RS232 applications, without fine tuning (osccal) ? Or should I use an external clock system ?
    Thanks for any information ... positive or negative !

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-06-06

    PS : I asked Kanda, the STK200 is able to program the Tiny2313.

     
  • Anobium

    Anobium - 2019-06-06

    Also, you should be able to program with an old trusty PICkit2 programmer.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-06-06

    Finally I wonder if using an AVR to drive the segments is the best solution ... I must "buffer" the outputs, with transistors, ULN's or7 segment drivers, so the total current of 50 mA is not exceeded ; but if I use (software) I2C from my main board (only 2 lines, like RS232), 2 PCF8574's would do the same job, if I limit the current to about 10 mA per segment (I read that the total current for a 8574 should not exceed 100 mA).

     

    Last edit: Bertrand BAROTH 2019-06-06

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.