#avr | Logs for 2013-03-16

Back
[01:04:01] <Jan-> hihi :)
[01:06:00] <Jan-> has anyone here ever done an audio meter with an AVR?
[01:06:14] <Jan-> I can probably deal with the inevitable LED interfacing
[01:06:30] <Jan-> but I'm not sure how to go about setting the audio signal up to get it into the thing.
[04:04:58] <creep> hi
[04:06:31] <RikusW> hi
[04:06:32] <tobbor> hi RikusW.
[04:08:55] <RikusW> http://alanwinfield.blogspot.com/2013/03/extreme-debugging-tale-of-microcode-and.html
[05:23:53] <xelion> question: how can I measure millivolts (like with a DMM) from the ADC? I'm trying to measure electrode potential from a pH probe utilizing an opamp circuit. thanks in advance!
[05:28:23] <Malinuss> xelion, just put in a wire from whatever of the adc pins to where you want to measure the voltage
[05:28:51] <Malinuss> xelion, just remembe it has to be between GND and VCC of the uC, otherwise you damage it
[05:30:31] <MrMobius> Malinuss, it cant be above Vcc if you run the uC on Vcc
[05:30:40] <xelion> Malinuss: what do you mean by "between GND and VCC"? I don't understand:(
[05:31:12] <xelion> I'm measuring in the millivolts range (-150 to +150)
[05:31:34] <Malinuss> MrMobius, it sure can? Who said whatever he is trying to measure is running on the same voltage as the uC?
[05:32:51] <Malinuss> xelion, you can't measure below 0V, without having some kind of special circuit
[05:33:21] <Malinuss> maybe not so special, but specific at least :)
[05:33:22] <creep> sure he can
[05:33:30] <creep> referenced to 1.5V
[05:33:37] <creep> or 2.5V whatever
[05:34:24] <xelion> I will link a schematic as soon as I figure out, where kicad exports my plots to! :D
[05:34:29] <xelion> stand by
[05:34:32] <creep> or between 2 adc pins
[05:34:37] <creep> +-5V
[05:34:41] <Malinuss> creep, yeah 1.1V is the internal if that 's what you are refering to, but I'm not sure how that would work
[05:34:56] <Malinuss> creep, ah
[05:34:58] <creep> V = A1-A2
[05:35:08] <creep> fully differential
[05:36:19] <Malinuss> creep, I just can't see how setting the referance to 1.1V instead of 5V changes anything. Wouldn't the result still be 0 if the V 0>?
[05:36:44] <creep> you do it in software
[05:37:03] <creep> setup a virtual gnd to half range, and place your signal gnd there
[05:38:36] <xelion> ok
[05:38:46] <xelion> My schamtic looks like this: https://dl.dropbox.com/u/11778919/dobbelt_1A_5V_PSU.pdf
[05:38:57] <xelion> *schematic
[05:39:44] <Malinuss> xelion, what you making btw.? Other then a avr based ph-meter ? I mean, what is it for?
[05:40:15] <creep> xelion<< i think the lm358 will not do for your ph probe mister
[05:40:24] <creep> try LMC6482
[05:40:34] <creep> and make sure the inputs do not touch anything
[05:40:53] <creep> then you can get <10pa input current
[05:41:19] <xelion> creep: is the lm358 not strong enough?
[05:41:35] <creep> xelion<< it has about 350nA input current
[05:41:44] <xelion> oh
[05:42:06] <creep> your ph probe may not work with it i guess, but check the datasheets
[05:42:34] <xelion> I think the original schematic utilized a TL081
[05:42:38] <theBear> Malinuss, it depends, older chips (i've only checked a handful of datasheets so far, was helping rif the other day) seem to only have 2.5v-ish, newer ones have 1.1 or perhaps sometimes both
[05:43:41] <xelion> Malinuss: I'm just building it for fun (to learn assembly language) and AVR controllers;)
[05:43:47] <Malinuss> theBear, yeah I deel like deja-vu, but you are right... the atmegas and tinys I have, have both
[05:44:10] <creep> xelion<< that is better for that
[05:44:15] <Malinuss> xelion, it seems like more of a electronic project if you ask me ;P.
[05:44:22] <xelion> :)
[05:44:39] <creep> xelion<< but LMC6482 is what you want
[05:44:51] <creep> note that it works from 15V max.
[05:45:00] <xelion> creep: ok. I'll look into the sheet then;)
[05:47:17] <xelion> The circuit is build so that I can adjust the supply voltage from 0 - 25V (+/-, 1A).. so it shouldn't be a problem;)
[05:49:14] <creep> xelion<< http://www.ti.com/product/lmc6482 they even recommend it for PH meter ;)
[05:50:05] <Malinuss> I still don't get how he would distinguish between - adc values and +...
[05:51:28] <xelion> creep: yes I see:D thats nice!
[05:51:32] <xelion> thanks!
[05:52:13] <creep> Malinuss<< voltage is a potential difference between 2 points
[05:52:37] <creep> it is no matter what the common potential is, it is the difference that counts
[05:52:53] <Malinuss> creep, yes. so how does he know if the value is 50 or -50?
[05:52:56] <Malinuss> mV
[05:53:19] <xelion> the flag i guess?
[05:53:34] <OndraSter> let me join the discussion without reading past stuff: if he adds, let's say, 0.5V offset
[05:53:40] <creep> Malinuss<< you substract your offset from the measured voltage
[05:53:43] <OndraSter> it will swing between 0.35 and 0.65V
[05:53:49] <OndraSter> ye
[05:54:29] <creep> xelion<< you do not need a split supply if +-2.5V is enough for you, LMC6482 will swing from rail to rail, and it senses from rail to rail
[05:54:41] <creep> just create a virtual ground at 1/2 vcc
[05:54:45] <Malinuss> I get it now, thanks guys
[06:02:57] <creep> i think i'd do fully differential sensing, so i don't need calibration of offset
[06:03:06] <creep> lazyness always
[06:04:26] <OndraSter> :P
[06:05:04] <xelion> creep: how does full diferential sensing work?
[06:05:22] <creep> take 2 adc, measure voltages, substract them.
[06:05:42] <xelion> ah
[06:06:31] <theBear> hmm, what 'is' a ph probe ? just two electrodes X distance apart ? or is this a 'full unit' with just an X (m)V output ?
[06:06:53] <creep> it is a high impedance probe
[06:07:01] <theBear> wait, two electrodes is a moisture probe, how does a ph one work ?
[06:07:24] <theBear> or is it the same setup with different electronics ?
[06:07:38] <theBear> soil moisture probes are actually quite an interesting subject
[06:07:54] <theBear> heh, that sounds odd out of context... i find them interesting technically anyway
[06:08:21] <theBear> not the probe itself, but how you drive/measure it, and how it can handle saltier soils etc
[06:08:44] <theBear> don't panic, wiki to the rescue
[06:09:11] <xelion> theBear: my probe consists of two electrodes, a reference, and the actual H⁺-ion sensing one
[06:09:36] <xelion> pH = -log[H⁺]
[06:09:41] <xelion> for strong acids that is
[06:09:50] <theBear> ahh interesting, doped glass
[06:10:19] <theBear> very interesting
[06:10:22] <xelion> it's semi-permeable
[06:10:43] <Malinuss> xelion, might I ask what you need a ph-meter for at home? Also do you even have any solutions to calibrate with, and later measure?
[06:10:45] <theBear> so umm, not being a chemical guy, i assume H ions give you an fairly accurate idea of ph ?
[06:11:08] <theBear> and yeah, i know the permeable bit, i've had limited experience using them, storage solutions and buffers for calibration etc
[06:11:09] <creep> they used to measure soil ph too.
[06:11:31] <creep> and the fish tank ph
[06:11:49] <xelion> Malinuss: I work as a laboratory technician, and I'm building it for the fun of it:) I have of course buffer solutions at home, who wouldn't???
[06:12:33] <creep> xelion<< make a proper case for it or they will osfuscate it at the airport lol :)
[06:12:37] <theBear> hehe, indeed, what kind of crazy foo' wouldn't have a selection of ph buffers in their home ? <grin>
[06:12:41] <creep> *obfuscate
[06:13:08] <xelion> ;D
[06:13:33] <theBear> i, for one, pity the fool <grin>
[06:13:40] <theBear> self pity is a horrible thing
[06:14:28] <theBear> which reminds me, sorry if i ranted a bit more than usual last night, but it was a serious medical crisis situation here, and unable to contact anyone with a vehicle to take me to hospimable, i was kinda desperate and needing distraction
[06:15:31] <theBear> eventually the bourbon and painkillers and nerve-painkillers and muscle relaxants and sleeping pills did take effect, 'thismorning' i'm just shaking uncontrollably, which is much better than last night
[06:17:06] <Malinuss> xelion, next project - spectrometer ?
[06:17:23] <creep> no
[06:17:27] <creep> geiger meter
[06:17:35] <Malinuss> b-but that wouldn't make sense cree
[06:17:39] <xelion> It could turn out to be a cool project though: I do a lot of pH adjusting at work, for cell culture buffer solutions, hence, it would be nice to have an apparatus, where you could input a desired pH, and the machine does the job;)
[06:17:39] <Malinuss> creep,
[06:18:17] <Malinuss> I'm thinking about xelion turning his home, into a mini chem-lab :)
[06:18:32] <xelion> Malinuss: spectrometer, no. But I have considered working on a scanning electron microscope. Have you seen Ben Krasnow's video on youtube?
[06:19:40] <Malinuss> xelion, no the one on electron microscope... I've used plenty of microscopes in my life (studying biology), but never used a electron microscope
[06:20:55] <xelion> Malinuss: http://www.youtube.com/watch?v=zksVZCJajCI it's crazy;)
[06:21:11] <xelion> He has some skills!
[06:21:20] <Malinuss> xelion, what kind of cell cultures are you growing btw.?
[06:22:07] <creep> meat eating bacteria
[06:22:42] <Malinuss> I assumed some kind of fungi actually
[06:22:49] <creep> http://www.care2.com/news/member/577434368/453406
[06:23:24] <xelion> Malinuss: we work with many differnt species: lactobacillae, Escerichia, Staph, Streptococcus
[06:24:34] <Malinuss> xelion, what for though? I'm pretty sure not all of them can be used in industry, or?
[06:24:56] <xelion> I only make the buffers for them. In my primary field of work I assure the products are not contaminated before being shipped to customers (QC).
[06:26:01] <xelion> we make mediums for desease control and differentation: http://www.ssi.dk/English.aspx
[06:26:26] <Malinuss> xelion, dansker?
[06:26:40] <xelion> jep;)
[06:28:46] <Malinuss> hehe verden er lille, hva?
[06:29:01] <xelion> ja, i særdeleshed :D
[06:30:06] <xelion> men støder af og til på en med-dansker. Dog sker det mere og mere sjældent på freenode
[06:30:44] <xelion> sorry guys: just ran into a fellow country mate;) please excuse me of writing in danish;)
[06:31:12] <theBear> that's ok, i understood most of it :)
[06:32:25] <xelion> creep: that's quite an expensive opamp that one, huh? I hope it's woth it;)
[06:32:25] <creep> xelion<< i just read this http://angelaharris.hubpages.com/hub/Cooking_Temperatures_Guide
[06:32:29] <xelion> *worth
[06:32:34] <creep> xelion<< lol, less than $1
[06:32:48] <creep> ask a free sample and try it btw
[06:33:08] <creep> so if i cook meat with internal temperatures rising above 90C i'm good ?
[06:33:24] <Malinuss> xelion, ja, nu ved jeg ikke hvor ny du er p den her kanal, men er ret sikker p at vi er de eneste.
[06:33:52] <xelion> creep: in denmark I have to pay the equivalent of $12
[06:34:10] <creep> that is not cheap
[06:34:25] <creep> i thought $6 is much for it
[06:35:56] <xelion> creep: some bacteria are spore forming, being able to survive under harsh conditions (70°C). but you should be out of the woods with the temperature you suggest;)
[06:36:02] <theBear> creep, depends how fresh it is, from memory you wanna hit 150C or so internal if there is any question about bacteria
[06:36:30] <xelion> Malinuss: jeg har været på denne kanal et par gange (3-4), men du har sikkert ret;)
[06:36:42] <creep> if we are talikng about sterilizing, 117C for 30mins...
[06:36:47] <creep> or less time at above
[06:37:12] <xelion> creep: but at elevated pressure (approx 2 atm)
[06:37:26] <xelion> to burst the spores
[06:37:59] <creep> theBear<< i prefer eating fresh foods, bacteria is not only dangerous while living, it creates chemicals that can kill you, you can not take care of hazardous chemicals from your rotten meat by cooking i think
[06:38:06] <xelion> Malinuss: roder du meget med mikrokontrollere?
[06:38:31] <xelion> creep: you absolutely correct;)
[06:40:02] <xelion> creep: when we do sterilization we usually do 121°C for 15-20 minutes @ 2 atmospheres..
[06:40:02] <Malinuss> xelion, ja. Jeg er ret ny i den verden, men roder meget med det for tiden
[06:40:33] <xelion> Malinuss: det er skide interessant! virkelig nogle smarte små enheder;)
[06:40:53] <creep> xelion<< i used to fry potatoes in grease/oil >150C
[06:40:59] <xelion> Malinuss: hvilket sprog koder du i?
[06:41:04] <creep> a few minutes will kill everything i guess
[06:41:33] <KongfuPanda> hello
[06:41:41] <KongfuPanda> is this a channel for AVR studio?
[06:41:44] <Malinuss> xelion, og det er fuldstnding ligesom lego for voksne mnd - du kan lave *alt*, kun fantasien stter grnser. Jeg bruger bare god gamle C
[06:41:59] <creep> KongfuPanda<< never used that
[06:42:33] <KongfuPanda> creep, can you help me pelase?
[06:42:47] <xelion> Malinuss: LEGO for voksne:D helt sikkert;) jeg startede også ud i C. Det er et godt sprog til AVR
[06:42:48] <creep> why me ? ;>
[06:42:58] <creep> problems with gurls?
[06:43:06] <xelion> creep: tag, you're it!
[06:43:09] <KongfuPanda> creep, because I know you have an extensive experience with AVR
[06:43:43] <KongfuPanda> joking
[06:43:50] <KongfuPanda> anyway, I will just post my question
[06:44:42] <KongfuPanda> if I run like a function and from inside that function I call another function. Is there a command to terminate the second function and the first function from inside the second function?
[06:45:29] <Horologium> that's not an avrstudio question but a C question.
[06:45:31] <Malinuss> xelion, har du da meget erfaring med uC's?
[06:45:35] <Horologium> and, not really.
[06:45:53] <KongfuPanda> ok, C question
[06:46:12] <xelion> Malinuss: nej, er selv meget ny i faget. men kender en del til elektronik, da det har været min fritidsinteresse i mange år;)
[06:46:53] <Horologium> you can exit the second function with a return value and depending on that value cause the first function to terminate.
[06:47:51] <xelion> creep: I have found a thermophile for you | http://en.wikipedia.org/wiki/Strain_121
[06:48:26] <creep> yeah i saw that before
[06:48:34] <xelion> ;)
[06:48:50] <creep> i tell something new to you then check this out http://en.wikipedia.org/wiki/Prion
[06:49:57] <xelion> creep: uo-oh:(
[06:50:01] <Horologium> aahh prions..
[06:50:12] <Horologium> like mad cow disease.
[06:50:15] <creep> 134 °C (274 °F) for 18 minutes in a pressurized steam autoclave may not be enough to deactivate the agent of disease.
[06:50:38] <xelion> that's a nasty little critter that is!
[06:50:45] <xelion> afk
[06:52:59] <kdehl> The 1284p is the most powerful AVR controller in a DIL package that Amtel offers, right?
[06:53:22] <kdehl> Among the 8-bit controllers, that is.
[06:53:26] <KongfuPanda> Horologium, but then I need to set up checks in the second function for this return value :(
[06:53:34] <KongfuPanda> thanks, I will try it
[07:09:21] <DanFrederiksen> anyone know off hand how much capacitance ADC pins on atmega needs to be filled for voltage to be right. for instance would 1Mohm on a 0-5V signal retard it significantly
[07:09:54] <DanFrederiksen> significant being a microsecond
[07:19:47] <theBear> not off hand, the datasheet will specify, probably under the data pins section (that are shared for adc input)... tho 1meg is VERY high, you'll likely get noise issues
[07:20:12] <theBear> also be aware of how long an adc conversion takes to happen, that'll likely be a big limiting factor
[07:21:54] <OndraSter> the input resistance to the ADC is not that high, 1M input is a lot
[08:31:02] <Horologium> http://www.electroboom.com/?p=151 totally offtopic but funny anyhow.
[08:31:22] <creep> Horologium<< what kind of temperature sensors are in the fusers ?
[08:31:27] <creep> pt100 ?
[08:33:42] <Horologium> little flat thermistors.
[08:34:05] <Horologium> a thermistor encased in a high temp plastic film usually.
[08:34:06] <OndraSter> https://lh6.googleusercontent.com/-nlj7D8s9zWw/UUQQiRh0oWI/AAAAAAAAriU/kKF-YuY25wk/s826/bobbitablescar.jpg
[08:34:08] <OndraSter> lol
[08:34:40] <Horologium> cute.
[08:34:44] <creep> Horologium<< they are good enough up to 200C ?
[08:34:46] <Horologium> wonder if it is real or not..
[08:35:14] <creep> i híave a ripped apart fuser labeled 180C
[08:35:17] <Horologium> wouldn't guarantee them over 150C
[08:35:41] <Horologium> at least, in copiers..they usually run a max of 130C...xerox even lower than that.
[08:36:35] <creep> my samsung does around 190C
[08:36:37] <Horologium> what did you pull that out of?
[08:36:41] <creep> it is in the manual
[08:36:45] <Horologium> oh wait...duh..
[08:36:53] <Horologium> I got numbers fucked up..too early in the morning.
[08:36:54] <creep> laser printer fuser...
[08:36:56] <Horologium> 325F
[08:37:12] <Horologium> so, 160C
[08:37:13] <creep> well the junk printers around here are usually hp
[08:37:14] <Horologium> give or take
[08:37:21] <Horologium> is operating temp for a sharp fuser
[08:37:43] <Horologium> 200C might be a bit hot for them...but worth a try.
[08:38:05] <creep> how many cycles a diode could take up to high temperatures :
[08:38:06] <creep> ?
[08:38:28] <creep> they used to say 3 reflow cycles for a component
[08:38:39] <Horologium> no clue on that one.
[08:39:29] <creep> from this laser a ripped out a 6 red led module with some optics
[08:39:36] <creep> looks deep red
[08:39:52] <Horologium> out of the laser itself?
[08:39:59] <Horologium> what brand/model printer?
[08:40:32] <creep> i think it was a hp, don't remember, i took apart like 6 of them recently
[08:40:51] <Horologium> and you got a red LED module out of the laser?
[08:41:03] <creep> yes
[08:41:11] <Horologium> that is near-IR most likely.
[08:41:33] <creep> but only 6 leds, so i think this was some charge removal thing from the photodrum
[08:41:40] <Horologium> oh..that.
[08:41:49] <Horologium> yeah....that's the drum discharge light.
[08:41:54] <Horologium> a bar of LEDs, yes?
[08:41:57] <creep> yep
[08:42:18] <Horologium> it is used to wipe the drum clean of charge before recharging it.
[08:42:25] <creep> was wondering if i can use it for something, but they are not that bright
[08:42:36] <Horologium> cycle is,,,wipe, charge, write, apply toner, transfer toner, repeat...
[08:42:52] <Horologium> they would be good if you had a bunch of them...for lighting a darkroom.
[08:43:06] <Horologium> like, line the walls with them.
[08:43:08] <creep> maybe camera lights ?:)
[08:43:28] <Horologium> more like film development lights....so you can almost see what you are doing.
[08:43:51] <Horologium> they are deep red bordering on and probably bleeding over into IR.
[08:44:34] <Horologium> IR being the perfect color for writing to a drum...
[08:44:45] <Horologium> when the laser hits the drum it discharges that spot..
[08:45:12] <Horologium> when that light bar hits the drum it totally discharges it.
[08:46:27] <Horologium> at least, along that narrow strip edge to edge.
[08:47:26] <creep> well i glued the optics to the ledstrip and soldered a twisted pair on it, we'll see
[08:47:47] <creep> some fun stuff
[08:48:03] <Horologium> be careful with the actual laser though.
[08:48:15] <Horologium> that thing is IR and can cause retinal damage.
[08:48:35] <creep> a suume something like in cd players, 780nm
[08:48:40] <creep> *i assume
[08:48:52] <creep> that looks very weak, but it is 5mW+
[08:49:13] <Horologium> 760 I think...but,,
[08:50:24] <creep> btw https://lh6.googleusercontent.com/-nlj7D8s9zWw/UUQQiRh0oWI/AAAAAAAAriU/kKF-YuY25wk/s826/bobbitablescar.jpg < dat is some haxx0r license plate
[08:51:56] <Horologium> saw that posted elsewhere 20 minutes ago..hehe
[08:52:14] <Horologium> and, yeah, 5mW 760nm I believe is about standard for laser printer laser diodes.
[08:53:22] <Horologium> now, replacing the laser diode with a visible light one....
[08:53:45] <creep> :)
[08:53:51] <Horologium> then using the scanning system...along with the pulser that is built into the laser unit...and adding a rotating mirror scanning bar...
[08:53:56] <Horologium> one could make a laser display.
[08:54:35] <creep> that is some supercool lasermirror that used to spin in those
[08:55:12] <creep> and it has hardcore astigmatism correction lens
[08:58:22] <theBear> hmm, did someone just say laser scanner or laser scope ?
[08:59:24] <theBear> those assemblies are usually pretty good... from memory i could usually manage to get the builtin/integrated/pcb 3 phase motors to ramp up to about 16krpm without even needing feedback
[09:01:05] <creep> just hook it up to a bldc controller i think
[09:01:21] <creep> that way it won't melt down
[09:03:08] <creep> haha http://www.atmel.com/products/microcontrollers/avr/default.aspx
[09:03:25] <creep> now they advertise against pic "Performance, Efficiency and Flexibility Advantage Over PIC Microcontrollers"
[09:05:16] <theBear> oooh, that's asking for trouble... it's one thing making a good product, it's never a good idea to suggest it beats the competitor tho
[09:06:47] <Tom_itx> C wars!
[09:07:41] <creep> what do you think of these new things?http://www.atmel.com/devices/AT32UC3L016.aspx
[09:07:47] <creep> http://www.atmel.com/devices/AT32UC3L016.aspx
[09:08:08] <creep> 1.5MIPS /MHz
[09:09:31] <Tom_itx> do they do 'touchless' sensing and vision tracking?
[09:10:09] <creep> every of them can "touchless sense" i think
[09:11:13] <creep> measuring a capacitance is no task even for a 8051
[09:12:04] <Tom_itx> soon the galaxy VI will do brainwave monitoring
[09:12:24] <creep> yes, google is up to that probably
[09:12:37] <creep> and extracting your thoughts and sell them to advertisers
[09:12:58] <Tom_itx> i've a thought for them ;D
[09:13:28] <creep> you are worth about $0.01 for google :)
[09:14:11] <creep> though it may prefer to sell your private data every month
[09:17:09] <creep> Tom_itx<< what is the big deal with capacitive sensing?
[09:17:19] <creep> flip pin, measure time
[09:17:36] <creep> integrate, threshold, add hysteresis
[11:11:12] <rue_house> creep, I have code to measure light using an led with capacitance if you like
[11:13:11] <creep> time taken for the led reverse current to change the state of the tristated input pin?
[11:14:02] <creep> that could sense proximity too :)
[11:14:10] <creep> led as touchbutton.
[11:14:39] <creep> it even glows in the dark
[11:14:43] <rue_house> I did it as light
[11:14:49] <rue_house> !assist tutorials
[11:14:49] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/tutorials
[11:15:16] <rue_house> http://eds.dyndns.org/~ircjunk/tutorials/elex/ledsensor/ledsensor.html
[11:16:24] <creep> does this work for visible light too?
[11:16:27] <creep> or just IR ?
[11:16:39] <creep> IR sensors are crap for twilight switch
[11:21:51] <Malinuss> that link - why in the world isn't he just using his fingers?!
[11:22:33] <rue_house> that code is for visable
[11:22:49] <rue_house> Malinuss, cause robots are more cool
[11:26:30] <r00t^home> Malinuss: he's really an alien and doesn't actually _have_ hands... but doesn't want us to find out!
[11:26:55] <Malinuss> r00t^home, I suspected as much
[11:27:03] <creep> :)
[11:31:40] <rue_house> its a neat project you should try it out
[11:33:33] <Malinuss> which one?
[11:34:27] <rue_house> the light sensitive led
[11:34:43] <rue_house> I bet once you get it working you can modify it to detect capacitive touch
[11:36:04] <rue_house> I'd love to see if successfully modified
[11:36:27] <rue_house> the code has a lot of gain/constrast range settings
[11:37:03] <rue_house> some leds were taking almost 1/4sec to discharge
[11:40:39] <Malinuss> rue_bed, I like your programmer ;)... also I don't get it, so how does light influence the capacitance again?
[11:41:16] <Malinuss> rue_house, ^
[11:52:16] <rue_shop2> when light falls on a led the non-insulating region of the led (reverse biased) gets smaller
[11:52:46] <rue_shop2> same way that varicaps work, but not using dc bias
[12:09:53] <r00t^home> Malinuss: the ATA one?
[12:09:59] <r00t^home> ( http://eds.dyndns.org/~ircjunk/tutorials/elex/ata2isp/main.html )
[12:13:03] <rue_shop2> heh, any ata works
[12:13:12] <rue_shop2> welcome to the isa bus :)
[12:15:36] <r00t^home> sick stuff... http://eds.dyndns.org/~ircjunk/tutorials/elex/solderpot/main.html
[12:20:30] <r00t^home> you have an error here: "because of the extra .383 turns", should be .28 : http://eds.dyndns.org/~ircjunk/tutorials/elex/smps/dcdc.html
[12:21:40] <r00t^home> could also mention the name of the osc circuit or just link to http://en.wikipedia.org/wiki/Multivibrator#Astable_multivibrator
[12:23:04] <creep> r00t^home<< it has hands but with probably 3 fingers and blue or green skin
[12:25:16] <creep> r00t^home<< i did capacitive pushbutton usin a piece of copper on a pcb
[12:25:29] <r00t^home> i didn't ask about that
[12:25:35] <creep> a led would just need larger precision
[12:25:48] <creep> bewcause of the smaller capacitance
[12:26:11] <creep> oh sry
[12:26:21] <creep> it was rue_house
[12:27:01] <rue_shop2> up to .25 seconds to discharge!
[12:27:19] <creep> :)
[12:27:24] <rue_shop2> the dcdc page kinda went into the ground
[12:27:25] <creep> epoxy is good insulator
[12:32:18] <kdehl> Man, I love ebay.
[12:33:51] <r00t^home> ?
[12:34:15] <kdehl> Cheap stuff.
[12:34:28] <r00t^home> china or auctions?
[12:34:39] <kdehl> China.
[12:34:40] <kdehl> :)
[12:34:50] <kdehl> Auctions are seldom cheap, imho.
[12:35:14] <kdehl> 10 x 74HC595 shift register, $2 including shipping to Europe.
[12:35:30] <r00t^home> the ideal (for the seller) auction is not cheap... but you get lucky sometimes...
[12:35:33] <kdehl> Sure you'll have to wait two weeks for it, but I can live with that.
[12:35:39] <kdehl> True.
[12:35:45] <r00t^home> two weeks? more like four
[12:35:56] <r00t^home> two weeks is airmail
[12:35:58] <kdehl> No, usually two, I think. From Hong Kong.
[12:36:12] <kdehl> Oh yeah, you're right. I've probably done airmail before.
[12:36:18] <kdehl> Whatever. I can live with that.
[12:36:41] <kdehl> I seldom do. Get lucky, that is. But if there's something I really want to buy, I'm prepared to pay for it.
[12:36:54] <r00t^home> i am always shocked when i hear people buy stuff tht they could get for 1/3rd or less on ebay...
[12:37:06] <kdehl> But when it comes to ICs, of course I go for the cheapest possible. Which is China.
[12:37:10] <kdehl> Yeah really.
[12:37:33] <kdehl> I'm ashamed of myself for not checking ebay before I bougt a bunch of things from a local internet site.
[12:38:06] <r00t^home> yesterday somebody told be he bought an arduino for 30eur because shipping was free... and i told him, 11eur from china... shipping included...
[12:38:15] <kdehl> Haha. Yeah.
[12:38:40] <r00t^home> and if you feel like it, you can still donate parts of the savings to the arduino project ;)
[12:38:49] <kdehl> Last week I ordered a 4x40 alphanumeric LCD from China. About $30. I paid _more_ than that for a 2x20 LCD locally only a few weeks ago. Shame on me.
[12:38:52] <kdehl> Hehe.
[12:39:12] <kdehl> What is Arduino though? Is it just a development board to make it easier to get started with AVRs?
[12:39:19] <r00t^home> $30 seems expensive for an lcd...
[12:39:35] <r00t^home> kdehl: yes, i wouldn't encourage people to buy such nonsense
[12:39:35] <kdehl> Was the cheapest I could find for that model.
[12:40:02] <r00t^home> i mean, for $30 you can get a tft that is larger...
[12:40:29] <kdehl> Ah. No, I think there's a point to it. If people are scared to get started with it, and there's a way to overcome that fear by purchasing a nice little dev board, I think it's a good thing.
[12:40:45] <kdehl> That said, I wouldn't buy it. But I've already started. :)
[12:40:51] <kdehl> Yeah, lemme check.
[12:41:11] <kdehl> http://www.ebay.com/itm/190370642701?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
[12:41:28] <kdehl> I couldn't find any cheaper than that.
[12:41:51] <kdehl> Oh fuck.
[12:42:07] <r00t^home> paid too much? ;)
[12:42:17] <kdehl> Uh-huh. Guess I didn't search thoroughly.
[12:42:39] <r00t^home> 40x4 lcd => finds a cheaper one ;)
[12:42:51] <r00t^home> $25.89 is still too mich for an lcd tho'
[12:43:17] <r00t^home> 20x4 is $7... just get two of that ;)
[12:43:32] <kdehl> Heh. No, I really wanted a 4x40.
[12:43:50] <kdehl> Actually I read it wrong. I really can't find a cheaper one.
[12:44:03] <kdehl> http://www.ebay.com/itm/4x40-CHARACTER-LCD-LED-BACKLIGHT-RS232-SERIAL-INPUT-8051-SRAM-EEPROM-/271170784829?pt=LH_DefaultDomain_0&hash=item3f2309ce3d
[12:44:14] <kdehl> That one is $20, but it has a serial interface.
[12:44:29] <r00t^home> serial is actually better, no?
[12:44:30] <kdehl> Oh. Heh. And the shipping wasn't free either: $17!
[12:44:38] <kdehl> I wanted parallel.
[12:45:02] <r00t^home> that is a parallel one with a serial interface board... could just remove that and use it elsewhere
[12:45:56] <kdehl> Still more expensive.
[12:46:08] <r00t^home> your fault you missed the shipping
[12:46:13] <r00t^home> always sort by price+shipping
[12:46:48] <kdehl> The one I bought was $30 including shipping.
[12:46:59] <Malinuss> seriously just buy a full-blown LCD instead of a characted LCD. much much cheaper...
[12:47:08] <r00t^home> there's one for $25.89 including shipping
[12:47:46] <kdehl> r00t^home: url?
[12:47:59] <kdehl> Malinuss: I did that too. But I wanted both.
[12:48:06] <Malinuss> 5$ http://www.ebay.com/itm/1-8-Serial-TFT-Color-LCD-Display-Module-With-SPI-Interface-5-IO-Ports-128X160-/360564811381?pt=LH_DefaultDomain_0&hash=item53f3566675
[12:48:27] <r00t^home> wow... i don't think you want this serial to lcd interface: http://i.ebayimg.com/t/4x40-CHARACTER-LCD-LED-BACKLIGHT-RS232-SERIAL-INPUT-8051-SRAM-EEPROM-/00/s/NTc1WDE2MDA=/$%28KGrHqZHJFMFCg8cI6yfBQvinrS8e!~~60_57.JPG
[12:48:44] <OndraSter_> lol
[12:48:45] <OndraSter_> nice
[12:48:48] <Malinuss> or this kdehl (on a breakout board): http://www.ebay.com/itm/1-8-Serial-SPI-TFT-LCD-Module-Display-PCB-Adapter-Power-IC-SD-Socket-128X160-/370677580907?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item564e1b046b
[12:49:03] <OndraSter_> r00t^home, looks like using old stocks
[12:49:06] <OndraSter_> very old stocks :D
[12:49:11] <r00t^home> Malinuss: but those displays are tiny
[12:49:17] <kdehl> Malinuss: Is that one of those Nokia screens?
[12:49:25] <Malinuss> kdehl, no
[12:49:27] <kdehl> I did actually order two of those too.
[12:49:29] <kdehl> Oh.
[12:49:38] <kdehl> Same size, same resolution.
[12:49:59] <Malinuss> 1.8" isn't tiny, I think
[12:50:08] <OndraSter_> it is
[12:50:13] <kdehl> Depends on what you're going to do.
[12:50:15] <OndraSter_> regular phones have got 4" and up
[12:50:28] <Malinuss> OndraSter_, "regular" = current gen smartphones?
[12:50:32] <kdehl> I had a reason getting those 4x40 character ones too.
[12:50:44] <Malinuss> found this "big" one: http://www.ebay.com/itm/New-2-8-Inch-240-x-320-DOTS-Touch-TFT-LCD-Display-Module-SPI-Interface-ILI9320-/310610762220?pt=LH_DefaultDomain_0&hash=item4851d819ec
[12:50:51] <OndraSter_> Malinuss, aye
[12:51:21] <Malinuss> 2.8" 240x320, and touch... for 14$, not bad
[12:52:23] <r00t^home> f*ck... that's an intel microcontroller, s-ram, and an atmel... otp eprom
[12:52:31] <kdehl> Nice!
[12:52:43] <kdehl> But those 40 pins scare me a bit.
[12:53:08] <r00t^home> the spi on the other side looks nice
[12:53:10] <Malinuss> kdehl, no need to use the touch or SD, if you don't want to
[12:53:47] <kdehl> Yeah, I liked the SPI.
[12:53:52] <kdehl> Malinuss: SD?
[12:54:03] <r00t^home> sd slot on underside
[12:54:19] <Malinuss> yeah there is a sd card slot mounted on that board
[12:54:20] <r00t^home> wait, is the spi for the display or the sd slot? is there a datasheet? sample code? ;)
[12:54:28] <kdehl> Oh, is that what the gigant connector is for?
[12:54:32] <r00t^home> no
[12:54:36] <r00t^home> sd is serial
[12:55:02] <kdehl> r00t^home: http://www.displayfuture.com/Display/datasheet/controller/ILI9320.pdf
[12:55:08] <r00t^home> the connetor seems to be a 16-bit parallel data interface from the labels
[12:55:15] <kdehl> Malinuss: Sorry, htat link was for you. :)
[12:55:27] <kdehl> r00t^home: Well, and you too.
[12:55:44] <r00t^home> i'll order one i think :D
[12:55:57] <Malinuss> same thing with all pinouts, with no SD card: http://www.ebay.com/itm/2-8-inch-320x240-Touch-TFT-LCD-Display-Module-SPI-Interface-ILI9320-/181008290930?pt=LH_DefaultDomain_0&hash=item2a24ef5472
[12:56:06] <r00t^home> no shipping to germany :(
[12:56:39] <r00t^home> that one ships to germany
[12:56:42] <r00t^home> so no sd for me :(
[12:57:12] <kdehl> Aww. Some German didn't pay, so they banned the whole country, huh.
[12:57:18] <Malinuss> r00t^home, this one should ship: http://www.ebay.com/itm/New-2-8-Inch-240-x-320-DOTS-Touch-TFT-LCD-Display-Module-SPI-Interface-ILI9320-/271171541744?pt=LH_DefaultDomain_0&hash=item3f23155af0
[12:57:39] <r00t^home> you CAN NOT not pay on ebay really...
[12:57:53] <r00t^home> Malinuss: no
[12:58:03] <r00t^home> Excludes: APO/FPO, Central America and Caribbean, South America, Bermuda, Greenland, Mexico, Saint Pierre and Miquelon, Albania, Andorra, Austria, Bosnia and Herzegovina, Germany, Gibraltar, Guernsey, Iceland, Ireland, Italy, Jersey, Liechtenstein, Luxembourg, Macedonia, Moldova, Monaco, Montenegro, San Marino, Serbia, Svalbard and Jan Mayen, United Kingdom, Vatican City State, Algeria, Angola, Benin, Botswana, Burkina Faso, Burundi, Cameroo
[12:58:03] <r00t^home> e Verde Islands, Central African Republic, Chad, Comoros, Congo, Democratic Republic of the, Congo, Republic of the, Cte d'Ivoire (Ivory Coast), Djibouti, Egypt, Equatorial Guinea, Eritrea, Ethiopia, Gabon Republic, Gambia, Ghana, Guinea, Guinea-Bissau, Kenya, Lesotho, Liberia, Libya, Madagascar, Malawi, Mali, Mauritania, Mauritius, Mayotte, Morocco, Mozambique, Namibia, Niger, Nigeria, Reunion, Rwanda, Saint Helena, Senegal, Seychelles, Sie
[12:58:04] <Malinuss> r00t^home, haha what?
[12:58:04] <r00t^home> one, Somalia, Swaziland, Tanzania, Togo, Tunisia, Uganda, Western Sahara, Zambia, Zimbabwe, Brunei Darussalam, Cambodia, Hong Kong, Laos, Macau, Taiwan, Vietnam, Afghanistan, Armenia, Bangladesh, Bhutan, China, Georgia, India, Japan, Kyrgyzstan, Maldives, Mongolia, Nepal, Pakistan, Tajikistan, Turkmenistan, Uzbekistan, Bahrain, Iraq, Jordan, Kuwait, Lebanon, Oman, Qatar, United Arab Emirates, Yemen, American Samoa, Cook Islands, Fiji, French
[12:58:09] <r00t^home> sia, Guam, Kiribati, Marshall Islands, Micronesia, Nauru, New Caledonia, Niue, Palau, Papua New Guinea, Solomon Islands, Tonga, Tuvalu, Vanuatu, Wallis and Futuna, Western Samoa
[12:58:14] <r00t^home> (sorry)
[12:58:26] <r00t^home> " This seller does not ship to Germany "
[12:58:28] <kdehl> Hehe. Oops.
[12:58:34] <Malinuss> r00t^home, ships to denmark allright ;D
[12:59:14] <kdehl> Man. I love these toys.
[12:59:24] <r00t^home> ordered.
[12:59:29] <kdehl> Haha.
[12:59:52] <kdehl> Any ideas of what to do with it?
[12:59:59] <r00t^home> DISPLAY STUFF
[13:00:19] <kdehl> Good idea.
[13:11:12] <kdehl> Those super-cheap < $3 programmers, do they support the more powerful controllers, such as 1284p?
[13:25:28] <creep> theBear<< http://en.wikipedia.org/wiki/Black_body_radiation :)
[13:26:05] <r00t^home> kdehl: they support ISP programming...
[13:26:45] <r00t^home> device has isp -> device can be programmed
[13:28:52] <xelion> r00t^home: device supports ISP, it doesn't "have" ISP;)
[13:30:46] <kdehl> r00t^home: Gotcha.
[13:30:48] * kdehl orders
[13:30:56] <kdehl> And it's all compatible with avrdude?
[13:31:06] <kdehl> http://www.ebay.com/itm/1PCS-AVR-Programmer-USB-USBasp-USBISP-3-3V-5V-ATMEGA8-New-/370778943782?pt=LH_DefaultDomain_0&hash=item565425b126
[13:31:10] <kdehl> That one, for instance?
[13:33:01] <xelion> I bought this one: http://viewitem.eim.ebay.dk/Sparset-USB-ISPProgrammer--Adapter-fr-ATMEL-AVR-RISC-DIL-Controller/271047382370/item
[13:33:11] <xelion> highly recommended!
[13:33:42] <kdehl> Ouch. Too expensive.
[13:33:54] <kdehl> I'm thinking of this:
[13:33:55] <kdehl> http://www.ebay.com/itm/1PCS-AVR-Programmer-USB-USBasp-USBISP-3-3V-5V-ATMEGA8-New-/370778943782?pt=LH_DefaultDomain_0&hash=item565425b126
[13:34:15] <kdehl> If it doesn't work, I'll survive without my $2.65.
[13:34:33] <kdehl> No wait, screw that. It was an auction.
[13:34:40] <kdehl> http://www.ebay.com/itm/New-1pc-USB-ISP-Programmer-For-ATMEL-AVR-ATMega-ATTiny-51-Development-Board-/380593928161?pt=AU_B_I_Electrical_Test_Equipment&hash=item589d2a77e1,
[13:34:43] <kdehl> http://www.ebay.com/itm/New-1pc-USB-ISP-Programmer-For-ATMEL-AVR-ATMega-ATTiny-51-Development-Board-/380593928161?pt=AU_B_I_Electrical_Test_Equipment&hash=item589d2a77e1
[13:34:46] <kdehl> That one is better.
[13:36:10] * kdehl ordered
[13:38:33] <kdehl> Okay, enough shopping for today.
[13:45:57] <creep> http://athena-positrons.web.cern.ch/ATHENA-positrons/wwwathena/FAQ.html
[13:45:58] <creep> :)
[13:46:08] <r00t^home> i only recomment against the board with the chip mounted at 45deg angle... it does not have a selfpgm or vtarget jumper
[13:48:31] <r00t^home> " 2) Can antimatter be used for energy storage? " is lacking an important point... antimatter can't be stored in containers made of matter ;)
[13:48:32] <Malinuss> kdehl, I think many in here would recomend the programmer Tom_itx is selling
[13:48:45] <r00t^home> Malinuss: is it cheaper than $3?
[13:48:51] <Malinuss> r00t^home, no
[13:48:54] <Malinuss> hahaa
[13:49:18] <Malinuss> r00t^home, but you can't really compare those ;P
[13:51:29] <r00t^home> let me guess... both program AVRs?
[13:57:01] <tinygear> Hi all. I need some help understanding servo control with an AVR (say, ATmega328). I understand it only has three timers. Does this mean I can only control three servos? I am making a robot with 2 DC motors (both require PWM) and 8 servos. Is this possible with the 328?
[13:57:55] <creep> pwm is simple pulse width modulation, on and off time ratio is controlled
[13:58:48] <creep> but RC servos need 1-2ms control pulses, not pwm
[13:59:01] <creep> at 50Hz
[13:59:17] <rue_house> tinygear, the pulses are not intensive, an avr can control quite a few of them if you know what your doing
[13:59:24] <rue_house> !assist tutorials
[14:00:03] <tinygear> Great. Any tuts out there?
[14:00:19] <rue_house> one minute
[14:00:30] <rue_house> I made a good one for understanding them
[14:01:06] <rue_house> http://eds.dyndns.org/~ircjunk/tutorials/elex/hobbyservo/servo101.html
[14:01:20] <rue_house> see what that leaves you wanting to know and tell me :)
[14:01:54] <rue_house> I assume you meant hobby servos
[14:02:27] <tinygear> I think I actually went through that page not too long ago! Nice tut! So I understand how servos work, but I need to know how to control multiple servos.
[14:02:40] <rue_house> with an avr?
[14:02:53] <rue_house> do you know of the prycon lib?
[14:02:53] <tinygear> Yep
[14:02:57] <tinygear> Nope
[14:03:23] <rue_house> http://www.procyonengineering.com/embedded/avr/avrlib/
[14:03:28] <tinygear> Looking into it now
[14:03:37] <rue_house> the servo control code in that is a bit jittery, but will basically work
[14:04:40] <tinygear> Nice! Looks really cool, I will check it out now.
[14:04:54] <tinygear> It has PWM too, so it should make my dc motor control easy to implement as well
[14:05:38] <tinygear> I kind of feel like I'm cheating though, if I don't know how things are working exactly, but using pre-written code may be very helpful right now because I am on a short timeline :)
[14:06:19] <rue_house> you could code it easy enough, its been done a million times
[14:06:30] <rue_house> if your into the learning excersize go for it!
[14:06:46] <rue_house> __________________------_________________________------________________________-------________________________-------__________
[14:06:54] <tinygear> rue_house: I'll see, thanks!
[14:09:40] <rue_house> how are you at coding C?
[14:11:55] <rue_house> tinygear,
[14:11:57] <rue_house> ?
[14:22:07] <Malinuss> tinygear, I'm afraid you are only going to be abel to control 6 servos with pwm, since that is the number pwm channels the 328 has, at least using hardware. so you will need to control the last two and the DC motors doing some "software pwm"..
[14:22:52] <rue_house> not true
[14:23:19] <rue_house> there are lots of crafty ways of doing it
[14:23:20] <Malinuss> rue_house, oh you are right
[14:23:37] <Malinuss> rue_house, well yeah in software
[14:24:08] <rue_house> PORTB>>=1
[14:24:11] <rue_house> ;
[14:24:20] <Malinuss> rue_house, but fast pwm is just what I find the easiest way to control a servo
[14:24:22] <rue_house> <<= even
[14:24:59] <rue_house> I want to write some hobby servo control code, I worked out an idea to get about 14 bits resolution
[14:25:24] <rue_house> and control up to 10 servo's / timer
[14:25:58] <Malinuss> rue_house, yeah never said it was impossible, you can control 1000 servos with one timer....
[14:26:33] <kdehl> Malinuss: Which one is that?
[14:29:07] <Malinuss> kdehl, whichever, noone said they had to be controlled indivudually, or at the same time, hehe
[14:32:42] <kdehl> Malinuss: No, heh. I meant the programmer Tom_itx was selling. :)
[14:33:44] <Malinuss> kdehl, the one everyone is using ;P
[14:34:50] <Malinuss> kdehl, http://tom-itx.dyndns.org:81/~webpage/commerce/commerce_index.php
[14:39:28] <kdehl> Everyone, huh!
[14:40:07] <kdehl> Can it do debugging? Like single-instruction stepping?
[14:41:43] <Malinuss> no
[14:42:22] <Malinuss> this is the same thing as the atmel MKII programmer, just not orginal
[14:43:12] <Horologium> it is a programmer, not an emulator/debugger interface.
[14:43:51] <kdehl> A, right.
[14:43:53] <kdehl> *Ah
[14:50:14] <Tom_itx> somebody said that was a decent programmer
[14:52:36] <Tom_itx> i think i've used one once
[14:55:34] <tinygear> Sorry guys, had gone for lunch. So before I try procyon, I want to try and write the code myself. Can anyone tell me with certainty that I can control 6 servos and 2 DC motors (which require PWM, probably phase correct) with a 328? Thanks a lot!
[14:56:20] <Horologium> rue_house, on that servo page,,,those two schematics at the bottom are really interesting...I might have to build one or two of those for controlling servos.
[14:56:51] <Horologium> tinygear, it can be done...whether YOU can do it is up to your skill and understanding level.
[14:57:35] <tinygear> Horologium: Of course, but for an intermediate AVR user, is it manageable? What is the easiest way to accomplish what I want?
[14:57:50] <Horologium> running that many servos, you probably don't want to run the chip at the factory default of 1MHz....while it can be done at that speed, running it at 8MHz or even clocked up to the full 20MHz with a crystal or external oscillator is best.
[14:58:14] <tinygear> I am currently using an external 16 Mhz crystal.
[14:58:42] <Malinuss> tinygear, in short: yes. longer: it will not be very simple but possible
[14:59:21] <Horologium> what I would do, for the servos, is to set 6 variables...an array or whatever...and set the position in them...8 bit resolution is probably sufficient....then have one timer running so it hits fast enough to turn on or off each of the 6 lines depending on those variables....
[15:00:00] <Horologium> like, turn them all on...then turn them off when you hit the right number...
[15:00:03] <Malinuss> ^that is a good idea
[15:00:12] <Horologium> that's how I've done it in the past.
[15:01:02] <Malinuss> I would sugest using a 16-bit timer and 16-bit resolution for the array too though...
[15:01:08] <Horologium> either way.
[15:01:08] <tinygear> Sounds a little like what I was thinking of doing, maybe it's the same. Let me explain what I was planning:
[15:01:16] <Horologium> as for the pwm...same thing applies..
[15:01:54] <Horologium> or you can use hardware PWM for those and not have to deal with it in software other than changing the PWM when you need to change speed of motor.
[15:03:04] <Horologium> there are many ways to do it.
[15:03:08] <tinygear> What is the difference between h/w and s/w PWM?
[15:03:23] <Horologium> hardware runs it pretty much in the background once it's running.
[15:03:37] <Horologium> with software you have to have some kind of timer interrupt running every so often to change things.
[15:03:49] <tinygear> Ok, so I suppose hardware would be easier to use
[15:03:51] <Horologium> hardware effectively gives you multitasking abilities.
[15:08:54] <tinygear> I'm watching this video on multiple servo control http://www.youtube.com/watch?v=dmjvHvw3Rc8&feature=player_embedded
[15:25:02] <tinygear> I am trying to use the procyon library, I used the windows installer, but I keep getting this error: main.c:3:19: error: servo.h: No such file or directory
[15:25:41] <tinygear> I know the files have been installed in my desired location, and I know the header files are there and all. I'm guessing the path is not set?
[15:25:50] <tinygear> I thought the installer does that.
[15:41:42] <r00t^home> tinygear: gotta suck when you need an installer to control the include-path of your compiler?
[15:42:28] <tinygear> r00t^home: Yeah, but I'm learning - sorry I'm pretty much a beginner. I'm just figuring out how to do it now.
[15:42:57] <r00t^home> normal people just pass the path to the include file to the compiler with the -I parameter
[15:56:17] <tinygear> I want to set the path so I don't have to direct the compiler everytime as per these instructions http://www.procyonengineering.com/embedded/avr/avrlib/docs/html/index.html
[16:14:00] <Horologium> actually, you set the home environment variable for it then no path needed.
[16:17:23] <Horologium> that is, if you use their makefiles.
[16:17:31] <Horologium> at least, on linux that's how it works..
[21:29:38] <DanFrederiksen> btw, regarding earlier questiom, atmega seems to prefer signals for the ADC with 10kOhm impedance or less for the sampling time to be 'negligible'. I guess I could get away with 100k then with some minor delay. unless the ADC starts producing garbage readings that way
[21:32:13] <DanFrederiksen> electronics is surprisingly complicated if you want to control all nuances. you can approach it like a buffoon and get away with it but if you want to really know what you are doing there are 5-10x more things to know. I blame all of you :)
[21:34:49] <Horologium> if you want to learn electronics I suggest ##electronics
[21:35:08] <Horologium> if you want to learn microcontrollers,,,,welllll....learn a little electronics.
[21:36:33] <tzanger> I haven't ever hung out in ##electronics
[21:49:07] <Tom_itx> Horologium, if you want to learn anything but electronics i suggest ##electronics
[21:49:23] <Tom_itx> i hear it's worse than ever
[23:08:46] <inflex> hiya Tom_itx
[23:09:54] <inflex> ja, doing microcontrollers without knowing electronics is "okaaaaayish" but when the issues start cropping up you really will be wanting to have genuine electronics know-how to pull you through; which is about 99.9% of the time.
[23:15:22] <Tom_itx> hey inflex
[23:50:40] <inflex> how's things going Tom_itx ?
[23:51:38] <Casper> inflex: do you know of a good regulated DC ups? all the one I see are unregulated... basically only a float battery charger
[23:52:05] <Casper> the only one I found is one at about 600$, and that openups (which is almost twice as powerfull and half the size)
[23:54:35] <inflex> Casper: just trying to think, you mean, basically standard supply, with fast-reacting diode + battery to kick in when the main supply drops, then post-regulated to a fixed voltage?
[23:54:57] <inflex> ( well, two diodes really, a pair of schotty's )
[23:55:25] <Casper> inflex: basically looking for a "black box" where you feed 120VAC, connect a battery and have 12V regulated out
[23:55:43] <Casper> I have some plan B... but the efficiency isn't that great
[23:57:40] <inflex> What sort of current levels?
[23:58:17] <Casper> by the labels: 50W (4A), I aim for like 75W or more
[23:59:07] <inflex> Well, if you go with 15V in off 120V, and have the battery at 13.8~14.4V, then a hefty linear-reg, it shouldn't be _too_ ba
[23:59:39] <inflex> 3W/Amp wasted on 120V, and 1.5~2.4W/Amp on battery.
[23:59:49] <Casper> my plan was to use a laptop psu, 90W