#avr | Logs for 2014-11-24

Back
[14:08:08] <tpw_rules> there isn't an attiny with 8 i/o is there in like a 10 pin package? attiny85 would be brilliant but i need one more i/o
[14:11:36] <specing> take smd 2313 or something
[14:24:18] <Mr_Sheesh> or attiny84 maybe
[14:31:17] <Tom_itx> i got one with 7 1/2 pins if you want it
[15:55:34] <rootB> Is rue here?
[16:06:26] <Tom_itx> no
[17:08:32] <hypermagic> hello my friends
[18:11:12] <bitd> http://www.vishay.com/docs/81181/4n35.pdf - any idea on what to do with the base pin?
[18:11:50] <Lambda_Aurigae> use it for biasing to turn the transistor on directly.
[18:11:51] <bitd> I know it gets switched by the LED, but there is also a physical pin on the package.
[18:12:37] <Lambda_Aurigae> for, like, a test button.
[18:13:00] <Lambda_Aurigae> and/or to pre-bias the transistor so it doesn't take as much of a signal from the LED to activate it maybe?
[18:14:27] <bitd> Alright, thanks Lambda_Aurigae
[18:14:32] <Lambda_Aurigae> welcome.
[18:22:10] <bitd> Time to call it a night anyway <.<
[19:40:27] <LeoNerd> Wooo my boards arrived \O/
[19:40:41] <LeoNerd> I know what I'm doing tomorrow then...
[19:41:02] <Tom_itx> TOMORROW!
[19:41:14] <LeoNerd> Dude it's 1:20am :P
[19:41:29] <LeoNerd> Not doing any soldering tonight
[19:43:49] <Tom_itx> well you're still up talking about it...
[19:44:11] <Tom_itx> you know you're not gonna sleep until one is working
[19:57:00] <Casper> LeoNerd: then it's already tomorrow!
[21:38:07] <tpw_rules> i need to do a fully assembler project. avr-gcc or something like avra? has to be osx compatible
[21:39:15] <timemage> tpw_rules, avr-as you mean?
[21:39:29] <tpw_rules> yeah. avr-gcc --with-assembly-only or whatever
[21:42:52] * specing beats tpw_rules with a cluebat
[21:43:12] <tpw_rules> well it would be avr-as i guess. not sure if avr-gcc invoked that way does any magical preprocessing
[21:43:46] <tpw_rules> i definitely could use that treatment, but not quite for this (i hope)
[21:44:19] <timemage> tpw_rules, well, avr-gcc can be your interface to assembling as well. often used for linking instead of using ld.
[21:45:14] <tpw_rules> but is avra better? it seems more targeted to an assembly-only workflow. i won't be using any external libraries
[21:45:47] <timemage> i wouldn't know.
[22:23:29] <dj_pi> anyone have an example for quadrature encoder (QDEC) for AVR series uC?
[22:23:39] <dj_pi> looking online and in ASF...not much to go on
[22:28:14] <Tom_itx> yes
[22:29:46] <Tom_itx> dj_pi, http://tom-itx.ddns01.com:81/~webpage/avr/atmega328/PCINT0/quadrature/
[22:30:11] <dj_pi> thanks Tom_itx
[22:30:13] <dj_pi> looking at it now
[22:30:28] <Tom_itx> requires 2 interrupts
[22:30:40] <Tom_itx> to capture all 4 states
[22:31:13] <dj_pi> i understand your example because this is pretty much what i have done on other microcontrollers
[22:31:26] <dj_pi> i'm working on a uc3c and trying to import the module from ASF
[22:31:34] <dj_pi> and its all messed up
[22:32:39] <dj_pi> there is an example in the ASF for the evaluation board i'm using and it does nothing....interrupt constantly is getting triggered
[22:32:54] <dj_pi> maybe its a setup problem....who knows
[22:33:26] <Tom_itx> http://tom-itx.ddns01.com:81/~webpage/avr/atmega328/PCINT0/abcminiuser/
[22:33:30] <Tom_itx> essentially the same thing
[22:33:59] * Casper wonders what happened to server #2 at work...
[22:34:16] <Casper> ... it stopped responding between saturday night and sunday afternoon...
[22:34:25] <Tom_itx> on strike?
[22:34:37] <Casper> maybe a power failure...
[22:34:56] <Casper> it is not on an ups, as it's simply not ready yet (it do not boot)
[22:35:14] <Tom_itx> how's the programmer workin out?
[22:35:21] <Casper> somehow my grub setup is wrong and drop me directly to a command line...
[22:35:33] <Casper> last time I tried, was working great!
[22:35:41] <Tom_itx> good
[22:35:42] <Casper> just... need to order more avr
[22:35:51] <Casper> those mega88pa-pu... all died
[22:36:00] <Tom_itx> hmm
[22:36:05] <Casper> I'm sure they were from a defective batch
[22:36:48] <Casper> I ordered 6 back then... (maybe 5 years ago)... they appears to all have failed within 10 hours of being powered
[22:37:09] <Tom_itx> that kinda sucks
[22:37:29] <Casper> yeah