#avr | Logs for 2014-08-01

Back
[00:10:01] <rue_mohr2> you said usb
[00:12:21] <twnqx> i2c-tiny-usb is the name of the original project
[00:12:37] <twnqx> http://www.harbaum.org/till/i2c_tiny_usb/index.shtml this one
[02:04:45] <inflex> Anyone ever designed/built a USB hub ( even just a 2.0 ) ?
[02:09:15] <Casper> I tought about it, then I checked the price of them... and I said f* it and bought a 10$ one
[02:15:58] <twnqx> i'd only consider it if i wanted multiple usb chips integrated in one device...
[02:57:56] <inflex> Was thinking of it so I could integrate current/voltage/switching in to each port
[02:58:20] <inflex> sorry, I mean current & voltage *sensing*, as well as power switching on/off
[03:33:34] <Bushman> inflex: i was trying to do that once
[03:34:18] <Bushman> the fancy chip that done all that was 4x the price of off-the-shelf hub
[03:34:45] <Bushman> then i found this nice chinese hub with all the blinking LEDs and whatnot...
[03:35:17] <inflex> Bushman: well, guess for now I'm content with power switches and a plug in volt/current meter that I've already done
[03:35:24] <Bushman> didn't have ANY of the features but i liked the chip... to bad i didn't found any suplier, it was a nice chip
[03:35:55] * inflex needs to build a couple more of these USB volt/current/charge meter
[03:36:54] <Bushman> the chip in this hub had one thing that i liked... a hardware bit to switch it into "composite device" mode
[03:37:41] <Bushman> it was back when i wanted to make 100% USB interface for ham radio
[03:38:14] <inflex> http://ctpc.biz/ucm6.jpg <=- what I've got for now
[03:38:35] <inflex> It all works together nicely, but sometimes you get the urge to try merge all your tools in to one monolith
[03:38:43] <Bushman> gave up when some guy at the HAM club brought something similar but for less than my parts were about to cost
[03:39:02] <inflex> yeah, sounds about right
[03:41:55] <inflex> Still, a lot of the time we do this for our own reasons other than costs
[03:42:39] <Bushman> yea, well i was gonna do that mostly because of cost
[03:43:08] <Bushman> comercially available units were about 2x the price i was targeting for
[03:43:26] <Bushman> then this guy found some other dude who done that for less
[03:43:52] <Bushman> with PCB, shilded box and what not
[03:44:34] <Bushman> wa disapointed cause if he wouldn't bring it i might have sell few of these at the club
[04:03:47] <Bushman> inflex: i like your usb power monitor thingy
[04:04:08] <Bushman> it's your design?
[04:05:19] <inflex> Bushman: yes
[04:05:54] <Bushman> where do you order PCBs?
[04:06:13] <inflex> a slight variation of another coulomb counter design I did years ago for model-aircraft, just dropped the speciality charge-counter chip and hack-jobbed it with sample & integrate
[04:06:21] <inflex> itead studio
[04:07:40] <inflex> http://imall.iteadstudio.com/im120418001.html
[04:08:16] <Bushman> umm... i forgot on which side of big water are you?
[04:08:50] <malinus> Bushman, this is pretty popular for PCBs http://www.hackvana.com/
[04:08:59] <malinus> (and cheap)
[04:10:18] <NooM> itead is cheaper
[04:10:56] <malinus> really? wow
[04:11:01] <NooM> a lot
[04:11:03] <NooM> like 50%
[04:11:06] <Bushman> umm... which one is cheaper for low quantity? ( <10)
[04:11:32] <NooM> itead is 10$ for 10x 5cm x5cm
[04:11:43] <NooM> 19$ for 10x 10cm x10cm
[04:20:29] <inflex> I've been using them for about 2.5yrs now
[04:20:39] <inflex> but for full production I then switch to GoldPhoenix PCB
[04:20:52] <inflex> but I have to say, so far as prototyping goes, I'm very happy with iTead
[04:47:32] <Bushman> umm... and what are their shipment costs?
[04:47:48] <NooM> 2-10$
[04:47:58] <NooM> depends on weight
[04:48:04] <NooM> i mostly order other stuff too
[04:48:09] <NooM> like headers and such
[04:48:20] <NooM> and they also offer express shipping
[04:48:24] <NooM> thats around 20$
[04:51:22] <NooM> https://www.dropbox.com/s/z8em5h0j87eniv0/Bild156.jpg
[04:51:26] <NooM> quality is very good
[04:52:07] <malinus> Bushman, tell me when you figure out which one is cheapest
[04:54:57] <Bushman> and we're talking about double sided with masks?
[04:55:04] <NooM> yeah
[04:55:46] <Bushman> i really need to try one of these
[04:55:56] <NooM> yeah
[04:56:08] <NooM> elecrow is cheaper for colored pcb's
[04:56:18] <Bushman> i hate china in generall but damn... those prices are sweet
[04:56:19] <NooM> itead only gree is cheap, color is 5$ or so extra
[04:56:32] <NooM> lucky me, i like the green :D
[04:56:40] <Bushman> like i care for color? :D
[04:56:55] <Bushman> important thing is IT WORKS!
[04:56:59] <Bushman> and is cheap :P
[04:57:38] <NooM> https://www.dropbox.com/s/v4p57vkr4netgmr/Bild117.jpg
[04:57:41] <NooM> https://www.dropbox.com/s/j7otxky7r1pysi1/Bild118.jpg
[04:58:00] <NooM> my 328p breadboard breakout
[04:58:37] <Bushman> lol @ "Noom Design"
[04:58:39] <Bushman> :D
[04:58:46] <NooM> :D
[04:59:10] <NooM> i designed the layout in diptrace :P
[04:59:17] <Bushman> NooMino
[04:59:31] <Bushman> or NooMduino
[04:59:31] <Bushman> :D
[04:59:37] <NooM> yeah :D
[04:59:47] <NooM> i also have a noom-super-duino :D
[04:59:59] <Bushman> hahaha
[05:00:16] <NooM> https://www.dropbox.com/s/u19xpk76x6mtnua/Bild133.jpg
[05:00:23] <NooM> https://www.dropbox.com/s/h5a4ve3o7sbx90j/Bild132.jpg
[05:00:40] <NooM> i messed 2 traces up in the design tho, thats why i soldered them
[05:00:47] <NooM> its 1284p
[05:00:55] <NooM> and ds3231
[05:01:13] <NooM> that thing is precise, after 7 months its only 5 secs behind
[05:05:02] <Bushman> hmm...
[05:05:14] <Bushman> your wire hack looks horrible :D
[05:05:26] <NooM> indeed
[05:05:34] <NooM> i have fixed pcb's here
[05:05:40] <Bushman> don't you have thinner whires? :P
[05:05:43] <NooM> but i didnt solder em so far
[05:05:53] <NooM> no thinner wires :(
[05:06:08] <Bushman> get some kenar :P
[05:06:14] <NooM> nah
[05:06:16] <NooM> :(
[05:06:43] <Bushman> kenar is great
[05:07:11] <Bushman> once i've fixed a whole CD-rom head's ribbon with them XD
[05:07:19] <NooM> hehe
[05:07:37] <Bushman> back in the days when PSX head was worth fortune here
[05:07:39] <Bushman> :P
[05:08:08] <Bushman> made it work and told the guy to quickly sell it lol
[05:08:14] <NooM> lol
[05:08:24] <Bushman> didn't know how long it would last :P
[05:09:48] <Bushman> i think i need to build some sort of automatic water exchange mechanism for my shrimp tank ;/
[05:09:54] <Bushman> to much algaes
[05:10:20] <Bushman> funny thing is i've stopped feeding those bastards months ago
[05:10:34] <Bushman> and they still can't keep up with the algae
[05:10:42] <NooM> hm
[05:10:57] <NooM> put a silver coil in
[05:11:16] <NooM> it might kill algaes
[05:11:29] <Bushman> together with the shrimps :P
[05:11:36] <NooM> no
[05:11:47] <NooM> silver doesent kill bigger organisms
[05:12:59] <Bushman> silver compunds are harmfull to sweet water shrimps
[05:13:07] <NooM> hm :(
[05:13:15] <Bushman> (donno bout the sea shrimps tho)
[05:15:20] <Bushman> need to change the water... but i'm lazy
[05:15:27] <NooM> :D
[05:15:37] <Bushman> you might say this tank goes mostly on "auto-maintance"
[05:15:40] <Bushman> :D
[05:16:16] <Bushman> the shrimps eat the algae, poop, the algae grow on it and the shrimps eat it again
[05:16:23] <Bushman> and everyone's happy XD
[05:16:23] <NooM> lol
[05:16:53] <Bushman> naah, i'm kidding
[05:17:02] <Bushman> i give them shrimp food from time to time
[05:17:18] <Bushman> but not to much so i don't have to change the water so often
[05:17:27] <Bushman> so they mostly feed on the algae
[05:17:39] <NooM> get some eheim dive pump
[05:17:59] <Bushman> huh?
[05:18:14] <NooM> to change water
[05:18:21] <NooM> it a pump you can put underwater
[05:18:49] <NooM> on the output you put a hose to your.. idk in english.. where bad water goes :D
[05:19:04] <Bushman> drain
[05:19:08] <NooM> ah
[05:19:14] <Bushman> ok, first thing first...
[05:19:48] <Bushman> the tank is 28x20x13
[05:19:52] <Bushman> CM!
[05:20:14] <NooM> thats not very big
[05:20:24] <Bushman> such pump would suck out the whole thing together with the gravel AND the shrimps!
[05:20:26] <Bushman> :D
[05:20:33] <Bushman> not very big?
[05:20:36] <NooM> guess theres weaker version too
[05:20:37] <Bushman> it's damn small!
[05:20:56] <NooM> do you eat the shrimps?
[05:20:58] <Bushman> also, the closest drain is in the bathroom
[05:21:06] <Bushman> 5m in straight line
[05:21:19] <Bushman> lol, no, those are pet shrimps
[05:21:25] <NooM> thats quite close for such a pump
[05:21:34] <NooM> they can do straight lines well, just not height
[05:21:58] <Bushman> it's not a matter of distance, but rather the matter of where would i put the hose?
[05:22:00] <Bushman> :P
[05:22:07] <NooM> idk
[05:22:08] <NooM> :D
[05:22:16] <NooM> i just throw ideas into the room :D
[05:22:37] <Bushman> i mean it's 5m away but i'd have to go around walls, doors and hallway floor
[05:23:12] <NooM> https://www.dropbox.com/s/lli0egzc6yh13pf/Image-4.bmp
[05:23:14] <NooM> my pump :D
[05:23:18] <NooM> not for underwater tho
[05:23:24] <Bushman> i was thinking more of a setup like 2 big tanks under my bed, one with fresh water supply and one for drain
[05:23:26] <Bushman> :P
[05:23:46] <Bushman> and 2 small pumps with some AVR driving them together with some sensors
[05:23:59] <NooM> that might work
[05:28:06] <Valen> watch for chlorine in your water
[12:15:26] <Jartza> hmmh
[12:15:33] <Jartza> some strangeness in my i2c-code
[12:21:14] <Tom_itx> stranger danger!
[12:22:40] <Jartza> yep
[12:50:46] <Casper> Jartza: and that strangeness is all your fault! :D
[13:07:46] <Jan-> I'm sure I read somewhere that there was only quite limited current available on an AVR's ports. But we've got six LEDs running from one, and it seems fine. Are we likely to be damaging it?
[13:08:21] <Jan-> They're pulling about 20mA each, and it's an atmega328
[13:09:50] <A124> Recommended value per pin is 20mA, Max 40mA.
[13:10:30] <A124> Also there are bus and IC limits. The Atmega is pretty good at not getting out too much, but it does cause stress and that can lead to failure, yes.
[13:31:49] <RikusW> Jan-: there is a total limit on Vcc of 200mA or so
[13:35:19] <Jan-> I think there's specific limitations on each port.
[13:35:24] <Jan-> But it isn't getting hot. I mean, eh.
[13:35:37] <Jan-> Er, is your name pronounced the same way as the guy in District 9?
[13:36:48] <Casper> AVR power limitation is: 40mA per pin, 100mA per port, 200mA per power pin. Beware, the 100mA also include the devices powered by that section of the chip
[13:38:07] <Jan-> I'm PWMing the LEDs
[13:38:13] <Jan-> I guess I'm just on-average staying under the limit
[13:43:59] <malinus> Jan-, the limits are peak limits
[13:44:22] <malinus> Jan-, so you might still fry them, even if the average consumption is under it
[13:46:05] <Jartza> Casper: seems to be, yes.
[13:46:20] <Jartza> I'm redesigning the whole code
[13:46:36] <Casper> I beleive the limits are average
[13:46:47] <Casper> the bonding wires are able to handle those current
[13:46:57] <Casper> and a wire care about average current
[14:35:42] <malinus> Casper, do IC's have "bonding wires"?
[15:08:09] <RikusW> yes
[15:15:34] <A124> malinus: Either that or brazing.
[15:16:22] <A124> Brazing: http://i48.tinypic.com/1183w4p.jpg
[15:17:28] <A124> In this case brazing plus bonding is used (not yet bonded in picture)
[15:29:53] <Jartza> hmmh
[20:47:35] <Casper> malinus: if it have outside world connection, it have bonding wires