#avr | Logs for 2012-05-23

Back
[02:02:11] <drgreenthumb> hmm wonder if NewHaven display will give me an eval kit. didn't ask for much, just a $13 display and a 0.1" adapter board.
[03:17:54] <gidna> Hi
[03:18:05] <gidna> I want to build this programmer http://t2.gstatic.com/images?q=tbn:ANd9GcQ1rtyb8d4wtyyq-6h91JHrUAqLexFZ9RHHZ8AijUQwAiHEz5DKwQ
[03:18:15] <gidna> but I find different schematics like this: http://t0.gstatic.com/images?q=tbn:ANd9GcT4k4iYoJmdKYbDdhEILmhixN1XIG5YGy7LJ92DjK2b4Nv5f9skbQ
[03:18:21] <gidna> Which is the correct one?
[03:20:38] <Tom_itx> this one is: http://tom-itx.dyndns.org:81/~webpage/avr/ispdongle.pdf
[03:20:44] <Tom_itx> because
[03:20:56] <Tom_itx> it has a buffer that will help protect your parallel port
[03:21:10] <profil> no one got an idea to my problem?
[03:21:15] <nevyn> hrm
[03:22:30] <Tom_itx> nope
[03:22:56] <gidna> Tom_itx, there are no resistors in that schematic..
[03:23:11] <Tom_itx> even better
[03:23:15] <Tom_itx> it's got a buffer
[03:23:16] <OndraSter> but there is buffer
[03:23:43] <nevyn> gidna: parallel port really?
[03:24:03] <Tom_itx> gidna you should try one of my programmers
[03:24:11] <Tom_itx> it's usb
[03:24:13] <CapnKernel> Tom's programmers are really good
[03:24:20] <CapnKernel> I have one, I love it.
[03:24:23] <drgreenthumb> heh I was thinking that too. yeah just get one of Tom_itx's it's inexpensive and easy
[03:24:28] <drgreenthumb> me too :)
[03:24:30] <Tom_itx> the parallel port programmers will work though
[03:24:35] <nevyn> http://www.fourwalledcubicle.com/AVRISP.php
[03:24:45] <OndraSter> who has pport nowadays...
[03:24:56] <Tom_itx> apparently he does
[03:25:03] <nevyn> Tom_itx: url?
[03:25:07] <gidna> the parallel seems easy to do but I find different versions and I don't know which to build
[03:25:42] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
[03:25:44] <drgreenthumb> build whichever one comes with well documented software.
[03:25:52] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/commerce/commerce_index.php
[03:26:11] <gidna> I should use it with avrdude.. and avr-gcc
[03:26:51] <Tom_itx> gidna the parallel port programmers with the resistors don't offer much protection for your port
[03:26:53] <drgreenthumb> USB breakout experimentor?!
[03:27:00] * drgreenthumb glances sideways at Tom_itx
[03:27:11] <Tom_itx> it filled a gap
[03:27:16] <drgreenthumb> heh
[03:28:11] <OndraSter> wow, the dm and dp pins have breakout?
[03:28:22] <gidna> Tom_itx, so I don't have to put resistors?
[03:28:36] <Tom_itx> you should put something
[03:28:55] <Tom_itx> either the resistors or the 74hc244
[03:30:36] <gidna> What is??
[03:33:17] <drgreenthumb> OndraSter, bumble-b had that. infact this is pretty darned near a clone ;)
[03:33:39] <drgreenthumb> glad someone is still making similar boards
[03:33:47] <OndraSter> :)
[03:33:56] <Tom_itx> wish someone was still buying
[03:33:58] <Tom_itx> :(
[03:34:01] <drgreenthumb> heh
[03:34:33] <Tom_itx> it came and went when the u4 became more available
[03:34:33] <OndraSter> I have added two LEDs on my breakout board on PortR, because it is just 2pins port... :)
[03:34:50] <OndraSter> http://clip2net.com/s/1WXjn
[03:35:01] <OndraSter> http://clip2net.com/s/1WXjv
[03:35:21] <OndraSter> plus I made the board smaller
[03:35:29] <OndraSter> by 5 - 7mm
[03:35:33] <OndraSter> (width)
[03:35:39] <OndraSter> still .8"....
[03:35:45] <Tom_itx> df did you see this one? http://tom-itx.dyndns.org:81/~webpage/boards/atmega32u4/atmega32u4_1.jpg
[03:35:45] <OndraSter> no, it can't be done smaller
[03:35:58] <drgreenthumb> oh nice tom a u4 board
[03:36:52] <drgreenthumb> what no hwb button? ;p
[03:37:20] <Tom_itx> i had both of those during your hey day and held back on them, i did mod the u2 a bit though
[03:37:22] <OndraSter> hmm
[03:37:32] <drgreenthumb> huh is that QFN?
[03:37:33] <OndraSter> reset button or custom button? :P
[03:37:34] <OndraSter> ye
[03:37:37] <Tom_itx> yup
[03:37:40] <drgreenthumb> neat
[03:37:45] <OndraSter> QFN costs
[03:37:49] <OndraSter> way less than TQFP
[03:38:07] <OndraSter> and looks way cooler :P
[03:38:18] <OndraSter> 3.89€ vs 5.59€ QFN vs TQFP
[03:38:23] <OndraSter> same chip
[03:39:51] <drgreenthumb> I'm still trying to figure out if I can solder this thing http://www.newhavendisplay.com/nhd18128160tfctxi-p-4981.html
[03:40:02] <drgreenthumb> the datasheet says "hot bar solder directly to PCB"
[03:40:10] <OndraSter> hot bar?
[03:40:11] <drgreenthumb> which clearly I can't do ;)
[03:40:12] <OndraSter> :o
[03:40:16] <OndraSter> oh this
[03:40:20] <OndraSter> I soldered those just fine
[03:40:32] <drgreenthumb> OndraSter, using what? just an iron?
[03:40:33] <OndraSter> 34 or 36 pins
[03:40:35] <OndraSter> ye
[03:40:42] <drgreenthumb> heh this one's only 25 pins
[03:40:51] <drgreenthumb> nice ok then that gives me confidence
[03:40:58] <drgreenthumb> plus I can bolt the thing on before soldering
[03:41:23] <OndraSter> the display didn't work though - the problem is that they set IM bits to unknown value (thus you don't know whether there is 8 or 16bit or 18bit data)...
[03:41:33] <OndraSter> and the one I had had bad datasheets
[03:41:49] <gidna> Those programmer works with an external power adaptor?
[03:42:00] <Tom_itx> which programmers?
[03:42:02] <drgreenthumb> this seems okay. decent datasheet for the screen and good one for the controller too.
[03:42:20] <Tom_itx> gidna, mine are powered via usb vbus
[03:42:39] <Tom_itx> and can also let the target power itself in case you have a 3.3v target board
[03:42:52] <gidna> ok but the parallel one?
[03:43:03] <Tom_itx> target powered
[03:43:07] <Tom_itx> iirc
[03:43:23] <Tom_itx> the parallel port didn't bring out 5v iirc
[03:44:05] <drgreenthumb> plus heh OndraSter this display actually only has 8 data lines. so it's a bit obvious ;)
[03:44:11] <OndraSter> :
[03:44:12] <OndraSter> :)
[03:44:18] <OndraSter> hmm
[03:44:19] <OndraSter> http://www.newhavendisplay.com/nhd35320240mfatxl1-p-2886.html
[03:44:24] <OndraSter> this says "no controller"
[03:44:35] <OndraSter> and by datasheet there is RGB channels + vsync + hsync
[03:44:42] <OndraSter> I suppose that one can drive them through that?
[03:44:57] <drgreenthumb> your uC will be pretty darned busy ;)
[03:45:03] <OndraSter> hehe
[03:45:04] <drgreenthumb> best have some dedicated hardware doing that
[03:45:04] <OndraSter> FPGA :)
[03:45:08] <OndraSter> to serve the display
[03:45:10] <OndraSter> would be best
[03:45:16] <drgreenthumb> meh there's plenty of ICs that you could use
[03:45:26] <drgreenthumb> that aren't as expensive or hard to work with as an FPGA
[03:46:09] <OndraSter> 13MHz for that display
[03:46:10] <drgreenthumb> some of the ARMs I was looking at could support these types of displays
[03:46:16] <OndraSter> 78ns high time, 78ns low time
[03:46:30] <OndraSter> and 1/78ns = 13MHz
[03:47:09] <OndraSter> on 120MHz ARM that is not much biggie :)
[03:47:44] <drgreenthumb> well yeah, but I mean it had hardware support so you don't have to have your main loop working on that.
[03:47:47] <OndraSter> 6.5MHz to be precise
[03:47:57] <OndraSter> one can hook up 3 SPIs :)
[03:48:29] <OndraSter> but if you setup interrupts to fire up every 78ns, you will be just fine
[03:49:41] <drgreenthumb> well that it also assumes you have a big enough memory buffer and can just do a fast read / write operation. you don't want drawing code in interrupts.
[03:49:49] <OndraSter> hmm
[03:49:56] <OndraSter> http://www.newhavendisplay.com/nhd57320240wfbctxi1-p-2459.html :)
[03:50:00] <OndraSter> wouldn't be that bad
[03:50:02] <OndraSter> but $89
[03:50:17] <OndraSter> and 5.7" is fairly big
[03:50:20] <drgreenthumb> yeah their 7" one looks pretty awesome too.
[03:50:47] <drgreenthumb> expensive, but the datasheets are in English at least ;)
[03:50:53] <OndraSter> :D
[03:53:12] <drgreenthumb> hmm how precise is interrupt timing actually? driving an RGB display usually needs extremely precise timing.
[03:53:26] <drgreenthumb> I wouldn't try it in software :P
[03:56:11] <OndraSter> heh
[03:56:43] <gidna> Tom_itx, http://www.pocketmagic.net/?p=375 folks seem to like it and works with avr-dude. What do you think?
[04:04:39] <drgreenthumb> seems good
[04:05:11] <drgreenthumb> heh just try it you can get all those parts (except the AVR) at Radio Shack.
[04:05:26] <CapnKernel> drgreenthumb: You can do it in software, but don't enable interrupts :-)
[04:05:44] <drgreenthumb> yeah CapnKernel but still. ugh.
[04:05:55] <drgreenthumb> that's a lot of data to move constantly
[04:06:09] <drgreenthumb> I'd rather leave it to dedicated hardware with a buffer :)
[04:06:28] <CapnKernel> There's no dedicated hardware in the AVR 8-bit series.
[04:06:40] <CapnKernel> So you'll be moving data with software either way.
[04:07:03] <drgreenthumb> yes but those displays require you to move a screen full of data 30+ times per second
[04:07:17] <drgreenthumb> something with a dedicated controller - you just update when needed
[04:07:38] <drgreenthumb> a controller could be made of a CPLD and some memory probably.
[04:07:50] <CapnKernel> But then it's not an AVR. And this is #avr.
[04:07:55] <drgreenthumb> hehe
[04:08:07] <CapnKernel> The only hardware in the AVR series that has hardware support for moving data is the UART and TWI stuff.
[04:08:17] <CapnKernel> And it's only clocking out at most 9 bits.
[04:08:20] <drgreenthumb> yes but. driving that display is a bit beyond the scope of an 8-bit AVR. just a bit :P
[04:09:39] <CapnKernel> If you have a lot of data to shift, and you must use an AVR, then you're probably better off doing it in software.
[04:09:56] <CapnKernel> But you'll be entering the realm of cycle-counting. Fun!
[04:10:25] <drgreenthumb> that's why I picked the display that I did. just push out changes, not full screen refresh. so my AVR can run more useful software ;)
[04:14:53] <drgreenthumb> the Parallax Propeller had a neat answer to that
[04:15:14] <drgreenthumb> since it has 8 cores, you just dedicate one to doing the video out
[04:15:36] <drgreenthumb> weird chip though, weak C support
[04:16:03] <nevyn> that's a cracktastic chip
[04:16:08] <drgreenthumb> hehe
[04:16:10] <nevyn> like it seemed kinda neat.
[04:16:15] <drgreenthumb> it was fun to learn on
[04:16:16] <nevyn> but totall crack to code for.
[04:16:20] <drgreenthumb> yeah
[04:16:24] <drgreenthumb> Spin is terrible
[04:16:35] <nevyn> oh spin was runnaway
[04:16:47] <nevyn> but even the asm... like the whole hub thing and yeah weird.
[04:17:12] <nevyn> it was like this lame version of a power
[04:17:35] <nevyn> but with even more ridiculous limits on local resources
[04:18:35] <drgreenthumb> friend of mine hooked it up to a PHY and ethernet magnetics and actually got it networked
[04:18:50] <drgreenthumb> he had a propeller IRC bot for a while :)
[04:19:16] <drgreenthumb> I just could not put that much effort into it. there seems like .. easier ways.
[04:20:49] <drgreenthumb> plus they kept promising propeller 2 with lots more memory and stuff and it never seemed to come.
[04:21:00] <drgreenthumb> it was the Duke Nukem Forever of uCs :P
[04:21:17] <OndraSter> :D
[04:21:22] <OndraSter> but DNF came out :P
[04:21:24] <OndraSter> in the end
[04:21:50] <drgreenthumb> and it sucked
[04:21:54] <drgreenthumb> probably like propeller 2 :P
[04:21:55] <OndraSter> yes
[04:21:58] <OndraSter> :D
[04:22:18] <nevyn> drgreenthumb: well a propeller would suck and blow at the same time...
[04:22:26] <drgreenthumb> hah!
[04:22:31] <OndraSter> the thing is - dual access RAMs are not that cheap :)
[04:22:52] <drgreenthumb> memory sucks
[04:23:05] <OndraSter> (talking about the dedicated CPLD for the refreshing)
[04:23:12] <drgreenthumb> why is flash so cheap and RAM so expensive and RAM so forking power hungry?
[04:23:23] <drgreenthumb> even "LPDDR"
[04:23:28] <drgreenthumb> takes like 200ma
[04:24:14] <drgreenthumb> "low power" my ass.
[04:24:20] <nevyn> because ram needs to refresh.
[04:24:32] <nevyn> no power == no data
[04:24:40] <OndraSter> sram doesn't
[04:24:54] <nevyn> right but that eats even MORE power
[04:25:06] <OndraSter> why?
[04:25:09] <nevyn> 4 transisters per bit and constant current
[04:25:11] <OndraSter> it is just tranzistors!
[04:25:21] <OndraSter> FETs do not have almost any current in the gate..
[04:25:44] <nevyn> but source -> drain sure does
[04:25:51] <nevyn> when "on"
[04:26:00] <OndraSter> if it is tied to another gate the nope
[04:26:02] <OndraSter> then*
[04:26:16] <OndraSter> woah, dual port 256kB SRAM... guess the price
[04:26:25] * nevyn hates to think
[04:26:25] <OndraSter> in TQFP
[04:26:30] <OndraSter> FOURTY BUCKS
[04:26:35] <OndraSter> in VFBGA it is 12 bucks
[04:26:37] <nevyn> that's special
[04:26:37] <OndraSter> wtf
[04:26:37] <drgreenthumb> I knew it it's those damned 1s that are so energy hungry. the jerks.
[04:26:40] <OndraSter> slower though
[04:27:00] <drgreenthumb> maybe all data can just be zero.
[04:27:26] <nevyn> so what are people doing prototyping and stuff gonna do when TQFP is phased out
[04:27:31] <OndraSter> well if all data can be 1s then use DRAM that you won't refresh :)
[04:27:32] <nevyn> dip is a distant memory.
[04:27:53] <drgreenthumb> I wonder if RAM chips invert if it has too many ones.
[04:28:10] <OndraSter> as... start giving out power?
[04:28:29] <drgreenthumb> no as in, invert the meaning of zero and one. if there's more than 50% ones it would save power :P
[04:28:36] <OndraSter> oh lol
[04:29:06] <OndraSter> hmmm if I were to use some CPLD or FPGA for the refreshing, I could use single port SRAM and the ARM would interface the CPLD directly
[04:29:09] <OndraSter> and give it instructions..
[04:29:18] <nevyn> drgreenthumb: hrm even with the matrix switch and inverter logic you could be right.
[04:29:18] <OndraSter> DMA could be used for that
[04:33:02] <OndraSter> hmm 320x240 display requires 225kB RAM? 320*240*3...
[04:35:17] <CapnKernel> drgreenthumb: I'm not saying this to be rude, but all that stuff about RAM and ones, well, I'm struggling to work out whether this is your comedy routines, or you really ARE that clueless.
[04:35:29] <CapnKernel> In other words, I'm rude. Sorry about that.
[04:37:23] <drgreenthumb> I'm just having some fun at 2:26am
[04:38:35] <drgreenthumb> and playing on the fact that transistor "on" == 1. if I'm clueless then I'm a highly productive idiot =)
[04:39:47] <drgreenthumb> I was just initially griping because I want to make some battery powered gadgets. and RAM is one of the big nasties.
[04:42:22] <OndraSter> why are IEEE specs NOT FREE?
[04:42:24] <OndraSter> darn
[04:42:37] <drgreenthumb> yeah I just hit that too actually :/ over 802.15.4
[04:42:47] <OndraSter> ieee 1532 for me..
[04:42:50] <OndraSter> jtag isp
[05:07:30] <antto> has anyone managed to compile avr .hex with the CodeBlocks IDE?
[05:14:55] <karlp> 802.15.4 specs you can download for free.
[05:15:42] <karlp> go here: http://en.wikipedia.org/wiki/IEEE_802.15.4
[05:15:58] <karlp> then go to the bottom and click ont he pdf links for the standards, straight off the ieee page
[05:16:26] <drgreenthumb> oh hey thanks
[05:17:15] <karlp> I don't know why some things have to be bought/resold and others not,
[05:18:24] <antto> which compiler should be used? in winAVR i see 2 folders "avr" and "avr32" they both have the bin\ subfolder with the tools inside..
[05:22:51] <drgreenthumb> heh it's crazy that I got those pictail gizmos working without this. this is going to make things a lot simpler, thanks again karlp.
[05:23:02] <OndraSter> antto, avr
[05:23:12] <OndraSter> avr32 if you have AVR32 chip :)
[05:23:18] <OndraSter> which you don't have, if you have to ask
[05:23:26] <drgreenthumb> I have an AVR64 chip!
[05:23:33] <OndraSter> heh
[05:23:36] <karlp> drgreenthumb: which pictail?
[05:23:42] <karlp> are you using mrf24j40 modules?
[05:23:45] <OndraSter> the next ARMv8 will be 64bit
[05:23:54] <drgreenthumb> haha yep karlp
[05:23:57] <antto> OndraSter: thanks
[05:24:06] <karlp> you can get them working with each other without it, but it's hard :)
[05:24:10] <drgreenthumb> got a couple AVRs driving them, sending raw packets
[05:24:13] <OndraSter> np
[05:24:17] <karlp> getting them to work with other 802.15.4 modules gets a bit complicated
[05:24:19] <drgreenthumb> yeah the main thing I was missing is MHR
[05:24:25] <drgreenthumb> had do dig for that.
[05:24:29] <karlp> yeah, the headers are a little quirky
[05:24:36] <karlp> and the mrf docs are pretty ugly, as you've probably seen.
[05:24:42] <drgreenthumb> heh yep
[05:24:52] <drgreenthumb> lots of scrolling back and forth on that doc :/
[05:25:14] <karlp> did you see my: https://github.com/karlp/karlnet/blob/master/common/lib_mrf24j.c ?
[05:25:25] <karlp> it's actually being ported now to work on stm32 as well,
[05:25:41] <karlp> well, it's working on stm32 as well, I just havn't merged the two variants back into one module yet.
[05:26:50] <drgreenthumb> nice! heh a lot of this looks eerily similar to my code read/write long/short deja-vu :)
[05:28:03] <drgreenthumb> ah your code even comes with a lovely interrupt handler
[05:28:07] <drgreenthumb> heh I should use this
[05:28:29] <antto> OndraSter: why is there no make.exe in avr\bin ?
[05:28:38] <OndraSter> because there is avr-gcc
[05:28:39] <OndraSter> :D
[05:28:55] <karlp> the code using it is in the "nodes" part of that tree,
[05:28:56] <antto> so makefiles are passed to "gcc.exe" ?
[05:28:59] <drgreenthumb> make is not platform specific like those tools in avr/bin
[05:29:09] <karlp> it's a work in progress what gets pulled out and made more shareable public,
[05:29:49] <drgreenthumb> you can run make from a normal shell antto. like a linux terminal. or cygwin. etc.
[05:30:04] <drgreenthumb> make reads the makefile and calls gcc for you.
[05:30:22] <drgreenthumb> and the makefile should be set up to use those tools in avr/bin.
[05:30:34] <antto> my whole point was to try and put this winAVR project into CodeBlocks, since it's my more comfortable IDE
[05:30:50] <drgreenthumb> heh well then don't use make
[05:30:59] <antto> but what then?
[05:31:20] <antto> the make file is needed, it has all the settings..
[05:31:28] <antto> and i don't understand most of it
[05:31:35] <karlp> does codeblocks support using the makefile as the project settings?
[05:31:37] <drgreenthumb> can you get it to invoke bash?
[05:31:44] <antto> yeah i think so
[05:31:45] <karlp> or do you have to configure it all in codeblocks?
[05:31:45] <drgreenthumb> yeah or that
[05:31:59] <karlp> netbeans and eclipse let you do both ways, visual studio only lets you do it their way
[05:32:02] <antto> because codeblocks supports AVRGCC as an external compiler
[05:32:20] <antto> there's an option in the project settings "use this makefile"
[05:33:38] <antto> i think the problem is that codeblock calls "make.exe" with parameters like target=release
[05:33:45] <gidna> Hi
[05:33:48] <OndraSter> hi
[05:33:56] <antto> and there is no make.exe in the avr folder
[05:34:22] <antto> "make.exe: *** no rule to make target 'release'. Stop."
[05:35:16] <karlp> that sounds like the right path
[05:35:20] <drgreenthumb> maybe the target should be "all" ? where did you get the makefile?
[05:35:26] <karlp> can you set up a project config in codeblocks,
[05:35:34] <karlp> it probably has default configs for "debug" and "release"
[05:35:41] <karlp> you want to just have one config, with no parameters
[05:35:44] <gidna> what's the difference between atmega8 and 8L ??
[05:35:56] <karlp> L is newer and operates on lower power
[05:35:57] <OndraSter> 16 vs 8 MHz
[05:36:07] <OndraSter> p is picopower
[05:36:12] <antto> drgreenthumb: the makefile comes from the author of the firmware i'm modifying, and it works out of the box in winAVR's "programmer's notepad"
[05:36:13] <OndraSter> a is lower power
[05:36:23] <karlp> not quite that simple OndraSter :)
[05:36:27] <OndraSter> hmm
[05:36:33] <OndraSter> in case of other atmegas it was just the clock difference
[05:36:38] <OndraSter> maybe power consumption too..
[05:36:45] <OndraSter> but that makes sense 16 vs 8MHz
[05:36:53] <karlp> there's L, V, P and A
[05:37:00] <karlp> P is almost always picopower yes,
[05:37:16] <OndraSter> Operating Voltages
[05:37:17] <OndraSter> – 2.7V - 5.5V (ATmega8L)
[05:37:17] <OndraSter> – 4.5V - 5.5V (ATmega8)
[05:37:17] <OndraSter> • Speed Grades
[05:37:17] <OndraSter> – 0 - 8MHz (ATmega8L)
[05:37:17] <gidna> and 8PU , Pu for what stands for?
[05:37:17] <OndraSter> – 0 - 16MHz (ATmega8)
[05:37:21] <karlp> L and V were/are lower power, but often at the expense of clock speed tradeoffs and so on.
[05:37:23] <OndraSter> package type, gidna
[05:37:28] <karlp> PU in that case just means the package (PDIP)
[05:39:12] <gidna> What do you mean for package??
[05:39:19] <OndraSter> PDIP
[05:39:30] <OndraSter> AU is TQFP for example (I think)
[05:41:51] <gidna> ?
[05:43:12] <drgreenthumb> gidna, they're talking about what shape the AVR is. DIP/PDIP is the one with 2.54mm pitch pins that stick out the bottom - thru hole. TQFP and others are surface mount chips.
[05:43:54] <gidna> I need that one with 28 PINS
[05:44:04] <gidna> that fits in a breadboard
[05:44:19] <drgreenthumb> yes DIP and PDIP work on breadboards.
[06:04:14] <gidna> here http://www.pocketmagic.net/wp-content/uploads/2009/02/avr-bsd.png GND needs to be connecter to the negative - of the battery?
[06:06:38] <OndraSter> what battery?
[06:06:51] <gidna> http://www.pocketmagic.net/wp-content/uploads/2009/02/circuit.gif
[06:07:02] <OndraSter> oh
[06:07:03] <OndraSter> yes
[06:08:09] <gidna> what's the difference betwen AVCC and VCC ??
[06:08:17] <OndraSter> check datasheet
[06:08:21] <OndraSter> one powers the analog part :)
[06:13:05] <gidna> Where's VCC is connected??
[06:14:17] <OndraSter> vcc of the mega?
[06:14:22] <OndraSter> to the output of the 7805
[06:14:23] <gidna> yes
[06:14:29] <OndraSter> to 5V source
[06:15:08] <gidna> ok negative or positive pole of the battery??
[06:15:23] <OndraSter> since negative is already on GND
[06:15:26] <OndraSter> the positive goes to the 7805
[06:15:30] <OndraSter> input
[06:15:38] <OndraSter> the output of 7805 is regulated 5V
[06:16:13] <gidna> so to the positive...
[06:20:06] <CapnKernel> gidna: Are you using a battery? If so, what kind?
[06:20:30] <gidna> 9V as in the schematic
[06:21:53] <CapnKernel> (You realise that 7805s will kill your 9V battery very quickly?)
[06:22:47] <karlp> 7805, the f100 of regulators.
[06:22:57] <karlp> it works, it keeps working, but it gets apalling fuel economy
[06:23:15] <gidna> hmm CapnKernel I could use a 9v DC adaptor
[06:23:15] <CapnKernel> karlp: brilliant analogy
[06:23:24] <CapnKernel> Or 3 AA cells, with no regulator
[06:25:02] <desaster> considered running at 3.3V?
[06:25:24] <desaster> for me it seems very handy voltage
[06:25:55] <desaster> with 3-4 AAs
[06:26:47] <karlp> 1.8! just run with 2 ;)
[06:27:08] * karlp has a vendetta against 3xaa/aaa systems
[06:27:13] <desaster> why not, if nothing else in the circuit needs 3.3V :)
[06:27:18] <gidna> I just can' understand the difference btw all those VCC AREF AVCC
[06:27:59] <desaster> gidna: i haven't bothered understanding them too deeply, since i just supply the same source to them anyway
[06:28:51] <desaster> maybe if you use ADC you might have to consider them in more detail
[06:29:45] <drgreenthumb> AREF and AVCC only matter if you want to use the analog converters at a different voltage than the rest of it. tie them all together and to +5v, it's fine.
[06:31:47] <desaster> karlp: is the vendetta because 3xAA is not enough if they're rechargeables?
[06:36:57] <CapnKernel> gidna: I'll try to help you understand what's going on.
[06:37:44] <CapnKernel> I'm not an expert here, but I'll tell you what I know.
[06:38:34] <CapnKernel> Generally, the AVR is a digital beast. It works by switching stuff on and off. The problem with all that switching is that it introduces noise (tiny voltage fluctuations) into the system.
[06:39:07] <CapnKernel> Normally that's not a problem, except that the AVR also has some analog-to-digital converters for measuring varying voltages
[06:39:23] <CapnKernel> Noise in the system can mess with the accuracy of those measurements
[06:39:37] <CapnKernel> So the power supply for the analog section is separate to the the digital section.
[06:40:57] <CapnKernel> And if you read the Atmel datasheet, it recommends you don't tie the two together. Instead, it recommends to use an inductor between VCC and AVCC, and a cap or two from AVCC to ground. The inductor and caps filter out the switching noise and give the analog section inside the chip a cleaner power supply, which means more accurate analog measurements.
[06:41:51] <CapnKernel> If you don't care about high precision analog measurement, you can join them together. If you do, now you know there's a way to do it properly.
[06:42:04] <CapnKernel> And that's about all you need to know about AVCC.
[06:42:08] <CapnKernel> Does that make sense?
[06:42:30] <drgreenthumb> gidna is long gone :P
[06:42:42] <CapnKernel> facepalms
[06:42:55] <drgreenthumb> did make perfect sense though
[06:43:10] <CapnKernel> well. sounds like you could stand to hear it too
[06:43:46] <CapnKernel> Now, about AREF. AREF is just the reference voltage against which the ADC works.
[06:44:13] <drgreenthumb> me? I was just complimenting your writing dude. I already understand all this perfectly.
[06:44:23] <CapnKernel> The ADCs are 10-bit - in simple terms they'll give you a number from 0-1023
[06:44:52] <CapnKernel> If you set the AREF pin to 2V, and you measure a voltage of 1V, you'll get a number from the ADC of about 512, half of 1024.
[06:45:08] <CapnKernel> If AREF was 4V for your 1V input, you'd get 255 or thereabouts.
[06:45:39] <CapnKernel> I'm just thinking about your earlier comment of "AREF and AVCC only matter if you want to use the analog converters at a different voltage than the rest of it."
[06:46:00] <CapnKernel> No, AVCC matters if you want high accuracy, not whether you want to run them at different voltages.
[06:46:05] <drgreenthumb> sorry it is 430 in the morning I should be sleeping
[06:46:19] <drgreenthumb> yes I was thinking of AREF
[06:46:43] <drgreenthumb> but for gidna? just tie the freaking things together :P
[06:46:56] <CapnKernel> Sure, but not for the reasons you said.
[06:47:06] <CapnKernel> Sleep sounding good?
[07:23:57] <karlp> desaster: no, more that AA's don't come in packs of 3, and my charge (and many others, particularly cheaper ones) can only charge in pairs. so 3 is just a pain to use
[07:24:19] <desaster> true
[07:28:12] <Tom_itx> like hotdogs and hotdog buns and many other things
[07:28:14] <OndraSter> http://clip2net.com/s/1X0sO
[07:28:15] <OndraSter> vs
[07:28:17] <Tom_itx> just don't make sense
[07:28:18] <OndraSter> http://clip2net.com/s/1X0t6
[07:28:24] <OndraSter> 1bit vs "3bit" color depth
[07:44:07] <molavy> hi
[07:44:26] <molavy> i want create my custom webcam using avr
[07:44:39] <molavy> at least 1.3MP resolution
[07:45:09] <molavy> what is best and fast way to create this
[07:45:13] <molavy> ?
[07:48:40] <CapnKernel> I want to win the next F1 with my own car, starring a lawn mower engine I found on the side of the road.
[07:48:47] <CapnKernel> What is the best and fast way to create this
[07:50:31] <CapnKernel> molavy: Short answer: AVRs are very useful chips, but they are not the right chip to do what you want.
[08:00:12] <molavy> so,how do this,i just know about avr,
[08:00:32] <molavy> i searched for : AVR WEBCAM 1.3MP ~tutorial
[08:01:02] <molavy> and this link was in result:
[08:01:03] <desaster> what kind of webcam are we talking about here?
[08:01:04] <molavy> http://www.google.com/url?sa=t&rct=j&q=avr%20webcam%201.3mp%20~tutorial&source=web&cd=1&ved=0CFIQFjAA&url=http%3A%2F%2Fwww.ebay.co.uk%2Fitm%2FAVR-WEBCAM-1-3MP-USB-CONNECTION-CMOS-SENSOR-%2F390336398633&ei=Sde8T6vkGcuu8QPnw4gj&usg=AFQjCNFMsIUVdPwdmXuY8qS7-jtXUJgTGA
[08:01:19] <desaster> generally avr is not fast enough to handle video signals and doesnt' have enough memory to store the image
[08:01:48] <desaster> but there are different things you can do with different cameras
[08:03:20] <molavy> can cmos image sensor's pass data to usb directly and avr handle interface only,sorry about my little info.
[08:03:51] <molavy> ?
[08:03:55] <OndraSter> no
[08:04:02] <OndraSter> there is some overhead needed in the USB
[08:04:14] <OndraSter> buy a webcam :)
[08:04:18] <OndraSter> already finished
[08:05:32] <molavy> OndraSter,no,i really need create my custom one,that is start for bigger project on image proccesing
[08:05:58] <OndraSter> <molavy> can cmos image sensor's pass data to usb directly and avr handle interface only,sorry about my little info.
[08:06:05] <OndraSter> you wouldn't have control over this data this way anyway :)
[09:10:32] <OndraSter> so I created ticket on atmel website regarding the PDI+Dragon on Xmega devices:
[09:10:33] <OndraSter> To provide definitive answer for your question, we will have verify with our internal team and get back to you soon.
[09:10:37] <OndraSter> still waiting for my answer
[09:10:39] <OndraSter> -.-
[09:11:06] <OndraSter> but yes, I like the fact that they reply within few days with "we will get back to you once we know it" insteadof just waiting :)
[09:39:14] * inflex has delt with them before and had an answer
[09:39:29] <inflex> (in my case, it was resolving the undocumented clock-jitter issue)
[09:45:39] <OndraSter> :)
[13:36:00] <razec> Hey folks
[13:44:16] <razec> Guys, I am generating a html from avr (strcat_P((char *)buf,PSTR("<html>\r\n")); ..etc). But the url http://192.168.x.x doesn't open in the google chrome (ok in the other browsers).
[13:45:26] <razec> Does anyone else have this issue?
[13:46:11] <Corwin> define "doesn't open "
[13:48:37] <OndraSter> the AVR explodes
[13:49:03] <Corwin> i like fireworks
[13:49:09] <OndraSter> There are two types of people in this world: Those who can extrapolate from incomplete data
[13:50:15] <razec> Corwin: So.. the html page, open in the another browser. but in the google chrome, the page is loading but not show anything.
[13:51:45] <Corwin> razec, do you just "print" html code, or do you actualy close the connection when you are done?
[13:52:15] <Corwin> and is your html big? like over 4kb ?
[13:52:33] <razec> Corwin: http://pastebin.com/zMhuWBHk
[13:54:06] <razec> the socket connection is ok.. I guess it is an issue from GChrome's browser. Because Safari is working fine.
[13:56:06] <Corwin> try generating bigger html content, over 4k.... if it shows in chrome, then its because you are not closing the connection (not sure about http 1.0, but in 1.1 the Connection header is needed)
[13:57:12] <Corwin> or try adding Connection:close to begining as HTTP header
[13:57:39] <razec> sure, ok.. let me try...
[13:58:26] <Corwin> or you can count your html response length, and add Content-Length header
[13:59:38] <razec> ok..
[14:01:52] <Corwin> read RFC2616 for more info about HTTP protocol and how response should look like
[14:08:35] <razec> Corwin: sure, I'll read and keep you posted... thanks so much
[14:10:38] <drgreenthumb> darn NewHaven Display is going to make me pay for my prototype LCD ;_; ah well, it's only 13 bucks guess I can do that.
[14:12:57] <prpplague> drgreenthumb: oh the horror!
[14:13:07] * prpplague jokes with drgreenthumb
[14:13:21] <drgreenthumb> hehe :) I wrote an empassioned plea telling them how much I would promote their wares.
[14:14:14] <drgreenthumb> *impassioned. clearly I should have had more coffee before writing it.
[14:15:36] <drgreenthumb> I could have made a mockup with this on it http://imgur.com/gallery/Vtp7H
[14:15:43] <drgreenthumb> nobody can say no to that!
[14:29:03] <razec> Corwin: The url is working fine in the GoogleChrome from Window$..
[14:29:27] <razec> Corwin: But in the GC from OSX is crazy... But is fine to me.. Thanks
[14:30:28] <Corwin> :D
[14:32:39] <OndraSter> razec, are you using CRLF or just LF?
[14:33:23] <Corwin> crlf
[14:33:32] <Corwin> he already pasted this part of code
[14:33:38] <OndraSter> oh
[14:33:40] <OndraSter> I see now
[14:33:56] <razec> ;)
[14:34:11] <Corwin> now give me gummy bears
[14:34:50] * OndraSter is watching Inspector by Vasiljevic Gogol
[14:35:11] * Corwin thinks that OndraSter is weird
[14:35:25] <OndraSter> well I am doing final exams on Monday
[14:35:32] <OndraSter> and this book is one of them in the literature list.
[14:35:38] <OndraSter> but movies > books :D
[14:35:53] <Corwin> so you are *watching* the book... right :)
[14:36:33] <OndraSter> yeah
[14:37:15] <OndraSter> saw today "Kytice", "Bajecna leta pod psa" and now the Revizor
[14:37:24] <drgreenthumb> movies > books? I think Steven King proves that incorrect pretty handily :P
[14:37:29] <OndraSter> (too bored to search for english books)
[14:37:30] <OndraSter> heh
[14:37:51] <OndraSter> see, but you finish "book" within 1 - 1.5 hours :)
[14:37:56] <OndraSter> instead reading it for who knows how long
[14:38:02] <drgreenthumb> I liked the Terry Pratchett adaptations. but it's nowhere near as funny as the books.
[14:38:22] <Corwin> drgreenthumb, +1 on that
[14:38:47] <drgreenthumb> the latest one was good. Going Postal =)
[14:38:54] <OndraSter> Postal?
[14:38:57] <OndraSter> 2? :P
[14:39:09] <Corwin> Postal, not Portal
[14:39:15] <OndraSter> I know
[14:39:16] <drgreenthumb> not that movie by Ewe Boll :P
[14:39:19] <RikusW> movies aren't always quite the same as the books...
[14:39:24] <drgreenthumb> http://en.wikipedia.org/wiki/Terry_Pratchett%27s_Going_Postal
[14:39:25] <OndraSter> RikusW, enough for my purpose :)
[14:39:27] <OndraSter> oh
[14:39:34] <OndraSter> the game Postal :)
[14:39:44] <OndraSter> I thought
[14:39:46] <Corwin> <OndraSter> RikusW, enough for my purpose :) <- we shall see after the exams
[14:39:51] <OndraSter> heh
[14:39:56] <OndraSter> Corwin, "maturita"
[14:40:07] <Corwin> i know
[14:40:19] <OndraSter> just know what is the book about in few words and few words about author
[14:40:20] <OndraSter> that's it
[14:46:27] <Corwin> woah.... just installed Github for windows.... it has that win8 metro interface
[14:46:31] <Corwin> so.... ugly
[14:46:49] <OndraSter> lol
[14:47:17] <drgreenthumb> heh I just use git on cygwin. what does that thing do?
[14:47:45] <Corwin> basicaly its UI manager... no console commands required
[14:48:01] <drgreenthumb> oh heh. nothing then. :P
[14:48:03] <Steffanx> Don't forget the 'imho' Corwin
[14:48:25] <Corwin> or ?
[14:48:30] <Corwin> you gonna bash me?
[14:48:50] <Steffanx> Or I'll ignore what you said :)
[14:48:52] <drgreenthumb> watch out Steffanx is a powderkeg ready to explode at any moment!
[14:49:20] <Corwin> explode... i want fireworks
[14:49:23] <Corwin> :P
[14:49:47] <Steffanx> At least i don't have a green thumb
[14:49:54] <drgreenthumb> mmm AVR ignited fireworks.
[14:50:05] <OndraSter> mmm AVR became a firework!
[14:50:09] <Corwin> Steffanx, typing "/ignore Corwin" is sooo easy
[14:50:12] <Corwin> :)
[14:50:16] <Steffanx> Too easy
[14:52:57] <drgreenthumb> hmm model rocket igniters take about 12v eh? guess a transistor switch. or maybe optoisolation.
[14:53:21] <Steffanx> 220v will work too
[14:53:27] <drgreenthumb> hehe
[14:53:44] <Corwin> how many times have you touched live 220v wire?
[14:53:57] <OndraSter> touched or accidentaly touched?
[14:54:02] <Steffanx> None
[14:54:04] <OndraSter> touched 0, accidentaly once
[14:54:09] <drgreenthumb> I only lick 9v batteries.
[14:54:13] <OndraSter> heh
[14:54:14] <Steffanx> Yeah :)
[14:54:22] <Corwin> :D
[14:54:37] <Corwin> licking batteries is for noobs :)
[14:55:00] <Steffanx> me gives corwin a few thousand batteries
[14:55:37] <Corwin> make it 3v batteries.... i have few thousands leds
[14:55:38] <OndraSter> do you say 30 9V batteries in series
[14:55:40] <OndraSter> and lick them? :)
[14:55:46] <Corwin> will make lot of led throwies
[14:56:15] <drgreenthumb> hmm LED throwies need to be designed with a supercap and solar recharge
[14:56:33] <drgreenthumb> one night is not enough!
[14:56:36] <OndraSter> what are LED throwies? :o
[14:56:44] <Corwin> lol
[14:56:54] <drgreenthumb> OndraSter, a magnet, led, battery. throw it at something metal on the street.
[14:57:02] <OndraSter> oh lol
[14:57:10] <OndraSter> no need to explain more
[14:57:18] <Corwin> dont think there is solar cell, that would survive throwing
[14:57:26] <drgreenthumb> heh yeah probably not
[14:58:08] <Steffanx> ofcourse you can make it a little shock proof ..
[14:58:30] <Corwin> then it wont be throwie... it needs to be small
[14:59:09] <Steffanx> Yeah, why it can't be small/
[14:59:27] <Steffanx> ?
[15:02:07] <Corwin> thinking about it... there are some neodym magnets that can hold few hundreds kilograms of load.... would make nice BIG throwie
[15:03:25] <drgreenthumb> heh you could affix OndraSter's (is it? sorry too lazy to check log) LED thing to it.
[15:03:34] <OndraSter> :D
[15:03:45] <OndraSter> yes, it is mine
[15:04:01] <Tom_itx> http://unitednuclear.com/index.php?main_page=product_info&cPath=70_71&products_id=285
[15:04:03] <drgreenthumb> it's a neat project
[15:04:19] <Steffanx> sold out Tom_itx ..
[15:04:25] <Tom_itx> make a throwie with that
[15:04:26] <Corwin> how come everyones project is ".... thingy" ?
[15:04:47] <Tom_itx> it is a technical term you must earn the right to use
[15:05:03] <drgreenthumb> then you move up to jigger and eventually gadget.
[15:05:08] <OndraSter> I want that magnet
[15:05:20] <Steffanx> get me one too OndraSter
[15:05:24] <OndraSter> it is not magnet anymore
[15:05:25] <Tom_itx> i could hang you on the wall with it
[15:05:29] <OndraSter> it is the worlds' magnetism
[15:05:34] <drgreenthumb> supermagnets for everyone \o/
[15:05:38] <OndraSter> you could hang the wall on the wall with it!
[15:06:02] <Tom_itx> i bet you could squish a bug if you had 2 of them
[15:06:06] <OndraSter> ey abcmu!
[15:06:06] <Corwin> :D
[15:06:15] <OndraSter> I bet you could squish your foot
[15:06:30] <drgreenthumb> heh yes keep head away from magnets at all times.
[15:06:48] <Tom_itx> imagine the earbuds you could make with those
[15:06:54] <Corwin> :D
[15:06:57] <drgreenthumb> they'd float!
[15:07:09] <Steffanx> You can only squish a bug once ..
[15:07:45] <Steffanx> You can never separate the two magnets once you kill the bug :D
[15:08:02] <OndraSter> :D
[15:08:06] <Corwin> sure you can
[15:08:10] <OndraSter> hell, even those two magnets from harddrives are quite hard!
[15:08:10] <Corwin> just need bigger hammer
[15:08:14] <Steffanx> Corwin .. aka superman
[15:08:45] <Corwin> i know i'm super... no need to remind me
[15:09:11] <Tom_itx> super balls http://unitednuclear.com/index.php?main_page=product_info&cPath=70_71&products_id=281
[15:09:24] <OndraSter> IT'S IN STOCK!
[15:09:25] <Steffanx> 155 .. to bad
[15:09:25] <OndraSter> quickly
[15:09:26] <Steffanx> too
[15:09:59] <gidna> Hi
[15:10:15] <Tom_itx> they generally don't list those big ones as being in stock. they are very dangerous
[15:11:00] <OndraSter> hi
[15:11:02] <Corwin> they have only 19mm balls in local store :(
[15:11:23] <Tom_itx> gidna did you make your parallel port programmer?
[15:11:57] <Corwin> did you give up on building parallel port programmer and willing to buy real one? :)
[15:12:26] <drgreenthumb> heh
[15:12:43] <gidna> Tom_itx, everything was fine, I went to a local shop looking for a atmega8 but they don't have...so if I have to order it via internet.. I wondering of buying also this ATAVRISP2 in the case my programmer wont work
[15:13:08] <Tom_itx> you have doubts?
[15:13:51] <drgreenthumb> gidna, Tom_itx's programmer that we keep pointing you to is an avrispmk2 clone.
[15:14:07] <drgreenthumb> which works brilliantly well.
[15:14:28] <gidna> Tom_itx, How Do I connect the gray cable to the breadboard? jumper wires for breadboard fit those holes?? or Have I to order something else??
[15:14:57] <Corwin> http://unitednuclear.com/index.php?main_page=product_info&cPath=70_71&products_id=273
[15:15:04] <Corwin> ^ i want thousands of those
[15:15:13] <Corwin> to build model train track
[15:15:57] <Tom_itx> gidna, http://tom-itx.dyndns.org:81/~webpage/how_to/atmega168/breadboard_basic_side.jpg
[15:16:41] <drgreenthumb> that's some nice jumper wire there.
[15:17:09] <drgreenthumb> my breadboards always look like spaghetti.
[15:17:26] <gidna> can this work http://it.rs-online.com/web/p/gusci-connettori-per-pcb/6812941/ ?
[15:18:33] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/breadboard/ISP_to_Breadboard.jpg
[15:18:36] <Tom_itx> one of those
[15:18:50] <Tom_itx> if you get mine and tell me who you are i'll toss one of those in
[15:18:57] <gidna> I need to buy everything from that site..
[15:19:20] <drgreenthumb> that seems rather restrictive.
[15:19:40] <Tom_itx> gidna where are you?
[15:19:50] <gidna> italy
[15:20:13] <Tom_itx> i've sent stuff there. it takes a little longer but it gets thru
[15:20:23] <Tom_itx> your post sucks
[15:21:23] <gidna> Are you a trader?? what's the shop's site?
[15:21:30] <Tom_itx> on my page
[15:21:36] <Tom_itx> there's a purchase link
[15:22:46] <drgreenthumb> my spaghetti :) http://i.imgur.com/AXBnN.jpg
[15:23:08] <Tom_itx> i've had a few like that
[15:23:09] <drgreenthumb> it's hard to route a dozen lines cleanly :/
[15:23:39] <specing> spaghettythumb
[15:23:45] <drgreenthumb> gidna, see my pic there? that's Tom_itx's programmer in the front center.
[15:24:08] <drgreenthumb> I bought it before he made the pretty blue cases =)
[15:24:12] <drgreenthumb> err. traded it.
[15:25:32] <specing> < Tom_itx> your post sucks
[15:25:33] <specing> lol
[15:25:39] <specing> Evberything sucks in Italy
[15:25:42] <Tom_itx> heh
[15:25:45] <Tom_itx> well it does
[15:25:46] <specing> except spaghetti maybe
[15:26:05] <Tom_itx> it takes anywhere from 20 days to 4 weeks
[15:26:34] <specing> They still ship by horseback there
[15:26:50] <specing> ;)
[15:26:53] <Tom_itx> the mafia has to check it out first
[15:27:14] <specing> Both the legal and illegal one
[15:27:44] <drgreenthumb> hmm cats are going to just *die* if I don't go to the store and get them food now :) bbl
[15:27:58] <specing> cats dont need to be fed
[15:28:08] <specing> they will find food themselves
[15:28:23] <drgreenthumb> heh yeah all that wildlife running around my second floor apartment.
[15:28:30] <Tom_itx> they will eat your ears off while you sleep
[15:29:19] <Tom_itx> we should start a pool
[15:29:27] <Tom_itx> whether he will buy local or not
[15:29:41] <Tom_itx> he's been asking for about a week or so now
[15:31:31] <specing> Its Italy, everything takes a while there
[15:32:45] <specing> CIT {Central Italian Time} = UTC-720
[15:37:36] <OndraSter> http://9gag.com/gag/4254270
[15:37:37] <OndraSter> lol
[15:44:09] <Corwin> http://tom-itx.dyndns.org:81/~webpage/misc_stuff/5v_switcher.jpg looks nice and useful
[16:31:38] <drgreenthumb> http://imgur.com/6wgtt,FAzNK just sent that to the NewHaven Display rep who responded to my request :)
[16:33:15] <OndraSter> lol
[16:33:18] <OndraSter> you wanted samples?
[16:33:21] <prpplague> hehe, not likely they will find it funny, hehe
[16:33:27] <drgreenthumb> heh
[16:33:39] <drgreenthumb> no biggie I'll just purchase. and I said that in the email.
[16:33:51] <drgreenthumb> it's only a $13US display.
[16:34:32] <drgreenthumb> was hoping to get an eval kit so I could bring it out to 2.54mm and experiment.
[16:34:43] <drgreenthumb> but that one won't be useable in final.
[16:55:20] <drgreenthumb> hmm $32 total with shipping, adapter board. still not bad.
[16:56:39] <drgreenthumb> I asked the rep if the thing really needs a constant current source or if I can just wing it and hook it up direct to 3v3.
[16:56:53] <drgreenthumb> wonder if I'll get any answer.
[16:58:33] <drgreenthumb> it's such a small display I think I can get away without complicated power circuit.
[17:59:37] <OndraSter> this is not bad AT ALL!
[17:59:38] <OndraSter> http://www.ebay.com/itm/5-0-800X480-Resolution-TFT-LCD-Module-Display-with-Touch-Panel-Screen-/200764209985?pt=LH_DefaultDomain_0&hash=item2ebe7abb41
[17:59:46] <OndraSter> CapnKernel, once you are in Shenzen, take a look at similar LCDs :)
[17:59:59] <OndraSter> for $34 it looks great
[18:00:03] <OndraSter> (I know, it requires driver)
[18:16:40] <inflex> lo folks
[18:16:56] <inflex> mog: did you get everything working eventually on those LCDs?
[18:17:07] <mog> yes and no
[18:17:11] <mog> i got the charge pump working
[18:17:19] <mog> but its too weak on a coin cell
[18:17:34] <inflex> oh really, that is interesting, didn't think the drain would be so severe
[18:17:46] <inflex> maybe smallercaps?
[18:17:51] <mog> it isnt just the charge pump wants minimum 3v
[18:18:08] <mog> it was getting closer to 2.7
[18:18:12] <OndraSter> why do LCDs have the background LEDs in SERIES?!
[18:18:14] <OndraSter> rather parallel
[18:18:23] <OndraSter> I prefer having beefier track than having SMPS on the board..
[18:18:28] <mog> i ordered a 5v charge pump that works down to 1.8 v
[18:18:33] <mog> so ill see how that works soon
[18:19:58] <inflex> oh okay, good luck
[18:20:06] <inflex> mog: at least now we've decoded the setup
[18:20:19] <inflex> OndraSter: well, because putting them in series saves us having to use more resistors and regulators
[18:20:44] <OndraSter> really? Getting 15V is easier than putting there 3V @ 1A? :(
[18:21:06] <OndraSter> because they have just one LED pin
[18:21:41] <inflex> it's also easier to route stuff with it in series
[18:22:14] <OndraSter> how so?
[18:22:18] <OndraSter> SMPS does take some space
[18:23:41] <inflex> I mean for the LCDs, ifyou have a chain of LEDs, you can route a lot of signal under them
[18:23:55] <OndraSter> oh
[18:56:59] <CapnKernel> OndraSter: There's no shortage of gorgeous LCDs. The problem is ALWAYS how to drive it :-(
[18:57:53] <OndraSter> CPLD for me :)
[18:58:17] <OndraSter> appearantly the ispDOWNLOAD from Lattice uses FT2232
[19:02:40] <CapnKernel> You need a chip with an LVDS driver.
[19:02:49] <CapnKernel> And some RAM
[19:02:55] <CapnKernel> And keep clocking that RAM out to the LVDS
[19:16:17] <OndraSter> LVDS?
[19:16:20] <OndraSter> these are not LVDS
[19:16:23] <OndraSter> these are RGB
[19:18:09] <OndraSter> Mouser needs more advanced search
[22:02:04] <mimcpher> Octopart isn't terrible for search
[22:02:38] <mimcpher> Good search is hard :P
[22:35:38] <karlp> does codeblocks support us°
[22:35:42] <karlp>
[22:35:43] <karlp> Q
[22:35:49] <karlp> :q!
[22:55:39] <drgreenthumb> karlp, I'm looking at your Eagle lib.
[22:56:16] <drgreenthumb> nice work! but why did you put thru holes for the MRF? :P
[22:56:30] <drgreenthumb> I can probably change it to pads easy enough.
[22:56:52] <drgreenthumb> have you tested it?
[22:58:35] <drgreenthumb> also heh I'm thinking about my remote control and this is going to be a complicated little system to fit in such small RAM of AVRs. pretty sure I can make it work though :)
[22:58:55] <mimcpher> Anybody know a low-cost way to read caller ID? I could use a serial modem, but they seem to sell for tons these days