#avr | Logs for 2012-10-08

Back
[01:40:10] <jadew> anyone with an open bench logic sniffer able to capture 1-wire in overdrive and willing to use my program to do that? I don't have a device that can do overdrive and I need the captured data to build a parser
[02:43:46] <OndraPhone> Oh my.
[02:44:02] <OndraPhone> Why have I gone to this school :(
[02:46:13] <OndraPhone> WHYYYYYYYY
[02:48:42] <OndraVPS> hello.
[02:48:46] <OndraVPS> this is better than phone :P
[02:56:36] <OndraVPS> megal0maniac_afk: one more Ondra :P
[02:56:53] <OndraVPS> to explain the nicks
[03:12:44] <Richard_Cavell> How is everyone today?
[03:12:48] <Richard_Cavell> I've almost finished Crysis 1
[03:12:51] <Richard_Cavell> Halfway through Toki Tori
[03:17:19] <OndraVPS> heh
[03:17:23] <OndraVPS> Crysis 1..
[03:23:10] <Xark> Richard_Cavell: Doing well. I could never get into Crysis 1, but I really enjoyed 2.
[03:23:36] <OndraVPS> I had issues with C2, it got boring
[03:23:41] <OndraVPS> C1 was much better :P
[03:24:02] <OndraVPS> but still not the best game evah!
[03:24:05] <OndraVPS> Half Life ftw :P
[03:24:44] <Xark> OndraVPS: I am not a "stealth" FPS fan. I like running in with overwhelming firepower and blowing everything up (and absorbing ridiculous amount of damage). :)
[03:25:10] <OndraVPS> blowing up in HL2 was not enough? :P
[03:25:22] <Xark> Half Life was indeed fully awesome. Not sure if HL 1 or HL 2 is my favorite. The both were awesome. :)
[03:26:17] * Xark bought both HL1 and HL2 on release day. :)
[03:26:22] <OndraVPS> :)
[03:29:11] * Xark hopes Valve bothers to release a few more "episodes"...
[03:29:50] <OndraVPS> hehe
[03:29:51] <OndraVPS> HL3
[03:29:54] <OndraVPS> maybe... in 4 years
[03:30:43] <Xark> OndraVPS: Yeah, I won't be holding my breath. :)
[03:31:48] <Duality> Xark: halfe life for the win :)
[03:31:58] <Xark> :)
[03:32:13] <OndraVPS> they should hire BMS devs :P
[03:34:00] <OndraVPS> hmm the only usable replacement for the toshiba portege m200/tecra m4 is Surface Pro :(
[03:34:16] <Xark> OndraVPS: I need to try that out. Looks neat.
[03:34:40] <OndraVPS> aka touchscreen with wacom digitizer, desktop windows, tablet pc format, high resolution screens. Only 10" on surface will not be much :(
[03:34:52] <OndraVPS> :)
[03:34:54] <OndraVPS> BMS is great
[03:34:59] <OndraVPS> they are now working on XEN
[03:35:04] <OndraVPS> and released only the first half of the game
[03:38:36] <Richard_Cavell> Is BMS any good?
[03:39:06] <OndraVPS> it is awesome
[03:39:15] <Richard_Cavell> I don't like the fact that in Crysis 1 your powers run out quickly
[03:39:21] <OndraVPS> ugh.
[03:39:32] <Richard_Cavell> It feels awkward sort of recharging and going again
[03:39:35] <OndraVPS> if you don't like that, then don't even try BMS.
[03:39:46] <OndraVPS> if Crysis 1 feels hard and weird, BMS is much harder
[03:39:51] <Richard_Cavell> BMS should be like Half-Life 1
[03:39:55] <Richard_Cavell> I love Half-Life 1
[03:40:55] <OndraVPS> yeah, except that the bots are much smarter in BMS than in HL
[03:41:15] <OndraVPS> even on easy
[03:47:45] <OndraVPS> he is an ozie?!
[03:47:48] <OndraVPS> omg
[03:48:11] * OndraVPS will be staying in the Europe.
[04:04:16] <RikusW> OndraSter_: I'm considering writing a bootloader for xmegaU that looks like a AVRISP mkii
[04:04:26] <RikusW> it would be very similar to what I did on the U2S
[04:53:41] <Amadiro> woops, accidentially put 5V into an xmega chip... It's probably dead now
[05:06:04] <Xark> Amadiro: Bummer. Specs rate "Absolute max" at 4v...did it survive?
[05:07:14] <Amadiro> Xark, doesn't look like it
[05:07:33] <Amadiro> And of course I only took one with me and have the rest at home... murphys law in action
[05:07:36] <Xark> :(
[05:07:50] <Amadiro> oh well, guess I'll wire it up tomorrow
[05:13:21] <Amadiro> Attached it right to the programmer, not remembering that it provides 5V-to-target
[05:13:46] <Amadiro> Thanksfully these chips are only 2$ each :)
[05:26:11] <OndraSter_> some d3 chip I presume
[05:29:01] <Amadiro> OndraSter_, 64a4
[05:30:11] <Amadiro> I'll probably have a look later whether there are even smaller xmegas I could use -- I really just need the 4 UARTs.
[05:31:26] <OndraSter_> nope
[05:31:29] <OndraSter_> *4 is the smallest
[05:35:02] <Amadiro> OndraSter_, ah, well, works for me.
[05:35:09] <OndraSter_> I saw some e5 series and x1 serie
[05:35:09] <OndraSter_> s
[05:35:13] <OndraSter_> but only as mentions on some websites
[05:35:19] <Amadiro> I looked at some of the PICs and MSP chips with 4+ UARTs, but they were all more expensive
[05:35:23] <OndraSter_> never on atmel.com
[06:01:52] <Richard_Cavell> How similar to AVR8 is AVR32? Or is it completely different?
[06:09:24] <Thetawaves> completely different
[08:56:32] <Richard_Cavell> Can I just say that these routing and socket boards for my STK600 are quite cute
[08:56:37] <Richard_Cavell> Obviously built by robot
[08:56:42] <Richard_Cavell> Tiny microchips and components
[08:58:24] <AR_> stk500 is superior!
[08:58:49] <Richard_Cavell> maybe it is
[08:59:34] <Richard_Cavell> I wouldn't mind one
[08:59:45] <Richard_Cavell> AR_: Can they program chips other than DIP?
[08:59:53] <Richard_Cavell> Do they have the sockets for quad-thingy
[09:00:07] <AR_> no only dip
[09:00:16] <AR_> stk500 is old
[09:00:18] <Richard_Cavell> Well I only like DIP so that's cool
[09:00:28] <Richard_Cavell> Once you prototype it, then you can move to some other package
[09:00:52] <theBear> making programming adapters (specially for isp) is trivial
[09:01:13] <AR_> stk500 has isp header
[09:01:36] <Richard_Cavell> I mean programming the chip
[09:01:43] <Richard_Cavell> like mounting the chip and programming it that way
[09:01:44] <AR_> yes
[09:01:52] <theBear> jsut 'cos it's called isp, doesn't mean it needs to be on a target board
[09:01:55] <AR_> you can mount the chip externally
[09:02:11] <AR_> and program it with "isp"
[09:02:12] <Richard_Cavell> I suppose you can just plonk the IC in a breadboard all by itself and run the jumper wires and do ISP
[09:02:18] <AR_> yes
[09:02:22] <theBear> or better, do it on a vero or custom pcb
[09:02:33] <Richard_Cavell> with a socket?
[09:02:42] <Richard_Cavell> I bought some 28-pin AVRs and also some 28-pin sockets that they fit into
[09:03:18] <AR_> stk500 can do those
[09:03:23] <AR_> and 40 pin
[09:03:43] <AR_> 8515
[09:07:12] <Richard_Cavell> why did you say 8515?
[09:07:14] <Richard_Cavell> What does that mean?
[09:07:45] <theBear> it's an old old avr
[09:09:51] <Richard_Cavell> what differentiates the new ones?
[09:09:56] <Richard_Cavell> The old ones do everything that I need
[09:10:00] <Richard_Cavell> I just need to flip port bits
[09:10:02] <Richard_Cavell> input, output
[09:10:04] <Richard_Cavell> that's all
[09:10:09] <Richard_Cavell> I don't need UART or USB stack
[09:10:26] <Richard_Cavell> And those things with 384 kilobytes of flash - that's just gonna leave me with 383 kilobytes of unused flash
[09:10:34] <karlp> today maybe... :)
[09:12:49] <theBear> uart is ALWAYS handy, even if it's just during dev
[09:13:23] <AR_> uart is superior
[09:13:29] <theBear> old ones had 100% hard uarts (uart vs usart) tho usually only one of them, erm, little less ram/rom and 1/10th programming cycles
[09:13:37] <theBear> umm, probly not a lot else different
[09:13:45] <theBear> 90s series mostly
[09:15:27] <Richard_Cavell> fine with me
[09:15:40] <Richard_Cavell> Can I ask a dumb question - I know in theory what UART is but in practise what does it let me do?
[09:16:58] <theBear> it lets you conveniently send data down a line with some nice serial timing, and details like start/stop/parity handled for you, often since the 80's you get buffering as a bonus
[09:17:29] <Richard_Cavell> so what kind of devices communicate via UART?
[09:17:33] <Richard_Cavell> Another AVR?
[09:18:13] <theBear> pretty much anything 'serial' you ever heard of, anything rs-??? standard, midi, dmx, x10 from memory, etc etc
[09:18:36] <Richard_Cavell> What about the serial port of a PC?
[09:19:53] <theBear> yeah, what you think 8250/16450/16550 are ?
[09:21:35] <Richard_Cavell> ok
[09:22:03] <Richard_Cavell> If you were to connect AVRs to do some type of multiprocessing and share data, how would you do it? Using UART?
[09:22:46] <theBear> depends on a lot of things, physical relationship to each other, amount of data that needs transfer, speed of that transfer, variable or fixed number of avrs, etc etc
[09:24:07] <Richard_Cavell> I had the idea of transferring information between ports using some handshaking lines
[09:24:09] <Richard_Cavell> doing it manually
[09:24:15] <Richard_Cavell> flip a bit when there's information on the lines
[09:24:22] <Richard_Cavell> the other AVR flips a bit to say "received"
[09:39:05] <megal0maniac> OndraSter_: OndraVPS: You've explained nothing :/
[09:39:31] <megal0maniac> You still have too many nicks :)
[09:45:26] <megal0maniac> Anyone have a suggestion for nrf21l01 wireless modules? I'm looking on ebay and there are hundreds...
[09:47:54] <megal0maniac> Or are they all pretty much the same?..
[09:52:32] <r00t|home> megal0maniac: no matches for "nrf21l01"?
[09:53:29] <megal0maniac> 24, not 21. Sorry :)
[09:55:44] <jadew> anyone with an open bench logic sniffer able to capture 1-wire in overdrive and willing to use my program to do that? I don't have a device that can do overdrive and I need the captured data to build a parser
[10:04:55] <megal0maniac> jadew: Willing, but unable. Sorry :)
[10:05:11] <jadew> :) np
[10:05:36] <megal0maniac> Might be time for a logic sniffer, though...
[10:08:11] <jadew> have you decided on what you want to get yet?
[10:10:36] <megal0maniac> Probably open bench. Sealeae is really nice, but not worth it for me
[10:10:51] <megal0maniac> Not on this budget, anyway :)
[10:11:10] <jadew> yeah, it's pretty expensive
[10:15:44] <megal0maniac> Nobody used nrf24l01?
[10:15:58] <megal0maniac> It's like the cheapest wireless module in the univers
[10:16:00] <megal0maniac> e
[10:20:21] <r00t|home> megal0maniac: could be that i bought a few because they were cheap, but never used them
[10:20:40] <OndraSter_> megal0maniac, OndraSter = my base nickname
[10:20:48] <OndraSter_> Sterver = me from home server
[10:20:56] <OndraSter_> (now OndraSter)
[10:21:01] <OndraSter_> Phone = from phone
[10:21:05] <OndraSter_> Tabby = from my tablet pc
[10:21:10] <OndraSter_> VPS = from ym VPS :)
[10:21:12] <OndraSter_> my*
[10:21:17] <OndraSter_> that would be all
[10:26:21] <OndraSter_> all the nrf24l01+ are the same
[10:26:23] <OndraSter_> except
[10:26:32] <OndraSter_> some have sma cibbector
[10:26:35] <OndraSter_> connector
[10:28:44] <megal0maniac> OndraSter_: Why not ssh like me? :)
[10:29:42] <megal0maniac> sma cibbector might be nice, but I doubt that I'll need that kind of range
[10:29:53] <OndraSter_> ssh to vps? boring :P
[10:29:59] <OndraSter_> i started that today
[10:30:41] <megal0maniac> ssh to openwrt on my router, attach to screen with irssi running inside
[10:30:53] <OndraSter_> I can't ssh to my router because:
[10:30:56] <OndraSter_> a) it does not run openwrt
[10:31:00] <OndraSter_> b) I don't have public IP :P
[10:31:09] <megal0maniac> a) can often be changed
[10:31:11] <megal0maniac> b) ddns
[10:31:17] <OndraSter_> ddns is for dynamic
[10:31:18] <OndraSter_> ..
[10:31:22] <megal0maniac> Well, yes
[10:32:08] <megal0maniac> Why no public IP?
[10:32:21] <OndraSter_> because I don't have ISP, but we are some community or something
[10:32:25] <OndraSter_> which *also* provides internet :P
[10:32:26] <OndraSter_> as a bonus
[10:32:36] <megal0maniac> Hmm.
[10:32:38] <OndraSter_> $18 per month for 20 - 24Mbit half duplex
[10:32:57] <megal0maniac> I connect with pppoe, so I go directly out.
[10:32:58] <megal0maniac> OOH!
[10:33:07] <megal0maniac> Got upgraded from 384kbps to 1mbps
[10:33:12] <OndraSter_> heh
[10:33:13] <megal0maniac> I'm at the new minimum :)
[10:33:57] <OndraSter_> and I can't get the display working
[10:34:00] <OndraSter_> I found out it tries to start
[10:34:01] <OndraSter_> blinks
[10:34:10] <OndraSter_> and then whole board with LCD shuts down again
[10:34:13] <OndraSter_> as if there was not enough power
[10:34:14] <megal0maniac> So inverter won't help?
[10:34:17] <OndraSter_> but it does not trip the current limit
[10:34:21] <OndraSter_> inverter is another part :P
[10:34:31] <OndraSter_> all the caps seem okay on the board
[10:34:42] <OndraSter_> I will try to get working my 65W HP adaptor
[10:34:50] <OndraSter_> and somehow hook it up, but I don't have the jack for it
[10:34:56] <OndraSter_> and sticking wire into the middle is not enough :P
[10:35:07] <megal0maniac> So some kind of protection circuit is kicking in?
[10:36:01] <OndraSter_> probably
[10:36:03] <OndraSter_> but.. which one!
[10:36:08] <OndraSter_> I have got full schematics
[10:36:10] <OndraSter_> except power supply
[10:36:13] <megal0maniac> brb
[10:44:38] <megal0maniac> Yeah you said, outsourced PSU
[10:45:51] <megal0maniac> OndraSter_: Ever heard of or used the TI CC2511F32?
[10:47:08] <OndraSter_> no
[10:48:21] <megal0maniac> Like a mega328p, but with integrated wireless
[10:48:30] <megal0maniac> And 4kb RAM
[10:49:44] <OndraSter_> hmm
[10:49:45] <OndraSter_> AVR core?
[10:49:48] <OndraSter_> btw
[10:49:48] <OndraSter_> http://clip2net.com/s/2nmOB
[10:50:00] <OndraSter_> http://clip2net.com/s/2nmOR
[10:50:07] <OndraSter_> what's up with all my phones not being able to focus :(
[10:50:23] <OndraSter_> I do wonder what currents can I push through it now :P
[10:50:26] <OndraSter_> at 10V drop
[10:51:09] <karlp> megal0maniac: there's also atmega128rfa1
[10:51:14] <OndraSter_> yep
[10:51:31] <karlp> http://www.dresden-elektronik.de/funktechnik/products/radio-modules/eval-derfmega/ for instance
[10:51:55] <OndraSter_> but it is ridiculously expensive :P
[10:52:09] <karlp> drop in modules can be pretty handy though
[10:52:16] <OndraSter_> that's NRF24L01+ :D
[10:52:38] <karlp> sure, if you want to write your own radio layer
[10:52:46] <OndraSter_> why?
[10:53:01] <OndraSter_> you just select channel and rx/tx
[10:53:03] <Kevin`> OndraSter_: what makes you say that? it's using a chip from atmel with built-in wireless, why would they add another?
[10:53:04] <OndraSter_> as far as I know
[10:53:22] <OndraSter_> Kevin`, if you have space issues - yes
[10:53:38] <OndraSter_> also, it is old mega core... you don't have the new xmega features
[10:53:58] <karlp> OndraSter_: yeah, exactly, the nordic chip is just a tx/rx. the atmegarf is 802.15.4
[10:54:01] <megal0maniac> No wireless xmega? :P
[10:54:06] <OndraSter_> karlp, oh
[10:54:12] <OndraSter_> I thought that you ment it the other way
[10:54:15] <Kevin`> you DO need to write your own packet, collision, environment, etc handling when using the raw radio modules
[10:54:19] <Kevin`> it's worth it IMO
[10:54:50] <karlp> (personally I use the mrf24j40 modules to add 802.15.4, they run about 6-7 euro per module
[10:55:00] * megal0maniac is going to have bought NRF24L01 modules within the next hour
[10:55:01] <Kevin`> unless you are interfacing to an existing network and can't find software for it
[10:55:14] <megal0maniac> Just need to decide which ones
[10:55:21] <OndraSter_> isn't it zigbee compatible?
[10:55:23] <OndraSter_> the mrf
[10:55:32] <karlp> zigbee is apps on top of 802.15.4
[10:55:39] <OndraSter_> ah
[10:55:50] <karlp> so the mrf modules are as "zigbee compatible" as any other 802.15.4 transceivers
[10:56:52] <OndraSter_> yay, they are from microchip.. I thought they were from Nordic as well :P
[10:56:58] <karlp> dresden package some of the sam3u + atmel wireless chips on modules too, if you'd rather not be on avr 8bit
[11:19:00] <OndraSter_> damn, switched from 15V @3A regulated bench PSU to 19V laptop adapter @ 130W
[11:19:04] <OndraSter_> still the same issue
[11:19:14] <OndraSter_> poor regulator is almost cooking itself
[11:19:34] <OndraSter_> 14V drop at upto 1A :P
[11:20:45] <megal0maniac> Good grief!
[11:20:57] <megal0maniac> R8.87 to the USE
[11:20:57] <OndraSter_> don't worry, it is using heatsink
[11:20:59] <OndraSter_> heh
[11:21:00] <megal0maniac> USD
[11:21:16] <megal0maniac> OndraSter_: And it's TO-3
[11:21:19] <OndraSter_> yes
[11:21:25] <OndraSter_> mounted onto old CDROM drive :D
[11:21:27] <OndraSter_> gutted out
[11:21:36] <megal0maniac> I'd only be worried if it was TO220
[11:21:43] <vectory> say, can 74hc00 cmos chips' Vcc be connected to 3V from battery, without resistor inbetween? ds says DC upply current +- 50mA, but i dont know what to make of it (neither know i a better place to ask quickly)
[11:21:54] <OndraSter_> yes
[11:22:00] <OndraSter_> why couldn't it? :)
[11:22:08] <OndraSter_> it is UPTO
[11:22:11] <OndraSter_> it takes whatever it needfs
[11:22:13] <OndraSter_> needs
[11:22:21] <OndraSter_> unless you go above the specs with voltage (7+ volts and such)
[11:22:58] <vectory> hmm, then, wouldnt it be better to specify some resistance over the chip?
[11:23:09] <OndraSter_> it is not constant
[11:23:12] <OndraSter_> and it is specced
[11:23:18] <OndraSter_> as internal current or something
[11:23:26] <OndraSter_> and then there is loading current which you put on it
[11:23:42] <vectory> on the inputs, that is?
[11:23:54] <OndraSter_> outputs
[11:23:59] <OndraSter_> input is micro/nano amps
[11:25:08] <vectory> inputs are 20mA max, thought i better put a resistor there too, but the task sheet from the prof didnt mention, so iam suspicious
[11:25:22] <OndraSter_> outputs*
[11:25:31] <OndraSter_> what resistor again?
[11:26:24] <vectory> current limiting, but i wouldnt know the resultant current, having leds on the outs
[11:26:48] <vectory> anyway, kinda gotta put it together now, quick >_<
[11:27:07] <megal0maniac> Might be a dumb question, but I want to make sure. You can use an analogue accelerometer as an inclinometer, right?
[11:27:18] <OndraSter_> what is inclinometer?
[11:27:30] <megal0maniac> Measures angle of inclination :)
[11:27:40] <OndraSter_> oh
[11:27:44] <OndraSter_> what about gyro?
[11:27:46] <megal0maniac> Used, in this case, for measuring the angle that a line-array is hanging
[11:28:18] <megal0maniac> Will accelerometer not work?
[11:30:08] <theBear> accelerometer measures movement in a relative kinda way... it'll only help if you calibrate against a known flat/plumb line everytime... gyro is for inclination kinda stuff
[11:30:25] <megal0maniac> dammit.
[11:30:59] <megal0maniac> Something like this, then? http://www.ebay.com/itm/MPU-6050-3-Axis-Gyro-Gyroscope-Accelerometer-Sensor-Module-for-Arduino-/261043241628?pt=LH_DefaultDomain_0&hash=item3cc763c29c
[11:31:37] <megal0maniac> I was under the impression that an accelerometer could determine whether it was on a flat surface or not
[11:31:47] <megal0maniac> And thus the angle of inclination
[11:33:21] <megal0maniac> This is what I *was* looking at http://www.ebay.com/itm/MMA7361-MMA7260-Angle-Sensor-Inclination-Accelerometer-Acceleration-Module-NEW-/110959878005?pt=LH_DefaultDomain_0&hash=item19d5b95f75
[11:34:19] <OndraSter_> 3v3 operation! :)
[11:34:33] <megal0maniac> Will that not work?...
[11:34:38] <OndraSter_> that depends, with what? :P
[11:34:47] <OndraSter_> blimey, it must be something regarding the dimming, there is nothing else left!
[11:34:57] <megal0maniac> Determining the angle at which speakers are hanging
[11:35:09] <OndraSter_> I ment with what micro
[11:35:17] <megal0maniac> Oh
[11:35:23] <theBear> well that would do it, but a gyro alone would do it
[11:35:31] <theBear> gyros are all about 'what is vertical'
[11:35:50] <theBear> or you could just keep a little plumb bob and a protractor in yer pocket
[11:36:21] <megal0maniac> That wouldn't work. It needs to stay calbrated...
[11:36:31] <megal0maniac> I'd connect it to an m328 probably
[11:36:38] <jadew> shouldn't an accelerometer give you a vector?
[11:36:50] <megal0maniac> Which would interpret the data and send it to another one via nrf24l01
[11:37:01] <jadew> it doesn't make sense that it needs calibration
[11:37:19] <jadew> there has to be clear way to figure out that it's poinging down
[11:37:26] <jadew> *pointing
[11:37:41] <theBear> gyro does stay calibrated
[11:37:47] <megal0maniac> The existing system uses a long wire, connected to a big box on the line array
[11:37:55] <theBear> it's a gyro, remember them as a kid ? they stand up straight
[11:38:04] <megal0maniac> Which give you a reading, in degrees, on an LCD
[11:38:16] <jadew> yeah, but the accelerometer should be able to give you the direction of the force
[11:38:18] <megal0maniac> Calibration is done with a tiny pot
[11:38:42] <theBear> jadew, only in relation to a known direction, which you don't have here
[11:39:05] <jadew> well, I would suspect it's in relation to itself
[11:39:47] <jadew> so gravity would have something like x = 0, y = 0 when it's paralel to the ground
[11:39:48] <jadew> no?
[11:40:14] <megal0maniac> That's what I was thinking
[11:41:39] <jadew> I haven't played with an accelerometer so far, but it wouldn't make sense if it couldn't tell the direction of gravity
[11:42:16] <megal0maniac> Ah. BUT, if the rack were to swing, then "gravity" would move around
[11:42:41] <jadew> it doesn't matter, gravity points only in one direction
[11:43:05] <jadew> so if you rotate the accelerometer it would only change the direction of the vector (telling you it's not paralel to the ground anymore)
[11:43:25] <jadew> however, when it is paralel, it should read the same value no matter what
[11:43:45] <jadew> (while standing)
[11:44:04] <jadew> cuz if you're moving it around with an acceleration != 0 the forces will get added up
[11:45:09] <jadew> but one would expect that when acceleration = 0 and the device is paralel to the groud, that it should read x = 0, y = 0, z = 9.8
[11:45:18] <jadew> or whatever the axes would be
[11:47:17] <megal0maniac_> zlog
[11:47:57] <megal0maniac> My router seems to have died
[11:48:18] <jadew> \o/ yey! spare parts and a brand new router to play with!
[11:48:38] <megal0maniac> Either that or the modem has been switched off. I don't know, I'm not at home :)
[11:48:44] <megal0maniac> (ssh > irssi)
[11:49:13] <jadew> ah, if you just got disconnected I don't think you'll enjoy any spare parts or a new router
[11:49:35] <megal0maniac> Well I'm not getting reconnected, so...
[11:49:37] <megal0maniac> http://diydrones.com/profiles/blogs/faq-whats-the-difference
[11:51:20] <jadew> so what I guess was right, but you need a gyro lol
[11:51:27] <jadew> *guessed
[11:53:16] <megal0maniac> $13...
[11:53:26] <megal0maniac> And it's a damn accelerometer as well :/
[11:54:03] <jadew> you can recover an accelerometer from a broken phone or a wii remote
[11:54:21] <megal0maniac> I have neither
[11:54:32] <megal0maniac> And I've already paid for the accelerometer :)
[11:54:37] <megal0maniac> I need the gyro
[11:54:39] <jadew> ah
[11:54:41] <megal0maniac> (apparently)
[11:54:50] <jadew> well, the accelerometer can do the job just fine
[11:54:55] <megal0maniac> Maybe not. I guess I'll see when it arrives.
[11:55:59] <megal0maniac> My other phone gives the raw accelerometer values in the debug menu. And it had a spirit level app as well. So, I'm hopeful. Might be silly to fork out $13 and then I don't need it
[11:56:46] <OndraSterver> oh BLOODY HELL
[11:56:50] <OndraSterver> why don't you want to work!
[11:56:59] <megal0maniac> OndraSterver: Because LG
[11:57:02] <megal0maniac> :)
[11:57:19] <megal0maniac> If you could figure out what was doing the switching...
[11:57:36] <OndraSterver> there are some funky voltages on the outputs of everything :D
[11:57:56] <OndraSterver> even grounding is so awfuly broken so that on the other side of the board the gnd is 0.1 - 0.2V above the input ground :(
[11:57:56] <theBear> your phone has a gyro and a acellero
[11:58:18] <megal0maniac> theBear: You sure about that? It's a shitty phone
[11:58:29] <OndraSterver> older phones have only acc
[11:58:32] <OndraSterver> I don't have ESR meter
[11:58:38] <megal0maniac> Sony Ericsson W910i
[11:58:55] <theBear> i dunno erricson, but if it's got things like spirit level apps, i say both
[11:59:01] <jadew> OndraSterver, add some jumper wires between the grounds
[11:59:11] <OndraSterver> I don't think it will help, the SMPS for the LCD is on the top
[12:00:12] <OndraSterver> time to build an ESR meter :P
[12:00:38] <OndraSterver> or maybe scope + wavegen could be 'nuff
[12:00:46] <OndraSterver> analog scope though
[12:00:53] <OndraSterver> so no automatic measuring
[12:04:47] <megal0maniac> YES!!
[12:04:54] <megal0maniac> theBear: It has LIS302DL
[12:05:04] <megal0maniac> Which is a 3 axis accelerometer
[12:05:19] <megal0maniac> Doesn't mean it's perfect for an inclinometer, but it will work
[12:05:35] <megal0maniac> Particularly if it's calibrated correctly
[12:05:52] <theBear> but how long will that calibration last ?
[12:06:11] <megal0maniac> Until gravity goes away?
[12:07:28] <jadew> how do they calibrate them?
[12:07:47] <megal0maniac> What I was thinking, was to have a calibration button. Put the box on a flat surface, push the button, and the offsets get saved in eeprom.
[12:08:10] <megal0maniac> Currently, they put it on the floor, and adjust the pot until the other box displays 0 degrees
[12:08:18] <jadew> ah, so the calibration happens outside of the device
[12:08:39] <megal0maniac> Well, the box would contain the accelerometer, an AVR and a wireless transmitter
[12:09:15] <theBear> thing with a accel is that it drifts when not moving
[12:09:36] <megal0maniac> Another AVR would control the wireless receiver, convert received values into degree values, and display it on LCD
[12:10:44] <megal0maniac> theBear: I think I've seen what you're talking about. Another option, though, would be to have an option to display averaged results over the last few seconds
[12:10:59] <megal0maniac> It's helpful for when the rack is swinging
[12:11:31] <megal0maniac> And it would counter-act the drift, to a degree
[12:11:49] <theBear> just get a level... find one that's square to level or plumb, all the couplings between the boxes have definate angles.. yer done
[12:12:08] <theBear> i still say it's all overkill, and just aim visually or use a plumb and a protractor
[12:12:33] <megal0maniac> Not when it's 10m in the air...
[12:13:01] <megal0maniac> You'd need a plumb and a protractor and a cherry picker. THAT'S overkill :)
[12:13:36] <megal0maniac> This combo module is pretty nice, though...
[12:13:50] <megal0maniac> It's I2C, but the internal ADC is 16bit
[12:13:51] <theBear> you only gotta measure the angle on one box to know if it's right across all boxes
[12:15:33] <megal0maniac> theBear: But it's adjusted while it's hanging. I only want the angle of the top of the rack, but that needs to change while the rack is in the air. It's supported by two chains, and you adjust them accordingly
[12:16:06] <megal0maniac> I suppose another option is just to add one-button calibration and wireless to the existing system
[12:16:22] <megal0maniac> Assuming they're using low voltage
[12:16:31] <megal0maniac> i.e. 5V...
[12:16:37] <theBear> megal0maniac, yeah, but if you put the rack together right, you know the angle of every box in relation to the top box
[12:16:50] <megal0maniac> theBear: That isn't the issue
[12:17:21] <megal0maniac> It needs to be adjusted while hanging
[12:17:27] <megal0maniac> For acoustics
[12:17:39] <megal0maniac> JBL Vertec
[12:17:49] <theBear> what, you adjust per-box angle after hanging ? you're doing it wrong
[12:17:53] <theBear> vertec eh ? oldschool
[12:18:01] <megal0maniac> Vertec 4 :)
[12:18:04] <megal0maniac> 4888
[12:18:16] <theBear> i dunno numbers, but i would guess that is 3 times less oldschool than the vertec i know
[12:18:47] <megal0maniac> Well, it's the 4th revision. They're damn good speakers
[12:19:54] <theBear> not surprising, only the very lowest end jbl's have ever been shit, and they only started doing low end the last 10 or 15 years
[12:26:52] <megal0maniac> Do I get the gyro? Do I not get the gyro?...
[12:27:07] <megal0maniac> Is calibration necessary if I have the gyro?...
[12:27:20] <Blecha> get both!
[12:27:32] <megal0maniac> Well I've already bought one
[12:27:38] <Blecha> then get the gyro
[12:28:05] <Blecha> Ive tried to do stuff with my acc... even with filtering its pretty crazy in some places
[12:28:22] <megal0maniac> So do you use both?
[12:28:27] <Blecha> I also expect my hardware to be violently shaken about
[12:28:49] <Blecha> if you have the pins and space, why not?
[12:29:06] <Tom_itx> both then use a kahlman filter on both
[12:29:09] <megal0maniac> I expect my hardware to stay in one place, and to give me a fairly accurate reading of between -20 and +20 degrees of tilt
[12:29:15] <megal0maniac> It might swing a bit
[12:29:38] <megal0maniac> But no shaking. Minimum weight of around 200kg, hung by chains
[12:30:48] <Blecha> yeah, thats probably fine then. but Tom is right
[12:31:05] <Blecha> Never trust your raw data
[12:31:06] <Tom_itx> because of drift
[12:32:07] <OndraSterver> hmm it seems like those 1" OLED displays have builtin SMPS and you just hook up two or three caps to it
[12:32:08] <OndraSterver> awesome
[12:32:38] <Tom_itx> you gotta be damn careful with them though
[12:32:47] <Tom_itx> some of them require a startup sequence
[12:32:56] <Tom_itx> if you power them up wrong you can destroy them
[12:33:24] <megal0maniac> First things first, what is a kahlman filter?
[12:33:30] <Tom_itx> unless they've solved that problem with the onboard smps
[12:33:34] <Tom_itx> google
[12:33:37] <Tom_itx> or read this...
[12:35:04] <megal0maniac> Googled. I can implement this with software, can't I?
[12:35:15] <Tom_itx> i seem to have misplaced my pdf
[12:35:25] <Tom_itx> yes
[12:35:32] <OndraSterver> Tom_itx, I see, vdd, display off, init, clear, vcc up, delay, display on
[12:36:23] <Tom_itx> OndraSterver, just a warning :)
[12:36:28] <OndraSterver> yeah :)
[12:36:28] <OndraSterver> thanks
[12:36:30] <OndraSterver> mosfet time!
[12:36:43] <OndraSterver> I hate mosfets, I never seem to remember which one is P and which one is N :(
[12:37:39] <OndraSterver> hmm serial or parallel... probably parallel to speed the things up
[12:37:56] <megal0maniac> Tom_itx: I already had that in mind, because the rack (which is what I'm measuring) swings. So whoever's checking the reading averages it out manually.
[12:38:44] <megal0maniac> Over a slightly longer time, though
[12:39:35] <OndraSterver> blimey, even when using internal switching it still wants me to feed it 7.25V on vcc pin :(
[12:39:41] <Tom_itx> N is easier to use
[12:39:51] <OndraSterver> I have to cut it on the HIGH side
[12:39:56] <OndraSterver> that should be N
[12:39:58] <Tom_itx> P
[12:40:00] <OndraSterver> if I recall correctly
[12:40:01] <OndraSterver> DAMN
[12:40:06] <megal0maniac> Heh :)
[12:40:32] <OndraSterver> P is high side ...
[12:40:39] <Tom_itx> uh huh
[12:40:52] <OndraSterver> although I will be able to shut down the SMPS that would be generating the 7.25V or 9V
[12:41:00] <OndraSterver> they usually have enable pin
[12:41:03] <Tom_itx> which messes up the gate voltage for logic drive
[12:41:55] <Tom_itx> i could point you to someone that has done it
[12:41:58] <Tom_itx> if you wish
[12:42:03] <OndraSterver> some website?
[12:42:18] <Tom_itx> no Fenchurch in #seattlerobotics
[12:42:22] <OndraSterver> ah
[12:42:31] <OndraSterver> there is some info on the internet though
[12:42:40] <OndraSterver> thanks, I will ask him if I won't find anything suitable
[12:42:43] <Tom_itx> he blew a couple getting his goin
[12:42:46] <OndraSterver> heh
[12:42:58] <Tom_itx> thus the warning to you
[12:43:33] <megal0maniac> Are we still talking about TVs? :/
[12:43:39] <OndraSterver> no
[12:43:45] <Tom_itx> OLED's
[12:43:53] <megal0maniac> Ah. For that DSP thing?
[12:45:16] <OndraSterver> yeah
[12:45:18] <OndraSterver> just thinking about it
[12:45:27] <OndraSterver> how hard would it be etc
[12:46:32] <megal0maniac> Gotcha.
[12:46:40] <megal0maniac> Found a suitable DSP yet?
[12:47:25] <OndraSterver> that TDA7346 or w/e was the number
[12:47:30] <OndraSterver> 3band equalizer
[12:47:42] <OndraSterver> I don't want to use bigass DSP that takes bigass amount of battery
[12:48:08] <OndraSterver> just some small atxmega or some cortex m0 chip (since they are smaller than the smallest xmegas)
[12:48:17] <OndraSterver> and the display
[12:48:22] <megal0maniac> Why do you want an equalizer anyway? :)
[12:48:50] <OndraSterver> because it is cool :P
[12:48:56] <megal0maniac> Fair point
[12:49:05] <OndraSterver> also I can show fft :P
[12:49:17] <OndraSterver> xmega could do about 20 - 25 FPS just fine
[12:49:22] <OndraSterver> cortex m0 no idea
[12:49:43] <megal0maniac> xmega can also be overclocked
[12:50:15] <megal0maniac> I'm thinking about making a frequency generator from an AVR. But I'd need 16bit DAC...
[12:50:41] <megal0maniac> Square, sine, sawtooth, triangle and white/pink noise
[12:51:28] <megal0maniac> "Make sure you have disconnected the PortE5-ground wire otherwise you could destroy output transistor of your ATXmega!"
[12:51:31] <megal0maniac> That's new.
[12:51:33] <OndraSterver> Tom_itx, oh noes, they tied the vbat and vdd directly to the 3v3 lines in xprotolab :P
[12:51:38] <theBear> hmm.. i wonder... 'analog' siggen with avr doing pll/control on it could be interesting
[12:51:39] <OndraSterver> megal0maniac, the ports are protected
[12:51:42] <OndraSterver> but better safe than sorry :D
[12:52:03] <megal0maniac> theBear: I already considered using xmega DAC, but it's only 12bit
[12:52:12] <megal0maniac> Which is great for things, but not for audio
[12:52:15] <OndraSterver> and only 1MSPS :P
[12:52:40] <megal0maniac> Is that not equal to 1mhz sample rate?
[12:52:48] <OndraSterver> nyquist
[12:52:57] <OndraSterver> for audio 1MSPS is a lot
[12:53:01] <OndraSterver> too much :P
[12:53:11] <megal0maniac> That's what I though
[12:53:12] <OndraSterver> usually one samples at 44k1/48k/96k/192k
[12:53:12] <megal0maniac> t
[12:53:22] <OndraSterver> but with 24bit DAC/ADC
[12:53:45] <megal0maniac> I know that. This is why I was confused by your "only 1MSPS"
[12:54:05] <OndraSterver> I didn't know you ment it for audio
[12:54:30] <megal0maniac> "megal0maniac: I'm thinking about making a frequency generator from an AVR. But I'd need 16bit DAC..."
[12:55:16] <megal0maniac> How does one even control a DAC?...
[12:55:36] <OndraSterver> what DAC?
[12:55:46] <megal0maniac> Well, xmega for one
[12:55:53] <OndraSterver> shove data into its register
[12:56:02] <OndraSterver> the opposite way of ADC
[12:56:28] <megal0maniac> And how do you control timing?
[12:56:35] <OndraSterver> timer?
[12:56:43] <OndraSterver> you can tie together timer and DMA
[12:56:44] <OndraSterver> via events
[12:57:16] <RikusW> needing no cpu control at all ?
[12:57:34] <RikusW> apart from setting up dma of course ?
[12:57:40] <OndraSterver> aye
[12:57:47] <OndraSterver> I told about it here few days ago
[12:57:47] <RikusW> nice :)
[12:57:48] <OndraSterver> about AVR Parrot
[12:58:04] <OndraSterver> http://www.youtube.com/watch?feature=player_embedded&v=0ETWslyuKCU
[12:58:41] <megal0maniac> GAH!
[12:58:53] <megal0maniac> Hate OSX and flash. It just doesn't work
[12:59:02] <OndraSterver> html5?
[13:00:06] <megal0maniac> Switched to laptop
[13:01:37] <megal0maniac> Ooooh!
[13:02:03] <megal0maniac> Cirrus Logic CS4334
[13:03:57] <OndraSterver> i2s
[13:04:19] <megal0maniac> SPI?
[13:04:30] <Blecha> i2s is for audio
[13:04:32] <RikusW> no I2S is for audio
[13:06:25] <megal0maniac> Ah. So I see
[13:06:43] <megal0maniac> I'd just need 96khz clock signal and I think I'd be good
[13:07:00] <megal0maniac> Which I *should* be able to get from an AVR
[13:07:39] <RikusW> megal0maniac: I'm halfway done adding the Combobox to my toolkit, the popup list is almost done
[13:07:53] <megal0maniac> RikusW: Nice :)
[13:08:07] <megal0maniac> That mode switcher wouldn't work on my laptop, by the way
[13:08:16] <megal0maniac> But it worked on my PC
[13:08:17] <RikusW> and I've copied the GUI from the Qt version too
[13:08:39] <RikusW> probably because the U2S is in a different serial port ?
[13:08:50] <RikusW> I need to add port selection to it too...
[13:08:59] <megal0maniac> I don't know... How do you do it now?
[13:09:06] <megal0maniac> Thought you searched by PID
[13:09:28] <RikusW> using a combobox in U2S_GUI
[13:09:42] <megal0maniac> I mean U2S detection :)
[13:09:54] <RikusW> I don't, I just use COM3
[13:09:56] <megal0maniac> You guys will laugh, but I really need to learn how to program AVRs
[13:10:07] <megal0maniac> Oh. That explains it :P
[13:10:45] <megal0maniac> Searching for the corresponding PID would be a good solution, if it was possible, and I don't know if it is...
[13:10:55] <RikusW> maybe I'll integrate the mode switching dialog into U2S_GUI later
[13:11:06] <RikusW> it might be
[13:11:26] * RikusW is too lazy to go through all the winapi docs right now ;)
[13:12:17] <RikusW> megal0maniac: another thing, if COM3 is still open and you reset U2S then it will become COM4...
[13:12:33] <megal0maniac> RikusW: http://www.codeproject.com/Tips/349002/Select-a-USB-Serial-Device-via-its-VID-PID
[13:12:50] <RikusW> megal0maniac: a hint, start by learning mega before xmega..
[13:13:04] <megal0maniac> And C before that :P
[13:13:15] <megal0maniac> Java is NOT helping me
[13:13:26] <OndraSterver> java does not help anything
[13:13:38] <megal0maniac> So I've discovered
[13:13:46] <OndraSterver> also nobody likes it
[13:13:47] <RikusW> I can already get hold of a dragon using libusb + VID+PID
[13:14:39] <megal0maniac> OndraSterver: I didn't learn it by choice :)
[13:14:53] <OndraSterver> I have this awesome thing I can do
[13:14:57] <OndraSterver> I can look like I know something
[13:14:58] <megal0maniac> RikusW: That example uses like 40 lines of code to do it. I like it
[13:15:01] <OndraSterver> yet know exactly nothing about it
[13:15:17] <megal0maniac> OndraSterver: That's what I've been quietly doing :P
[13:15:21] <OndraSterver> 40 vbecause it sets up PLL :P
[13:16:48] <megal0maniac> PLL? Where?
[13:17:01] <OndraSterver> were you talking about my sample?
[13:17:02] <megal0maniac> I'm talking about choosing a COM port based on USB VID/PID
[13:17:10] <OndraSterver> oh
[13:17:11] <OndraSterver> lol
[13:17:22] <megal0maniac> Which is bloody useful, I reckon
[13:18:40] <RikusW> megal0maniac: seems like that might work, though I'm not useing .NEt
[13:19:04] <megal0maniac> OndraSterver: Most of your blinky code will be in pretty much every xmega program though, won't it? Since clock set-up is in software
[13:19:12] <megal0maniac> Assuming 32mhz
[13:19:29] <OndraSterver> if you need 32MHz, yes
[13:19:41] <OndraSterver> I will later publish simple init which will init USB (if needed), clocks, ..
[13:20:54] <RikusW> OndraSterver: I'm thinking of coding a bootloader that appears to be a AVRISP mkii, much like my STK500 U2S bootloader
[13:21:05] <OndraSterver> and USB stack? :P
[13:21:26] * megal0maniac likes the sound of that...
[13:21:49] <megal0maniac> OndraSterver: Well the STK one has a CDC USB stack already
[13:22:00] <RikusW> Ofcourse it will need a USB stack
[13:22:03] <OndraSterver> xmega and mega USB implementations are different
[13:22:10] <OndraSterver> not sure by how much
[13:22:40] <RikusW> probably the init and ep handling
[13:22:52] <OndraSterver> yes, that
[13:23:00] <OndraSterver> ofc the data will be the same :P
[13:23:09] <RikusW> maybe it will be easy to port my existing bootloader, since mkii and stk protocols is nearly the same
[13:23:46] <RikusW> iirc mkii use USB for framing, stk use a header
[13:24:10] <RikusW> mkii use short usb packets
[13:26:33] <RikusW> OndraSterver: have you connected a synchronous usart in slave mode to the PDI port, to listen in on the dragon -> avr, yet ?
[13:26:41] <OndraSterver> nop
[13:26:49] <OndraSterver> it is all well documented for programming
[13:26:52] <OndraSterver> not sure how about debugging
[13:27:03] <RikusW> thats what I'm interested in
[13:27:25] <megal0maniac> RikusW: You have a dragon, right?
[13:27:31] <RikusW> yes
[13:27:44] <megal0maniac> And in 14 days, an xboard too :)
[13:27:56] <RikusW> so thats exactly what I'll do when I get the dragon connected to the coco
[13:28:38] <RikusW> just connect data -> RX and clock -> XCLK
[13:28:43] <OndraSterver> hopefuly in 14, since he lives in the middle of nowhere, judging by the internet :P
[13:28:45] <RikusW> and listen in using a U2S
[13:29:18] <RikusW> I won't be able to see the direction of that data though :-/
[13:29:32] <RikusW> but should be able to figure out whats going on
[13:29:38] <RikusW> I did dW that way
[13:30:13] <RikusW> no more closed up OCD specs !! :)
[13:30:36] <RikusW> OndraSterver: so how many coco boards do you keep for yourself ?
[13:31:25] <megal0maniac> RikusW: You have one, I have one, he has one. Only 3 were made for Rev. A
[13:31:43] <OndraSterver> one from each rev... aka one for now :D
[13:31:50] <OndraSterver> I will build more revAs
[13:31:59] <megal0maniac> LDO?
[13:32:08] <OndraSterver> I have got 3 xmegas, but I don't have the LDOs and microUSB connectors etc
[13:32:23] <RikusW> and pcbs?
[13:32:47] <RikusW> and how did you solder those qfn chips ?
[13:33:55] <OndraSterver> I used Dragon's breath
[13:33:57] <OndraSterver> :P
[13:34:24] <RikusW> hot air rework station ?
[13:34:28] <OndraSterver> aye
[13:34:34] <OndraSterver> I don't have infrared... yet! :D
[13:34:49] * RikusW only have a heatgun, variable temperature too
[13:35:00] <RikusW> Ryobi CPS-2000K
[13:35:03] <OndraSterver> the "basement" one?
[13:35:06] <OndraSterver> aka not the one for soldering
[13:35:18] <OndraSterver> 2kW!
[13:35:24] <RikusW> yes
[13:35:34] <RikusW> but variable temp control and 2 speed settings
[13:35:54] <RikusW> I've made a mark on approximately 250C
[13:36:20] <RikusW> I've (un)soldered m128's with it before, with no flux
[13:36:28] <RikusW> (didn't have any flux back then)
[13:36:41] <megal0maniac> Woah!
[13:36:44] <RikusW> and the m128's still work
[13:36:58] <megal0maniac> One of these narrators in the Atmel videos has a South African accent :D
[13:37:31] <RikusW> iirc abcminiuser said there is some South Africans too
[13:39:14] <RikusW> OndraSterver: I did preheat for a minute or two before actually unsoldering
[13:42:50] <megal0maniac> RikusW: Conference got scaled down. I'm not working this week anymore :/
[13:46:46] <RikusW> What kind of conference ?
[13:47:53] <megal0maniac> Actually not sure :P
[13:48:04] <megal0maniac> Didn't need to know, so didn't ask
[13:48:05] <OndraSterver> RikusW, :)
[13:48:16] <OndraSterver> I don't have temperature digitally controller
[13:48:18] <OndraSterver> d
[13:48:24] <OndraSterver> I just put it to somewhere around "4" :D
[13:48:34] <OndraSterver> for big ass BGAs 4.5
[13:48:49] <OndraSterver> for hotair one does not usually use flux :P
[13:48:55] <OndraSterver> because solder paste
[13:49:11] <RikusW> I just adjust the heatgun to that it will melt solder and not the pcb :-P
[13:50:03] * RikusW have entirely stipped some old motherboards using that heatgun
[13:50:16] <OndraSterver> heh
[13:50:19] <OndraSterver> has*
[13:50:45] <RikusW> but I did manage to melt some too, it gets black and smokey (stinky too)
[13:50:53] <megal0maniac> "Diplomatic conference to adopt an agreement on the implementation of the torremolinos protocol of 1993 relating to the 1977 torremolinos international convention for the safety of shipping vellels"
[13:50:59] <RikusW> and it delaminates...
[13:51:02] <megal0maniac> *vessels
[13:51:15] <megal0maniac> Now you know why I didn't ask...
[13:51:24] <RikusW> yep
[13:51:32] <RikusW> nothing of interest
[13:51:51] * RikusW have seen a De Beers diamond sorting machine
[13:51:53] <OndraSterver> I had only once awful smell
[13:52:00] <OndraSterver> when I was taking apart old nixie tubes board
[13:52:04] <OndraSterver> and I was taking off the 74 141 drivers
[13:52:06] <OndraSterver> with hotair
[13:52:13] <OndraSterver> it was one of those old stubborn solders
[13:52:22] <OndraSterver> the heater was somewhere around 5 or 5.5 :D
[13:52:25] <OndraSterver> but the chips live
[13:52:26] <RikusW> it uses FPGA's and raman laser spectrometry
[13:52:47] <OndraSterver> I hate that hotair melts plastic :(
[13:52:48] <RikusW> and air to blow the diamond into a different chute as it falls
[13:53:03] <RikusW> it can sort many pebbles per second
[13:53:09] <megal0maniac> RikusW: That's quite... modern. Didn't think it was so high-tech :)
[13:53:16] <OndraSterver> gun can sort many problems per second
[13:53:18] <OndraSterver> :P
[13:54:00] <RikusW> megal0maniac: that was way back in 2005
[13:54:36] <RikusW> I actually know a Electronic Engineer working for them, he is about my age too
[13:55:45] <megal0maniac> That was my dad like 22 years ago :P
[13:55:56] <megal0maniac> Electronic engineer at de beers, Kimberley
[13:56:12] <RikusW> What does he do now ?
[13:56:38] <megal0maniac> Heavy current stuff
[13:56:46] <megal0maniac> Works for himself
[13:56:47] <RikusW> Eskom ?
[13:56:59] <megal0maniac> No, factories and such
[13:57:15] <RikusW> More like electrician then ?
[13:57:33] <megal0maniac> Basically. The little bit of programming he does is with PLCs
[13:57:49] <megal0maniac> He builds panels as well
[13:57:59] <RikusW> So what does he have to say about your AVR collection ?
[13:58:14] <megal0maniac> That I must start doing something useful with them :P
[13:58:22] <RikusW> heh
[13:58:24] <megal0maniac> I think I need to go back to basics
[13:59:08] <megal0maniac> Starting with general C syntax. Aiming to control an I2C 16x2 display
[13:59:21] <RikusW> My father worked for Krygkor aka Denel
[13:59:51] <RikusW> I2C is a bit more complicated than UART or SPI
[14:00:00] <megal0maniac> Ah.
[14:00:17] <RikusW> He calculated missile trajectories and programmed in Fortran
[14:00:19] <megal0maniac> Then "hello world" over serial to begin with :P
[14:00:26] <megal0maniac> Wow, nice
[14:00:54] <RikusW> That was at the test range near Bredasdorp
[14:10:50] <megal0maniac> Cool :)
[14:11:11] <megal0maniac> It's 9pm. Work is finished. Home tiiiiiiiime!!! :D
[14:11:33] <megal0maniac> Will probably be back when I get home. Going to finally start tackling C...
[14:11:53] <megal0maniac> Arduino needs to be put behind me :P
[14:12:41] <vectory> using arduino is like using a c library, with a lot of abstraction, i thought
[14:12:45] <RikusW> Arduino is C like
[14:12:54] <RikusW> vectory: it is
[14:13:08] <megal0maniac> The structures are not the same, because they're dumbed down so much
[14:13:20] <megal0maniac> void setup{}
[14:13:25] <megal0maniac> void loop{}
[14:13:27] <megal0maniac> And that's it
[14:13:41] <RikusW> megal0maniac: you'll have to learn bitwise operators
[14:13:49] <megal0maniac> A have a fair idea
[14:13:52] <RikusW> AVR coding makes heavy use of those
[14:14:06] <megal0maniac> Maybe I should start with the m328 instead. It has UART
[14:14:12] <megal0maniac> Instead of USI
[14:14:22] <RikusW> USI is painful
[14:14:25] <vectory> usi? oO
[14:14:26] <megal0maniac> So I've heard
[14:14:28] <RikusW> I'd rather avoid it
[14:14:49] <vectory> i thought with LIN i heard the last one -_-
[14:14:49] <RikusW> Universal Serial Interface on ATtiny's
[14:14:52] <megal0maniac> Apparently it's one step above bit-bashing
[14:15:06] <megal0maniac> RikusW: Yeah, I know. I was going to start on t85
[14:15:12] <RikusW> it can be used for SPI I2C and UART
[14:15:21] <RikusW> rather use the mega
[14:15:49] <RikusW> do you have a serial port on you PC and a level converter ?
[14:15:49] <megal0maniac> Yes sir!
[14:15:59] <megal0maniac> I've got a U2S :P
[14:16:06] <megal0maniac> And a 3v3 serial adapter
[14:16:07] <RikusW> or you could use the U2S..
[14:16:13] <megal0maniac> And a 5v one too
[14:16:39] <vectory> i'm realy bummed, tried to connect two switches to a 7400 nand gate, setup the breadboard, and simply nothing happened -_-
[14:16:41] <megal0maniac> Technically, I've got 4 devices which can do USB-TTL serial
[14:16:53] <megal0maniac> Which is good
[14:17:03] <megal0maniac> Mkay, I'm off. Time to lock up :)
[14:17:08] <megal0maniac> Cheers
[14:17:14] <RikusW> later
[14:17:43] <RikusW> vectory: is the chip ok ?
[14:18:13] <vectory> well, i hope so, but sure shouldnt have plugged in the batteries first
[14:19:02] <vectory> need to draw a schematic and let someone approve that im sane
[14:25:59] <tld> I need new screwdrivers (for small electronics). Wiha or Wera?
[14:26:00] <RikusW> seems like calculating widget positions and sizes and scrollbar stuff is a bit harder than it seems....
[14:26:08] <tld> slightly off-topic, sorry, but so quiet here. ;)
[14:59:37] <vec2> plz correct me if im wrong, pinouts are generally drawn from topside view, right?
[15:00:28] <OndraSterver> yes
[15:05:17] <vec2> good, then i might know what my problem was.
[15:12:31] <megal0maniac> zlog
[15:14:00] <megal0maniac> tld: If mine had a brand, I'd recommend it, because they're great and cheap
[15:14:35] <megal0maniac> RikusW: I'm using an Arduino Uno :P
[15:15:06] <megal0maniac> But only because it has built-in USB to serial with the m16u2. Connected to the ISP header
[15:15:11] <megal0maniac> Now, for some things.
[15:15:19] <r0b-> i love this programmer lol
[15:15:28] <megal0maniac> Buspirate?
[15:15:32] <r0b-> yea
[15:15:36] <r0b-> wish i could make it faster
[15:15:37] <megal0maniac> Still busy verifying from yesterday?
[15:15:55] <r0b-> no
[15:15:57] <r0b-> lol
[15:16:04] <r0b-> thats done
[15:16:07] <r0b-> and it was a succes
[15:16:56] <r0b-> my fuses are correct
[15:17:02] <r0b-> as per the Arduino stuff
[15:19:09] <tld> isn't the buspirate awfully slow as a programmer?
[15:20:23] <r0b-> yea
[15:20:26] <r0b-> but its reliable
[15:20:56] <r0b-> for just burning the bootloaders for like Arduino its good
[15:22:18] <r0b-> brb
[15:22:43] <megal0maniac> r0b-: Your reserved bootloader space is 4x too big
[15:23:53] <megal0maniac> I've just checked the fuses on the chip which came with my Uno R3, and it's 256 words
[15:24:31] <r0b-> ok
[15:24:33] <r0b-> :P
[15:24:37] <r0b-> what are my fuses?
[15:24:39] <megal0maniac> So your fuses aren't correct :)
[15:24:44] <r0b-> 1024?
[15:24:46] <megal0maniac> 1024word bootloader
[15:24:52] <megal0maniac> I think the rest was the same
[15:24:52] <r0b-> its an R1
[15:24:53] <r0b-> :P
[15:25:02] <megal0maniac> I know, but it's atmega328p
[15:25:06] <megal0maniac> With optiboot
[15:25:14] <r0b-> yea
[15:25:20] <r0b-> im not tweaking the fuses
[15:25:48] <r0b-> hmmm
[15:25:48] <megal0maniac> Then the only thing you'll gain is that upload speed might be better
[15:25:51] <r0b-> this is neat too :P
[15:26:07] * r0b- is gonna mess with this Buspirate more
[15:31:31] <r0b-> it also does UART
[15:31:44] <RikusW> megal0maniac: to big bootloader fuse settings shouldn't be a problem
[15:31:48] <megal0maniac> Mkay. Now for the "dumb" questions. How do you set registers?
[15:32:01] <megal0maniac> RikusW: Yeah, but you get less program space :)
[15:32:07] <r0b-> hush!
[15:32:08] <RikusW> it will just run through the 0xFF 0xFF instructions....
[15:32:34] <RikusW> but its better to set it correctly
[15:32:40] <megal0maniac> r0b-: And SPI and I2C and 1 wire and and and...
[15:32:46] <r0b-> yea
[15:32:48] <r0b-> its a nice tool
[15:32:53] <RikusW> megal0maniac: which registers ?
[15:33:01] <RikusW> PORTB = 0x33;
[15:33:28] <megal0maniac> DDRB
[15:33:32] <megal0maniac> 1 is output?
[15:33:35] <RikusW> yes
[15:34:09] <RikusW> just use it as if it were an ordinary variable
[15:34:24] <RikusW> AVR registers are memory mapped
[15:34:44] <megal0maniac> That much I know
[15:34:58] <megal0maniac> DDRB3 = 0x10
[15:35:02] <megal0maniac> -3
[15:35:09] <megal0maniac> +;
[15:35:17] <megal0maniac> For B5 to output?
[15:35:24] <RikusW> that will set DDRB4
[15:35:33] <RikusW> 0x20 for 5
[15:35:46] <RikusW> or DDRB = (1<<DDB5);
[15:36:28] <megal0maniac> But 0x20 == b0010 0000
[15:36:29] <r0b-> digitalWrite(12, HIGH) :P or pinMode(12, OUTPUT) :P
[15:36:40] <megal0maniac> How does that correspond to 5?
[15:36:41] <r0b-> oh this is #avr not #arduino
[15:36:58] <RikusW> bit 5 ?
[15:37:07] <RikusW> bits are -> 7654 3210
[15:37:22] <megal0maniac> Doh!
[15:37:31] <r0b-> woops
[15:37:31] * megal0maniac was counting from 1
[15:37:33] <r0b-> i hacked megal0maniac
[15:37:34] <r0b-> :P
[15:37:36] * megal0maniac should know better
[15:37:43] <r0b-> yes
[15:37:47] <megal0maniac> Where's specing?
[15:40:16] * RikusW have gotten the ComboBox working, the visual part at least, need to finish some internal stuff
[15:40:47] <RikusW> I haven't even implemented a Clear() function yet :-P
[15:40:53] <RikusW> just AddItem...
[15:43:05] <RikusW> megal0maniac: you could try uncommenting RCOM_SERIAL and commenting QEXT_SERIAL at the top of RavrProg.cpp
[15:43:24] <RikusW> That will use other serial port sw, it might work better for you
[15:43:53] <megal0maniac> I'm on Windows at the moment, but might try later :)
[15:44:07] <RikusW> ok
[15:44:15] <megal0maniac> I've defined F_CPU but the LED is still blinking WAY too fast.
[15:44:26] <megal0maniac> But it blinks :)
[15:44:36] <RikusW> on m328 ?
[15:44:44] <megal0maniac> Yip
[15:46:02] <RikusW> now you're getting somewhere ;)
[15:46:57] <megal0maniac> Not really :P
[15:47:02] <megal0maniac> #define F_CPU 16000000UL
[15:47:10] <megal0maniac> Is that somehow incorrect?
[15:47:19] <megal0maniac> I'm using avr/delay.h
[15:48:02] <megal0maniac> Thought it based the delay on F_CPU. Although it compiled and ran without F_CPU being defined at all
[15:48:59] <r0b-> ok UART wont work lol
[15:49:33] * RikusW is the asm expert, not gcc...
[15:50:27] <megal0maniac> Heh.
[15:50:36] * megal0maniac might try blinking LED in ASM :P
[15:50:55] <r0b-> :P
[15:50:58] <r0b-> im gone...
[15:51:37] <r0b-> i dislike asm
[15:57:42] <megal0maniac> Heh. Blinking
[15:58:06] <OndraSterver> mm
[15:58:10] <OndraSterver> sample code? :D
[15:58:18] <megal0maniac> Nope. My own :)
[15:58:33] <megal0maniac> Will upload it to xboard now.
[15:59:15] <megal0maniac> But at 2mhz
[15:59:25] <megal0maniac> i.e. should be the same code
[15:59:37] <megal0maniac> Just setting bitmasks and using avr/delay.h
[16:07:52] <megal0maniac> OndraSterver: I have a blinking xboard
[16:08:12] <megal0maniac> The port manipulation is strange
[16:11:00] <r0b-> :P
[16:11:01] <r0b-> xboard?
[16:11:16] <megal0maniac> http://myxboard.net/
[16:11:58] <megal0maniac> xmega based development board.
[16:12:37] <tld> damnit!
[16:12:41] <r0b-> nice
[16:13:10] <tld> I just spent an insane amount of time trying to figure out what was wrong with my thinking or wiring, only to find out I'd forgotten it was a fresh chip, and I'd forgotten to set fuses.
[16:13:13] <tld> :/
[16:14:17] <OndraSterver> megal0maniac, avr/delay.h is used in my case too
[16:14:21] <OndraSterver> but change F_CPU to 2MHz :P
[16:14:23] <OndraSterver> rather 32MHz
[16:14:28] <OndraSterver> and you can ignore the PLL settings
[16:14:40] <OndraSterver> and what is weird about port manipulation? :P
[16:14:51] <megal0maniac> OndraSterver: I've already done that. Read up :)
[16:14:54] <OndraSterver> xmega has grabbed it hard with its OUT + OUTSET + OUTCLR + OUTTGL :)
[16:14:55] <OndraSterver> ye
[16:15:00] <megal0maniac> PORTR.OUTSET
[16:15:07] <megal0maniac> As opposed to DDRR
[16:15:08] <OndraSterver> same for DDR
[16:15:10] <OndraSterver> no
[16:15:16] <OndraSterver> OUT ~= PORT
[16:15:23] <OndraSterver> DIR ~= DDR
[16:15:35] <OndraSterver> and it does not end there! :D
[16:15:43] <OndraSterver> there are different totem pole options
[16:15:48] <OndraSterver> wired and/or/whatever
[16:15:57] <OndraSterver> stuff that you never heard about
[16:16:01] <megal0maniac> Why though?
[16:16:08] <OndraSterver> what why?
[16:16:49] <megal0maniac> My bad. DIRSET is in place of DDR
[16:16:57] <OndraSterver> no
[16:16:58] <OndraSterver> DIR is still DIR
[16:23:06] <megal0maniac> DDR on mega, but DIR on xmega.
[16:25:27] <megal0maniac> Sorry, serious lag for some reason. "Why though" and "My Bad" were sent before I got "same for DDR"
[16:45:48] <megal0maniac> If you set one pin on a port as an output and another as an input, and then set the input pin high (enable pullup,) how do you toggle the output without messing with the pull-up or explicitly specifying the input pin each time you set the output high or low?
[16:46:19] <megal0maniac> I know |= for when setting the output high, but what about setting it low?
[16:46:34] <megal0maniac> (And not messing with the pullup)
[16:47:26] <OndraSterver> ?
[16:47:45] <grummund> are you asking how to reset a bit to zero?
[16:48:02] <OndraSterver> for settings bits to zero use PORTCLR register :)
[16:48:27] <megal0maniac> OndraSterver: I'm back to mega :)
[16:48:49] <grummund> yeah, but what's the question?
[16:49:32] <megal0maniac> I think I just figured it out
[16:49:44] <megal0maniac> Shift a 1 or 0 to the bit you want to change only :)
[16:50:16] <megal0maniac> PORTB |= {0 << 1}
[16:50:40] <megal0maniac> To enable pull-up on B0 (assuming DDRB0 == 0)
[16:50:46] <megal0maniac> Is that correct?
[16:51:03] <grummund> no it's incorrect
[16:51:10] <megal0maniac> Eh.
[16:51:24] <grummund> in almost as many ways as it could possibly be wrong :P
[16:51:33] <megal0maniac> That's how we learn :P
[16:51:52] <megal0maniac> But am I right about shifting a single bit?
[16:52:02] <grummund> so to enable pull-up you want to SET the bit, right?
[16:52:20] <megal0maniac> That's how I understand it, yes.
[16:54:33] <grummund> PORTB |= 0x01; or PORTB |= (1<<0); or PORTB |= _BV(0); or PORTB |= _BV(PB0);
[16:54:45] <grummund> take your pick
[16:55:42] <megal0maniac> Would PORTB |= 0x01; not affect other bits?
[16:56:11] <megal0maniac> Say I'm trying to clear bit 5
[16:56:34] <megal0maniac> Logic says that 0 OR 1 = 1. So it wouldn't clear.
[16:57:01] <timemage> megal0maniac, look into using & in combination with ~
[16:57:03] <grummund> yeah, well you asked to SET a bit, so this is a new question...
[16:57:24] <megal0maniac> grummund: Set one bit, and then toggle another :)
[16:57:43] <megal0maniac> So I suppose it's where I was getting at
[16:58:36] <grummund> PORTB &= ~0x20; or PORTB &= ~(1<<5); or PORTB &= ~_BV(5); or PORTB &= ~_BV(PB5);
[16:59:16] * megal0maniac is reading http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=37871
[16:59:38] <megal0maniac> (because it looks like a prerequisite to this understanding this)
[17:01:04] <timemage> megal0maniac, you're already familiar with && and ||, yeah?
[17:01:12] <megal0maniac> Yes
[17:01:16] <megal0maniac> Mostly
[17:01:35] <timemage> megal0maniac, & and | are performing the same functions, per-bit
[17:02:06] <megal0maniac> The |= I'm okay with
[17:02:28] <megal0maniac> The &= ~ is where I need to do a bit of reading. But that makes sense now as well.
[17:02:48] <timemage> megal0maniac, ~ is performing ! (not), per bit.
[17:03:26] <megal0maniac> And in conjunction with &, leaves set bits set
[17:03:47] <timemage> megal0maniac, sure.
[17:04:03] <grummund> more importantly, it *resets* the desired bit(s).
[17:05:39] <timemage> megal0maniac, if it helps you can think of & as per bit multiplication. and + as per bit addition with saturation to value 1.
[17:06:37] <megal0maniac> Got it
[17:06:48] <megal0maniac> Now I shall test it :)
[17:40:43] <vec2> bitwise not is called ones complement, fyi
[18:04:43] <jadew> hey out of the topic request, but I'm sure it's a good place to ask: can someone who thinks that stargate sg-1 was the best sci-fi show ever, recommend a few other good sci-fi shows?
[18:05:03] <jadew> I'm out of shows to watch and I feel like I can't code with out having a show running
[18:08:23] <jadew> I take it nobody liked sg-1 that much, eh? :)
[18:09:01] <Kevin`> have you seen babylon 5?
[18:09:26] <jadew> I started watching it, but didn't really dig it
[18:09:33] <jadew> granted, I only watched an episode or two
[18:12:17] <jadew> yey, found a comedy show to watch
[18:12:28] <Kevin`> called what?
[18:12:33] <jadew> that 70's show
[18:13:02] <Kevin`> mm. I didn't like that one much for some reason
[18:13:38] <jadew> I'm gonna give it a try
[18:15:21] <jacekowski> jadew: stargate atlantis
[18:15:42] <jadew> jacekowski, I've seen all the stargate shows and the movies at least 3 times
[18:15:49] <jadew> each
[18:15:54] <jacekowski> jadew: startrek?
[18:16:21] <jacekowski> battlestar galactica, farscape
[18:16:23] <jadew> couldn't watch it
[18:16:36] <jacekowski> farscape i would say is the best option out of all of them
[18:16:39] <jacekowski> with claudia black
[18:16:53] <jadew> hmm, I started watching farscape, forgot about it
[18:17:04] <jacekowski> Andromeda is decent as well
[18:17:25] <jadew> thanks!
[18:17:40] <jacekowski> if you are asking about space based scifi
[18:18:18] <jacekowski> jadew: have you seen stargate infinity?
[18:18:45] <jadew> jacekowski, no, is it any good?
[18:18:52] <jacekowski> it's a cartoon
[18:19:01] <jadew> yeah, but is it good?
[18:19:08] <jacekowski> not the best really
[18:19:16] <jacekowski> i've watched defying gravity recently as well
[18:19:37] <jacekowski> it's scifi in space, but space itself is not really important in it
[18:19:45] <jacekowski> kinda like babylon 5
[18:20:16] <jacekowski> but talking about general scifi, doctor who is great
[18:20:34] <jacekowski> it has everything in it, traveling, time traveling, scifi
[18:20:46] <jadew> I only saw 1 episode of dr. who and it felt weird
[18:20:56] <jadew> like torchwood but bad
[18:21:03] <jadew> torchwood was good
[18:21:18] <jacekowski> firefly and movie serenity
[18:21:24] <jadew> saw them
[18:21:30] <jadew> several times as well
[18:21:41] <jadew> jacekowski do you play eve online?
[18:22:18] <jacekowski> no
[18:22:47] <jadew> you'd like it
[18:22:54] <jacekowski> i've tried it
[18:22:57] <jacekowski> and not really
[18:23:32] <jadew> it's a good game once you get the hang of it
[18:23:39] <jadew> big waste of time tho
[18:23:43] <karlp> (if you want to waste the only spare hours in your day)
[18:23:53] <jadew> lol yeah
[18:23:57] <karlp> (and the spare hours that weren't actually spare)
[18:23:58] <jadew> karlp, ddid you play it?
[18:24:12] <karlp> a bit, while ago. loved it. very addictive.
[18:25:57] <jacekowski> now with regards to good scifi in general, going alphabetaically, battlestar galactica, bionic woman was interesting, caprica (basically, it's explaining events before battlestar galactica), dark angel with jessica alba, fringe - i think that's the best scifi that is currently running, terra nova was half decent, The 4400, warehouse 13
[18:26:00] <jadew> yeah, I'm lucky I do this avr stuff, that way my subscription gets canceled every now and then since I'm busy with other stuff
[18:26:05] <jacekowski> jadew: tastekid.com
[18:26:30] <jacekowski> jadew: i've played WoW for quite long time
[18:26:35] <jadew> saw them all :)
[18:26:35] <jacekowski> up until ICC release
[18:26:45] <jacekowski> then i got bored with it
[18:26:51] <jacekowski> and kinda annoyed
[18:26:53] <jadew> I haven't played wow yet
[18:27:10] <jacekowski> now i'm off any mmorpgs
[18:27:22] <jadew> I'm trying to stay off of them as well
[18:27:32] <jacekowski> i don't like people
[18:27:40] <jadew> that site is great
[18:27:50] <karlp> warehouse13 ?
[18:27:53] <jacekowski> yeah
[18:27:56] <jadew> jacekowski, in real life?
[18:28:01] <karlp> oh yeah, sorry, that was already in the list
[18:28:02] <jacekowski> jadew: yeah
[18:28:17] <karlp> falling skies is alright
[18:28:25] <jadew> karlp, gonna check it out
[18:28:29] <jacekowski> but i think, fringe is the best out of all scifi still left
[18:28:31] <jadew> I'm making a list with everything listed in here
[18:28:36] <jacekowski> it's been bad couple years for scifi
[18:28:43] <jacekowski> everything got canceled
[18:28:50] <karlp> what's the one with the living ship, I always forget it's name
[18:28:53] <karlp> it was awesome.
[18:29:01] <jacekowski> karlp: farscape
[18:29:07] <karlp> farscape, yeah
[18:29:11] <jacekowski> with claudia black
[18:29:14] <jadew> there's a living ship in stargate atlantis as well :P
[18:29:18] <jacekowski> she was in stargate as well
[18:29:24] <jadew> the wraith had living ships
[18:29:44] <jadew> oh yeah
[18:29:49] <jadew> that chick is hot
[18:29:49] <jacekowski> yeah, but it wasn't like in farscape
[18:29:58] <jacekowski> jadew: she could probably be your mum
[18:30:05] <jadew> I know :D
[18:30:07] <jadew> but still
[18:31:59] <jacekowski> talking about chicks
[18:32:03] <jacekowski> jessica alba in dark angel
[18:32:22] <jadew> yeah, saw it
[18:32:33] <jadew> btw, you guys left out one of the greatest shows ever: the outer limits
[18:32:39] <jacekowski> she was 20 back then
[18:33:02] <jacekowski> i don't do B&W scifi
[18:33:10] <jadew> it's not b&w
[18:33:14] <jadew> it's the remake
[18:33:26] <jadew> http://www.imdb.com/title/tt0112111/
[18:34:32] <jacekowski> ahm
[18:34:45] <jacekowski> i've watched sliders recently
[18:35:30] <jadew> I enjoyed that one
[18:39:49] <jadew> gonna watch the 4400, sounds like a good mystery / thriller
[18:40:46] <jacekowski> dollhouse
[18:40:57] <jadew> saw it, I liked the chicks
[18:40:58] <jacekowski> and eureka is interesting
[18:41:59] <jadew> bookmarked
[18:42:14] <jadew> damn, this should hold me for the rest of the year at least
[18:42:26] <jacekowski> and with regards to "interesting" there is one that is very interesting
[18:42:34] <jacekowski> called forbidden science
[18:42:44] <jacekowski> it's something between scifi and porn
[18:42:54] <jadew> sounds awesome :D
[18:42:59] <jacekowski> and numb3rs
[18:44:08] <jadew> bookmarked them as well
[18:44:12] <jadew> this is great :D
[18:44:46] <jacekowski> i've got almost 2TB worth of series
[18:45:03] <jacekowski> + stuff on dvd's
[18:45:15] <jadew> I'm watching them online now
[18:45:29] <jacekowski> talking about dvd's
[18:45:32] <jacekowski> terminator
[18:45:34] <jacekowski> series
[18:45:51] <jadew> didn't know they made a show
[18:46:41] <jacekowski> terminator: the sarah connor chronicles
[18:46:47] <jacekowski> with summer glau
[18:46:56] <jacekowski> that crazy girl from firefly/serenity
[18:46:56] <jadew> oh snap
[18:47:06] <jadew> I love that chick
[18:47:13] <jadew> super hot
[18:47:54] <jadew> she played in the big bang theory as well, one episode
[18:48:00] <jadew> "it's hot in here, must be summer"
[18:48:32] <jacekowski> she played in dollhouse as well
[18:48:44] <jadew> really?
[18:48:52] <jadew> maybe that's why I enjoyed that show so much
[18:49:26] <jadew> sci-fi is good, but sci-fi with hot chicks is great
[18:51:05] <karlp> zombie strippers!
[18:51:14] <karlp> (better than it sounds)
[18:51:17] <jacekowski> talking about zombies
[18:51:26] <karlp> new walking dead comes out when?
[18:51:28] <jacekowski> the walking dead was decent
[18:51:42] <jadew> karlp, saw it
[18:51:48] <jadew> and saw it
[19:01:51] <Kevin`> mmm yeah, farscape is worth watching
[19:35:22] <Fleck> http://www.ebay.com/itm/50G-Soldering-Repair-Solder-Paste-Cream-Welding-Paste-/150898045940?pt=LH_DefaultDomain_0&hash=item23223973f4 << is this the one you use to solder SMD components with hot air?
[20:47:22] <AR_> Fleck, yes
[21:29:40] <shodan45> anyone here use any of the "soft" usb libs like v-usb or usbtiny?
[21:29:56] <shodan45> are they any good?
[21:58:13] <CapnKernel> shodan45: I've used V-USB.
[21:58:26] <CapnKernel> It has worked just fine for me.
[22:02:46] <shodan45> CapnKernel: what "mode"? serial?
[22:04:59] <CapnKernel> Sorry, I don't understand your question.
[22:05:28] <shodan45> CapnKernel: what kind of usb device did you use it for?
[22:05:45] <CapnKernel> Virtual keyboards.
[22:05:50] <shodan45> ah ok
[22:07:31] <shodan45> I'm trying to figure out if I can use it while also doing coms with an RFM12B
[22:07:37] <CapnKernel> Not sure if this is related, but I've heard there's a slight bug in the Linux kernel ACM driver that can prevent V-USB serial devices from working.
[22:07:48] <shodan45> oh yay.
[22:08:54] <CapnKernel> V-USB is doing the USB in software. It is absolutely timing critical. So you can't have anything else generating interrupts when you're doing the USB stuff.
[22:09:02] <shodan45> I may just wait until I can afford another FTDI or maybe get one of those Teensys
[22:09:39] <shodan45> CapnKernel: yeah, the RFM12B is most certainly using interrupts :/
[22:09:45] * shodan45 sighs
[22:10:05] <CapnKernel> Teensys are good.
[22:10:26] <shodan45> and cheap too
[22:10:48] <CapnKernel> V-USB is good for what it is.
[22:11:01] <shodan45> unfortunately not cheap enough for me :(
[22:11:38] <shodan45> it certainly is a cool concept
[22:13:43] <shodan45> hehe maybe if I overclock the atmega? xD
[22:14:19] <shodan45> wonder what the highest somebody's clocked one to
[22:34:23] <Kevin`> shodan45: xmega can apparently clock rather high (like +100%), depending on what peripheraps you use
[22:35:00] <Kevin`> shodan45: you don't have to use interrupts for rfm12b code
[22:41:17] <shodan45> Kevin`: oh? I just assumed that was the case since the lib I've been using ("jeelib") does use them
[22:42:41] <Kevin`> shodan45: the interrupt line on that chip is latched iirc, so you can poll it (or just use a short isr that sets a flag, maybe). you can also not use it at all, but it's less efficient to poll over spi
[22:43:54] <shodan45> Kevin`: interesting... you've given me a few leads, thanks :)
[22:45:03] <CapnKernel> I have made a few designs where V-USB was running with no crystal on an ATtiny45.