#avr | Logs for 2014-12-13

Back
[09:29:06] <LeoNerd> N1njaneer: around?
[13:09:38] <chickensk> hi, what is your favourite attiny and what is your use?
[13:11:38] <Tom_itx> tiny10
[13:11:54] <Tom_itx> led blinking
[13:15:00] <malinus> Tom_itx: loool
[13:15:12] <malinus> no idea why that made me laugh so loud
[13:15:24] <Tom_itx> very important led blink though
[13:15:36] <Tom_itx> it verifies my programmer's TPI function
[13:16:04] <malinus> Tom_itx: do any current avr's even use TPI?
[13:16:22] <Tom_itx> yes
[13:16:31] <Tom_itx> attiny 4 5 9 10 20 maybe 40
[13:16:45] <Tom_itx> probably a couple others
[13:16:51] <LeoNerd> All of the tinies that are too small for SPI/HVSP
[13:16:59] <malinus> no
[13:17:06] <malinus> attiny85 and 13 both have spi
[13:17:15] <LeoNerd> Yes; I'm well aware
[13:17:21] <LeoNerd> I said that all of them /that/ are.. i.e. all the 6pins
[13:17:31] <malinus> ah right
[13:17:52] <LeoNerd> I verywell know that the tiny13 talks ICSP and HVSP because I have one mounted up on my HVSP burner right this very second ;)
[13:18:04] <malinus> hehe
[13:18:19] <chickensk> ok :D
[13:18:54] <chickensk> i like 4313, but 4kB seems small for my applications
[13:19:11] <malinus> My favorite is attiny85 because it's still small, while having plenty of peripherals
[13:19:23] <malinus> and ram/flash
[13:19:59] <LeoNerd> The tiny85 is crazy yah..
[13:20:17] <LeoNerd> I'm currently looking at the 841 though for one application, because it has the UARTs on it
[13:24:23] <malinus> how many pins?
[13:28:09] <chickensk> 14
[13:28:56] <chickensk> 2x usart
[14:01:42] <chickensk> ok and other question is: What is you most commercial use of 8-bit AVR? :P
[16:19:15] <ColdKeyboard> I'm trying to make Active Dummy Load with ATmega8 and I have 0.1 ohm 1% resistor but the voltage that I read from it doesn't seem linear... Does anyone have an ideas what I'm doing wrong?
[16:19:53] <ColdKeyboard> I have curent panelmeter on my psu and when I see 24mA my voltmeter says 8mV. Then for 340mA I get 120mV :\
[16:20:33] <ColdKeyboard> I know it's not that much related to AVR but I could use any help I could get :)
[16:58:31] <timemage> firefox
[16:58:33] <timemage> ack
[17:01:18] <timemage> ColdKeyboard, i'm probably not much use but, is this a shunt resistor (purpose made) or normal (e.g. metal film) used as a shunt?
[17:01:56] <ColdKeyboard> I'm using metal film 0.1 1% resistor that I had laying around
[17:02:17] <timemage> ColdKeyboard, can you feel any temperature change in it?
[17:02:26] <ColdKeyboard> FOr some reason, now when I measure it's resistance it varies around 0.4 ohmz instead of 0.1 :\
[17:02:49] <ColdKeyboard> 1% should be 0.101 or 0.099 max, 0.4 is too much I guess :\
[17:03:19] <timemage> ColdKeyboard, .1 ohm might be difficult to measure accurately with a typical dmm.
[17:03:25] <ColdKeyboard> No it pretty much stays on room temperature since I'm testing it on ranges from 30mA to 100mA at the moment
[17:03:53] <timemage> ColdKeyboard, probably the thing to do is make a schmatic and put the part numbers on it, ask in ##electronics
[17:04:35] <ColdKeyboard> Oh great. I didn't know there is electronics channel here :)
[17:04:50] <timemage> ColdKeyboard, yup. more active as well.
[17:05:00] <ColdKeyboard> Great. Thanks! :D
[17:07:11] <timemage> ColdKeyboard, also, avr has an appnote regarding different types of adc error (gain, offset, noise, and non-linearity), how to calibrate etc. also wondering what you're using for a voltage reference.
[17:08:22] <ColdKeyboard> I have 1.024V voltage reference IC that seems to work fine for the moment. I will probably buy separate ADC, DAC and Voltage Ref for the final project :)
[17:08:25] <timemage> ColdKeyboard, it may be easier initially to substitute a resistor for the ADC and measure across it.
[17:09:54] <timemage> ColdKeyboard, http://www.atmel.com/images/doc2559.pdf dunno if it's any help, but worth looking over. if nothing else for search terms.
[17:09:57] <ColdKeyboard> This seemed like the easiest idea and also I looked at the reload and reload:pro schematic. They both use 0.1 ohm resistor as current sense. I guess their resistor is purpose made like you said and therefore more precise than mine :)
[17:12:40] <LeoNerd> My INA219 sensor has a 0.1ohm shunt
[17:34:55] <timemage> ColdKeyboard, you can calibrate if it's not. pretty much narrow tolerance and low temperature coefficient (which is why i asked initially) are the main points. most of the stuff i do doesn't need to be that precise and when it needs to, it's usually a one-off project.