#avr | Logs for 2012-09-05

Back
[04:09:55] <karlp> jadew: is dht11 the lower precision one or the higher precision one? dht22?
[04:10:13] <karlp> +-10% for RH seems pretty common, you'll be hrd pressed finding better for a sane price.
[04:10:51] <karlp> also, I've used the honeywell capacitive humidity sensors that seem to be inside the dhtXX parts, and they are insanely sensitive,
[04:11:08] <karlp> so it's possible that self heating and things might have made them actually be correctly different RH?
[04:11:11] <karlp> (maybe)
[04:44:36] <OndraSterver> eloo
[06:13:32] <_raven> hi
[06:14:38] <_raven> i still have trouble with an avrispmkII programmer in linux and windows. any further ideas what i could try next?
[06:17:26] <inflex> the programmer, or the programmer + AVR?
[06:18:05] <_raven> inflex the programmer
[06:18:38] <_raven> inflex in linux it appears as usb device but it is not adressable with avrdude
[06:19:19] <_raven> i changed the firmware on the programmer now a few times but no i am out of ideas
[06:20:46] <inflex> as root I presume?
[06:20:54] <_raven> yes
[06:24:24] <r00t|home> what IS it reported as? in dmesg or lsusb...
[06:27:07] <_raven_> inflex http://pastebin.com/4bPu8xhq
[06:34:51] <_raven_> inflex ?
[06:42:59] <r00t|home> the dmesg entry shows the device being disconnected, not conencted
[06:43:28] <r00t|home> mine looks like:
[06:43:28] <r00t|home> [2585169.384056] usb 2-5: New USB device found, idVendor=16c0, idProduct=05dc
[06:43:28] <r00t|home> [2585169.384062] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[06:43:28] <r00t|home> [2585169.384065] usb 2-5: Product: USBasp
[06:43:28] <r00t|home> [2585169.384068] usb 2-5: Manufacturer: www.fischl.de
[06:43:40] <dunz0r> r00t|home, The line below that one does say that it's connected though.
[06:43:50] <_raven_> its reconnected in the second line
[06:45:07] <_raven_> r00t|home which firmware do you use on the programmer?
[06:45:18] <r00t|home> primary cause of horrible problems with avrdude not finding a programmer, btw, is usbdevfs not being mounted
[06:45:48] <r00t|home> as it says, www.fischl.de USBasp, $4 from china...
[06:46:20] <_raven_> r00t|home so your device is no avrispmk
[06:46:37] <r00t|home> was just intended as an example for a usb device
[06:46:50] <_raven_> what could i try now
[06:48:10] <r00t|home> what error are you seeing anyway?
[06:49:03] <r00t|home> wait... avrispmkII uses an uart interface?
[06:49:54] <_raven_> r00t|home http://pastebin.com/6BxweM9A
[06:55:13] <r00t|home> that doesn't look fun indeed... something like it finds the device but fails to communicate with it
[06:55:57] <_raven_> yes and id like to find out soon to send it back to the distributor
[06:56:22] <_raven_> but i am able to program a atmega8 with windows and avrstudio4
[06:57:10] <r00t|home> i don't really get this... my $4 programmer(s) works fine
[06:57:12] <_raven_> but using external compiler and wrong chip values too
[06:59:59] <r00t|home> has the firmware change changed anything?
[07:00:25] <_raven_> not really
[07:01:10] <_raven_> i tried 1.5, 1.3 and 1.6 yet
[07:01:42] <r00t|home> just order one of those: http://www.ebay.de/sch/i.html?LH_AvailTo=77&LH_BIN=1&_sop=15&_nkw=usb+isp ;)
[07:02:02] <r00t|home> (you're in germany? i can mail you one for 3.50eur...)
[07:02:16] <_raven_> but its significant that virtualbox "cannot create a proxy device" too so it seems to be anything wrong with linux
[07:02:19] <jadew> karlp, dht11, the lower precission one
[07:02:46] <r00t|home> _raven_: for the avrispmkII or in general?
[07:03:34] <_raven_> avrisp
[07:04:02] <r00t|home> do you see any usb communication errors in dmesg? (other than when you unplug the device)
[07:04:08] <_raven_> i have another atmega88 on a board with an ftdi and this works well
[07:05:34] <_raven_> r00t|home http://pastebin.com/cefWiE7j
[07:23:46] <_raven_> r00t|home ?
[07:39:26] <r00t|home> _raven_: no idea really...
[07:43:13] <_raven_> r00t|home ok is there at least an option to use the existing atmega as programmer as a kind of a bridge?
[07:44:00] <r00t|home> if it contained an appropriate firmware?
[07:44:26] <r00t|home> i told you, you can get a working programmer for <4eur, i wonder why you bother with that atmel thing anyway
[07:44:48] <_raven_> its strange theyre all from china
[07:46:58] <r00t|home> i always keep a few spare ones around for people like you
[07:48:14] <_raven_> ^^
[08:35:37] <Blecha> Anyone familiar with carmabola?
[08:57:44] <RikusW> hi megal0maniac
[08:58:15] <megal0maniac> Hey RikusW
[08:58:39] <Blecha> either of you familiar with carambola linux boards?
[08:59:16] <megal0maniac> I've seen the webpage. That's about it
[08:59:27] <megal0maniac> They look cool and expensive
[08:59:36] <Blecha> expensive?
[08:59:44] <RikusW> megal0maniac: still happy with U2S ? ;)
[09:00:00] <Blecha> 22 eu?
[09:00:48] <megal0maniac> Blecha: Yes, but how useful is it without the dev board?
[09:00:50] <RikusW> megal0maniac: and HVPP connection is a bit of an effort don't you think ?
[09:01:29] <Blecha> megal0maniac pretty darn useful
[09:01:36] <megal0maniac> RikusW: Very happy. Especially like the STK500 bootloader and wonder why anyone does it any other way. And yes, but I had time and I wanted to see.
[09:02:04] <Blecha> wifi built in with lots of ram and soem GPIO
[09:02:11] <RikusW> without that wires I gave you it would be a little harder....
[09:02:14] <Blecha> why would you need the dev board megal0maniac?
[09:02:20] <specing> Blecha: http://cubieboard.org/
[09:02:48] <RikusW> megal0maniac: www.ruemohr.org/code BLM8.zip my bootloader for mega8
[09:03:13] <RikusW> you should be able to port it to m328p, mainly uart register names will need changing
[09:03:16] <megal0maniac> RikusW: Should be easy enough to port to 328?
[09:03:28] <megal0maniac> Yes :)
[09:03:33] <megal0maniac> Will try it out
[09:03:56] <RikusW> its almost the same as the u2s one
[09:04:11] <megal0maniac> Blecha: I was looking at it in the context of OpenWRT devices
[09:04:27] <megal0maniac> RikusW: How much bootloader space must I reserve?
[09:05:21] <RikusW> 1kb iirc
[09:05:28] <RikusW> 500kwords
[09:05:29] <OndraSterver> hehe crazy optimalization
[09:05:34] <RikusW> *512
[09:05:40] <OndraSterver> RikusW, you disassembled it and then hand optimized it?
[09:05:45] <RikusW> compile it and you'll see
[09:05:57] <RikusW> OndraSterver: I coded that one from scratch
[09:06:05] <OndraSterver> the USB bootloader?
[09:06:07] <RikusW> with only AVR068
[09:06:16] <RikusW> that is a UART one
[09:06:18] <OndraSterver> oh
[09:07:44] <megal0maniac> RikusW: How difficult would it be to make a 1s timeout on boot instead of using the buttons?
[09:07:46] * RikusW like avr asm better, at least you know what you get...
[09:08:34] <RikusW> megal0maniac: you could try compiling the settings eeprom file with 8F instead of 81
[09:08:37] <megal0maniac> If you use the serial DTR line to reset the board, then the board will reset when serial connection is opened
[09:09:01] <RikusW> megal0maniac: do you want to try arduino on there ?
[09:09:09] <RikusW> I already coded that
[09:09:19] <RikusW> including DTR
[09:09:59] <megal0maniac> RikusW: Yes. But I'd mainly like to get the bootloader working on an m328p
[09:10:26] <RikusW> but I'm not at my own pc, and it will take a while to prepare tha patching instructions for arduino 0018
[09:11:04] <RikusW> the sketch handles the DTR bit
[09:12:09] <megal0maniac> I don't necessarily want to use it with Arduino. The main reason it's attractive, is because I can use it with Atmel Studio directly
[09:12:59] <RikusW> 1s timeout will be tricky...
[09:13:21] <RikusW> as enters and leaves programming mode for everything it does
[09:13:33] <RikusW> like clicking on the fuse tab
[09:13:55] <RikusW> so I cant use the leave command to go to app mode
[09:14:19] <megal0maniac> Aha...
[09:14:37] <megal0maniac> Okay, then I shall stick with the buttons :)
[09:14:45] <RikusW> either another command is needed, unsupported by AS or a button
[09:17:01] <RikusW> the m32u2 actually have a HWB fuse but I turned that off
[09:20:37] <jadew> what's the point of a bus buffer?
[09:20:45] <jadew> like the ahc125
[09:21:14] <megal0maniac> RikusW: Doesn't help with the m328 :)
[09:22:43] <jadew> from the datasheet it looks like a switch
[09:22:52] <jadew> that takes data only in one direction
[09:25:33] * megal0maniac is AFK
[09:27:01] <RikusW> megal0maniac: I'll port I later when I'm back home
[09:27:23] <RikusW> don't have any hw at the moment
[09:31:11] <megal0maniac> RikusW: Thanks, if you have time. There's no rush :) If it matters, I run mine at 16mhz. Going out now but will be back later this evening. Cheers
[09:33:39] <RikusW> bye
[12:51:54] <OndraSterver> !seen corwin
[12:51:54] <tobbor> Corwin was last seen in #avr on Sep 01 09:35 2012
[12:59:10] <Blecha> OndraSterver I am looking at the carambola and I wondered if you could help me figure something out involving your xboards
[12:59:30] <Blecha> If i pair a crambola with one of your boards, I could use the DACs for stereo audio
[12:59:47] <Blecha> and to drive the LCD
[13:00:04] <OndraSterver> for proper stereo audio you need quite a different class of DACs really
[13:00:07] <Blecha> plus whatever extra I/O is left
[13:00:30] <Blecha> I am just trying to figure out if I can get sound and video out of the carambola :(
[13:00:46] <OndraSterver> for audio the usual ones are 24bit sigmadelta
[13:10:04] <karlp> if you want sound and video, why not get a cubieboard or a rpi, or something with video?
[13:10:14] <karlp> carambola is basically a router platform,
[13:12:58] <Blecha> karlp because I dont know of any of these!!
[13:13:06] <Blecha> I am trying to figure all this out as a noob
[13:13:18] <Blecha> rpi takes too long to ship and has huge header pins
[13:16:34] <karlp> actually, it has hardly any header pins, but it has lots of things hanging off it, yes.
[13:19:02] <Blecha> karlp I really like the cutie board but it again has lan ports, usb type A, etc that make it too thick for my purposes :(
[13:19:22] <Blecha> Im not trying to be mean or rude btw I am just frustrated that its hard to find something like this
[13:19:29] <karlp> so, you need to sit bacak again and work out exactly what you do want,
[13:19:58] <karlp> wanting wifi and a touch lcd are fairly major requirements straight up.
[13:22:08] <Blecha> A bare bones SoC board that support that, audio i can live without
[13:22:27] <Blecha> I can solder on connectors as needed really, but the main things are
[13:22:35] <Blecha> Touch screen, sd card, and wifi
[13:23:56] <raven> re
[13:24:07] <raven> how would this kind of programmer work: http://avrprogrammers.com/bld-avr-arduino-isp-232.php
[13:24:28] <raven> the atmega88 has to run any kind of "proxy" or "translation" right? but which?
[14:06:57] * RikusW just installed AS6
[14:07:32] <RikusW> And added my autogenerated STK500 device support xml files :)
[14:07:37] <RikusW> anyone want it ?
[14:16:42] <RikusW> https://sites.google.com/site/megau2s/home/supporting-software/AS6.tbz?attredirects=0&d=1
[14:17:18] <RikusW> mmm, I should give that to abcminiuser...
[15:30:09] <OndraSterver> http://clip2net.com/s/2gYJH
[15:30:19] <OndraSterver> anybody? :)
[15:31:09] <Kevin`> I could use a few, but the exchange rate probably hits pretty hard
[15:31:35] <OndraSterver> 25€
[15:31:36] <OndraSterver> shipped
[15:31:43] <Kevin`> yeah, i'm in the US
[15:31:52] <OndraSterver> that is about $30? no idea
[15:33:09] <Kevin`> $31, about right. but that's $10 more expensive than a similar device with us pricing would be :)
[15:33:19] <OndraSterver> really?
[15:33:22] <OndraSterver> which one?
[15:33:35] <Kevin`> let me find one
[15:34:03] <Kevin`> http://www.pjrc.com/store/teensypp.html
[15:34:48] <OndraSterver> Kevin`, take a look at http://myxboard.net/compare.html
[15:34:58] <OndraSterver> and you'll see the difference between XBoard and any other teensy/arduino :)
[15:35:05] <specing> OndraSterver: those are some big packages!
[15:35:06] <Kevin`> it's using an xmega, obviously =p
[15:35:11] <OndraSterver> Kevin`, yes
[15:35:14] <OndraSterver> teensy uses what?
[15:35:20] <OndraSterver> this is 256kB flash 16kB RAM xmega
[15:35:37] <karlp> OndraSterver: why get yours when I can get a stellaris launchpad?
[15:35:39] <OndraSterver> teensy++ is 32kB flash 4kB mega
[15:35:45] <OndraSterver> karlp, that is a good question
[15:35:51] <OndraSterver> stellaris launchpad broke my business
[15:35:59] <Kevin`> OndraSterver: http://www.mouser.com/ProductDetail/Atmel/AT90USB1286-MU/?qs=sGAEpiMZZMvqv2n3s2xjsYzXfq0AWv1C8XcbWg78ggM%3d http://www.mouser.com/ProductDetail/Atmel/ATXMEGA256A3U-MH/?qs=sGAEpiMZZMvqv2n3s2xjsVQIURldyCCHXd%252byMydwXM4%3d
[15:36:24] <OndraSterver> oh I was looking at regular teensy
[15:36:38] <OndraSterver> still, twice the flash, twice the RAM, many times the peripherals
[15:36:49] <OndraSterver> (DMA, DAC, fast dual ADC anyone?)
[15:37:26] <Kevin`> oh, certainly it's better, but, that's just because of the $1 more expensive chip choice (ignoring of course they weren't available before)
[15:37:30] <OndraSterver> 46 IO, 8 analog, 9 PWM vs 48 IO 16 analog 22 PWM
[15:37:38] <OndraSterver> Kevin`, obviously
[15:37:50] <OndraSterver> $7 more but peripherals are worth much more
[15:38:37] <Kevin`> maybe. right now i'm just using some bare qfp chips on smt adapter boards
[15:39:09] <OndraSterver> appearantly I will have to dumb it down to arduino level!
[15:39:12] <OndraSterver> lol
[15:39:50] <Kevin`> eh, for some people, the convenience is worth doubling the cost. it's not like you are buying 1000 of them ;)
[15:39:54] <Kevin`> some=most
[15:40:06] <Kevin`> but as I said, the exchange rate hits pretty hard
[15:40:32] <OndraSterver> actually I will be buying 25 of them
[15:40:38] <OndraSterver> to get better price for them
[15:40:56] <Kevin`> what are you making?
[15:41:06] <Kevin`> I thought you were selling them, heh
[15:41:11] <OndraSterver> I am
[15:41:14] <OndraSterver> I have got three.. :D
[15:41:22] <OndraSterver> from which one I want to keep of course for me :D
[15:41:29] <karlp> OndraSterver: not just stellaris launchpad, the entire line of stm32 discovery boards.
[15:41:36] <OndraSterver> yeah ARM ..
[15:41:38] <OndraSterver> but!
[15:41:42] <OndraSterver> what peripherals do those have?
[15:41:53] <OndraSterver> let me check
[15:42:10] <karlp> what don't they have?
[15:42:11] <Kevin`> they normally have a reasonable set. it's just they are a lot more annoying to work with
[15:42:28] <karlp> sure, but xmega isn't exactly avr arduino either.
[15:42:49] <Kevin`> oh sure it is. the registers are so sane compared with the earlier chips :)
[15:43:15] <karlp> what, you're writign assemblyÐ?
[15:43:18] <Kevin`> c
[15:43:52] <OndraSterver> well
[15:43:53] <OndraSterver> I see zero PWM
[15:44:06] <karlp> you aren't looking in the right places
[15:44:11] <OndraSterver> not possible to add adc external reference
[15:44:15] <OndraSterver> I am looking at stellaris launchpad
[15:44:36] <karlp> pwm tends to be "standard" for all timers.
[15:45:10] <karlp> and therefore not mentioned
[15:45:10] <OndraSterver> they are - in the datasheet
[15:45:46] <OndraSterver> only LM4F2* have PWM outputs
[15:45:49] <OndraSterver> 1* doesn't
[15:46:43] <OndraSterver> <OndraSterver> only LM4F2* have PWM outputs
[15:46:43] <OndraSterver> <OndraSterver> 1* doesn't
[15:46:47] <OndraSterver> (not sure where it cut me off)
[15:47:01] <karlp> what?
[15:47:07] <OndraSterver> check the datasheet
[15:47:07] <karlp> are you reading a different datasheetÐ
[15:47:12] <OndraSterver> http://www.ti.com/lit/ds/symlink/lm4f120h5qr.pdf
[15:47:39] <karlp> page 706?
[15:48:24] <OndraSterver> page 43?
[15:48:25] <OndraSterver> ..
[15:49:01] <OndraSterver> the datasheet is for whole stellaris m4f series
[15:50:13] <Kevin`> what sample rate can the adc on that run at
[15:50:19] <karlp> huh, well, get stm32 instead :)
[15:50:27] <karlp> stellaris launchpad is just even cheaper
[15:50:57] <Kevin`> nm found it, 1msps each
[15:51:11] <OndraSterver> xmega is 2msps each
[15:51:11] <karlp> all the stm32 timers do pwm, god knows why stellaris don't
[15:52:59] <OndraSterver> I see also zero DACs
[15:53:26] <OndraSterver> on the stellaris
[15:54:39] <karlp> so get a stm32 discovery
[15:54:48] <karlp> stellaris is just in the news because it came out yesterday
[15:55:05] <karlp> and free shipping worldwide for 4.99
[15:57:21] <Kevin`> what's their software like? what's their software like if you aren't using windows?
[15:57:37] <OndraSterver> STM32: 128kB flash, 8kB RAM
[15:57:43] <OndraSterver> 24MHz MCU
[15:58:11] <OndraSterver> and <1MSPS
[15:58:13] <OndraSterver> ADCs
[15:58:24] <OndraSterver> and only one of them :)
[15:59:59] <OndraSterver> SPI on xmega can run at CLKper... which should be the same as for MCU
[16:00:01] <OndraSterver> aka 32MHz ?!
[16:00:35] <OndraSterver> yep
[16:03:00] <specing> Wait an 8-bit MCU totaly pwns a 32-bit one?
[16:03:28] <OndraSterver> maybe 16MHz, not sure... 8MHz for slave supposedly, although it should be 16MHz in theory capable?
[16:03:55] <OndraSterver> will have to try it
[16:04:00] <OndraSterver> but I have already packed the xboards :(
[16:33:15] <megal0maniac> So I'm busy fixing a laptop which started burning after a "professional" fixed it :/
[16:36:57] <specing> lol dem professionals
[16:37:29] <Roklobsta> hey i am a 'professional'. how is it burning?
[16:38:53] <megal0maniac> Cable to the LCD (the wrapped one with lots of wires) wasn't put back in the right place, or wasn't protected, so it snagged and something shorted out. Probably vcc to the backlight, judging by the fact that there was smoke
[16:40:23] <OndraSterver> huh
[16:40:27] <OndraSterver> WHO LET THE SMOKE OUT!
[16:40:54] <megal0maniac> Someone in England
[16:42:51] <w|zzy> put it back in!
[16:50:41] <megal0maniac> Busy trying :/
[16:52:05] <OndraSterver> oh megal0maniac you weren't here earlier...
[16:52:05] <OndraSterver> http://clip2net.com/s/2gYJH
[16:52:06] <OndraSterver> here :P
[16:53:14] <megal0maniac> Hey! Nice! How many orders have you gotten?
[16:53:46] <OndraSterver> nobody wants them now :(
[16:53:51] <OndraSterver> nobody who has money*
[16:54:13] <Tom_itx> aww
[16:54:23] <megal0maniac> Tom wants one
[16:54:47] <Tom_itx> OndraSterver why are you using such a big box?
[16:54:57] <Tom_itx> you got 100 in each box?
[16:54:57] <OndraSterver> 14x9cm is the minimum size
[16:55:03] <OndraSterver> and it is not that big really
[16:55:10] <Tom_itx> use a padded #0 envelope
[16:55:11] <OndraSterver> 14x9 is the minimum for our post that they send*
[16:55:16] <Tom_itx> ship them standard post
[16:55:20] <OndraSterver> envelope wouldn't fit 2cm with all the headers
[16:55:20] <megal0maniac> Yeah, perspective makes it look bigger
[16:55:34] <Tom_itx> leave em off
[16:55:39] <Tom_itx> let them solder the headers
[16:55:49] <megal0maniac> It's only 2.54mm
[16:55:56] <Tom_itx> trust me, i've been thru the shipping thing...
[16:56:34] <Tom_itx> foil bag in a padded envelope
[16:56:53] <megal0maniac> Include the headers, just seperately
[16:57:18] <OndraSterver> shipping for padded envelope = around the same price as for this box
[16:57:20] <OndraSterver> I checked
[16:57:33] <Tom_itx> http://www.mouser.com/ProductDetail/SPI-Westek/13415/?qs=%2fha2pyFaduhNc761ExvZz1d64WBRS2AwcqhhlkXKAuw%3d
[16:58:00] <Tom_itx> i can ship anywhere in the world for under $5
[16:59:24] <OndraSterver> I think the shipping is about $4 here
[16:59:39] <OndraSterver> to worldwide
[16:59:40] <OndraSterver> for this bo
[16:59:40] <OndraSterver> x
[17:00:27] <Tom_itx> what's the box cost?
[17:00:32] <Tom_itx> that's part of it
[17:00:38] <Tom_itx> i figure that as part of shipping
[17:00:50] <OndraSterver> the box is like $.2
[17:01:17] <OndraSterver> CZE shipping is almost the same price as worldwide :D
[17:01:27] <OndraSterver> because this box can go as "letter" still :o
[17:01:31] <OndraSterver> or marked as letter or something
[17:02:42] <Roklobsta> mega: the case pinching can be a good candidate for shorts. wires have a tendency to spring into awkward places just as you close a case or lid.
[17:03:07] <Tom_itx> iirc these are .06 ea
[17:03:41] <Tom_itx> no
[17:03:44] <Tom_itx> .15
[17:03:48] <Tom_itx> so that's pretty close
[17:04:12] <Roklobsta> ondraster: yeah i never understood why xmega isn't used in place of mega for arduino like projects
[17:04:17] <Roklobsta> a freind swears by xmega
[17:04:30] <OndraSterver> they are cheaper than similar megas
[17:04:32] <Tom_itx> it's the learning curve and newness of them
[17:04:37] <Tom_itx> and 3.3v
[17:04:47] <Roklobsta> is there an idea out there that xmega is harder?
[17:04:49] <Tom_itx> i would love to get into them
[17:04:52] <megal0maniac> Also compatibility between arduinos
[17:04:59] <Roklobsta> oh
[17:05:00] <OndraSterver> native 3v3 = awesome
[17:05:01] <Tom_itx> Roklobsta, more registers
[17:05:05] <OndraSterver> as in output 3v3
[17:05:13] <Tom_itx> more complicated timers and event system
[17:05:19] <OndraSterver> you don't have to use event system
[17:05:24] <Roklobsta> 3.3V is the new 5V
[17:05:26] <OndraSterver> just as DMA
[17:05:29] <megal0maniac> http://www.laptopreviews.com/wp-content/uploads/2011/12/b570-lenovo-laptop_thumb.jpg
[17:05:30] <OndraSterver> Roklobsta, yep
[17:05:49] <megal0maniac> The plastic under the B570 is gone
[17:05:57] <Roklobsta> i see a lot of coretxm4's showing up now too
[17:06:01] <OndraSterver> I thought that was intentional megal0maniac :D
[17:06:22] <OndraSterver> the xmega has compatibility between registers
[17:06:23] <OndraSterver> unlike mega
[17:06:26] <Roklobsta> honestly, a bit of c abstraction and this stuff ain't so hard. why is there an infatuation to band the bits by hand so much?
[17:06:27] <Tom_itx> OndraSterver do you give free samples to poor students?
[17:06:32] <Roklobsta> bang
[17:06:33] <OndraSterver> Tom_itx, no
[17:06:36] <OndraSterver> I am poor student myself
[17:06:38] <megal0maniac> No, I mean even more than in that picture. You can see the bracket
[17:06:42] <Tom_itx> hehe
[17:06:50] <OndraSterver> I am starting uni in 2 weeks
[17:06:53] <Roklobsta> what ide and libs will you have?
[17:06:54] <megal0maniac> Are we all poor students?
[17:07:00] <OndraSterver> for now only atmel studio
[17:07:04] <Tom_itx> are there any blinkies on your boards?
[17:07:08] <OndraSterver> two LEDs
[17:07:09] <Roklobsta> no i am a rich engineer
[17:07:12] <Tom_itx> awesome
[17:07:22] <Tom_itx> Roklobsta you should fund him then
[17:07:23] <Roklobsta> i don't work any more i am so rich
[17:07:23] <OndraSterver> if I will go arduino route and make it for dumb it will have arduino-like stuff as well
[17:07:25] <megal0maniac> 2 blinkies
[17:08:02] <Roklobsta> it's 8am and am i off to work? no, i am on #avr drinking tea in my pajamas.
[17:08:23] <OndraSterver> why does part of the world use AM/PM? The day has 24 hours!
[17:08:32] <Roklobsta> ok it's 0800
[17:08:37] <OndraSterver> that's better!
[17:08:52] <OndraSterver> I presume you are an ozie as half of this channel?
[17:09:53] <Roklobsta> yes
[17:09:59] <Roklobsta> but the other aussies have to go to work now
[17:10:10] * megal0maniac puts laptop away as it is 0000
[17:10:13] <Roklobsta> if the come on a bit later it's because they are slacking off at work
[17:10:54] <OndraSterver> Roklobsta, how many insects are there in the ozieland which will NOT kill you?
[17:11:04] <Tom_itx> 0
[17:11:10] <OndraSterver> I thought so
[17:11:14] <OndraSterver> okay, moving to UK or US
[17:11:27] <megal0maniac> ZA!
[17:11:30] <OndraSterver> heh
[17:12:47] <megal0maniac> Holiday at least. We have good weather
[17:13:28] <megal0maniac> Although I've wanted to visit CZ since I sent my mp3 player there
[17:14:17] <Roklobsta> ondrasterver: they all sting or bite.
[17:14:26] <OndraSterver> heh
[17:14:28] <OndraSterver> and kill you
[17:14:36] <Roklobsta> haven't had to kill any spiders in the house lately, too cold.
[17:14:43] <OndraSterver> heh
[17:14:44] <Tom_itx> and if you jump in the water box jellyfish will get you
[17:14:45] <OndraSterver> I hate espiders
[17:15:04] <Roklobsta> no box jelly fish down here, just blue ring octupus if you look carefully
[17:15:06] <Tom_itx> you are trapped on a god forsaken land
[17:15:18] <Roklobsta> too cold for box jellyfish
[17:15:23] <megal0maniac> I like it there
[17:15:30] <Tom_itx> those little tiny ones...
[17:15:35] <Tom_itx> the size of your fingernail
[17:15:37] <Roklobsta> at the moment the whales are off the beach here nursing their calves
[17:15:45] <Tom_itx> maybe that was on gold coast...
[17:15:47] <Tom_itx> i dunno
[17:16:01] <megal0maniac> Gold Coast is nice
[17:16:01] <Roklobsta> yes, north of gold coast has those little box fscker
[17:16:13] <Roklobsta> i am way south. next stop is antartica
[17:16:21] <Tom_itx> the 'nice' is a trap :)
[17:16:25] <OndraSterver> IT'S A TRAP!
[17:16:45] <megal0maniac> IT'S A TRAP!
[17:16:49] <Roklobsta> the most dangrous thing in my yard now is my wussy dog.
[17:17:02] <OndraSterver> and the 20 spiders in your room
[17:17:13] <Roklobsta> come summer it'll be a spider a day
[17:17:22] <Roklobsta> white tails and huntsmen
[17:17:33] <OndraSterver> I am not coming to ozieland
[17:17:40] <OndraSterver> I have arachnofobia or whatever they call it
[17:17:40] <Roklobsta> it's not that bad.
[17:17:46] <megal0maniac> Come to ZA :)
[17:18:15] <Roklobsta> yeah in ZA adsl goes up to 4Mbit apparently
[17:18:26] <megal0maniac> 10
[17:18:33] <Roklobsta> lol
[17:18:49] <Roklobsta> i set a cafe up yesterday, they are across the road from the exchnage and they get 23Mbit.
[17:18:51] <megal0maniac> Running trials for 20 and 40
[17:19:06] <megal0maniac> I have 384kbps
[17:19:11] <Roklobsta> 23Mbit just so they can use their POS machine.
[17:19:41] <Roklobsta> how do you not go mental?
[17:20:05] * megal0maniac shrugs
[17:20:10] <Roklobsta> i am stuck on a DSLAM that only does 8Mbit and I am going mental
[17:20:13] <megal0maniac> There's other stuff to do :)
[17:20:28] <megal0maniac> Like go outside and not get bitten by something
[17:20:36] <OndraSterver> lol
[17:20:40] <Roklobsta> oh like the 'red romans'?
[17:20:43] <OndraSterver> my future house will have auto zappers
[17:20:47] <OndraSterver> which will zap any intruders
[17:20:56] <megal0maniac> What are those?
[17:21:05] <OndraSterver> no idea
[17:21:09] <OndraSterver> I have yet to make them
[17:21:47] <megal0maniac> I mean red romans :)
[17:22:00] <Roklobsta> http://en.wikipedia.org/wiki/Solifugae
[17:23:46] <Roklobsta> anyway, avr stuff.
[17:24:00] <Roklobsta> anyone use avrdude in windows?
[17:24:10] * megal0maniac puts up hand
[17:24:26] <OndraSterver> that is some awful spider
[17:24:52] <Roklobsta> mega: try my new winbuild from helix.air.net.au
[17:24:59] <Roklobsta> it's the latest svn version
[17:25:19] <Roklobsta> i need feedback
[17:28:27] <Tom_itx> Roklobsta you can
[17:28:32] <Tom_itx> you need a different usb driver
[17:28:33] <Roklobsta> ondra: try the Bertos operating system. it has spport for xmega now. I used bertos last year to write an applicatin for the 2560
[17:28:44] <Roklobsta> how do you mean tom?
[17:29:01] <megal0maniac> The program can't start because pthreadGC2.dll is missing from your computer
[17:29:11] <Tom_itx> if you use studio it uses the jungo driver which will conflict with the libusb one which avrdude needs
[17:29:13] <Roklobsta> FSCK
[17:29:15] <Roklobsta> sorry ok
[17:29:30] <Roklobsta> good i'll sort it out
[17:29:37] <Tom_itx> and
[17:29:50] <Tom_itx> if you load the libusb one i'd suggest using an old one
[17:29:58] <Roklobsta> 1.2.5?
[17:30:02] <Roklobsta> or older?
[17:30:07] <Tom_itx> i had one helluva time unloading it to get studio back
[17:30:19] <Roklobsta> now do you mean zadig or the libusb driver directly?
[17:30:48] <Roklobsta> oh I have use an applciation called ghostbuster to easily remove old drivers and get back to a clean slate state
[17:30:53] <Tom_itx> i loaded one once that warned me about it
[17:30:53] <OndraSterver> Roklobsta, any reason to sue bertos? :)
[17:31:10] <Roklobsta> how do you mean?
[17:31:46] <Roklobsta> http://ghostbuster.codeplex.com/ is a great driver purger if you have driver snafus
[17:32:15] <OndraSterver> Roklobsta, I mean, why would one use it
[17:32:19] <Roklobsta> it's fixed shit i was having with serial port drivers
[17:32:44] <Roklobsta> ondra: it's got good abstraction and has generic drivers that map to xmega (or whatever) cleanly
[17:33:12] <Roklobsta> so if you write your code properly it'll work the same on an xmega or mega or cortex
[17:33:45] <OndraSterver> I see
[17:33:57] <Roklobsta> ondra: have a look it's not bad and gets you going with the chip without getting bogged down in writing the world's 1000000th serial port driver
[17:36:01] <OndraSterver> if it was compatible with netduino plus... mmmm :D
[17:36:07] <OndraSterver> .NET micro framework on AVR <3
[17:39:49] <Roklobsta> although doesn't atmel orvide a nice driver library for xmega?
[17:40:23] <OndraSterver> NO IDEA
[17:40:24] <OndraSterver> caps
[17:41:24] <megal0maniac> Goodnight all
[17:41:54] <OndraSterver> gn
[17:42:33] <xpololz> hmm, control registers inside the AVR CPU can control external entities within the MCu?
[17:42:36] <xpololz> like USART
[17:43:22] <xpololz> looking at the USART tutorial on Tom_itx website
[17:44:07] <OndraSterver> huh?
[17:44:10] <OndraSterver> me not understand your question!
[17:44:16] <xpololz> also can the internal system clock be set to run at 7.3728MHz as used in the tutorial?
[17:44:38] <Roklobsta> ondra: have a look in the software framework. http://www.atmel.com/tools/AVRSOFTWAREFRAMEWORK.aspx
[17:44:39] <OndraSterver> if you have 7.3728 crystal then yes
[17:44:47] <OndraSterver> Roklobsta, oh
[17:44:48] <OndraSterver> ASF
[17:44:52] <OndraSterver> but who would license that? :)
[17:44:58] <xpololz> so I have to use an external crystal if not
[17:45:14] <OndraSterver> for this frequency, yes
[17:46:55] <xpololz> phew..
[17:50:34] <xpololz> as for the first question, I thought that USART was an entity external to the CPU so I was confused by the control registers being able to set USART related stuff somehow...
[17:50:56] <xpololz> and still not quite sure how this stuff works..
[17:54:58] <xpololz> block diagram in data sheet of 328 also implied this, however that's not the case for e.g attiny45
[17:55:09] <OndraSterver> the peripherals have their control bytes and status bytes mapped into memory space
[17:55:19] <OndraSterver> so 00 - 3F = registers for peripherals (for example)
[17:55:25] <OndraSterver> 40 - something = your real RAM
[17:55:59] <OndraSterver> you can read about it in MEMORY section of the datasheet
[17:56:04] <OndraSterver> it is there "detailed"
[17:56:53] <xpololz> okay cool
[17:58:00] <Roklobsta> ondra: here's the low level drivers http://dev.bertos.org/browser/#bertos/cpu/avr/drv
[18:04:43] <Roklobsta> teh abstraction in bertos is good because you can read or write files, serial, spi using s simple fread and fwrite type call.
[18:38:55] <Blecha_> OndraSterver so after thinking this whole thing over, I think your xmega board as a backpack for an android smartphone is the best option.
[18:39:06] <OndraSterver> huh?
[18:39:26] <Blecha_> I was going to run a tft touch screen and wifi and all that crap
[18:39:35] <Blecha_> On a single board PC
[18:40:04] <Blecha_> but its cheaper, faster, and much less headache to just get a commercial smart phone and mod it to what I need.
[18:40:12] <OndraSterver> yep
[18:40:36] <Tom_itx> but where's the fun in that?
[18:40:40] <Blecha_> I can dismantle it and print a new case or something so it all fits together
[18:40:48] <Blecha_> Tom_itx the fun has been killed :(
[18:41:18] <OndraSterver> ugh, why are those 128x64 graphic displays more expensive than 240x320 TFT? :( ($9.5 vs $6.7)
[18:41:44] <Blecha_> Where are you getting your TFTs?
[18:41:47] <OndraSterver> ebay
[18:41:51] <OndraSterver> where else :D
[18:41:53] <Blecha_> ah
[18:42:28] <Blecha_> So what kind of smartphone should I get?
[18:42:51] <Blecha_> I was recommended the LG optimus
[18:42:54] <Tom_itx> a really smart one
[18:43:01] <OndraSterver> don't ask me, I hate Android :D
[18:43:08] <Blecha_> What do you use?
[18:43:12] <OndraSterver> Windows Phone
[18:43:18] <Tom_itx> an antique brick phone
[18:43:19] <Blecha_> :O
[18:43:25] <Blecha_> Tom_itx I dont have a phone
[18:43:41] <OndraSterver> how can somebody.. NOT have a phone?! :o
[18:43:44] <Blecha_> I dont plan to get service either, I'm hoping to just use google voice
[18:43:45] <OndraSterver> I'd die without it lol
[18:43:55] <Tom_itx> but they're not phones anymore
[18:43:55] <OndraSterver> google voice requires internet connection
[18:43:58] <Blecha_> I use google voice
[18:43:58] <OndraSterver> I knooow
[18:44:01] <OndraSterver> they are smartphones
[18:44:04] <Tom_itx> they suck
[18:44:07] <OndraSterver> heh
[18:44:10] <OndraSterver> I am happy with my lumia800 :)
[18:44:18] <Blecha_> Yeah, but I have wifi anywhere I am on a regular basis.
[18:44:27] <OndraSterver> as a developer I got it for free from Microsoft... lol
[18:44:39] <Tom_itx> all it does is enables the service provider to sell you more time
[18:44:46] <OndraSterver> (I bought before that omnia7 from germany for 199€ heh)
[18:44:53] <Blecha_> I'm not going to have a service provider :D
[18:44:57] <Blecha_> google voice
[18:45:04] <Blecha_> Free :D
[18:46:08] <Kevin`> even if you have to pay for service, voice over the internet is super cheap, order of magnitude less than landlines, which is an order of magnitude less than cell phones
[18:47:27] <Tom_itx> how does google voice work on a cell phone?
[18:48:04] <OndraSterver> same as skype
[18:48:07] <OndraSterver> I suppose
[18:51:39] <Blecha_> Basically
[18:52:30] <Tom_itx> i don't use either on a cell
[18:52:33] <Tom_itx> so have no idea
[18:53:12] <Kevin`> Tom_itx: I would expect it to be discouraged, since it interferes with their wako service-based charges
[18:53:18] <Kevin`> wacko*
[18:55:42] <OndraSterver> Tom_itx, you launch the application, click on call and it works as if you were calling directly
[18:56:05] <Tom_itx> who is the service provider though for the cell tower?
[18:56:16] <OndraSterver> you connect via wifi to skype server
[18:56:18] <OndraSterver> or google server
[18:56:26] <OndraSterver> or through 3G
[18:56:35] <OndraSterver> it does not use GSM to transmit the voice
[18:56:35] <Tom_itx> so it's not a 'cell' phone
[18:56:38] <OndraSterver> no
[18:56:42] <Tom_itx> rather use it locally at home etc
[18:56:56] <Blecha_> YES!
[18:57:03] <Blecha_> I lagged wolframalpha!
[18:57:12] <OndraSterver> I use Skype when I call anywhere - same price when calling on mobile phones as if I were calling directly or 10 times cheaper when I am calling on landlines
[18:57:29] <OndraSterver> that is from my phone
[18:57:36] <Blecha_> It submitted to my will. 'Assuming i is the imaginary unit | Use i as a variable instead'
[18:57:48] <Blecha_> I started with x^i
[18:57:57] <Blecha_> and kept adding poweres of i
[18:58:03] <Blecha_> x^i^i
[18:58:15] <Blecha_> It handled it for awhile but it died finally!
[18:58:41] <r00t|home> meanie
[18:58:51] <Blecha_> :P
[18:58:54] <OndraSterver> you know what I hate? that in maths the "i" is the imaginary "marking", but in electronics it is "j"
[18:58:57] <OndraSterver> :/
[18:59:01] <OndraSterver> it always confuses the hell out of me
[18:59:45] <Blecha_> imaginary numbers in general seem silly
[19:00:02] <OndraSterver> a lot of stuff seems silly in general
[19:00:11] <OndraSterver> like teaching the history of philosophy on electronics school
[19:00:19] <Blecha_> Yeah...
[19:00:26] <Blecha_> But i enjoy learning pretty much anything
[19:00:40] <Blecha_> So I am actually looking forward to that if I ever go to school.
[19:01:59] <OndraSterver> I don't enjoy learning at school
[19:02:03] <OndraSterver> I enjoy learning on my own what I need
[19:02:08] <OndraSterver> usually by taking other stuff apart :D
[19:02:25] <OndraSterver> I <3 taking stuff apart not destructible way
[19:02:30] <Tom_L> https://www.llnl.gov/news/newsreleases/2012/Jul/NR-12-07-01.html
[19:03:39] <OndraSterver> wow
[19:03:46] <OndraSterver> 500 TW laser
[19:03:49] <OndraSterver> in my yard
[19:03:54] <OndraSterver> with my own few nuclear power plants
[19:04:01] <OndraSterver> SO MUCH FUN!
[19:04:45] <Fleck> any idea whats this: http://hlsic.net/en/ShowImg.asp?ProductID=486 ?
[19:04:53] <Fleck> cant find datasheet
[19:06:13] <OndraSterver> hmm
[19:06:16] <OndraSterver> what was it in?
[19:06:24] <Fleck> motherboard
[19:06:32] <Fleck> clock crystal connected to it
[19:06:39] <Fleck> and battery near
[19:06:48] <r00t|home> but it's not an rtc? ;)
[19:06:55] <OndraSterver> most likely RTC
[19:06:59] <Fleck> no clue?
[19:07:11] <jadew> what's a rtc?
[19:07:14] <Fleck> should have clock
[19:07:15] <OndraSterver> real time clock
[19:07:16] <Fleck> but...
[19:07:25] <OndraSterver> if you could measure the pins...
[19:07:26] <jadew> thanks
[19:07:33] <OndraSterver> and try doing some probing
[19:07:44] <OndraSterver> don't RTCs have some "common" pinout?
[19:07:54] <OndraSterver> also, how old motherboard it is that it has such a huge DIP chip?!
[19:08:06] <Fleck> Socket 7 :D
[19:08:10] <OndraSterver> heh
[19:08:10] <r00t|home> "DALLAS 12885 / ODIN 12C885 RTC on board." -- http://www.google.com/url?q=http://www.docstoc.com/docs/45885440/GA-586ATV&sa=U&ei=oeZHUMCnEcfLsgbcrYDwDA&ved=0CBkQFjAC&usg=AFQjCNGsZ--W_UAzRsNNZ3QFVshPOoGaPA
[19:08:21] <OndraSterver> yayy for dallas
[19:08:25] <Fleck> and SIMM slots
[19:08:27] <r00t|home> so probably a chinese copy of a DALLAS 12885
[19:08:28] <OndraSterver> I have few RTCs from dallas here
[19:08:46] <jadew> what are RTC's used for?
[19:08:52] <r00t|home> jadew: keeping time
[19:09:04] <OndraSterver> yep
[19:09:13] <OndraSterver> just check any RTC's datasheet
[19:09:15] <r00t|home> jadew: they are a clock for computers, running on battery to keep wallclock-time...
[19:09:25] <jadew> ah...
[19:09:30] <jadew> thought they have better applications
[19:09:36] <OndraSterver> better?
[19:09:39] <OndraSterver> define better :P
[19:09:49] <jadew> don't know.. something other than being a digital watch
[19:10:27] <Fleck> lets see... :)
[19:10:34] <r00t|home> jadew: they are also digital alarm clocks for example, for the "power up at given time" feature in your bios that you never use
[19:10:36] <jadew> figured they would provide better timing for different stuff
[19:11:05] <jadew> r00t|home, hehe that's a great feature indeed
[19:11:28] <OndraSterver> yes, I have never seen anybody use it :D
[19:11:41] <OndraSterver> I do wonder how oeprating system does it? Just programms the RTC chip and uses it?
[19:11:43] <jadew> I just figured out how to get a second asyncronous full duplex usart on my mcu
[19:11:58] <OndraSterver> use different MCU? :D
[19:12:05] <OndraSterver> some pin compatible
[19:12:06] <jadew> nah, on the same one :P
[19:12:12] <OndraSterver> how?
[19:12:14] <OndraSterver> software?
[19:12:15] <r00t|home> software uart?
[19:12:31] <jadew> well, full software usart can't properly do full duplex
[19:12:35] <jadew> it can do half duplex
[19:12:48] <jadew> and full duplex would require hand picked baud rate
[19:13:11] <jadew> so you could do more samples for Rx than necesary
[19:13:26] <jadew> otherwise you would risk losing bits (if you'd go for full software duplex)
[19:13:52] <r00t|home> so what did you do then?
[19:13:55] <jadew> however, the mega328p and the other ones in the series, have Syncronous SPI USART
[19:14:01] <r00t|home> add an exteernal uart on a bus?
[19:14:07] <jadew> I'm gonna ignore the clock
[19:14:11] <Fleck> well x1 and x2 pins seems to be the same as in http://www.embeddedsys.com/subpages/resources/images/documents/DS12885_datasheet.pdf
[19:14:12] <jadew> and the rx from the spi usart
[19:14:15] <OndraSterver> doesn't 328 have two UARTs and one switchable to SPI?
[19:14:17] <jadew> and only use it for tx
[19:14:26] <jadew> so in software, I'm gonna worry only about rx
[19:14:36] <jadew> which I can get it spot on if I don't have to worry about tx as well
[19:15:02] <jadew> since having TX handled in hardware, means you can modify your timer when you hit the start bit, with out screwing up TX
[19:15:11] <jadew> therefore, perfect RX
[19:15:28] <jadew> OndraSterver, the spi one is only syncronous
[19:15:34] <OndraSterver> ah
[19:15:39] <jadew> that's why I will only use the TX from that one
[19:15:57] <jadew> still useful tho, it solves my problem
[19:16:17] <Fleck> yep, looks like its the same, thank you r00t|home :)
[19:16:40] <r00t|home> enjoy
[19:17:04] <Fleck> SQW - sqare wave output - every second?
[19:17:17] <r00t|home> i just googled: 12C885 rtc
[19:17:37] <Fleck> that PDF i gave dosnt have full specs
[19:18:02] <r00t|home> Fleck: just use the dallas datasheet?
[19:29:15] <Fleck> r00t|home http://datasheets.maximintegrated.com/en/ds/DS12885-DS12C887A.pdf :)
[19:30:25] <Fleck> So, PDIP pins seems to be equal
[19:30:31] <Fleck> *SO
[19:39:06] <Blecha_> OndraSTerver had to pick up the GF
[19:43:25] <Tom_itx> put her back down now
[19:45:22] <Fleck> ;p
[19:45:57] <r00t|home> note how it's "the GF", not "his GF"...
[19:47:45] <OndraSterver> Blecha_, I wrote small howto the other ... hour
[19:47:46] <OndraSterver> http://myxboard.net/beginning.html
[19:47:51] <OndraSterver> lol r00t|home
[19:49:03] <r00t|home> http://www.acronymfinder.com/GF.html
[19:52:03] <jadew> I got excited for nothing
[19:52:08] <jadew> it's usart in spi mode
[19:52:11] <jadew> not the other way around
[19:52:39] <r00t|home> old
[19:52:42] <OndraSterver> yes
[19:53:11] <Blecha_> NIce
[19:53:23] <Blecha_> :O
[19:53:28] <Blecha_> no linux yet?
[19:54:44] <Blecha_> r00t|home its basically like "the wife"
[19:55:09] <w|zzy> ondra, can as6 not program via flip yet?
[19:57:07] <OndraSterver> not as I am aware of
[19:59:55] <r00t|home> Blecha_: picking up other people's GFs is bad enough... but wifes...
[20:00:21] <OndraSterver> heh
[20:00:55] <r00t|home> OndraSterver: my jokes are not THAT good, ok?
[20:01:44] <OndraSterver> ok
[20:13:46] <Tom_itx> w|zzy, flip is independent of as4 5 or 6
[20:14:14] <OndraSterver> but they could integrate it
[20:14:15] <OndraSterver> int oas6
[20:14:19] <OndraSterver> into as6
[20:14:23] <OndraSterver> just click once - boom
[20:14:35] <Tom_itx> they didn't add a place for it?
[20:14:46] <OndraSterver> a place?
[20:14:56] <Tom_itx> on the menu or icon for it
[20:15:01] <OndraSterver> I haven't found any
[20:15:08] <Tom_itx> i haven't loaded 6
[20:16:00] <OndraSterver> if the atmel flip would take params..
[20:16:57] <w|zzy> what ondra said!
[20:17:24] <w|zzy> I'm sure it does.
[20:17:37] <w|zzy> when I get to my comp ill look.
[20:21:55] <w|zzy> batchisp
[20:26:28] <Blecha_> Sometimes I feel like these channels are big rooms, with lots of people very far away work on benches or typing on keyboards. Every now and then a couple of the people talk or someone walks into the room and asks a question.
[20:27:11] <Blecha_> Maybe someone will glance up from their project for a second, but for the most part people just hide in the corners.
[20:27:43] <Blecha_> I spose some people would be sleeping in the corner really.
[20:28:10] <OndraSterver> sleeping is cool
[20:28:14] <OndraSterver> DAMN it is 0316
[20:28:16] <OndraSterver> holy cow :D
[20:28:23] <OndraSterver> I thought it is 1 or 2 hours less
[20:31:15] <OndraSterver> I am off
[20:31:15] <OndraSterver> bb
[20:31:33] <w|zzy> cya
[20:35:02] <w|zzy> OndraSterver: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=974013
[20:35:18] <w|zzy> I know the post is for Avr32 but surely that or something else works for avr8
[20:37:56] <w|zzy> Cannot test.. A. running linux and B. dont have a board here.
[21:40:40] <budved> Hi all, I've recently started developing with my atmega328p and I've run into a weird situation that I don't understand. I figured I would ask in here, and then idle here after, since it seems like a good place to learn.
[21:41:08] <budved> As I mentioned I have the atmega328p, and my circuit consists of a MAX232 for PC to chip communication, an IR receiver that is hooked up to VCC and GND, and an LED with its GND lead connected to the IR receiver's output port (with a 4.7k resistor between them), and the long lead connected to VCC. My question is, why is it that if both the MAX232 and atmega328p are connected in the circuit, is the LED constantly on? With this setup, serial co
[21:41:08] <budved> mmunication with my PC and the chip works as expected. Again, I'm relatively new to both electronics and AVR chips, so I apologize in advance if it's a stupid mistake. Thank you in advance.
[21:41:53] <karlp> could you explain what you were expecting to see, and why?
[21:41:56] <budved> also note that if I replace the MAX232 with a resistor, the LED does not light up, and the IR receiver works as expected
[21:42:05] <budved> I'm expecting the LED to be off until i press a button on my remote
[21:42:19] <budved> which works if either the atmega328 or the max232 are unhooked from the circuit
[21:42:27] <budved> but if they're both connected at the same time, then it doesn't work
[21:42:39] <Casper> dunz0r: those IR modules idle at 1
[21:43:08] <budved> right, I read that online as well, but why the different behaviour when one of the chips is plugged in?
[21:43:33] <budved> the breadboard is powered by 5V btw, one of those wall USB plugs
[21:44:03] <Casper> possible circuit error or coding error or both or something
[21:46:10] <budved> right, I realize that it's pretty vague to just describe something like this over text, and there are a lot of possibilities for error... I've tried unhooking the Rx and Tx of the max232 from the chip, so the chip and max232 aren't talking at all, so right now the IR+LED aren't hooked directly up to either of the chips, but just a part of the circuit
[21:47:18] <budved> so I would assume its a circuit error, but I've hooked both chips up to spec, and they both function both independently and together, its just strange that the IR Receiver would output HIGH constantly only if both chips are connected at the same time..
[21:49:04] <Casper> make a schem maybe?
[21:49:25] <budved> the IR receiver also seems to work correctly when those two chips aren't connected at the same time, that is LED is dim unless I press on the remote, and then it flickers
[21:49:55] <budved> alright sure, I'll simplify the circuit as much as possible then make a schematic
[22:40:10] <budved> Casper, I made the schematic, it's the first time I've ever made one so I hope it's readable, sorry about the mess with the capacitors but I couldn't shrink them any more
[22:40:13] <budved> http://i.imgur.com/8wvIS.png
[22:42:32] <budved> so with this setup, the LED is constantly on, but if I unhook either atmega328p or the max232 from vcc or ground, then the LED is off and flickers when I press on my remote
[22:43:41] <budved> obviously with this setup, I can't communicate with the chip through serial since i haven't connected any of the output/input pins of the MAX232
[23:34:16] <Essobi> Yo.
[23:34:33] <Essobi> anyone know where I can find some i2c code?
[23:35:02] <Essobi> Slave.