#avr | Logs for 2012-01-28

Back
[00:22:31] <ferdna> i need help
[00:22:41] <ferdna> how many volts are in 1 watt?
[00:32:07] <ziph> ferdna: They aren't the same quantity.
[00:33:01] <ferdna> ok thanks i will keep researching
[00:33:07] <ziph> ferdna: That's like saying for a 100 foot hill how much effort would it take to push an arbitrary sized rock up it.
[00:33:18] <ferdna> i get it
[00:33:53] <nevdull> ferdna: i think you can work it out if you have the other quantity, either current or resistance.
[00:34:08] <nevdull> P = IV or P = V2/R
[00:34:55] <ziph> Where I is the size of the rock. :)
[00:38:21] <ferdna> cool thanks =)
[00:50:25] <Sgt_Lemming> sigh, fucking real estate agent
[00:51:03] <ziph> Doing what? :)
[00:57:35] <Sgt_Lemming> ziph my office downstairs here flooded
[00:57:45] <Sgt_Lemming> it's now been 4 days and they have done basically nothing about it
[00:57:59] <Sgt_Lemming> and nothing is probably going to happen for probably another three days
[01:01:02] <ziph> Sgt_Lemming: What country are you in?
[01:03:04] <Sgt_Lemming> australia
[01:03:44] <ziph> In most states something like that has to be taken care of urgently.
[01:05:39] <theBear> if its realestate that qualifies as an emergency and you are perfectly within your rights to order ANY plumber and have them pay
[01:07:14] <Sgt_Lemming> theBear, it's not a plumbing issue
[01:07:21] <Sgt_Lemming> it's water coming up through the floor
[01:08:30] <theBear> whatever tradesperson(s) are able to fix it, and included in the staandard emergency clauses of leases in at least all the 4 major states, including i do believe your one
[01:08:49] <Sgt_Lemming> http://www.rta.qld.gov.au/en/Renting/During-a-tenancy/Maintenance-and-repairs/Emergency-repairs.aspx
[01:10:12] <theBear> that
[01:10:35] <Sgt_Lemming> I notified them immediately as soon as I noticed it
[01:10:45] <Sgt_Lemming> they have just been dragging their ass on doing anything major about it
[01:10:51] <theBear> that's a very short version of what should be on the lease you have handy in your house somewhere, which i am quite sure will specify something like 24hrs as a reasonable time for them to send tradespeople in an 'emergency'
[01:10:57] <Sgt_Lemming> they did send a plumber out on wednesday
[01:11:09] <Sgt_Lemming> the plumber said it's not a plumbing problem, like I had told them
[01:11:51] <theBear> check the lease, order someone... where is it coming from ? it's probly a council/waterboard fi
[01:11:52] <theBear> x
[01:12:18] <Sgt_Lemming> it's not from a water pipe, it's coming under the wall in the rooms that have subsurface floors
[01:12:22] <Sgt_Lemming> it's a building issue
[01:12:47] <theBear> you don't get sudden flooding from a leakey building, it'd be fairly permanent
[01:12:58] <theBear> there's too much water outside for some reason
[01:13:52] <Sgt_Lemming> the gutter on that side of the house is leaking, that's the root cause of the issue, but it appears the waterproof membrane on that side of the house has failed
[01:14:32] <Sgt_Lemming> the ONLY place that water can be coming from is under the floor, so through the gap between wall and slab most likely
[02:14:43] <BrentBXR_> sup
[02:14:49] <BrentBXR_> lets talk AVR
[02:14:57] <BrentBXR_> im drunk
[02:22:44] <poptire> man
[02:22:50] <poptire> i just finished being drunk
[02:25:40] <BrentBXR_> newb
[02:28:06] <poptire> no u
[02:32:46] <BrentBXR_> no u
[02:36:13] <annath> Okay, so I am playing with arduino serial communications. I haven't been having too much trouble, until now at least. I am attempting to communcate with a module designed to read capacitance values and transmit them serially. (The module in a DN060-02v04 from JYETech if that helps). It's supposed to transmit a series of bytes that should correspond to ascii characters at 38400bps, in 8-n-1 format, 5V. The data I am getting bac
[02:36:13] <annath> k, however, doesn't seem to correspond to anything. I'm using SoftwareSerial to read the data. Arduino is an UNO and I'm using the IDE version 1.0 on ubuntu 11.10. Source code is here: http://pastebin.com/xccgZ2B5
[02:36:20] <annath> Also, info on the module is here: http://dl.dropbox.com/u/1574782/Capacitance_Meter_Kit.pdf
[02:36:35] <annath> I asked in #arduino and they directed me here
[02:37:14] <BrentBXR_> i didnt read any of that shit
[02:37:23] <BrentBXR_> but arduino sucks balls
[02:37:28] <BrentBXR_> learn to code
[02:38:10] <Kevin`> annath: is the software serial driver capale of 38400?
[02:38:20] <Kevin`> especially with arduino code handling every byte
[02:38:37] <annath> I assumed so, but that is something to look into. I'll go find that out.
[02:38:46] <BrentBXR_> yeah arduino is for newbs who cant code; and want there daddy to do there work for them.
[02:39:14] <Kevin`> annath: it might be better to use one of the hardware uarts for the device, and a software one (or another hardware one if you have two) for the console
[02:39:22] <BrentBXR_> looking at each others dicks in the bathtube
[02:39:45] <BrentBXR_> yeah i said bathtube
[02:40:24] <annath> I keep having problems trying to use the UART, it always makes the arduino fail to upload code when I have something connected to it. o_O
[02:40:33] <BrentBXR_> annath
[02:40:39] <BrentBXR_> i will stop sucking around
[02:40:42] <BrentBXR_> lol sucking
[02:40:45] <BrentBXR_> fucking*
[02:40:49] <BrentBXR_> i do hate arduino
[02:40:51] <BrentBXR_> thats simple
[02:41:05] <BrentBXR_> you are using an atmega with 1 hardware uart
[02:41:07] <Kevin`> annath: probably because they are both sending data at the same time, don't let that happen if you want to program it over that uart
[02:41:10] <BrentBXR_> thus you are using the uart
[02:41:21] <BrentBXR_> witch ardunio needs to upload its data
[02:41:27] <BrentBXR_> your filling the internet tubes
[02:42:03] <BrentBXR_> cloging that shit
[02:42:11] <BrentBXR_> with your bullshit :3
[02:42:42] <BrentBXR_> annath, stop being such a newb and code the atmega as its supposed to be
[02:42:48] <BrentBXR_> why use arduino?
[02:43:10] <Kevin`> BrentBXR_: can I see an example of your code?
[02:43:17] <BrentBXR_> sure
[02:43:22] <BrentBXR_> what u wanna see
[02:43:33] <Kevin`> whatever's cool
[02:43:44] <BrentBXR_> sure
[02:43:47] <BrentBXR_> heard of the BP?
[02:44:05] <annath> you're right kevin, I didn't even think about that. I'll try the hardware UART with it and see if it works any better, although according to http://arduino.cc/hu/Reference/SoftwareSerial the SoftwareSerial library is capable of up to 115200 bps so I don't think that's the issue
[02:44:15] <Kevin`> probably, but you are being somewhat ambiguous by shortening the name
[02:44:32] <BrentBXR_> bus pirate*
[02:45:03] <Kevin`> annath: you probably need an interrupt driven reading of the software serial. if you have delays when you aren't capable of reading you might miss data
[02:45:03] <BrentBXR_> annath
[02:45:12] <BrentBXR_> what do you mean by 'connected to it'
[02:45:16] <Kevin`> yes, I have one of those bus pirate things
[02:45:17] <BrentBXR_> thats the real ?
[02:45:26] <BrentBXR_> kevin no
[02:45:51] <BrentBXR_> hes saying the arduno fails to load code when i have X connected to it
[02:45:55] <BrentBXR_> wtf does that mean
[02:45:57] <Kevin`> annath: ah, the library has it's own buffer
[02:47:25] <BrentBXR_> do you literally have a peice of hardware connected to your arduino whatever the fuck they call them these days
[02:47:28] <BrentBXR_> are it fails?
[02:47:58] <BrentBXR_> does it work when the ardunio whatever is not connected?
[02:48:24] <Kevin`> what about the bp?
[02:48:46] <BrentBXR_> you wanted my code
[02:48:53] <BrentBXR_> its not all mine
[02:49:13] <BrentBXR_> are you interested in PIC UJSB stacks?
[02:49:26] <BrentBXR_> what about the new 1wire librarys?
[02:49:30] <BrentBXR_> what version of BP
[02:49:31] <BrentBXR_> ?
[02:49:46] <Kevin`> 3
[02:49:59] <BrentBXR_> what firm?
[02:50:09] <Kevin`> dunno
[02:50:10] <BrentBXR_> doesnt matter
[02:50:20] <BrentBXR_> how often do you use it?
[02:51:14] <Kevin`> fairly rarely, it's there to support a protocol when nothing more optimal is available or for testing. tons of software support for it
[02:51:43] <BrentBXR_> sounds about right
[02:52:14] <BrentBXR_> shit half v4 is mine and i havent touched it in weeks
[02:52:27] <BrentBXR_> let alone v3 (tho same firmware)
[02:52:38] <BrentBXR_> so Kevin`
[02:52:40] <BrentBXR_> what about u
[02:53:10] <Kevin`> what about?
[02:53:18] <Kevin`> do you have anything neat that you were the sole developer on?
[02:53:54] <BrentBXR_> yep.
[02:53:59] <BrentBXR_> what about yourself?
[02:54:11] <Kevin`> I suppose
[02:54:15] <BrentBXR_> lets see it
[02:54:44] <BrentBXR_> :/
[02:54:46] <Kevin`> *shrug*. let me go find something
[02:54:51] <BrentBXR_> k
[02:54:54] <BrentBXR_> take your time
[02:55:17] <BrentBXR_> why are we fucking with this bullshit?
[02:55:25] <BrentBXR_> i honestly dont care
[02:55:41] <BrentBXR_> nothing you have done in your whole life has ever affected me
[02:55:44] <Kevin`> oh, because I suspect you can't actually do anything, most people who can aren't so hostile
[02:55:57] <BrentBXR_> so i could care less
[02:56:03] <BrentBXR_> im not hostile
[02:56:13] <BrentBXR_> all i did was disagree
[02:56:26] <Kevin`> disagree with what?
[02:56:32] <BrentBXR_> annath shit
[02:56:48] <Kevin`> have you ever used arduino?
[02:56:54] <BrentBXR_> nope.
[02:57:00] <BrentBXR_> but i still hate it.
[02:57:13] <BrentBXR_> shit
[02:57:18] <BrentBXR_> u make a good point
[02:57:29] <BrentBXR_> right off the bat
[02:57:33] <BrentBXR_> hmm
[02:57:51] <Essobi> Trolling is an art.
[02:58:11] <BrentBXR_> suck mah balls
[02:58:40] <BrentBXR_> :D
[02:58:56] <Essobi> One which you do not possess, young Jedi.
[02:59:21] <Kevin`> BrentBXR_: http://kwzs.be/~kevin/irctl.tbz2 - this was kinda fun. simple but useful
[02:59:25] <BrentBXR_> fuck yourself nerd,
[02:59:39] <BrentBXR_> http://adventuresofpower.com/
[02:59:43] <BrentBXR_> wtf is that shit?
[03:01:23] <BrentBXR_> kevin waht is
[03:02:08] <Essobi> BrentBXR_: ... well guessing by the file name, I'd sad it's some infra-red controller..
[03:02:12] <Essobi> *say
[03:02:35] <BrentBXR_> so?
[03:02:43] <BrentBXR_> continue
[03:02:45] <BrentBXR_> what is it?
[03:03:22] <BrentBXR_> its not an ir controller designed by 'kevin'
[03:03:32] <BrentBXR_> as the IR routines are designed by 'Mauro'
[03:03:38] <BrentBXR_> so waht is it?
[03:03:40] <Kevin`> BrentBXR_: infared decoder that controls the volume on an old analog receiver and a computer's power button
[03:04:26] <Kevin`> writing ir routines myself is a waste of time when I can just make linux code run instead. like all those people who write in asm. waste of time =p
[03:04:30] <BrentBXR_> so you took someones code and made it adjust volume?
[03:04:54] <Kevin`> yep
[03:05:01] <BrentBXR_> what else you got.
[03:05:05] <Kevin`> I also took a lot of code from libc
[03:05:15] <BrentBXR_> thats cool?
[03:05:16] <Kevin`> and I used a compiler instead of writing the opcodes by hand
[03:05:28] <Kevin`> nah, it's your turn
[03:05:31] <BrentBXR_> im not trying to start sheet
[03:05:33] <BrentBXR_> shit
[03:06:05] <Essobi> *SHRUG*
[03:06:08] <BrentBXR_> infact im still confused as to what happen to annath
[03:06:13] <Essobi> He's some CMOS dude.
[03:06:21] <BrentBXR_> lol Essobi
[03:06:24] <Essobi> He knows his shit.
[03:06:30] <BrentBXR_> your the only one left that has not shown shit
[03:06:34] <BrentBXR_> lets see it.
[03:06:34] <Essobi> But still.. no reason to pick on the newbs.
[03:06:51] <Essobi> *shrug* I play with AVRs as a hobby. :D
[03:06:56] <BrentBXR_> and?
[03:07:00] <Kevin`> Essobi: I doubt that. it didn't even sound like he understood what the problem was
[03:07:21] <Essobi> Ah what? I write C code. It's fucking C. Not to terribly hard.
[03:07:36] <BrentBXR_> Essobi, what do we write code in?
[03:07:41] <BrentBXR_> gods language?
[03:07:54] <Essobi> Kevin`: Sorry, but he asked a question and brent straight busted out, TL;DR, UR PLATFORM SUCKS, AND YOU CANT CODE.
[03:08:21] <Kevin`> Essobi: I meant BrentBXR_ sounded like he didn't understand the problem
[03:08:22] <Essobi> Just saying.. we don't generally treat folks liek that around here.
[03:08:29] <Essobi> Ah.
[03:08:33] <Essobi> I see.
[03:08:41] <BrentBXR_> im very confused at this point
[03:08:57] <BrentBXR_> all i saw Essobi talking shit half way in the convo
[03:09:02] <BrentBXR_> and not backing it up
[03:09:17] <Essobi> Excuse me? I said you were trolling.
[03:09:23] <BrentBXR_> and me and Kevin` apparently split on a differnt situation from annath
[03:09:30] <BrentBXR_> which we have not heard an awnser from
[03:09:51] <Kevin`> he's probably off coding or something, who cares
[03:09:57] <BrentBXR_> lol true
[03:10:13] <Essobi> I didn't read none of that shit.. I thought you two were bickering over giving annath shit. *shrug*
[03:10:13] <BrentBXR_> he prolly allready figured it out and doing his own shit
[03:10:28] <Essobi> Good. Maybe he learned something.
[03:10:34] <BrentBXR_> i honestly dont care what your guys rpjects are i have my own to worry about
[03:10:42] <BrentBXR_> but lets not fight :3
[03:10:43] <Kevin`> sure you do ;)
[03:10:46] <BrentBXR_> but forsure
[03:10:52] <BrentBXR_> Kevin`, i am
[03:10:55] <Essobi> Kevin`: I've seen his PCBs.. He does. ;)
[03:11:00] <Essobi> Kevin`: Wanna see?
[03:11:11] <Kevin`> sure
[03:11:12] <BrentBXR_> what was the project? can you show more from that linux rpoject?
[03:11:27] <Kevin`> what linux project?
[03:11:35] <BrentBXR_> the IR reciver
[03:11:35] <Essobi> Kevin`: https://lh6.googleusercontent.com/-ayAe_5bfVqM/Tv55TJ7XAdI/AAAAAAAAAFE/VmYe-GL1Wcc/w402/sneak%2Bpeak.png :D
[03:11:59] <BrentBXR_> lol
[03:12:01] <Kevin`> BrentBXR_: the protocol decoder is from the linux kernel, nothing actually running linux there
[03:12:20] <BrentBXR_> im confused
[03:12:27] <BrentBXR_> so waht does it do then?
[03:12:36] <Kevin`> exactly what I said it does?
[03:12:49] <BrentBXR_> i know you said it controls volume and such
[03:12:52] <BrentBXR_> but how?
[03:12:59] <BrentBXR_> not for an OS?
[03:13:05] <Kevin`> with a servo controller
[03:13:07] <Kevin`> physically
[03:13:10] <BrentBXR_> ohhhhhhhhhhhh
[03:13:32] <BrentBXR_> oh im sorry i miss understood
[03:13:42] <BrentBXR_> sweet
[03:13:46] <BrentBXR_> so you could actually like
[03:13:46] <Kevin`> (and the power button via an opt-isolater connected to the computer)
[03:13:51] <Essobi> That's sort of practical in an analog way... :D
[03:14:28] <Kevin`> Essobi: well what's the alternative? get a 4-pole digipot? screw that. also the voltage inside could be anything
[03:15:00] <BrentBXR_> Kevin`, thats close to somthing I have wanted to do for a very long time
[03:15:01] <Essobi> I wasn't knocking it. :D
[03:15:03] <BrentBXR_> very close
[03:15:07] <BrentBXR_> infact so close
[03:15:09] <Kevin`> Essobi: just commenting
[03:15:13] <BrentBXR_> i want your src :3
[03:15:17] <Essobi> lul
[03:15:33] <Kevin`> BrentBXR_: well, you have it, don't you? ;p
[03:15:38] <BrentBXR_> i want to control a servo to turn a rotorary switch on and off
[03:15:41] <BrentBXR_> same deal right?
[03:15:48] <BrentBXR_> i have no schematics tho
[03:15:52] <Essobi> Pretty much
[03:16:02] <Kevin`> BrentBXR_: I recommend an open-loop control for the volume instead of closed look like I did. unless you have a reason to do it, like presets or such
[03:16:25] <BrentBXR_> Kevin`, can the remote be programmed?
[03:16:35] <BrentBXR_> like can i choose my own remote?
[03:16:39] <BrentBXR_> i really didnt look that hard
[03:17:14] <Kevin`> BrentBXR_: sure, although you might need to steal different decoder code for a different protocol. if you make your own, do something like pulse-width drive that's simplestupid to decode
[03:17:42] <Essobi> Meh.. Wish I had a 3d printer. I think of so many weird things I could make, a mount for something like this being one..
[03:18:05] <Kevin`> BrentBXR_: alternately, you could just link in ALL of the linux decode modules so it supports ~all possible remotes you could point at it ;p
[03:18:19] <Essobi> luls
[03:18:30] <Essobi> None of those would collide?
[03:18:39] <Kevin`> they are designed to be used in parallel
[03:18:58] <BrentBXR_> so
[03:19:09] <BrentBXR_> nvm
[03:19:17] <BrentBXR_> what about
[03:19:22] <BrentBXR_> hold on
[03:19:29] <BrentBXR_> ill check the remote i have
[03:19:37] <BrentBXR_> i want to say irc6
[03:19:46] <BrentBXR_> im sorry[
[03:19:51] <Kevin`> rc6 is the normal one for windows remotes
[03:19:54] <BrentBXR_> rca6
[03:19:55] <Kevin`> and maybe some others
[03:19:59] <BrentBXR_> yes
[03:20:01] <BrentBXR_> that
[03:20:07] <Essobi> Kevin`: nice.
[03:20:10] <Kevin`> (that's what mine is, of course)
[03:20:48] <BrentBXR_> ok so i could easily implement a servo control to that remote ? :D
[03:21:01] <BrentBXR_> thats exacly what i need
[03:21:17] <BrentBXR_> i just havnt taken the time; tho i did make a simple decoder
[03:21:49] <BrentBXR_> super simpler as in decoer = hit timer on fit bit controls the timer
[03:21:56] <BrentBXR_> usujal ir
[03:22:38] <BrentBXR_> dude thats pretty sweet
[03:22:48] <BrentBXR_> are there schematics?
[03:24:05] <Essobi> BrentBXR_: TBH, I've mainly just poked around with environment monitorings, and datalogging over RS-422 with atmega 328p. I'm not an electronics pro by any means, but I poke around.
[03:24:21] <Kevin`> um, nope. but, it's pretty simple. avr is 8 pin, of course. an ir input chip is connected to one of the pins, pwm servo output to another, uart to a third (although that's disabled as-is), power button to a fourth. not sure if I used anything else
[03:25:16] <BrentBXR_> Essobi, ?
[03:25:16] <BrentBXR_> Kevin`, you could use one of our IR toys
[03:25:43] <Essobi> BrentBXR_: You poked at me for code earlier.. just saying.
[03:25:54] <Kevin`> I remember I ran out of pins on something, but that could have been on the wire-wrap socket
[03:26:11] <BrentBXR_> Essobi, you bowed out
[03:26:25] <Kevin`> BrentBXR_: ir toys?
[03:26:29] <Essobi> I did.. What kinda shit you wrok on?
[03:26:33] <Essobi> *work
[03:26:47] <BrentBXR_> not to sound like a dick i really dont mean too
[03:27:08] <BrentBXR_> im not above anyone; im also a hobbiest and dont try to sould like more
[03:27:16] <BrentBXR_> oh Essobi your late in the game
[03:27:23] <Essobi> Yerp
[03:27:31] <Essobi> long backlog too I'm sure
[03:27:32] <BrentBXR_> im trying to not play this fullish shit
[03:27:39] <Essobi> *shrug*
[03:27:45] <BrentBXR_> Kevin`, have some sweet shit im trying to learn on
[03:28:10] <Essobi> Aight..
[03:28:12] <BrentBXR_> Essobi, have you made one $
[03:28:17] <BrentBXR_> from your electronics?
[03:28:34] <BrentBXR_> dont awnser tat
[03:28:36] <Essobi> BrentBXR_: No sir.. strictly hobby stuff like I said. I work in IT.
[03:28:36] <BrentBXR_> thats not
[03:28:46] <BrentBXR_> doesnt matter
[03:29:39] <Essobi> *shrug* Did some board level repair on power supplies and tuners for a few months. Got my chops in with that iron.
[03:29:40] <BrentBXR_> but yeah
[03:30:09] <BrentBXR_> Essobi, its cool; i saw where the convo went earlies
[03:30:12] <BrentBXR_> r
[03:30:22] <BrentBXR_> Kevin`, have you heard of LIRC?
[03:30:25] <Essobi> yurp, no worries man
[03:30:27] <BrentBXR_> im sure you have
[03:30:43] <Essobi> Night folks
[03:30:46] <BrentBXR_> dude
[03:30:55] <BrentBXR_> it could step your game up
[03:30:59] <BrentBXR_> perhaps
[03:30:59] <Kevin`> BrentBXR_: yes. the computer itself uses that to process all the other keys in my system
[03:31:08] <BrentBXR_> winLIRC
[03:31:17] <Kevin`> running actual linux though ;p
[03:31:23] <BrentBXR_> :D
[03:31:41] <BrentBXR_> damn where do you live btw"?
[03:31:52] <Kevin`> three guesses
[03:32:03] <BrentBXR_> NY?
[03:32:13] <BrentBXR_> USA?
[03:32:14] <BrentBXR_> :D
[03:32:24] <Kevin`> no. don't make un-educated guesses. I said that because you have all the information needed to find out
[03:32:27] <Kevin`> usa yes
[03:32:35] <theBear> i used winlirc many years ago before the last simple-coded cable service in this country shutdown ...
[03:33:03] <BrentBXR_> theBear, wtf does that have todo with winlirc?
[03:33:26] <theBear> the decoder app only ran in windows... dscaler, that's the one
[03:34:01] <BrentBXR_> oh
[03:34:09] <BrentBXR_> so because
[03:34:12] <BrentBXR_> cable?
[03:34:16] <BrentBXR_> you dont use windows?
[03:34:26] <theBear> and i was GONNA follow up by saying winlirc seems as configurable and usable as real lirc, on any given year
[03:34:27] <Kevin`> I should connect the ir receiver from my module to the computer. it works a lot better for some reason
[03:34:33] <theBear> nah, windows is for suckers
[03:34:48] <BrentBXR_> theBear, i cant disagree but i cant agree
[03:35:00] <BrentBXR_> mainlyt because we are in the AVR channe
[03:35:01] <BrentBXR_> l
[03:35:03] <theBear> hehe, yeah, yer in a tough position
[03:35:27] <BrentBXR_> there isnt much choice :D
[03:35:30] <Kevin`> avr doesn't really need windows for anything
[03:35:31] <theBear> oh its fine in the avr channel, IN PASSING <grin> avrstudio sucks, so, ya know, no reason for windows :)
[03:35:54] <Kevin`> the latest version of avr studio is actually quite nice. but you still don't NEED it
[03:36:09] <BrentBXR_> :3
[03:36:47] <theBear> mmm... they made so many shit versions for so many years, i won't even give them the credit of looking at it now
[03:36:54] <Kevin`> now, try coding pic stuff without windows. hardly worth it there. although, coding pic stuff to begin with..
[03:37:04] <BrentBXR_> im the only sucker with an AVRone
[03:37:07] <BrentBXR_> i need windowws
[03:37:26] <Kevin`> abcminiuser has one of those too, although he got it for free ;p
[03:37:28] <theBear> whats a avrone ?
[03:37:31] <BrentBXR_> well i do own a dragon plus a irc mk@@
[03:37:40] <BrentBXR_> theBear, ?
[03:37:46] * theBear would be literally shocked if avrdude or pony couldn't program it
[03:38:06] <BrentBXR_> avrone is like the atmel everything
[03:38:06] <Kevin`> theBear: avr one is a programmer, not a target
[03:38:34] <BrentBXR_> program/debug/emulate every device
[03:38:34] <theBear> ok then, i'd be literally shocked if avrdude or pony can't program VIA it
[03:38:37] <BrentBXR_> type deal
[03:38:54] <BrentBXR_> to be honest im not sure
[03:39:07] <BrentBXR_> ill check
[03:39:15] <theBear> and if they can't because all the details are kept all secret, it's just another reason to avoid their non-micro products and software, for being stupid and restrictive
[03:39:23] <theBear> their=atmel
[03:39:39] <theBear> heh, and this is me when i LIKE a company :)
[03:39:48] <Kevin`> if your company can afford an avr one, it can afford a couple windows licenses too ;p
[03:40:17] <theBear> but can it afford when you go postal 'cos of stupid crashes and frustrations and shoot up the office and everyone in it ?
[03:40:18] <BrentBXR_> lol windows comes free with a stack of paper these days
[03:40:41] <theBear> it what ? last i checked windows cost more than ever
[03:41:11] <BrentBXR_> BTW nope winavr does NOT support avrone
[03:41:28] <Kevin`> windows costs quite a bit once you have to start licensing other parts like mail or fileserver access or the ability to connect to rdp in a vm ;p
[03:41:39] <theBear> wtf is winavr ? i never said that
[03:41:52] <BrentBXR_> avrdude
[03:41:55] <BrentBXR_> same shit
[03:42:00] <BrentBXR_> brb take a piss
[03:43:11] <BrentBXR_> back :3
[03:43:39] <BrentBXR_> i think you ehere there Kevin`
[03:43:58] <BrentBXR_> but i told someone i perfer WINAVR over avrstudoii
[03:44:33] <BrentBXR_> which means using the dragon over a $$$ avrice
[03:44:55] <BrentBXR_> avrone i meant
[03:45:08] <theBear> if you read the manual, atmel make avr32program for windows AND linux ... haven't read enough to know if you can debug yet, but it's not my device
[03:45:11] <BrentBXR_> although I hate the dragon layout
[03:45:13] <BrentBXR_> hate it
[03:45:30] <BrentBXR_> whats your device?
[03:45:56] <theBear> err, i don't have 'devices'... i just solder an avr on a bit of board and program thru a header
[03:46:07] <theBear> always have, always will
[03:46:19] <theBear> technically i got a dt104 simmstick VERY early, but that's just the same thing on a nice small pcb
[03:46:25] <BrentBXR_> what do you mean by device?
[03:46:45] <theBear> you asked the question, what do YOU mean by device ? a few sentences ago i referred to your avrone as device
[03:47:30] <BrentBXR_> you did?
[03:47:34] <theBear> if yer really into names and labels, all my programming is done by something loosely/generically known as a stk200
[03:47:43] <theBear> if you read the manual, atmel make avr32program for windows AND linux ... haven't read enough to know if you can debug yet, but it's not my device (avrone)
[03:48:12] <BrentBXR_> i dont recall
[03:48:24] <theBear> avr32program is what you already use in windows to talk to your avrone, at a low level
[03:48:41] <theBear> look up your screen about 3" and you might recall
[03:48:49] <theBear> but it doesn't matter, cos i just repeated it
[03:49:10] <BrentBXR_> no i checked
[03:49:13] <BrentBXR_> didnt see it
[03:49:37] <theBear> i can see it, it's all highlighted like i just cut and pasted it
[03:50:07] <BrentBXR_> :/
[03:50:47] <BrentBXR_> so the stk200
[03:51:13] <BrentBXR_> yeah iv never heard of it
[03:51:17] <BrentBXR_> did you buy it
[03:51:21] <BrentBXR_> or diy?
[03:52:04] <theBear> diy, it's just a fancy way of saying, a few data lines and reset from a parport to an avr
[03:52:42] <theBear> i got a little board rifraf built years ago too, that's the same thing with a nice header/plug on it, and a maybe 74373 or so buffer
[03:52:46] <Kevin`> isn't parport painfully slow?
[03:53:02] <Kevin`> (when you drive it from software bit by bit, that is)
[03:53:34] <theBear> not really, on a semi-modern machine i can program a fairly full mega16(32maybe) in ooh it's been a while, i'd have to say under 10seconds
[03:53:44] <theBear> probly a lot less, but it's been a long time
[03:53:47] <BrentBXR_> When i first started i used one f those DAPA ports direct access parallal port programmers via winavr/avrdude worked great
[03:54:01] <BrentBXR_> seems just as fast as today using a dragon or avrone
[03:54:09] <theBear> a lot of windows programming software defaults to VERY slow parport delays 'cos windows seems to have problems with highspeed parport bitbanging
[04:15:08] <amee2k> wow, laser range finders are pretty cheap these days 0.0
[04:16:18] <amee2k> DLE40 for just under 100EUR and GLM80 for ~180
[05:05:06] <skorket> I'm testing out programming my attiny13 with a small assembly program to make all 6 pins act as outputs and to drive them low. I notice that output pin 5 (PB5) is still high after doing this. PB0-PB4 are low. Is there a fuse bit I need to set to make PB5 an output pin? Does setting this fuse bit screw up something about programming the attiny?
[05:05:21] <skorket> I'm using avrdude with an avrisp to program under ubuntu linux
[05:06:26] <Kevin`> skorket: does pb5 have an alternate function, like reset?
[05:06:41] <amee2k> PB5 is not pin 5, it is pin 1 ;)
[05:06:51] <amee2k> and PB5 is the reset pin
[05:06:58] <Kevin`> amee2k is fast on that datasheet :D
[05:07:19] <Kevin`> skorket: you need reset for isp to work, unless you have a programmer that can do hvsp
[05:08:36] <skorket> Kevin`, yes, PB5 has an alternate function of RESET. OK, that's what I was afraid of.
[05:08:55] <amee2k> i make a point of having datasheets for parts i use handy during breakfast :)
[05:09:02] <skorket> amee2k, ah, sorry, yes
[05:10:01] <amee2k> if you have a programmer that can do HV programming, you can change the fuses to disable the reset
[05:10:11] <skorket> I don't think the avrisp does it
[05:10:17] <skorket> but maybe I should check that to be sure...
[05:10:23] <amee2k> nope, it doesn't :)
[05:10:34] * amee2k has an avrisp mk.2
[05:11:12] <skorket> ah, sorry, I actually have USBtinyISP from adafruit
[05:11:34] <skorket> The 'isp' being the key part I believe...
[05:13:15] <skorket> I'm trying to do some assembly programming for my ATTiny13 chip under linux and having some problems getting good material on how to program in this environment. Do you have any suggestions as to documentation or other resources?
[05:13:50] <amee2k> yeah... from what i can see i think that one only does normal ISP, not HV programming
[05:13:50] <skorket> For example, I found this to be the best resource so far: http://nerdathome.blogspot.com/2008/04/avr-as-usage-tutorial.html
[05:14:19] <amee2k> so you'll want to keep the reset pin for what it is
[05:14:46] <skorket> amee2k, yes, will do. Thanks. And thanks Kevin` as well
[05:15:35] <amee2k> you might want to get a larger AVR though sometime :)
[05:15:58] <RikusW> mega324a is rather cheap
[05:16:04] <skorket> I've got some ATMega48 and just ordered some ATTiny85's. I like the small ones though, they're nice and tiny
[05:16:11] * amee2k usually recommends atmegaX8
[05:16:12] <Kevin`> those 6/8 pin deivces are great specifically because they are small
[05:16:38] <RikusW> amee2k: I got my m324a for less than the m328p
[05:16:49] <RikusW> 40 pins
[05:16:49] <BrentBXR_> all avrs are the same. I know iwill get hate for saying this... but its true
[05:17:00] <amee2k> i got started with a nice pair of mega88s and i still like them
[05:17:04] <RikusW> it mostly is
[05:17:13] <BrentBXR_> besides pin count and size; they are the same (minus maybe one peripheral)
[05:17:22] <amee2k> yeah... that is quite annoying
[05:17:28] <BrentBXR_> :D
[05:17:32] <BrentBXR_> finally agreeers
[05:17:34] <RikusW> and special purpose ones like LCD or USB
[05:17:36] <amee2k> especially since someone at atmel seems to like fapping to hot TWI on ADC action >_<
[05:17:37] <BrentBXR_> i know i feel the same way
[05:18:09] <RikusW> and then there is at90pwm too
[05:18:43] <BrentBXR_> those are not in the tiny mega series tho; which scares people way
[05:18:55] <amee2k> 90pwm doesn't have TWI on ADC pins?? 0.0
[05:18:56] <BrentBXR_> its like they wanted to keep people away from specialties
[05:19:00] <RikusW> at90usb == mega....
[05:19:21] <BrentBXR_> !=
[05:19:52] <RikusW> at90usb1287 is almost an mega128
[05:20:12] <BrentBXR_> not even close; the biggest part about the at90sb = USB
[05:20:16] <RikusW> apart from having usb
[05:20:24] <BrentBXR_> >:}
[05:20:32] <amee2k> lol
[05:20:38] <RikusW> I have mega32u2's
[05:20:55] <BrentBXR_> :o
[05:21:16] <RikusW> so mega with usb ;)
[05:21:31] <BrentBXR_> and
[05:21:57] <BrentBXR_> sorry late
[05:22:00] <BrentBXR_> sweet
[05:22:17] <BrentBXR_> what kind of usb stack do they include?
[05:22:22] <BrentBXR_> >:}
[05:22:31] <RikusW> atmels or LUFA
[05:22:34] <amee2k> so m32u2 is sweeter than 90usb?
[05:22:45] <RikusW> about the same
[05:22:57] <RikusW> 32u4 is more closely related to at90usb
[05:23:31] <BrentBXR_> im not a big lufa fan. VUSB will support USB on non-usb enabled AVRs
[05:23:41] <BrentBXR_> tho i wouldnt bet my life on them
[05:23:50] <RikusW> that will probably be slow
[05:23:54] <Kevin`> v-usb ONLY supports software usb, that's it's purpose
[05:23:59] <BrentBXR_> yes
[05:24:02] <Kevin`> and it's low-speed only, no 12mbit
[05:24:03] <RikusW> I get 70kb/s on 32u2
[05:24:06] <RikusW> via cdc
[05:24:32] <RikusW> hw usb is better
[05:24:41] <RikusW> no timing critical stuff
[05:24:45] <BrentBXR_> :o
[05:24:53] <BrentBXR_> im tired as fuck
[05:25:02] <karlp> why would you _choose_ sw usb over hw usb?!
[05:25:06] <BrentBXR_> Kevin`, what time zone u on
[05:25:18] <BrentBXR_> karlp, dependency
[05:25:19] * RikusW is +2
[05:25:37] <karlp> dependency on what?
[05:25:38] <amee2k> if you can spare the execution time, sw usb is pretty much for free
[05:25:52] <karlp> buy proper part selection, so is hw usb.
[05:25:57] <karlp> by proper part selection
[05:25:58] <Kevin`> if you can spare the execution time and don't need interrupts
[05:26:13] <BrentBXR_> lol
[05:26:18] <amee2k> i2c-tiny-usb uses a tiny45 or something to make a USB TWI adapter
[05:26:50] <amee2k> no point in blowing a huge mega32 for that
[05:27:17] <BrentBXR_> well
[05:27:23] <BrentBXR_> thats debatable
[05:27:34] <amee2k> how so?
[05:27:35] <RikusW> how about m8u2 ?
[05:27:36] <BrentBXR_> if its for production they yea; fuck that
[05:28:44] <amee2k> i haven't looked much at the code yet but i used it last summer and from what i saw it makes pretty neat use of the hardware
[05:53:58] <skorket> I'm using avr-as to try and assemble a test program in assembly. I have a '.data' section with a few labels and bytes added. How do I access that data? How do I get the address of data located at label 'data_label:' for example?
[05:55:28] <RikusW> lds r16,data_label
[05:55:37] <RikusW> sts data_label,r16
[05:56:03] <RikusW> then there is ld r16,X/Y/Z too
[05:56:34] <RikusW> for the address
[05:56:46] <RikusW> ldi r16,LOW(label)
[05:56:54] <RikusW> ldi r17,HIGH(label)
[05:56:54] <skorket> RikusW, so the '.data' directive is putting the data in sram? where is the 'ld' loading data from? Program memory?
[05:57:07] <RikusW> from ram
[05:57:15] <RikusW> lpm is from flash
[05:57:22] <RikusW> and spm to flash
[05:57:49] <skorket> avr-as is complaining when I try to do 'ldi r16,LOW(label)'
[05:58:07] <RikusW> try label>>8
[05:58:49] <skorket> "Error: invalid sections for operation on `label' and `L0...'"
[05:58:54] <RikusW> that would actually be for high...
[05:59:23] <RikusW> it should provide a way to get the low and high byte of the address
[05:59:38] <RikusW> I used AS4's assembler
[06:00:06] <RikusW> #define lo8(x) (x & 0xFF)
[06:00:07] <RikusW> #define hi8(x) ((x >> 8) & 0xFF)
[06:00:31] <RikusW> there is a few avr assemblers
[06:00:34] <RikusW> like avra
[06:00:53] <skorket> I couldn't get avra to compile
[06:01:46] <RikusW> what linux distro ?
[06:02:11] <skorket> Ubuntu 10.10 'maverick'
[06:02:28] <RikusW> can you just download the binary ?
[06:02:34] <skorket> I lacked some automake, couldn't get it, had trouble compiling it and just gave up
[06:02:40] <skorket> hrm...let me look
[06:02:59] <RikusW> then you should get the automake package...
[06:03:26] <RikusW> what avrdude programmer type does usbtinyisp use ?
[06:03:52] <skorket> RikusW, I'm sorry, I don't understand. What do you mean 'programmer type'?
[06:04:07] <RikusW> seems it have its own type in avrdude
[06:04:22] <RikusW> -c usbtiny
[06:04:37] <RikusW> was just curious
[06:05:02] <RikusW> hi scuzzy
[06:05:10] <skorket> ah, yes, avrdude has an option for the usbtiny
[06:06:24] <scuzzy> hey!
[06:06:27] <scuzzy> how you doing man?
[06:06:28] <scuzzy> long time
[06:07:27] <RikusW> fine, still not done much on ravrprog recently...
[06:07:36] <RikusW> what have you been up to ?
[06:08:40] <RikusW> got my dW notes together again, will probably start working on the autobaud code sometime
[06:08:56] <amee2k> i'm beginning to realize a subtle but discrete downside of that rigol scope... it somehow manages to just barely NOT fit into any of the toolboxes i'm looking at >_<
[06:09:28] <RikusW> only problem is I'm feeling kind of lazy right now ;)
[06:11:28] <amee2k> >_>
[06:12:25] <amee2k> the scope needs 31 x 16 x 14 cm to fit. any box that looks half decent and is not significantly larger is 10-13cm high on the inside >_<
[06:15:35] <Steffanx> The scope shouldn't be in a toolbox anyway
[06:15:42] <amee2k> why not?
[06:15:52] <Steffanx> Why should it
[06:16:22] <RikusW> what about a drawer ?
[06:16:34] <Steffanx> It's meant to be on your work bench/desk
[06:16:35] <amee2k> i'm looking for a toolbox to put all my measuring tools in
[06:16:45] <amee2k> and the scope should fit in that too
[06:17:11] <amee2k> i'm using the cardboard box it came in for storage right now, but it is fairly large for that and not very concenient
[06:17:36] <amee2k> RikusW: "drawer"?
[06:17:46] <Steffanx> Which rigol btw? 1052E?
[06:17:53] <amee2k> yeah
[06:18:48] <amee2k> most of the time it is on my bench, but when i'm not using it because i'm working on something that i don't need a scope for it just sits there collecting dust
[06:18:55] <Steffanx> Not enough space on your desk?
[06:19:22] <amee2k> my desk is large enough, but i don't want to use the desk area for storage >_>
[06:19:35] <Steffanx> It's a scope.. you 'always' need one
[06:19:39] <RikusW> http://en.wikipedia.org/wiki/Drawer_(furniture)
[06:19:41] <amee2k> hence why i want to collect all the stuff that is flying around the bench right now in a toolbox
[06:19:43] <skorket> RikusW, I just got avra but this was the other problem with it: it's going on 5 years old. I just tried compiling a program that uses an attiny4 and avra is complaining that it doesn't have that in it's chipset. This might not be a deal breaker for what I want, but it makes me worried that I'll hit a brick wall with it at some point
[06:19:54] <skorket> That's kind of why I wanted to go with the gnu toolchain...
[06:20:42] <RikusW> ah
[06:20:59] <amee2k> same holds for a bunch of measurement tools... ir thermometer, caliper, DMMs, ... i don't like that stuff all over my bench when i don't need it
[06:21:06] <RikusW> tiny4/5/9/10/20/40 is newer chips
[06:21:13] <skorket> I figured
[06:21:29] <amee2k> RikusW: well, i figured what a drawer is but how does it relate to my not finding a suitably sized toolbox?
[06:21:34] <RikusW> slightly different instruction set
[06:21:47] <skorket> yeah, I notice PUEB and some others that avra is complaining about
[06:21:58] <RikusW> amee2k: your desk don't have any ?
[06:22:06] <amee2k> no
[06:22:09] <RikusW> put the scope in one..
[06:22:10] <scuzzy> RikusW: got a lot of work at the moment
[06:22:16] <scuzzy> working on an iPad app for someone
[06:22:18] <scuzzy> it's... interesting
[06:22:21] <amee2k> i've got a thingy with drawers for desky stuff next to the desk
[06:22:38] <RikusW> amee2k: would the scope fit in ?
[06:22:51] <amee2k> i'd have to measure but i don't think so
[06:22:53] <RikusW> scuzzy: arm processor in there ?
[06:23:13] <scuzzy> aye
[06:23:14] <amee2k> either way, i'm specifically looking for a tool *box*, not a tool drawer
[06:23:35] <amee2k> nope, they're 11.5cm high >_<
[06:23:42] <RikusW> then you probably have to go shopping
[06:23:52] <amee2k> i figured that much >_>
[06:24:03] <RikusW> scuzzy: how big is its SDK ?
[06:24:16] <amee2k> i've been looking online for a couple days now... probably gonna go to the hardware store check out what they have
[06:24:27] <scuzzy> RikusW: about 4gigs
[06:24:29] <scuzzy> it's HEOUGE
[06:24:42] <scuzzy> and has to run on a mac
[06:25:06] <amee2k> seeing stuff first hand is still different than a photoshopped pic and some poorly translated text
[06:25:47] <RikusW> no windows SDK ?.....
[06:26:18] <scuzzy> RikusW: nah
[06:26:20] <scuzzy> sucks eh?
[06:26:23] <scuzzy> xcode ONLY!
[06:26:26] <RikusW> did you have to get a mac just for that ?
[06:26:30] <scuzzy> but, it's nice to work
[06:26:33] <RikusW> or already had one ?
[06:26:36] <scuzzy> nah, loaded up OSX on a virtual machine
[06:26:41] <scuzzy> works ok
[06:26:55] <RikusW> how did you get osx ?
[06:27:39] <RikusW> I'd like to have that sometime, for porting stuff to mac
[06:27:54] <RikusW> only problem is my pc don't support VM's
[06:28:31] <amee2k> i vaguely remember seeing a torrent for a vmware virtual machine with osx preinstalled
[06:28:37] <amee2k> with all drivers and cracks and stuff
[06:28:54] <amee2k> that was like a week after the x86 osx came out >_>
[06:29:16] <scuzzy> RikusW: piratebay...
[06:29:17] <RikusW> ooh
[06:29:31] <amee2k> how can a pc not support VMs? o.O
[06:29:34] <RikusW> unfortunately I can't download that....
[06:29:39] <RikusW> too old ?
[06:29:42] <RikusW> P4
[06:29:45] <scuzzy> amee2k: well, actually it's a problem
[06:29:47] <specing> LOL
[06:29:51] <amee2k> i'm running virtualbox on my shitty pentium 3 733 laptop
[06:29:58] <Kevin`> any turing-complete machine can support vms
[06:29:59] <scuzzy> amee2k: osx requires that the CPU support virtualisation
[06:30:00] <amee2k> works just fine
[06:30:06] <RikusW> XEN didn't work
[06:30:07] <amee2k> ewwies
[06:30:09] <Kevin`> your vm software just sucks is all
[06:30:15] <scuzzy> amee2k: some OS's don't need it, some do
[06:30:17] <Kevin`> or the os itself
[06:30:30] <scuzzy> for some reason, OSX won't virtualise properly unless your CPU supports virtualisation
[06:30:41] <amee2k> hmm i think i remember... osx needs SSE3 or some fancy shit too
[06:30:53] <amee2k> but thats an osx problem then, not a virtualization one
[06:31:03] <scuzzy> indeed
[06:31:26] <RikusW> scuzzy what vm sw do you use ?
[06:31:32] <scuzzy> virtualbox
[06:31:58] <scuzzy> along with the chameleon EFI
[06:32:04] <amee2k> anyway it worked on my athlon64 iirc. how about getting the cheapest new office pc you can find?
[06:32:29] <RikusW> will probably upgrade sometime ;)
[06:32:39] <RikusW> so far this pc is fast enough
[06:32:47] <RikusW> except for games...
[06:32:52] <amee2k> nah, just some cheap junk for the features so you can run osx
[06:33:05] <amee2k> bill your boss for it if you're using it to dev osx stuff >_>
[06:33:19] * RikusW don't have a boss
[06:33:25] <amee2k> ewwies
[06:33:32] <amee2k> you should really buy one sometime
[06:33:40] <amee2k> but make sure it fits in your toolbox
[06:33:56] <RikusW> at least got a HP LaserJet P1102 for ZAR1000
[06:34:09] <amee2k> 0.0
[06:34:17] <RikusW> 100Euro
[06:34:25] <amee2k> nice
[06:34:42] <RikusW> now I'll start playing around with making pcbs
[06:35:00] <RikusW> think I'll try both toner transfer and photoresist
[06:35:24] <amee2k> RikusW: when you try phototransfer please do tell how it works out
[06:35:44] <RikusW> I got the spray from RS
[06:35:44] <amee2k> thats something i've been wanting to try for a while but didn't get around yet
[06:36:08] <RikusW> used a piece of the test page on ordinary paper and it sort of worked
[06:36:13] <amee2k> the internet can't make up its mind about phototransfer with transparencies/paper
[06:36:28] <RikusW> guess 10 min is not long enough when using ordinary paper
[06:36:33] <RikusW> in the sun that is
[06:36:57] <amee2k> i got a 10$ "nail dryer" and gut it for the UV tubes and ballast coils
[06:37:09] <amee2k> found a hilarious ghetto timer circuit with a 555 in it too
[06:37:29] <RikusW> I put some oil on the paper and that spot seemed to develop better than the rest
[06:37:40] <amee2k> its power supply is a 1u foil cap and a 5W zener >_>
[06:38:24] <RikusW> sounds like crappy engineering to me.
[06:38:49] <amee2k> it cost like a tenner including UV tubes *shrug*
[06:39:27] <RikusW> so cheaper to strip that than to buy the tubes /
[06:39:27] <RikusW> ?
[06:39:32] <amee2k> http://ompldr.org/vNWtmcQ/nail-dryer-timer-2.pdf
[06:39:34] <amee2k> yep
[06:39:44] <amee2k> and as a bonus you get a pair of matching ballast coils too
[06:42:05] <amee2k> i raped an old flatbed scanner i found in the trash to make an exposure box
[06:42:13] <amee2k> but didn't get around to playing with it yet
[06:42:45] <RikusW> I wonder how well an LCD panel would work without the LCD ?
[06:43:04] <RikusW> nice even light distribution
[06:43:27] <amee2k> i wonder how well an LCD panel *with* the LCD would worj
[06:43:30] <amee2k> work* even
[06:43:56] <RikusW> so you want to use the display directly ?
[06:43:56] <amee2k> no need to print the layout
[06:44:18] <RikusW> would be too low res for fine pcbs
[06:44:26] <amee2k> strip the white CCFL tubes and change them for UV CCFL tubes for casemodding
[06:44:37] * RikusW thought about using projectors for that...
[06:45:26] <amee2k> not neccessarily. how about finding a laptop that uses the internal displayport standard and getting a replacement display for it
[06:45:44] <amee2k> laptops have ridiculous resolutions for their size now
[06:46:07] <amee2k> or for small high detail boards, how about a mobile phone display
[06:46:25] <RikusW> good enough for 0.5mm pitch smd ?
[06:46:51] <amee2k> the phone display could just do that
[06:47:18] <amee2k> not sure how low laptops go with dot pitch these days
[06:47:49] <RikusW> don't think it can match 600dpi
[06:48:38] <amee2k> my 6 years old flat on my desk has ~0.3mm fot pitch
[06:49:20] <amee2k> now take a ridiculous netbook screen with half the size and WXGA or whatever resolution
[06:49:27] <RikusW> 600dpi == 42.3um pitch
[06:49:56] <amee2k> i'd say 0.15mm should work fine for 0.5mm pads
[06:50:26] <RikusW> 0.25mm....
[06:50:31] <amee2k> at least for prototyping
[06:50:47] <amee2k> would come down to giving it a shot
[06:51:41] <RikusW> the pcb will have to be against the lcd or it will get blurry
[06:53:22] <amee2k> hmm flatbed scanner case comes to mind
[06:53:39] <RikusW> amee2k: the ??? diode probably is a zener
[06:54:11] <amee2k> RikusW: most definitely. i couldn't read the markings on it but it is pretty beefy. i'd say 3 or 5W rating
[06:55:20] <amee2k> i'd strip the CCFL backlight and put some UV CCFL tubes on it and a couple red LEDs... use the red light to align the board, then close the box and turn on the UV tubes
[06:56:10] <amee2k> only thing that would need to be evaluated carefully is that the UV exposure doesn't damage the LC layer, and that the LC gives good contrast at UV wavelengths
[06:56:16] <Kevin`> might be a good idea to put the board on top of the lcd
[06:56:29] <RikusW> LC ?
[06:56:33] <amee2k> liquid crystal
[06:56:53] <RikusW> ah
[06:57:12] <skorket> I have a program that's trying to read a byte from SRAM then turn on an led if it did the load properly. It's not working (the led is not turning on). Can someone help me out with it and maybe point out what I'm doing wrong? Here's the code:http://pastebin.com/QJivZ98R
[06:57:37] <amee2k> Kevin`: yeah, my thought too. like a flatbed scanner case with the glass plate removed and the display in its place
[06:58:13] <amee2k> a setup like that that can do direct transfer to the photoboard would be awesome for prototyping
[06:58:18] <amee2k> almost as handy as milling i'd say
[06:58:28] <Kevin`> you should look at projector lcds
[06:58:32] <Kevin`> very high dpi
[06:58:35] <Kevin`> might be useful
[06:58:41] <amee2k> but very small too, no?
[06:58:46] <Kevin`> indeed
[06:59:04] <amee2k> for small high detail boards i'd check out smartphone displays. these are probably cheaper
[06:59:18] <amee2k> and still have moderately high dpi
[06:59:52] <RikusW> skorket: you should probably include the t13 file instead of doing .equ PORTB,0x18
[07:00:50] <RikusW> run it in a simulator ?
[07:01:37] <skorket> RikusW, I can't just include the standard 'tn13def.inc' because it's gnu. It's straight assembler so I can't '#define <avr/iotn13.h>'. I'm kind of fumbling around trying to get a framework so I can program in assembly...
[07:01:51] <skorket> RikusW, I haven't run it through a simulator.
[07:07:41] <RikusW> skorket: cp r16,r17 brne end would do the same thing
[07:08:16] <skorket> Ah, thank you! I was looking for the compare op
[07:08:28] <RikusW> there is cpi too
[07:08:32] <RikusW> cpi r16,0x55
[07:09:26] <RikusW> lds r16,b0 cpi r16,0xef
[07:11:18] <skorket> RikusW, yes, thank you. They're equivalent, but I've put in the shortened version in anyway but the led is still not lighting up
[07:11:41] <skorket> RikusW, am I really loading in what I think I'm loading into r16? Should it be getting the value 0xef?
[07:11:52] <RikusW> your led is vcc -> resistor -> led -> B3 ?
[07:11:58] <amee2k> LED connected the right way around, and enough voltage to light it?
[07:12:01] <RikusW> and its connected the right way round ?
[07:12:09] <amee2k> lol
[07:12:15] * amee2k high fives RikusW
[07:12:22] <RikusW> heh
[07:12:51] <RikusW> skorket: the code seems right
[07:13:16] <amee2k> wouldn't be surprised if it didn't work with a blue led and 1.8V or what the new shit runs on
[07:13:26] <Fleck> hi guys, what the best way to change 4 bits at the same time?
[07:13:36] <amee2k> bitwise xor?
[07:13:38] <RikusW> on a port ?
[07:13:56] <RikusW> andi ori ?
[07:14:03] <skorket> RikusW, I've set PB4 to be low always and I use that as a test to make sure the led turns on. When connecting the led to PB4, it turns on. When connecting the led to PB3 it does not turn on
[07:14:17] <amee2k> xor can both set and reset bits in one operation
[07:14:20] <RikusW> ah
[07:14:35] <RikusW> amee2k: but depends on its current state
[07:14:40] <RikusW> andi + ori don't
[07:15:06] <amee2k> yeah, need to compute pattern to xor with first, but then it can do both in one operation
[07:15:24] <Fleck> i have value 20 in byte, whant to extract 4 first bits and use as byte, and 4 2nd bits to use as 2nd byte - would be 1 and 4
[07:16:10] <amee2k> low nibble is "x & 0x0F", high nibble is "(x>>4) & 0x0F"
[07:16:15] <RikusW> skorket: does avr-as support .db instead of byte ?
[07:16:40] <RikusW> Fleck: in C or asm ?
[07:16:47] <Fleck> C
[07:16:54] <amee2k> not sure if the AND is redundant ... it is if the shift is logic shift (instead of arithmetic right shift) but in C i usually include it
[07:17:26] <RikusW> the second & is afaik, x>>4 will do
[07:17:38] <skorket> RikusW, "Error: unknown pseudo-op: `.db'"
[07:17:41] <Fleck> yeah, right shift works great, but the problem is leftshift, on gcc returned 320 :D 2 byte char
[07:18:08] <amee2k> oh, you want to reassemble a byte from the two 4-bit nibbles?
[07:18:36] <RikusW> skorket: try ldi r16,0xef cpi r16,0xef brne end, that should work....
[07:18:49] <amee2k> "(x & 0x0F) | (y<<4)" should do
[07:18:50] <Fleck> nope - extract from two 4-bit nibbles to 2 bytes
[07:19:19] <amee2k> then the first two pieces of code i gave should work
[07:19:32] <Fleck> ok ill try, thx! :)
[07:19:48] <amee2k> (note that i implicitly assumed x is of 8-bit unsigned integer type)
[07:19:58] <Fleck> sure
[07:20:14] <Fleck> 8-bit avr here :)
[07:20:21] <amee2k> just saing... C sometimes does weird things if something isn't the type you expect it to be >_>
[07:20:36] <Fleck> yeah
[07:20:47] <skorket> RikusW, I have just confirmed that that works...
[07:22:12] <amee2k> these days i pretty much always use the (u)intN_t type aliases
[07:32:38] * RikusW like the kernel types better u/sN
[07:33:55] <amee2k> do they taste like chicken?
[07:34:31] <RikusW> no like kernel ;)
[07:35:00] <amee2k> 0.0
[07:35:41] <amee2k> i'll take 2 for to go then
[07:36:30] <Steffanx> I don't like those 'kernel' types :P
[07:36:50] <RikusW> whats wrong with them ? its less typing
[07:37:04] <Steffanx> I don't like it, that's wrong with them :)
[07:37:40] <amee2k> perl is less typing too
[07:37:43] * amee2k runs and hides behind the sofa
[07:38:34] <RikusW> and perl have less typing, well actually no typing ?
[07:39:53] <RikusW> or does perl have types ?
[07:40:08] <amee2k> well that too >_>
[07:40:36] <amee2k> if noone else has to read it you can save a lot of keyb typing too though
[07:42:16] <amee2k> well it has types but only dynamic typing
[07:46:55] <amee2k> it also has a lot of implicit casting and aliasing going on that can be kinda confusing
[07:47:47] <Fleck> amee2k works great, thou, i used simply "x>>4", not "(x>>4) & 0x0F"
[07:53:14] <keenerd> I should probablt redo some of my more critical bit ops in asm and avoid the whole gcc-made-it-16-bits slow downs...
[08:00:04] <amee2k> or just change int to (u)int8_t ;)
[08:00:08] <amee2k> Fleck: :)
[08:00:33] <amee2k> Fleck: did you test it with something with the highest bit set?
[08:01:00] <Fleck> tried with 20
[08:01:05] <Fleck> will try with other values
[08:01:13] <amee2k> try it with 0x80 or so
[08:01:19] <amee2k> it'll work without the AND _iif_ the compiler uses a logical shift instead of an arithmetic shift
[08:01:46] <amee2k> otherwise it would duplicate the MSB as sign extension so you'd get 0xF8 as the high nibble for 0x80
[08:03:25] <keenerd> amee2k: This happens when working with 8 bit chars. GCC does not care what type something is.
[08:04:54] <amee2k> lol
[08:04:57] <amee2k> utter typing fail?
[08:45:32] <Sgt_Lemming> anyone here got a teensy 2.0 and a set of decent scales?
[08:48:37] <Kevin`> mass scales?
[08:49:24] <Sgt_Lemming> yes
[08:49:29] <Sgt_Lemming> I wanna know the weight of the board
[08:51:57] <Kevin`> nah, I don't have very good mass scales, wouldn't be nearly accurate enough
[08:59:39] <iu> Designer's Teensy USB Development Board for PS3 = 2grams
[09:51:40] <amee2k> rue_bed: hmm did we talk a while ago about that coil winding machine i'm working on?
[09:59:00] <Andrea89> hi!
[09:59:14] <Andrea89> someone know spi protocol?
[09:59:46] <Andrea89> I have one problem: how work "master read" ???? I have to transmit one byte for recive anoyher byte??
[09:59:59] <amee2k> yep
[10:00:56] <amee2k> SPI is like two shift registers connected in series... each side loads its register with a value, then the master clocks both registers until the values have exchanged
[10:01:28] <amee2k> so each (8-bit) transfer exchanges one byte in each direction. doesn't neccessarily mean both bytes have to have meaningful values though
[10:02:00] <amee2k> so a master reading from, for example, a serial eeprom would discard the data it receives from the memory chip while transmitting the address information
[10:02:32] <amee2k> and the eeprom would possibly disregard any bytes from the master that it receives while sending the memory contents back
[10:03:59] <amee2k> the datasheet of the IC you're using as slave device should explain if and which information is transmitted during each transfer
[10:04:14] <Kevin`> many devices send status flags during the first byte. you need to read the docs for yours though
[10:08:34] * amee2k idly points out that not all SPI devices neccessarily need to be 8-bit oriented. the shift registers, and hence the transfers, may be of arbitrary width and the datasheet should explain how many bits are exchanged during each transfer
[10:15:06] <rue_bed> amee2k, maybe
[10:15:32] <amee2k> >_>
[10:15:53] <rue_bed> re winder
[10:15:56] <amee2k> i only remember i was talking to someone with an R at the beginning of the nick >_>
[10:16:14] <amee2k> mmh, with a servo motor from an old ATM and i couldn't get the sprocket off
[10:16:19] <Andrea89> ah ok!
[10:16:34] <rue_bed> did you get off the sprocket?
[10:16:37] <atmega> Andrea89: I f the master want to read, he must send one byte to the slave ... for each bit he send he recive a bit from the slave (send and recive is at the same time)
[10:16:43] <Andrea89> the graph tell that "don't care"!
[10:16:48] <amee2k> anyway, i solved the shitty sprocket problem and made an adapter to mount the chuck on the motor \o/
[10:17:27] <Andrea89> like on full-duplex trasmission
[10:17:34] <amee2k> "don't care" == bits are being disregarded
[10:17:48] <Andrea89> tank you very much!
[10:17:53] <amee2k> yep, spi is full duplex by design. that is its main advantage, really
[10:18:32] <amee2k> that, and using unidirectional signal lines, makes it go very fast while being very cheap to implement
[10:19:04] <Andrea89> hmmm.... i'm trying to comunicate to enc28j60 chip with mega32
[10:19:51] <amee2k> nice :)
[10:20:30] <amee2k> some fast SPI stuff like memory or ADC chips go far into 10s of MHz and more
[10:20:35] <Andrea89> but it doesn't respond me :-)
[10:22:22] <bedah> Andrea89, you want to combine enc and atmega? have you stumbled over http://www.ethersex.de ?
[10:22:24] <amee2k> rue_bed: i asked my dad during xmas holidays if he could help me... i think i can beat him on EE by now but i'm no match for his mechanical engineering exp :)
[10:22:30] <bedah> there should be some scematics too
[10:22:55] <amee2k> we got the sprocket off and made an adapter to mount the chuck on the shaft. now setting up a mega88 with LCD display and motor driver on a breadboard
[10:23:29] <Andrea89> ?? what is ethersex.de ?
[10:23:47] <amee2k> a domain name?
[10:23:48] * amee2k runs
[10:24:00] <bedah> ethersex is a firmware fpr avr + enc with ipv6
[10:24:39] <Andrea89> oh.... ipv6: too advanced for me!
[10:24:50] <bedah> can handle ipv4 too i think
[10:25:08] <OndraSter> I was wondering, why are the megjack ethernet connectors so expensive? Also external transformers are a bit expensive :P
[10:25:26] <Andrea89> hmmmm
[10:25:45] <OndraSter> http://uk.farnell.com/wuerth-elektronik/749020010/transformer-1-port-ethernet/dp/1636356
[10:25:51] <OndraSter> it is cheaper to get old ethernet card and desolder it!
[10:25:54] <amee2k> i've got some ethernet transformers salvaged from old network cards
[10:26:14] <amee2k> pick up a stack of old 3com or realtek cards with PTH ethernet transformers
[10:26:36] <amee2k> they're like 5$ for a stack of 10+ on ebay sometimes, or free from the trash
[10:26:53] <amee2k> rue_bed: http://ompldr.org/vY2kzOQ/CIMG8916b.jpeg
[10:28:37] <eruif> amee2k: what is that motor from ?
[10:29:15] <amee2k> eruif: ebay. from the looks of it i'd say an old ATM machine or something similar
[10:30:10] <rue_bed> heh, that motor seems large
[10:30:18] <rue_bed> is it woring good?
[10:30:34] <rue_bed> not too much torque, you can load it down a bit by hand?
[10:30:48] <Andrea89> i have bought "ett et-mini enc28j60"
[10:30:49] <papo> hello. I have a question about the at90usb162 and the atmega8u2. On page 186 of the ATmega8U2 data sheet, figure 20-3 show how to power the device. What are the pins VSS and UVSS? Is this just a fancy name for GND and UGND? The data sheet for the other chip has the same figure
[10:31:00] <eruif> by the size, I'd say it has 10x more torque than you want.
[10:31:18] <amee2k> rue_bed: the motor runs, no gearbox. the case is 13cm long from the mounting plate to the bottom end. the end cap has an optical encoder under it. i hope we didn't damage the encoder... getting the sprocket off was pretty rough!
[10:31:34] <Kevin`> amee2k: your winder looks nice. i'm suprised you don't have a normal power drill to use in place of that though
[10:31:39] <rue_bed> ah, no gearbox, your using current control?
[10:32:00] <rue_bed> constant toque winding, with a speed limit?
[10:32:24] <amee2k> Kevin`: the trick is the optical encoder which i want to use for a turns counter. the power drill works but i couldn't retrofit a counter on it :/
[10:32:43] <rue_bed> OndraSter, if you get it from the right thing, you can get the jacks with the built in magnetics
[10:32:49] <OndraSter> yeah
[10:33:05] <amee2k> rue_bed: something like that... definitely a current limiter to limit torque... then we'll see what i can do in software i guess
[10:33:08] <OndraSter> usually cards that do not have the transformer on the board, it must be in the jack :P
[10:33:12] <rue_bed> Andrea89, 28j60 chip or board?
[10:33:35] <rue_bed> amee2k, thats more like I wanted to make my winder
[10:33:56] <rue_bed> amee2k, do you want my avr servo code?
[10:34:07] <rue_bed> I have an encoder version...
[10:34:16] <amee2k> i also want automatic shut off when reaching a pre-set turns limit
[10:34:22] <rue_bed> shower, need to clean up the shop for robotics this morning
[10:34:26] <amee2k> rue_bed: ooh, no i don't think i have it
[10:34:28] <rue_bed> amee2k, yup
[10:34:50] <rue_bed> k, remind me in 4 hours or so
[10:34:55] <amee2k> okay :)
[10:34:57] <OndraSter> amee2k, I am thinking that there is some black hole in my room.... I can't (still!) find the NRF24L01+ boards, can't find my box with ethernet cards :(
[10:35:11] <amee2k> OndraSter: 0.0
[10:35:19] <amee2k> file a bug report with einstein?
[10:35:25] <OndraSter> most likely
[10:35:45] <theBear> took me 2 moves and almost 3 years to find my little old wifi A ap with printerport
[10:35:55] <Andrea89> rue_bed yes, is an "adaptor" that converts 3.3v to 5v, and have rj45 connector
[11:03:51] <Andrea89> tanke you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[11:04:10] <Andrea89> tank you, sorry :-)
[11:04:51] <Andrea89> *thank
[12:03:02] <OndraSter> huh
[12:03:04] <OndraSter> farnell is down?
[12:03:05] <OndraSter> http://uk.farnell.com/
[12:03:30] <theBear> try another country
[12:03:42] <OndraSter> tried CZ SK UK
[12:04:04] <theBear> wow.. you could try their stupid new name, say in this country, but i don't approve of it
[12:04:15] <theBear> also newark might exist still in some countries
[12:04:22] <OndraSter> it worked yesterday
[12:04:28] <OndraSter> I just wanted to check out prices of something
[12:04:39] <OndraSter> I ain't buying from anything else, because anything else wants at least 3 times the shipping costs
[12:04:42] <OndraSter> digikey wants like 60€
[12:04:48] <OndraSter> or $60
[12:06:37] <mrfrenzy> farnell is often down in the evenings
[12:06:44] <OndraSter> farnell through czech distributor only $5
[12:06:46] <mrfrenzy> that happens with many distributirs
[12:06:51] <OndraSter> hmm
[12:06:54] <mrfrenzy> they don't pay for it support during off hours
[12:07:14] <OndraSter> uh?
[12:07:44] <mrfrenzy> if their webservers breakt down outside office hours, noone is there to fix it
[12:07:52] <OndraSter> what is better to cross over two wires - 0R 1206 SMD resistor or go to bottom and top layer?
[12:07:57] <OndraSter> their hosting is
[12:08:04] <mrfrenzy> correct
[12:08:04] <OndraSter> doubt they mess around the code
[12:16:53] <mapee> evening
[12:18:04] <OndraSter> evenin
[12:18:23] <OndraSter> hmm no "simple" way how to add 0R resistor to get across some trace in Eagle
[12:25:09] <amee2k> OndraSter: add a resistor?
[12:25:28] <OndraSter> amee2k, you know, when you need to cross over some trace
[12:25:35] <amee2k> i know
[12:25:36] <OndraSter> so you either put it to the bottom and top side
[12:25:39] <OndraSter> or use 0R resistor
[12:25:45] <OndraSter> and drag the other trace between the pads
[12:25:45] <amee2k> like a wire jumper but easier to make for a populating machine
[12:25:53] <OndraSter> populating machine = me
[12:25:56] <OndraSter> ye
[12:26:02] <amee2k> hehe
[12:26:12] <amee2k> yeah, why not just add it like a normal resistor
[12:27:10] <OndraSter> it would make the schematic look a bit weird
[12:27:15] <OndraSter> "0R resistors.. wtf"
[12:27:18] <amee2k> i mean, for all assembly intents and purposes it /is/ a resistor >_>
[12:27:38] <amee2k> you won't get around some weirdness if you use an integrated schematic and layout editor ;)
[12:28:10] <amee2k> it'll also force you to double all resistors in the schematic if you want two parallel footprints for more flexibility with the values
[12:28:37] <amee2k> or the layout editor will keep pooping error messages at you
[12:28:52] <amee2k> thats why for my led board i still keep the authoritative schematic on paper
[12:29:16] <amee2k> and only draw the one in kicad to shut up the layout editor and for the parts list
[12:30:31] <OndraSter> hmm
[12:30:38] <OndraSter> it is not that big of a deal to sip
[12:30:41] <OndraSter> to simply go to h
[12:30:45] <OndraSter> to the bottom and top again
[12:30:51] <OndraSter> on non-dangerous paths
[12:31:31] <atmega> I have measure my 1206 0R Resistors , the resistance was 8 mOhm an I use it as shunt :)
[12:32:02] <OndraSter> yay
[12:32:20] <OndraSter> shunt to measure current?
[12:32:58] <atmega> yes
[12:33:02] <amee2k> hehe
[12:33:26] <amee2k> the chinese ghetto 3$ DMMs use a thick piece of wire as shunt too
[12:33:39] <amee2k> "trimmed" by squeezing the wire with a wire cutter >_>
[12:33:45] <OndraSter> eh
[12:34:21] <amee2k> gotta take mine apart some time anyway because some ranges are wonky... probably resistor gone open. i can make some pics then
[12:35:34] <OndraSter> eevblog any1? :)
[12:35:42] <amee2k> hu?
[12:36:02] <OndraSter> http://www.youtube.com/user/eevblog?blend=1&ob=4
[12:36:12] <amee2k> i know what it is
[12:36:16] <OndraSter> oh
[12:36:21] <amee2k> but what does it have to do with DMMs?
[12:36:48] <OndraSter> he took apart few better DMM
[12:37:04] <amee2k> the ones that only differ in firmware anyway?
[12:37:14] <OndraSter> nah
[12:37:22] <OndraSter> some top class from diff manufacturers
[12:38:09] <amee2k> yeah, that sounds like the eev dude :P
[12:39:40] <atmega> I create a cheap current monitor, it only must to be cheap .. not accurate
[12:40:39] <amee2k> define "cheap" please
[12:40:48] <OndraSter> "free"
[12:41:08] <atmega> I make a test with higher temperature (80°C) and the monitor LED was lit up at nearly the right current
[12:41:11] <amee2k> also, how much voltage drop is acceptable? low or high side? waht current range?
[12:41:27] <atmega> ... I have make a photo
[12:42:30] <atmega> lowside
[12:42:58] <atmega> I use a LM358 to increase the voltage
[12:46:14] <amee2k> how much voltage drop is acceptable, and whats the max current?
[12:46:23] <amee2k> also, does it need to be bidirectional?
[12:47:14] <amee2k> LM358 sounds good, but offset is a bit high (max. 9mV in my ST datasheet)
[12:47:52] <amee2k> other than that, use the generic (inverting or non-inverting) opamp amplifier configuration
[12:48:12] <atmega> non-Inverting
[12:48:49] <atmega> I know, but the price should be very very chinese low
[12:49:00] <amee2k> inverting or non-inverting will depend on the direction of the current flow, and on which side of the shunt you want the output
[12:49:26] <atmega> only one direction
[12:49:54] <amee2k> mmh, yes but on which side of the shunt do you want the output?
[12:50:17] <atmega> I show you ...
[12:50:42] <amee2k> if you have a low side shunt, you suddenly have two "ground" wires, one on each side of the shunt. from one of the grounds, the shunt voltage will appear negative, from the other ground it will appear positive
[12:51:21] <amee2k> if you want the output voltage relative to the ground where the shunt voltage appears positive, you use a non-inverting amplifier. otherwise you need an inverting one
[12:51:28] <amee2k> did that make sense or am i going too fast?
[12:54:47] <atmega> the Output Voltage is: 4.1V - U_shunt
[12:55:17] <atmega> oh no ... 5.0V - U_shunt
[12:55:34] <amee2k> http://ompldr.org/vY2k1eQ/shunt1.png << seen from the power supply (voltage source) end, the voltage at the far end of the shunt is positive. seen from the load side ground, it is negative
[12:58:01] <atmega> the Load-Ground is a little bit higher
[13:00:01] <atmega> if the current drops under 100mA a LED should light off
[13:02:20] <amee2k> http://ompldr.org/vY2k2Nw/shunt2.png
[13:02:31] <atmega> and at 60°C (not 80°C what I said) the current limit was 95mA, under this value the LED is turning off
[13:02:45] <amee2k> hrm
[13:03:04] <amee2k> how much ghetto style is acceptable?
[13:03:15] <atmega> :)
[13:05:13] <amee2k> hrm. i triggered omploader's upload limit again >_<
[13:05:19] <amee2k> http://ve504.cugnet.net/~amee2k/sandbox/ghetto-over-current-indicator.png << how about this one?
[13:05:39] <amee2k> you'd use "Rshunt = 650mV / Imax"
[13:06:18] <atmega> 650mV is to much
[13:07:18] <atmega> @ 100mA/500/1000 and 30mOhm the Voltage drop is?
[13:07:49] <amee2k> 3mV, 15mV and 30mV
[13:08:07] <amee2k> that is *very* small for your opamp
[13:08:31] <amee2k> you can use it anyway, but the circuit will require calibration and it will probably drift a lot
[13:08:37] <atmega> yes, I know ... and I was not sure
[13:09:00] <atmega> I test it very well
[13:09:25] <atmega> the temp. drift was the bigest problem
[13:09:25] <amee2k> are you absolutely sure you can't afford a higher shunt value?
[13:09:44] <amee2k> maybe use a linear regulator on the load side to stabilize the output
[13:09:46] <atmega> this was the Optimum
[13:11:18] <atmega> optimum doesn't mean the best way to do sth.
[13:11:47] <amee2k> http://ve504.cugnet.net/~amee2k/sandbox/ghetto2.png << this way you'd measure the regulator's bias current too, but the load won't be affected by the shunt drop
[13:13:04] <atmega> yes, but a additional component
[13:13:59] <atmega> with a voltage drop of 2V
[13:14:01] <amee2k> well, you'll have to buy the low shunt drop with /something/ >_>
[13:15:11] <atmega> smal and cheap is the magic word
[13:15:32] <amee2k> shell out the money for a precision opamp or comparator?
[13:15:56] <amee2k> they'll be slower but they're not /that/ expensive. you're looking for low offset voltage
[13:16:29] <amee2k> and in this application you can trade pretty much all other specs for better offset voltage
[13:16:42] <atmega> you have a good source for good OpAmps?
[13:16:52] <amee2k> i buy most of my stuff from farnell
[13:17:03] <atmega> oh ...
[13:17:12] <amee2k> conrad if i need it fast (they have a store around here) but their selection sucks pretty badly sometimes
[13:17:27] <amee2k> do you have a student id by chance?
[13:17:39] <atmega> the price of the OpAmp was 2 or 3 cent
[13:18:13] <atmega> the reseistors under 0.1 cent, caps too
[13:23:37] <amee2k> LM339 is listed at 1mV offset voltage. that is about the absolute worst i would go for this
[13:26:27] <amee2k> anything less than 1mV is going to get expensive though
[13:27:02] <amee2k> if you want to get away without calibration, i wouldn't recommend more than 300uV... LMV761 comes to mind but it is like 3EUR iirc
[13:28:06] <atmega> I had no choice, dhe whole device costs are under 2 Euro
[13:28:55] <amee2k> why do you need a shunt this small?
[13:30:14] <atmega> I f I use a bigger shunt then I have a higher voltage drop and the Outputvoltage is to wrong
[13:30:45] <amee2k> what is your load that you're relying this much on a stable power supply?
[13:30:50] <atmega> if the shunt is to smal it do not work with such a cheap opamp
[13:31:20] <amee2k> and what is your power supply that you can't move the regulator to the load side of the shunt
[13:31:33] <atmega> the Outputvoltage was 5V, if I lose 30mV this is okay
[13:32:24] <amee2k> why is 4.3V not okay anymore?
[13:32:31] <atmega> the Powersupply was a cheap 5V stepUp - Board
[13:33:13] <amee2k> do you have a schematic for the step-up board?
[13:33:34] <amee2k> (bb in 20... going for a shower)
[13:33:41] <atmega> I don't know ... it was for a iPhone
[13:34:01] <amee2k> loliphone
[13:34:23] <atmega> is the voltage range of 4.3V to 5V acceptable?
[13:36:42] <amee2k> dude
[13:36:47] <amee2k> that depends on what your load is
[13:36:50] <atmega> I have a old mobile phone, there I add an additional LiIon-Akku with glue
[13:36:54] <amee2k> thats why i'm asking about that all the time
[13:37:53] <atmega> okay ... the Input was fixed (5V) and the Output should not drop so much
[13:38:14] <amee2k> with a little luck you can modify your step-up board to regulate away the shunt drop
[13:38:32] <amee2k> but you'd need a schematic for it then
[13:39:34] <amee2k> (most likely the shunt will end up on the high side then, but if all you want is light a LED you don't care which side it is on)
[13:39:56] <atmega> no, this was not my stepup board, it was a cheap mass production which e is used everywhere
[13:39:58] <amee2k> anyway... shower time now
[13:40:12] <amee2k> that doesn't mean you can't modify the board ;)
[13:41:46] <atmega> Platic housing -> plug in the two boards, connect it, close the housing ... sell i
[13:44:14] <abcminiuser> So far my plan on being an Atmel engineer on AVRFreaks that people don't hate seems to be working...
[13:45:18] <OndraSter> hmm how come that 4k caps is cheaper on farnell than reel with 4k? The price is almost half :P
[13:45:25] <OndraSter> it must take them some time to unwind it
[13:47:49] <atmega> OndraSter: link ?
[13:47:55] <OndraSter> farnell :P
[13:48:28] <atmega> to the caps reel ... pls show me
[13:49:15] <atmega> if you want to buy cheap you must talk with the source, not with the re re seller farnell
[13:49:20] <OndraSter> hmm caps reel is even 3 times more
[13:49:26] <OndraSter> those were resistors actually
[13:50:19] <OndraSter> http://uk.farnell.com/panasonic/erj3geyj103v/resistor-0603-10k-5-0-1w/dp/2059627
[13:50:38] <OndraSter> oh nvm
[13:50:45] <OndraSter> I was looking at caps vs resistors
[13:51:19] <Casper> also, if you look at bulk vs reel... that's also different
[13:51:29] <Casper> they can order in bulk too
[13:51:40] <Casper> 'cept for smd...
[13:51:47] <atmega> what is "bulk"
[13:51:51] <OndraSter> but caps ARE cheaper in "single" form outside reel
[13:51:53] <OndraSter> by a lot
[13:52:53] <OndraSter> still, it is way, way cheaper on farnell than local shops
[13:53:05] <OndraSter> by like 6 times :o)
[13:54:26] <Casper> atmega: loose part
[13:55:43] <atmega> thousends of SMD 0603 resistors in a box?
[13:56:28] <atmega> then pic and place would be expensive
[13:57:52] <atmega> Widerstand 0603 10k 0,1 W 5000 305,24 euro
[13:58:11] * amee2k reappears
[13:58:18] <atmega> .. 300 Euro profit
[13:59:14] <amee2k> atmega: how about taking the design for the bought regulator board and putting the same reg onto your board?
[13:59:31] <amee2k> then you could add the current sensing as needed and have it all in one board
[13:59:59] <amee2k> also mc34063 is 50 cent in singles >_>
[14:02:12] <atmega> I was not able to touche it
[14:02:44] <amee2k> you don't need to touch it, you need the schematic >_<
[14:02:49] <amee2k> its not a sex toy
[14:02:56] <atmega> for me I would do it
[14:04:22] <atmega> no this was a ready board (massproduction) there are hundred thousend which exist
[14:05:35] <atmega> if you want to build a device and there are ready and tested parts, then you use it
[14:05:54] <amee2k> then i'd say you need to reconsider something... doing it with a shunt value this low is a stretch already. doing it on a tight budget like this doesn't make it easier
[14:06:44] <amee2k> atmega: using parts that only end up getting in your way simply because they exist isn't exactly a winning strategy for production designs
[14:07:32] <atmega> you know, you can buy servos in china
[14:07:53] <amee2k> if you modify the regulator to compensate for the shunt drop, you can use any value you want. and then the over-current LED only costs an extra half a cent for a transistor
[14:10:01] <atmega> the chinese a rc-car with cheaper component (gears) as you can find anywhere, they don't use theyr own servos
[14:10:35] <amee2k> what do servos have to do with your current sensor dilemma?
[14:11:02] <atmega> if the current is falling, from 1A or 500mA then the voltage drop is falling too
[14:12:05] <atmega> I think the solution (from me) was good
[14:12:47] <atmega> you don't agree ...
[14:13:29] <amee2k> i haven't seen your solution
[14:26:14] * amee2k nudges rue_bed
[14:26:36] * amee2k idly reminds rue_bed of his motor driver code
[14:34:12] <OndraSter> hmm
[14:34:17] <OndraSter> MURATA vs BOURNS
[14:34:19] <OndraSter> inductors
[14:34:32] <atmega> Bourns
[14:34:40] <OndraSter> yeah thought so
[14:34:45] <OndraSter> they have better picture even
[14:34:50] <OndraSter> :D
[14:35:03] <OndraSter> I'd expect the Bourns to have lower DC resistance
[14:35:06] <OndraSter> compared to the MURATA
[14:35:07] <OndraSter> but nope
[14:35:26] <atmega> here I have some Coilcraft ...
[14:35:45] <OndraSter> http://uk.farnell.com/bourns/srn8040-100m/inductor-power-10uh-semi-shielded/dp/2061669
[14:35:51] <OndraSter> http://uk.farnell.com/murata/lqh88pn100m38l/inductor-smd-8x8mm-10uh-20/dp/1782823
[14:35:53] <OndraSter> these two
[14:37:07] <atmega> here the Murata Inductor is better
[14:37:17] <OndraSter> I am already getting Bourns for the other part though
[14:37:30] <OndraSter> well those are "paper" values
[14:37:40] <OndraSter> they do not speak about shielding those murata at all
[14:40:04] <OndraSter> http://cz.farnell.com/edsyn/cr44/solder-paste-in-syringe-10g/dp/876768
[14:40:08] <OndraSter> http://uk.farnell.com/edsyn/cr44/solder-paste-in-syringe-10g/dp/876768
[14:40:11] <OndraSter> is this worth it?
[14:40:22] <OndraSter> I'd just place the parts on the pads (with the solder paste on the pads)
[14:40:27] <OndraSter> and reflow it with hotair gun, right?
[14:40:35] <OndraSter> or should I do it all manually with normal soldering iron :P
[14:40:41] <OndraSter> it is like 50 parts
[14:40:44] <OndraSter> maybe a bit more
[14:41:11] <OndraSter> 24 LED drivers, main IC, few decoders, ...
[14:41:13] <OndraSter> and two boards
[14:44:48] <atmega> I have seen a video on youtube, this guy use a hotplate and a glas cover to solder a whole board in a short time :)
[14:52:26] <amee2k> lots of people have ghetto reflow set-ups
[14:52:37] <amee2k> modding toaster ovens is popular too
[14:54:30] <atmega> I do not find the Video on youtube, but there war a Aluminium plate on the hotplate from the oven, an of the top was the PCB with all the components
[14:55:51] <atmega> for heat accumulation he use a glas cover (cap of a saucepan I think)
[15:09:27] <erickozokas> hi everyone
[15:09:30] <erickozokas> i wrote a sketch using arduino ide and built project using an arduino. i then swapped out the arduino for an attiny45 and uploaded the sketch to it using arduino ide and the arduino as isp. The sketch simply reads temperature from a thermistor and writes to a display. i believe the attiny45 is having trouble converting my final temperature integer to a char array. would anyone be up for taking a look at my method that is doing this?
[15:09:30] <erickozokas> guess i am missing something small that the arduino was able to handle.
[15:12:40] <Kevin`> erickozokas: did you compile it for the attiny45?
[15:15:01] <erickozokas> Kevin`: yes i did. most of the code work fine. i can display hardcoded chars using the attiny45. but something is happening either in calculating the temperature or converting it to a char array.
[15:16:57] <erickozokas> i am wondering if my conversion from integer to char is changing the int to an acsii code or something like that. but i do not know of anyway to debug the code running on the attiny45 so i am not sure. since it all works perfectly on the arduino board
[15:17:48] <Kevin`> how are you converting it, printf?
[15:17:56] <Kevin`> *sprintf
[15:19:35] <erickozokas> no i didnt think to use sprintf. i will look into that. this is the code that i have for calculating the temp and for converting it to a char array.
[15:19:53] <erickozokas> void calculateTemperature(){
[15:19:53] <erickozokas> int reading = analogRead(temperaturePin);
[15:19:54] <erickozokas> float voltage = reading * 3.3;
[15:19:54] <erickozokas> voltage /= 1024.0;
[15:19:55] <erickozokas> float temperatureC = (voltage - 0.5) * 100;
[15:19:55] <erickozokas> float temperatureF = (temperatureC * 9.0 / 5.0) + 32.0;
[15:19:56] <erickozokas> temperature = temperatureF;
[15:19:56] <erickozokas> }
[15:19:57] <erickozokas> void displayTemperature(){
[15:19:57] <erickozokas> float tempTemperature = temperature + 0.5;
[15:19:58] <erickozokas> int temperatureInt = (int)tempTemperature;
[15:19:58] <erickozokas> char digitArray[3] = {'0','0','0'};
[15:19:58] <erickozokas> int index = 2;
[15:19:59] <erickozokas> while(temperatureInt != 0)
[15:19:59] <erickozokas> {
[15:19:59] <erickozokas> int digit = (temperatureInt % 10);
[15:20:37] <erickozokas> oh that was a newbie mistake. i did not mean to shoot that all out in separate lines.
[15:20:49] <Kevin`> that sort of code should not behave differently per platform. unless you somehow ran it out of ram or similar
[15:22:01] <erickozokas> ok. i tried to keep it as simple as possible so that i would not have trouble switching platforms.
[15:22:14] <Kevin`> you should try to avoid using floating point math if possible, on a small chip like that the library for it can take a lot of space you have to work with
[15:22:26] <Kevin`> that's a problem you'd notice, though ;p
[15:22:54] <erickozokas> yes. i trimmed quite a bit of fat already. =)
[15:27:08] <abcminiuser> Floats are bad, mkay
[15:27:22] <abcminiuser> Also, by default printf(), sprintf() etc won't work with floats
[15:33:03] <erickozokas> ok. thanks for the input. i will try to get rid of the floats.
[15:39:34] <OndraSter> atmega, I am not sure I want to use reflow oven, I'd be fine with reflow with hot air (de)soldering gun instead
[15:39:38] <OndraSter> because I've got some parts from bottom
[15:40:13] <OndraSter> it's just... is it worth paying for the solder paste in syringe or for this amount of work should I do it all manually
[15:40:52] <atmega> the bottom parts must be glued or solder later by hand
[15:41:31] <OndraSter> if I do reflow by hot air gun
[15:41:34] <OndraSter> it won't desolder both sides
[15:41:38] <OndraSter> I already tried :P
[15:42:26] <atmega> oh you heat up every single component or only an area
[15:42:31] <OndraSter> yeah
[15:42:49] <atmega> okay the heat resistance of FR4 is high
[15:45:00] <OndraSter> tannerste, fix yer interwebz
[15:52:21] <OndraSter> for making home PCBs, do you prefer toner transfer or UV method? :P
[15:52:35] <OndraSter> I made one or two boards with the UV method
[15:52:43] <OndraSter> high pressured mercury lamp
[15:52:51] <OndraSter> not breaken, so it takes like 15 - 20 minutes
[15:53:44] <mrfrenzy> UV is the proven method
[15:54:31] <OndraSter> thought so
[15:54:44] <OndraSter> actually toner transfer is more proven
[15:54:49] <OndraSter> or well
[15:54:50] <OndraSter> nowadays
[15:55:39] <OndraSter> I built it into old fullATX PC
[15:55:40] <OndraSter> e
[15:55:42] <OndraSter> err
[15:55:47] <OndraSter> AT PC :)
[15:55:57] <OndraSter> http://a4.sphotos.ak.fbcdn.net/hphotos-ak-ash4/283344_1819321328365_1400123387_31485167_772923_n.jpg
[15:55:59] <OndraSter> ATX box though
[15:57:00] <OndraSter> http://a5.sphotos.ak.fbcdn.net/hphotos-ak-snc6/270326_1819320688349_1400123387_31485162_8230390_n.jpg
[16:10:52] <Fleck> help, pow(2,7) returns double - 128.00, when i do casting like (int)pow(2,7) i get 127! how to do casting in right way?
[16:13:54] <specing> By using 2 << 7 in the first place
[16:14:06] <OndraSter> 1 << 7
[16:14:27] <specing> Damn, I knew I was getting a little rusty
[16:14:28] <OndraSter> 2 << 7 would make 256
[16:14:44] <OndraSter> ... I hope, it is getting late again
[16:14:48] <OndraSter> and I am already 12 hours awake!
[16:14:54] <Fleck> thx :P
[16:15:33] <Fleck> C is crazy :D
[16:15:48] <Fleck> many things do not work as i expect :D
[16:16:35] <Fleck> guessing that - languages like php spoiled me :P
[16:17:01] <specing> PHP...
[16:17:31] <Fleck> :D
[16:17:32] <OndraSter> lolphp
[16:17:43] <OndraSter> I worked as a PHP programmer for few months
[16:17:55] <OndraSter> (and on my own before that for few years)
[16:17:59] <OndraSter> never ever going back
[16:41:21] <dpy> hi guys
[16:41:31] <OndraSter> hi
[17:31:38] <amee2k> http://ompldr.org/vY2lidA/2012-01-29-002126.jpg << any ideas where to get a matching connector for this cable from?
[17:31:43] <amee2k> (preferably for free)
[17:34:18] <atmega> what is the gap between the lines
[17:34:27] <atmega> 1mm or 0.5mm ?
[17:34:28] <amee2k> 5mm
[17:34:40] <amee2k> oh, between the signal lines
[17:34:42] <amee2k> lemme measure
[17:35:13] <atmega> 16 lines
[17:35:44] <amee2k> pitch appears to be 1mm
[17:37:30] <amee2k> its from a 2x16 character LCD module. they came with a short piece of these flexi cables on them
[18:56:30] <inflex> FPC connectors are cheap enough anyhow
[18:56:45] <inflex> $1 would get you one... otherwise, just scrounge around various devices
[20:19:58] <hetii> hello :)
[20:21:09] <hetii> Q: is it possible to use any uC to control sound blaster live sound card ? The idea is to have LAN interface to SB Live ?
[20:21:58] <hetii> The card use PCI interface.
[20:22:26] <LoRez> why do you want a uC to do that?
[20:24:10] <hetii> because i don`t whant to put whole PC inside my amplifer. The SB Live is realy cheap card now and the quality of the sound from it is realy cool.
[20:25:24] <hetii> so if it could be possibe then why not. On uC we can implment let said a pulse-audio server and then use such device on any lan.
[20:27:17] <hetii> here http://www.elektroda.pl/rtvforum/viewtopic.php?t=2198222&start=0&sid=38e9b544f70b48a2df18ae8ed08397bb some one use Sound Blaster 16 on ISA slot to play some sound
[20:28:03] <hetii> so i wondering now if it possible to do but by PCI interface
[20:31:50] <Casper> hetii: no
[20:31:58] <Casper> atleast not an avr
[20:32:09] <Casper> you'ld have to go with an ARM or something with a PCI bus
[20:33:07] <hetii> hmm, so its time to find some proper one
[20:33:51] <Casper> I think it would be easier to just.... make your own soundcard in spdif
[20:36:05] <Big-Al> ya you can find lots of vs1053 breakout boards for an avr
[20:36:14] <Big-Al> they are like $30
[20:36:42] <Big-Al> so you can make your own wav/midi player
[20:37:32] <Casper> what is vs1053?
[20:39:25] <hetii> but the point was to relay use a SB Live :( Im realy disapoitment that around me i see many cool device that are powerful like wifi cards or pci cards and i cannot use them on some easy way :(
[20:40:00] <Big-Al> casper they are cool they are really a pc kinda sound card
[20:40:07] <Big-Al> chip
[20:40:28] <Big-Al> but they do ok sounding midi and .wav
[20:40:46] <Big-Al> fixed midi sounds though
[20:40:48] <OndraLappy> what would happen if I'd cut off MCLK signal on AD9834 (DDS) and enabled diff one?
[20:40:53] <OndraLappy> ofc first put it into sleep mode
[20:41:54] <Big-Al> http://www.sparkfun.com/products/9943 vs1053
[20:46:47] <hetii> dac 18 bits, sb live 24 :)
[20:47:13] <Big-Al> ya i have a sb live also in this box
[20:47:35] <Big-Al> i made some nice midi drums in sb that i like
[20:47:37] <hetii> in with box ?
[20:47:44] <Big-Al> a win7
[20:48:08] <hetii> you mean on regular pc ?
[20:48:10] <Big-Al> theres some ok drivers that let u run it compatible with 64 bit and still do midi
[20:48:51] <hetii> hmm ok but my point is to run it without pc :)
[20:49:06] <Big-Al> ya see how much easier isa is than pci
[20:49:20] <Big-Al> you can do isa with simple ttl
[20:49:30] <hetii> ya i know :)
[20:49:41] <Big-Al> u need a chipset with pci
[20:50:10] <Big-Al> so u might as well buy a $60 mboard $75 processor $50 ram
[20:50:31] <Big-Al> or an arm board for $250 with pci
[20:50:46] <hetii> useless :(
[20:51:02] <hetii> you crash my dream :(
[20:52:07] <Big-Al> yep sometimes dreams stay as a dream
[20:52:26] <hetii> thats true :)
[20:52:28] <Big-Al> buy a rasberry pi
[20:52:41] <Big-Al> and u can use its sound
[20:52:51] <hetii> everybody waits for it :)
[20:53:13] <Big-Al> beagleboards are here now
[20:53:25] <Big-Al> and only like $90 or $110
[20:53:37] <hetii> to expensive for such purposes:)
[20:54:13] <Big-Al> http://www.sparkfun.com/products/10498
[20:54:30] <Big-Al> theres a processor on with a vs1053
[20:54:36] <Big-Al> for $40
[20:54:43] <Big-Al> if its all cost
[20:54:55] <Big-Al> u need an sd card to hold the sounds though
[20:55:47] <Big-Al> the hackers tell me u can buy a usb mp3 player for like $20 though
[20:56:13] <hetii> my plan was to use Wifi or LAN interface and use pulse audio to handle streeming throught it :)
[20:56:47] <hetii> yep :) i know, i have many such devices that are not used:(
[20:57:00] <OndraLappy> hmm I haven't ordered any samples from Analog Devices for some time
[20:57:10] <OndraLappy> I might grab some I2C digital pots and some DDS
[20:57:14] <OndraLappy> hope they sample those :P
[20:57:34] <hetii> but persony SB Live was realy a best queality of the sound, even when i compare it with current chip that are on new pc boards :)
[20:58:53] <hetii> ok i should go, on my country is dark nigth and i don`t see what i type :(
[20:59:15] <hetii> so have a nice day/night and see you some other day :)
[21:24:52] <skorket> sorry for the newbie question, but I'm using avr-as and I'm trying to make a synonym for a register....so something along the lines of '.set foo, r16'. This isn't working for me though. Is this possible?
[21:26:14] <Casper> macro?
[21:27:28] <skorket> Casper, aren't macros more for making series of assembly statements? I just want replace the symbol 'foo' with the register 'r16' (for example)
[21:27:45] <Casper> oh then define?
[21:30:20] <skorket> .def, .set and .equ I believe are all synonymous
[21:30:27] <skorket> and all don't work...
[21:31:00] <skorket> .equ foo, 16 allows the constant '16' to replaced with 'foo' everywhere...
[21:31:19] <skorket> but I want the register 'r16' to be replaced for 'foo' everywhere
[21:31:24] <skorket> ....in avr-as
[21:37:47] <timemage> skorket, http://stackoverflow.com/questions/721192/is-it-possible-to-use-mips-register-names-with-gas-gnu-assembler <- that is the best answer i could find. there doesn't seem to be a built in way to do that.
[21:39:26] <skorket> timemage, ok, thank you
[21:40:04] <timemage> skorket, you might consider using m4
[21:40:13] <skorket> timemage, whats that?
[21:40:24] <timemage> skorket, another macro preprocessor.
[21:41:46] <timemage> skorket, i think years ago they kind of hoped it would catch on for C, but it hasn't that much. was used for sendmail configuration at one point, probably still is. it's used for autotools/autoconf files.
[21:42:07] <skorket> timemage, yes, I've seen it before when configuring sendmail
[21:42:27] <skorket> Let me have a look. The idea would be to pump an assembly file through m4 first, then send it to avr-as?
[21:42:27] <timemage> skorket, my condolences =)
[21:42:42] <timemage> skorket, that' the idea.
[21:46:57] <skorket> right, so at its simplest, I could just 'define(FOO, r16)', pump it through m4 and voila. better than writing a macro preprocessor myself I suppose
[21:47:00] <skorket> thanks timemage
[21:52:28] <timemage> skorket, yeah, or even simpler you could use a parameter to m4 to do your define part. like if you wanted to be able to set it from the build tools (make or whatever).
[21:58:57] <skorket> I'm using an ATTiny13 and when trying to 'lid r2, 2' I'm getting a compile time error 'Error: register number above 15 required'. Presumably this is because only registers r16-r32 can be used for immediate loads ('mov r2, r28' generated no such error for example). Where in the datasheet does this restriction appear? I don't see anything in the 'General Purpose Register File' section about this restriction
[21:59:09] <skorket> Sorry, I meant 'ldi r2, 2'
[22:51:29] <timemage> skorket, i don't see anywhere in the datasheet for the attiny13, but in the avr instruction set manual you can see it.
[22:52:00] <timemage> skorket, doc0856.pdf pg 94 or so.
[23:58:39] <ferdna> an RC Airplanes IRC channel anyone?