#avr | Logs for 2013-03-29

Back
[03:22:47] <Tom_itx> Eartaker, about 1/3 the way down is the ISP pinouts
[03:22:48] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_User_manual_index.php
[03:23:31] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/how_to/atmega168/using_avrdude_index.php
[03:23:40] <Tom_itx> that one has the 10 pin if you use it
[03:24:32] <Tom_itx> ISP usually goes to the SPI pins except for a couple chips like the mega128
[03:25:57] <kobsu> nice boards you have there
[05:01:31] <buhman> Eartaker: hmm?
[05:01:59] <buhman> are there schematics for that that use through-hole components by the way?
[05:11:58] <buhman> or, *the* schematic
[05:18:24] <OndraSter_> buhman, 'sup. What are you looking for?
[05:18:51] <buhman> well, Tom_itx was showing pictures of his fancy programmer
[05:18:57] <OndraSter_> oh
[05:19:00] <buhman> I want to see the schematics
[05:19:08] <OndraSter_> well there is no atmega in DIP with USB
[05:19:19] <OndraSter_> not with hardware USB, that is
[05:19:34] <buhman> oh, so that's doing proper usb?
[05:20:03] <OndraSter_> which one?
[05:20:05] <OndraSter_> pic
[05:20:08] <OndraSter_> show me
[05:20:10] <buhman> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
[05:20:39] <OndraSter_> yes, that has got atmega32u2 I think
[05:26:27] <buhman> that's a really cool mcu actually
[05:38:07] <buhman> Tom_itx: also, on your toaster project, why did you connect (if I'm reading this right) the triac to a transformer?
[05:41:00] <OndraSter_> if you call atmega32u2 cool, check out atxmega32a4u
[05:41:06] <OndraSter_> it costs less, but has got much more peripherals :P
[05:41:27] <buhman> heh, xmegas are scary
[05:41:45] <OndraSter_> they are not
[05:42:29] <buhman> jesus hardware aes/des?
[05:42:40] <OndraSter_> indeedy
[05:45:36] <buhman> I hardly use 1% of an atmega's capability; I have no idea what I'd do with an xmega.
[05:45:44] <OndraSter_> brag :D
[05:48:13] <RikusW> buhman: because of hw aes/des those can be hard to get... (damn export laws...)
[06:42:04] <Tom_itx> buhman, the only transformer is to supply 5v to the controller i pulled from a walwart
[06:43:36] <RikusW> http://www.pcbdesign.org/pcb-design-guide/
[06:50:49] <buhman> oh
[06:52:15] <Tom_itx> it looks wired to the triacs because i grabbed 110v there
[06:52:31] <buhman> indeed
[06:52:41] <buhman> so where is X1/X2 going?
[06:53:15] <buhman> and surely there's that zero-crossing detection going on, right?
[06:53:26] <Tom_itx> it's in the opto
[06:53:31] <buhman> O.o
[06:54:28] <buhman> Tom_itx: so you just literally bring PB0 high with no other additional magic/dark sorcery and the load is powered?
[06:54:40] <Tom_itx> yes
[06:56:13] <buhman> I can't seem to find that MOC30MSMT/6
[06:56:24] <Tom_itx> http://www.digikey.com/product-detail/en/MOC3063S-TA1/160-1723-2-ND/670015
[06:56:32] <buhman> cool
[06:57:41] <Tom_itx> AC, Triac, Zero Cross
[06:57:48] <Tom_itx> output type
[06:57:52] <buhman> I see
[06:58:05] <buhman> I guess I didn't realize they made drivers that do that.
[06:58:19] <Tom_itx> they'll butter your bread for you too
[06:59:25] <Tom_itx> i used 2 because inflex and i made them at the same time and i forgot about the foreign 220v stuff when i ordered my triacs
[06:59:39] <Tom_itx> get a 20+ A triac and you will only need one
[07:00:08] <buhman> oh
[07:00:15] <buhman> I was about to ask :D
[07:00:16] * inflex has a whole new controller and such integrated in to a single board... build and all... but I've not even flashed it yet :(
[07:00:17] <Tom_itx> if you're in the us
[07:00:29] <inflex> been about 3 months now :(
[07:00:41] <inflex> ( to be fair, this is for my fridge controller, but it's the same design )
[07:00:49] <Tom_itx> http://www.digikey.com/product-search/en?x=14&y=13&lang=en&site=us&KeyWords=497-3390-5-ND
[07:00:49] <buhman> fridge controller?
[07:01:01] <buhman> Tom_itx: thanks
[07:01:10] <Tom_itx> http://www.digikey.com/scripts/dksearch/dksus.dll?vendor=0&keywords=497-4168-5-ND
[07:01:14] <Tom_itx> another one
[07:01:18] <inflex> buhman: yes, lets me convert a standard chest freezer into a coolbox, keeping it at about 15'C
[07:01:29] <Tom_itx> gotta run
[07:02:05] <buhman> inflex: why would you want a above-freezing temperatures?
[07:02:22] <Tom_itx> for vegtables
[07:02:27] <buhman> oh
[07:02:31] <Tom_itx> fresh salad stuff
[07:02:34] <buhman> do you have schematics/pictures of this?
[07:02:34] <inflex> http://dxp.me/i/frfr-001.jpg
[07:02:42] <inflex> yes, salads/veges/oils/butter etc
[07:03:20] <Tom_itx> is that your new one?
[07:03:24] <inflex> yes
[07:03:28] <buhman> what's that box thing on the bottom?
[07:03:28] <Tom_itx> nice
[07:03:41] <inflex> the 16x2 plugs on the side. The brown box on the bottom is a SMPS that drops 240V to 5V for me
[07:03:51] <inflex> to be fair, the TRIAC is just a 2A one
[07:03:56] <inflex> (the SO8 gullwing chip)
[07:04:11] <Tom_itx> all you need for that probably
[07:04:17] <inflex> has a temperature sensor onboard too ( the SOT23-5 chip )
[07:04:25] <inflex> yes, the freezer is only 185W
[07:05:01] <inflex> the 5V SMPS was a bit expensive, but it was a lot more convenient
[07:05:33] <inflex> Anyhow, that's about where its been sitting the last 3 months... I'm still using the old original one that was the reflow controller :)
[07:14:57] <inflex> http://au.element14.com/jsp/search/productdetail.jsp?SKU=1825773
[07:15:42] <buhman> magical
[07:27:23] <RikusW> one BIG schematic http://www.pcbdesign.org/wp-content/uploads/2008/01/CycloneII_NiosII_2C35_DB_SCH.pdf :)
[07:28:22] <buhman> RikusW: what, erm is that?
[07:28:49] <RikusW> some FPGA design
[07:29:00] <RikusW> intended to show how a schematic should look like
[07:29:07] <RikusW> http://www.pcbdesign.org/schematic-capture/what-good-schematic-design-looks-like/
[07:41:57] * RikusW can get 0.7mm solder for $15, element14 is crazy at $56 !
[07:42:13] <RikusW> or thats aud
[07:44:58] <RikusW> still $15 vs 56 !
[07:46:01] <inflex> ja, E14 can be pricey for a lot of things, but they've got decent prices for a lot of parts as well
[07:46:16] <RikusW> and I paid $5 for 500ml of flux
[07:46:34] <GuShH> ripoff
[07:46:39] <RikusW> err 250ml
[07:46:48] <GuShH> that's like saying aids is bad, but could ultimately get you unprotected sex (????)
[07:46:54] <RikusW> e14 asks $50 for 100ml
[07:47:07] <buhman> GuShH: wat
[07:47:09] <GuShH> "I don't care anymore"
[07:47:22] <GuShH> buhman: hes trying to make something horrible sound appealing
[07:47:38] <buhman> that's completely not the same thing, no
[07:47:45] <GuShH> it is.
[07:47:53] <inflex> well, you can get reels of 5000 0603 resistors for $15
[07:48:09] <inflex> and 10uF 1206 caps for 12c/pc etc
[07:48:27] <inflex> you just have to dig a bit, and the convenience of their overnight free delivery is great
[07:48:36] <GuShH> for you
[07:48:44] <buhman> overnight free delivery? to where?
[07:48:53] <GuShH> fantasy island
[07:48:54] <inflex> anywhere in Australia
[07:49:03] <buhman> oh; but nobody lives in australia anyway
[07:49:14] * inflex sends you 22 million big fat fuck-you's ;)
[07:49:41] <buhman> digikey does 1-2-day delivery, and you pay for it :(
[07:49:43] <GuShH> don't worry, within those 22 million there are some "I love yous" mixed up
[07:49:45] <GuShH> so it's all goooood
[07:50:32] * inflex uses digikey if he's buying a bit lot of items at a massive price advantage, and then the $45 shipping isn't so bad (to AU)
[07:50:49] <GuShH> try $100 to AR
[07:50:50] <inflex> ie, 1000 NCP1117's or 250 tiny10's etc
[07:51:36] <buhman> I live two states away from them, so it's great
[07:51:37] <GuShH> how much crap would you have to order to break even with the shipping in that case
[07:52:07] <buhman> arguably one
[07:52:59] <GuShH> how many mexicans away from digikey are you then?
[07:54:00] <GuShH> all these years making fun of mexicans and not a single one ever said anything about it, too busy dealing drugs?
[08:36:12] <OndraSter_> heh, our school's website where we put our homeworks from programming runs on Debian with gcc 4.4. And appearantly if you use references instead of pointers, on AMD computers it runs about 2 times slower.. not on Intel
[08:36:47] <OndraSter_> and the server is ofc on AMD :D
[11:55:11] <linuzlover> Hi all... I am trying to compile a contiki-os example using avr-gcc 4.7.2 and avr-libc 1.8.0. I get the following message
[11:55:16] <linuzlover> error: attempt to use poisoned "MCUSR"
[11:55:18] <linuzlover> ../../cpu/avr/./watchdog.c:85:2: error: 'MCUSR' undeclared (first use in this function)
[11:55:34] <linuzlover> thank you for any help
[13:43:00] <asteve> can anyone recommend an optocoupler to be used with a 3d printer?
[13:51:25] <GuShH> asteve: be more vague please
[13:51:50] <asteve> I need a thing that doesn't let the bad thing into the circuit when the motor moves
[13:52:17] <diametric> asteve: I think you're referring to endstops.
[13:52:27] <diametric> no wait
[13:52:34] <OndraSter_> ;)
[13:52:35] <OndraSter_> GuShH, I want
[13:52:35] <OndraSter_> do you want it even more vague?
[13:53:03] <Tom_itx> http://www.digikey.com/product-search/en?x=11&y=13&lang=en&site=us&KeyWords=H11A817C-ND
[13:53:04] <diametric> asteve: you mean to isolate motor noise?
[13:53:06] <Tom_itx> opto
[13:53:08] <asteve> diametric: correct
[13:53:23] <asteve> Tom_itx: you've used this in the pasT?
[13:53:32] <Tom_itx> good grounds will help eliminte motor noise
[13:53:45] <Tom_itx> the stepper driver should handle the steppers
[13:54:04] <asteve> yes
[13:54:07] <asteve> this is actually not for me
[13:54:33] <Tom_itx> well who's it for then?
[13:56:26] <asteve> a friend that asked for my assistance; he wanted to know about optos and I recommended a few but I wanted to see if anyone had recommendations
[13:56:56] <Tom_itx> a nice fast one
[14:02:01] <GuShH> hahaha
[14:02:19] <GuShH> first time I see "it's not for me it's for a friend" on this subject
[14:03:52] <Tom_itx> 10Mbit optos 6n137
[14:04:42] <OndraSter_> I want 1Gbit optos :)
[14:04:42] <OndraSter_> meh, I am fine with 1Gbit metallic in my room and 100Mbit to the upstream router
[14:04:42] <OndraSter_> it is not like my internet can do more than 8Mbit :(
[16:41:41] <langoliers> hello
[16:45:17] <Tom_itx> hi
[17:32:28] <Tom_itx> abcminiuser how do i get the standalone avrgcc that is packaged with studio 6?
[17:33:13] <langoliers> what is so special about that avrstudio ?
[17:33:25] <Tom_itx> supports more chips
[17:33:42] <langoliers> than avrdude, and a text editor, or a geany for example?
[17:33:53] <langoliers> and gcc
[17:33:59] * abcminiuser has drank a LOT of wine tonight
[17:34:05] <Steffanx> wine ..
[17:34:05] <Tom_itx> it supports attiny10
[17:34:15] <Tom_itx> otherwise you're writing asm for it
[17:34:20] <abcminiuser> There's a standalone toolchain
[17:34:31] <abcminiuser> One sec I'll see if I can find it
[17:34:42] <langoliers> bash script rules too
[17:34:56] <langoliers> why overcomplicate things?
[17:35:03] <abcminiuser> Word of warning tho, I've reverted to my emergency bootloader to get back home
[17:35:28] <abcminiuser> WHEEEEEEEEEEEEEEEEEe
[17:35:31] <abcminiuser> Ogso, projectNode.GetProjectProperty(ProjectPropertyNames.AvrDevice)
[17:35:35] <abcminiuser> Wait
[17:35:45] <abcminiuser> http://www.atmel.com/tools/atmelavrtoolchainforwindows.aspx
[17:36:03] <abcminiuser> That one
[17:37:01] <abcminiuser> WHEEEEEEEEEEEEEEEEEEEE
[17:37:29] <Tom_itx> and of course i gotta register AGAIN!
[17:37:38] <Steffanx> alcohol kicking in abcminiuser ?
[17:37:44] <langoliers> so it is only for win ?
[17:38:03] <abcminiuser> Jeg har drinker ALLE den vin
[17:38:20] <abcminiuser> Nei vi har en Linux toolchain ogso
[17:38:23] <langoliers> alcohol is cool, i use it all the time for cleaning grease
[17:38:46] <langoliers> but only the 99.9% grade
[17:38:52] <abcminiuser> http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx
[17:40:31] <langoliers> hm, so they call avr-gcc ar-toolchain ?
[17:40:52] <langoliers> i have avr-gcc
[17:41:00] <Tom_itx> so do i
[17:41:49] <langoliers> so avrstudio is the same thing for win?
[17:42:33] <Tom_itx> this is just the gcc compiler part of it
[17:43:03] <langoliers> i don't use win* just interested
[17:43:36] <abcminiuser> Jeg er en skjott saft-ice paa pinne]
[17:44:51] <Tom_itx> abcminiuser, will that screw up an exhisting winavr install?
[17:45:07] <abcminiuser> Nei
[17:45:11] <abcminiuser> No
[17:45:19] <Tom_itx> how do i switch between them?
[17:45:58] <langoliers> i saw atmel offers free samples of things, anybody tried to ask yet ?
[17:46:50] <abcminiuser> langoliers, we have a real sample center now
[17:47:06] <langoliers> is it well worth it for them to send out freebies to random requests ?
[17:47:16] <abcminiuser> One year ago or more you had a 2% chance of getting samples
[17:47:22] <abcminiuser> Now it's at least 50%
[17:47:44] <abcminiuser> Tom_itx, change your %PATH%>
[17:47:55] <langoliers> abcminiuser<< you own the place ? ;)
[17:48:08] <abcminiuser> No sane person should still be using WinAVR :P
[17:48:16] <abcminiuser> langoliers, I just work here :P
[17:48:30] <abcminiuser> But I hear good things about the new sample center
[17:49:22] <langoliers> their goal it advertising?
[17:49:31] <langoliers> is
[17:50:14] <langoliers> they have a required company name too for asking
[17:52:22] <abcminiuser> "Herp Derp Inc."
[17:52:35] <langoliers> so what's the catch ?
[17:52:38] <langoliers> :)
[17:53:34] <RikusW> abcminiuser: seems like ethanol makes you multi-lingual ;)
[17:53:56] <abcminiuser> RikusW, Jeg vet ikke
[17:54:20] <abcminiuser> I have apparently drunk all the wine in Norway :P
[17:54:33] <abcminiuser> So I'm not so useful tonight,,,
[17:56:00] <langoliers> Tom_itx- hey what ya building ?
[17:56:01] <Tom_itx> nice
[17:56:02] <Tom_itx> it works
[17:56:12] <Tom_itx> i wanted to test some attiny 10 code
[17:56:25] <Tom_itx> without loading studio 6
[17:56:29] <Tom_itx> takes too long to load
[17:56:47] <Tom_itx> abcminiuser you were rather useful :D
[17:57:03] <Tom_itx> they can make more wine if needed
[17:57:11] <abcminiuser> :P
[17:58:27] <langoliers> abcminiuser<< how reliable are the atmega types? is it suitable for automotive steering servo ?
[17:58:28] <RikusW> abcminiuser: taking norsk classes or something ?
[17:58:54] <abcminiuser> RikusW, nei, jeg har Nork cowokers
[17:59:06] <RikusW> langoliers: there is automotive AVR
[17:59:17] <Tom_itx> doesn't sound like no aussie to me
[17:59:18] <abcminiuser> langoliers, there are special automotive AVR devices
[17:59:25] <langoliers> RikusW> does that have higher reliability ?
[17:59:57] <langoliers> or i just pick an industrial grade atmega in tqfp ?
[18:00:44] <RikusW> afaik its atmega as well
[18:01:00] <RikusW> there should be appnotes on automotive avr
[18:01:32] <RikusW> Tom_itx: he has become a Naurstralian :-P
[18:02:23] <langoliers> haha wow Temp. Range (deg C): -40 to 150
[18:02:30] <langoliers> http://www.atmel.com/devices/ATMEGA168AUTOMOTIVE.aspx?tab=parameters
[18:02:37] <langoliers> so it is enhanced reliability then ?
[18:03:29] <abcminiuser> Ja
[18:04:55] <langoliers> it wouldn't be so nice if the steering wheel started floating left right at 60kmh-1
[18:06:13] <langoliers> do i need some certification too to use them for this ?
[18:07:55] <langoliers> ti requires mission critical orders to receive a signed certificate
[18:09:54] <RikusW> abcminiuser: du drikker for mye
[18:10:05] <abcminiuser> Ja
[18:10:11] <abcminiuser> ALL THE WINE
[18:10:27] <RikusW> heh
[18:10:37] <Tom_itx> wine always gave me a headache
[18:10:45] <RikusW> or gout...
[18:11:21] * Tom_itx wonders if all atmel employees are wineos
[18:11:22] <RikusW> alle vin ?!
[18:12:10] <abcminiuser> Tom_itx, just the Norwegians
[18:12:42] <Tom_itx> antifreeze?
[18:13:53] <abcminiuser> Pretty much...]
[18:16:04] <Tom_itx> hmm this only added path to the bin, not the \util\bin like the other one did
[18:16:41] <Tom_itx> well no wonder.. there is no util
[18:16:44] <Tom_itx> wtf
[23:07:44] <Eartaker> should I burn fuses befor I use the AVR?
[23:10:50] <Casper> no and yes
[23:11:15] <Casper> the default fuses might not be suited for what YOU want to do
[23:11:26] <Casper> but the avr will run as it
[23:11:45] <Casper> however, the speed will usually be 1MHz, which is probably not what you want
[23:14:33] <Eartaker> I have an external resonator but do I need to change the fuse to use it or will it by default if it is wired up?
[23:17:33] <R0b0t1> Oh wow, I know how I'd been getting rid of setting up the uart all these... weeks.
[23:17:43] <R0b0t1> The bootloader I was using initialized it, of course!
[23:18:41] <langoliers> what programmer do you use?
[23:18:55] <langoliers> i saw guys using the xilinx parallel cable 3
[23:19:10] <langoliers> avrdude -p xil i think
[23:19:27] <Eartaker> usbtiny
[23:20:55] <R0b0t1> usbtiny
[23:21:14] <R0b0t1> actually been using the AVRisp II more often
[23:54:54] <tanis> Hey guys. I have an Atmel SAM9X25 evaluation kit, and I am not finding it available to choose to program to in Avr studio
[23:57:11] <tanis> It only goes up to sam4