#avr | Logs for 2013-03-23

Back
[02:47:34] <uninformed> still have no clue
[02:48:21] <OndraSter> jadew, good guy atxmega - does not require external xtal for USB and calibrates from USB SOF :P
[04:01:58] <uninformed> no way to open that snap case besides destroying it :|
[04:04:07] <theBear> what case ? there are often ways to only slightly destroy it, like intentionally snapping one-direction-head screw plastic supports and/or hammer techniques to crack JUST a glued seam (like in a wallwart) that can then be reglued or otherwise secured, maintaining the basic casing/arrangement
[04:06:45] <OndraSter> ducktape it back together
[04:06:46] <OndraSter> hammer + WD40 + ducktape
[04:06:46] <OndraSter> all you need
[04:17:46] <uninformed> theBear: a tinyusb programmer one
[07:29:35] <dunz0r> Uhm... EICRA &= ~(1 << ISC10) would clear the bit ISC10 in the register EICRA, right?
[07:33:19] <abcminiuser> Ja
[07:37:31] <Horologium> easyouts...tapered drill bit for removing stripped screws work good for one way screws too.
[07:38:35] <dunz0r> abcminiuser: Thanks. Then I'm doing something else wrong :)
[10:47:13] <rue_bed> theBear, I find it funny to know I'm not the only person who has put a lot of effort into carefully cracking open a wallwart
[12:07:00] <theBear> rue_bed, i've done it oh so many times, and often charged people for the priviledge :)
[12:21:17] <RikusW> http://imageshack.us/content_round.php?page=done&l=img51/8894/m32u2jig.jpg
[12:21:24] <RikusW> jig for placing TQFP
[12:25:15] <theBear> lol, i do a little dance when i get something that size placed properly too, dunno if i'd call it a jig tho :)
[12:27:01] <RikusW> I used it to place a hundred of them
[12:27:18] <RikusW> took like two hours and two tries to get it right
[12:27:59] <RikusW> first ones holes was slightly to large....
[13:42:48] <uninformed> has anyone assembled an adafruit programmer?
[13:46:27] <Tom_itx> one like it
[13:47:56] <uninformed> ok
[13:48:38] <uninformed> so i need to reopen my case
[15:59:05] <jadew> making an exposure box is the most borring solder job ever
[16:01:32] <Steffanx> With UV leds or what jadew ?
[16:01:38] <jadew> yeah
[16:02:03] <metalliqaz> ugh, i'm having a bad day
[16:02:22] <metalliqaz> trying to learn AVR
[16:02:37] <metalliqaz> specifically USB
[16:02:46] <metalliqaz> tried Atmel's USB drivers
[16:02:48] <metalliqaz> tried LUFA
[16:02:52] <metalliqaz> i compile the demo
[16:02:53] <jadew> Steffanx, 117 UV leds to be more precise
[16:03:12] <metalliqaz> and windows always says USB Device Not Recognized
[16:03:22] <metalliqaz> supposed to be HID keyboard or HID mouse
[16:03:31] <metalliqaz> anyone know how to debug that?
[16:08:03] <uninformed> no idea
[16:16:07] <kdehl> Huh. I just realized you could use an old computer PSU to power your AVR.
[16:16:35] <kdehl> I think I have an old AT machine somewhere whose PSU I can rob...
[16:17:41] <jadew> that's a bit of an overkill
[16:18:29] <kdehl> Well, it's available, and you don't have to worry about not having enough current.
[16:19:01] <kdehl> Both 5 and 3.3 volts. Up to 25 amps. Heh.
[16:20:19] <specing> yeah and then you stick a wire in a wrong place and you have a 25A light show
[16:20:34] <specing> and a toasted protoboard
[16:20:39] <specing> and shattered dreams
[16:20:44] <specing> and nightmares at night
[16:22:14] <jadew> make yourself a power source with current limitting
[16:22:14] <kdehl> Yup. Living on the edge.
[16:22:28] <jadew> or at least add current limitting to this one
[16:22:32] <kdehl> Yeah, maybe.
[16:24:39] <Steffanx> kdehl also check what it does under 'lower' loads
[16:26:00] <kdehl> There could be a limitation like that?
[16:26:11] <kdehl> Or is that only for older ones, perhaps...
[16:26:27] <Steffanx> Or it doesn't work at all when you try to use only a few milliamps
[16:26:34] <kdehl> Ah.
[16:26:42] <kdehl> I see.
[16:26:48] <kdehl> Well, I guess I will find out.
[16:27:09] <Steffanx> For sure
[16:27:16] <specing> wait
[16:27:19] <kdehl> Actually, I think I'm buying a new one tomorrow, screw the AT one. I just found one for 25 bucks.
[16:27:23] <kdehl> Waiting.
[16:27:25] <specing> you can use the 2.5A standby power!
[16:27:30] <specing> it is 5V, too
[16:27:43] <kdehl> What is that?
[16:27:52] <kdehl> Oh. Stand by.
[16:27:53] <kdehl> Ah. Heh.
[16:29:29] <Tom_itx> kdehl, http://www.wikihow.com/Convert-a-Computer-ATX-Power-Supply-to-a-Lab-Power-Supply
[16:29:43] <kdehl> Tom_itx: Awesome!
[16:30:07] <Tom_itx> don't pay for one
[16:30:11] <Tom_itx> get one from junk pc
[16:30:37] <Steffanx> Tom_itx only uses atx psu's?
[16:30:39] <Steffanx> -'
[16:30:56] <Tom_itx> i use a walwart
[16:31:28] <kdehl> "...reasonably tight voltage regulation on the 5V line. On most power supply units (PSUs), the other lines are unregulated." <=- Wutt?! The 3.3 volt line is unregulated?!
[16:32:20] <Steffanx> 3.3 and 5V from the walwart, nice Tom_itx :D
[16:33:10] <specing> kdehl: they are all regulated, with 5% to 10% tolerance
[16:33:35] <specing> kdehl: most mobos have onboard regulators, too
[16:34:07] <specing> Im not sure why the ATX connector still has a myriad of different voltages
[16:34:38] <kdehl> Okay.
[16:34:40] <kdehl> Yeah really.
[16:34:43] <specing> they could just make two 12V connectors (one with i2c control for the PSU
[16:37:26] <Tom_L> http://www.ebay.com/itm/DC-to-DC-Buck-Step-Down-Converter-Module-LM2596-Voltage-Regulator-Voltmeter-Red-/400369337180?pt=LH_DefaultDomain_0&hash=item5d37df435c
[16:37:31] <Tom_L> get some of those
[16:39:39] <specing> low-quality ATX PSUs are cheaper than getting some of those
[16:39:45] <metalliqaz> well i figured out my problem.... wrong clock specified
[16:39:49] <specing> though they dont have a display and tunability
[16:40:07] <specing> buy you hardly need anything other than 3v3, 5v or 12V
[16:40:07] <Tom_L> easy to get the v you want with them
[16:40:26] <Tom_L> i got some without the display for less too
[16:41:02] <specing> Also how on earth can they make those boards that cheap?
[16:41:09] <specing> http://uk.mouser.com/Search/Refine.aspx?Keyword=LM2596&Ns=Pricing|0&FS=True
[16:41:09] <kdehl> Tom_L: Only two amps. A little weak.
[16:41:10] <Tom_L> i know i can't
[16:41:23] <specing> the regulator itself is over 2 EUR!
[16:41:25] <Tom_L> kdehl, not for avr experimenting
[16:42:26] <kdehl> Yeah maybe.
[16:42:27] <kdehl> For now.
[16:42:30] <kdehl> Heh.
[16:42:49] <specing> http://www.ebay.com/itm/1pcs-1-23V-30V-DC-DC-Buck-Converter-Step-Down-Module-LM2596-Power-Supply-Output-/370780086676?pt=LH_DefaultDomain_0&hash=item5654372194
[16:42:59] <specing> THIS IS HALF THE PRICE OF THE CHIP ITSELF!!
[16:42:59] <Tom_L> http://www.ebay.com/itm/10PCS-LM2596HV-LM2596S-DC-DC-Step-Down-CC-CV-Adjustable-Power-Supply-Module-/170892107588?pt=LH_DefaultDomain_0&hash=item27c9f69f44
[16:43:03] <Tom_L> specing
[16:43:05] <Tom_L> 10x
[16:43:07] <specing> wtf are those chinese doing
[16:43:08] <Tom_L> for 14
[16:43:19] <Tom_L> got some of those too
[16:44:01] <Tom_L> basically the same as your link
[16:44:01] <specing> Tom_L: I think I just found a way to power all the sensors over my house...
[16:44:11] <specing> How do you adjust them, though?
[16:44:15] <Tom_L> the pot
[16:44:23] <specing> there is a pot?
[16:44:24] <Tom_L> and a meter on the output
[16:44:25] <Tom_L> yes
[16:44:29] <Tom_L> the blue thing
[16:44:33] <specing> ah
[16:44:33] <Tom_L> trim pot
[16:44:39] <Tom_L> very cool
[16:44:52] <Tom_L> you can't build them for that
[16:45:11] <specing> How many amps does it feed?
[16:45:18] <Tom_L> 2-3
[16:45:24] <Tom_L> depending on the choke
[16:45:45] <Tom_L> i made some myself before i found these
[16:45:50] <specing> damn I should read first before asking on IRC
[16:46:03] <kdehl> I discovered the Chinese electronics stuff on ebay just a few weeks ago. I think I've ordered stuff more than 20 times since then.
[16:46:04] <specing> It is just so much easier to ask...
[16:46:43] <Tom_L> http://tom-itx.dyndns.org:81/~webpage/misc_stuff/5v_switcher.jpg
[16:46:48] <Tom_L> mine is fixed though
[16:46:53] <Tom_L> same basic chip
[16:47:30] <specing> Tom_L: how accurate is the adjust?
[16:47:33] <Tom_L> ~$10 digikey parts
[16:47:37] <Tom_L> pretty close
[16:47:48] <specing> And what quality are the components?
[16:47:56] <specing> Tom_L: +- 0.05V?
[16:47:56] <Tom_L> chinese
[16:47:57] <Tom_L> :D
[16:48:05] <Tom_L> specing, probably
[16:48:14] <specing> Tom_L: So I should buy 2x more than I need? :D
[16:48:20] <Tom_L> naw
[16:48:22] <specing> this is great
[16:48:35] <specing> "I'm lovin' it"
[16:48:47] <Tom_L> get the 10 pack :)
[16:49:10] <Tom_L> 1.40 ea
[16:49:39] <Tom_L> you can look up the data sheet for the choke and see the current out
[16:49:49] <Tom_L> 470 µH
[16:50:06] <Tom_L> it's on the 2596 data sheet
[16:50:14] <specing> "f the item is defect when you receive it or you are not satisfied with it, please return it within 14 days for a replacement or money back. But the items must be back in factory condition. Please contact us and double check the return address before you return it."
[16:50:26] <specing> I dont think it would be worth returning, LOL
[16:50:44] <specing> Tom_L: have you measured efficiency?
[16:50:48] <Tom_L> mine all work
[16:50:50] <Tom_L> nope
[16:50:57] <specing> please do :)
[16:51:03] <Tom_L> what do you mean?
[16:51:09] <Tom_L> how would i measure it?
[16:51:15] <Tom_L> meter on the input?
[16:51:23] <specing> hmm
[16:51:35] <specing> and a load transistor?
[16:51:38] <Tom_L> they regulate voltage. good nuf for me
[16:51:52] <specing> 10 ohm in parallel?
[16:51:55] <Tom_L> i don't bitch about cheap stuff
[16:52:05] <specing> and measure input & output current/voltage
[16:52:40] <Tom_L> they used to have a scope shot of their test
[16:53:19] <specing> I don't really trust sellers' scope shots :D
[16:53:38] <specing> looks 80% though
[16:55:09] <specing> also wtf, free shipping
[16:55:17] <specing> Im kinda jelly of hackvana
[16:55:28] <specing> he must be really enjoying his time there
[16:55:38] <specing> atleast the electronics part of it...
[16:55:42] <Tom_L> yup
[16:56:01] <specing> maybe he should open an electronics tourist resort there
[16:56:54] <Tom_L> you gettin some?
[16:57:07] <specing> I think so
[16:57:12] <specing> probably not today though
[16:57:15] <Tom_L> i think i got half dozen of both
[16:57:32] <specing> half dozen = 6 * 10 modules?
[16:57:34] <Tom_L> no
[16:57:43] <Tom_L> with led and withouth
[16:57:50] <Tom_L> without*
[16:58:00] <specing> oh so you didnt buy the 10 pack?
[16:58:08] <Tom_L> naw, i just saw that
[16:58:13] <specing> ah
[16:59:07] <specing> Excuse me, but I am a bit cautious about buying from china
[16:59:14] <specing> http://blog.jitbit.com/2011/04/chinese-magic-drive.html
[16:59:34] <specing> especially with stuff this cheap
[16:59:56] * Tom_L snickers
[17:00:13] <specing> yeah...
[17:00:28] <Tom_L> i could use those nuts
[17:00:30] <jadew> can that regulator really give out 2A?
[17:00:40] <Tom_L> it's rated for 3 or so
[17:00:41] <Tom_L> iirc
[17:00:45] <jadew> the inductor is so small
[17:00:55] <Tom_L> check it's data sheet
[17:01:01] <specing> Tom_L: so unless you bought it from that seller, I wouldn't try it
[17:01:22] <jadew> well, you don't have much to lose
[17:01:25] <jadew> only $2
[17:01:27] <Tom_L> no not really
[17:01:37] <Tom_L> i don't plan on pushing them
[17:02:00] <Tom_L> just nice to have a non linear regulated supply when i need one
[17:02:20] <Tom_L> i'm not sure you can get a 7805 from ebay for that :)
[17:02:27] <Tom_L> ( i didn't check )
[17:02:36] <Tom_L> err not ebay but digikey
[17:03:23] <specing> I need something to run 5V and 3v3 sensor boards I'll make for my house from
[17:04:17] <specing> And I think the cheapest would be to go for a 12V grid powered from an ATX PSU or a lead-acid battery (as UPS)
[17:04:40] <Tom_L> TPS79333DBVR
[17:04:45] <Tom_L> 200ma
[17:06:09] <Tom_L> MC33269ST-3.3T3G
[17:06:14] <Tom_L> 800ma?
[17:09:36] <uninformed> damn it
[18:09:07] <jadew> yey, last led is in
[18:10:30] <Steffann> and now at least 2 are broken
[18:10:46] <Steffann> or less bright than the others
[18:11:04] <jadew> heh, we'll see, now I have to solder the resistors
[18:11:43] <jadew> I love using leds, because the legs are great on breadboards, they're easy to insert and quite sturdy
[18:11:48] <jadew> now I have 200 of them
[18:13:13] <Steffann> smd leds ftw
[18:13:40] <jadew> yeah, the leds are much easier to mount
[18:13:52] <jadew> since I don't have to keep turning the board
[18:30:51] <xorentor> hi
[18:31:30] <xorentor> I've been trying to connect pic16f877 via parallel with et-pspi programmer, but still it doesn't work
[18:32:16] <xorentor> I've been trying picprog under linux
[18:32:39] <xorentor> I suppose the specified device is not correct, /dev/lp0
[18:32:54] <Horologium> is picprog giving any kind of error?
[18:33:45] <xorentor> Unable to stop break on tty /dev/lp0:Invalid argument
[18:34:26] <xorentor> I just got this parallel pci card to make it work as some guys on avrfreaks were saying that it doesn't work with usbToparallel
[18:34:36] <xorentor> but still it doesn't work
[18:36:25] <xorentor> I am really desperate now, I have been trying to fix this for months... et-pspi programmer is set to DIS ( ENA/DIS ), CPLD ( CPLD/PHONY )
[18:37:38] <Horologium> unfortunately, this is an AVR channel, not a PIC channel.
[18:37:51] <xorentor> is there any pic channel out there?
[18:37:52] <Horologium> that et-pspi programmer is likely an older one..
[18:37:57] <Horologium> yes, ##pic
[18:38:05] <xorentor> yeah that's why I got parallel pci card
[18:38:05] <Horologium> which I'm on too but still don't know that programmer.
[18:38:19] <xorentor> thanks anyway
[21:45:32] <hackvana> specing: electronics here is certainly pretty insane. You want for nothing :-)
[22:18:44] <inflex> Try ##electronics perhaps xorentor
[22:24:20] <tzanger> it sounds like you need to find support for that specific programmer
[22:24:32] <tzanger> and really a parallel port programmer is going ot be pain on any modern systme
[22:24:40] <tzanger> it sucks, I loved parallel port stuff