#avr | Logs for 2016-10-21

Back
[00:29:22] <lochs> to my understanding, it's called an open collector, because the /collector/ can be an open circuit
[00:38:28] <joebobjoe> oh, a collector is a part of a transistor?
[00:38:30] <joebobjoe> ty
[00:38:51] <joebobjoe> But can't the emitter be open too?
[00:38:54] <joebobjoe> instead*
[01:11:40] <Casper> open collector do not mean unconnected
[01:12:27] <lochs> joebobjoe: yes Casper: effectively
[01:12:28] <Casper> and yes, you could have "open emitter" if you want, but it's not a common term, but common config
[01:12:52] <Casper> basically, open collector mean that you are switching ground, aka providing ground when needed
[01:13:11] <Casper> open emitter would be to provide VCC, or plain 'normal' powering
[01:14:03] <lochs> yeah.
[01:15:31] <lochs> joebobjoe: it's a collector-base-emitter w/ bjts, drain-gate-source w/ fets
[09:20:02] <twnqx> seeedis weird
[09:20:07] <twnqx> seeed* is weird
[09:20:17] <twnqx> 20 pcbs cost more than double of 10...
[09:21:42] <twnqx> and 5 and 10 cost the same...
[09:27:43] <LeoNerd> That's volume pricing in action
[09:27:59] <LeoNerd> Quite often see it in supermarkets.. e.g. 500ml bottles of $X costing under half what a 1l bottle costs
[09:28:02] <LeoNerd> so you just buy two of those
[09:28:17] <LeoNerd> which reïnforces the volume dynamics, so the higher-volume product becomes cheaper again
[09:48:48] <rue_house> noticed the same thing
[09:48:53] <rue_house> esp if the small one is on sale
[09:53:03] <Tom_L> +
[10:02:02] <Casper> twnqx: I beleive seeed use unused space in the panels for those boards, while a 20 batch mean they can't use the free space anymore and need to schedule it to be processed as a normal job, hence the higher price
[10:35:14] <twnqx> still, weird
[11:02:24] <twnqx> hm, on the "new versin" the price is more linear.
[14:44:34] <Nitrigaur> Is this channel about Atmel Microcontrollers?
[14:45:51] <specing> no
[14:46:02] <specing> this channel is for Microchip microcontrollers
[14:47:23] <Tom_L> that's why the channel name is #avr
[14:50:58] <mrx1> ;D
[14:51:12] <mrx1> because it's about avr microcontrollers
[14:54:36] <Tom_L> Nitrigaur was there a real question in there?
[15:07:33] <Nitrigaur> Tom_L, actually, yes
[15:08:02] <Nitrigaur> I mean, AVR can also be a different abbreviation
[15:09:48] <Nitrigaur> But it is great to see I have joined the right channel for my question
[15:13:04] <Nitrigaur> I'm trying to build the following project: https://pedroliska.wordpress.com/2015/07/13/building-your-own-annoy-a-tron-with-an-attiny85/
[15:14:21] <Nitrigaur> I'm using the Arduino IDE as tool and my ATTINY85 is prepped with a "bootloader" at 8Mhz and the sketch is alos programmed with those setitings.
[15:14:57] <Nitrigaur> alos => also
[15:17:55] <Nitrigaur> My piezo only ticks, it does not produce any sound.
[15:26:18] <Nitrigaur> Well, ticking is sound of course, but it doesn't produce a 3khz tone I am aiming for.
[15:26:34] <Nitrigaur> I mixed up sound and tone there, sorry.
[15:51:45] <twnqx> i think "arduino" is the reason you didn't get an answer so far - most people here use the bare metal
[15:52:45] <specing> arduino is bare metal as well fyi
[15:52:57] <twnqx> with heaps and heaps of abstraction on topü
[15:53:30] <twnqx> with "bare metal" i was referrign to software, without using libraries
[15:53:56] <specing> even with non-arduino you are still often using libraries
[15:54:04] <twnqx> beyond libc?
[15:54:05] <specing> like lufa/vusb/....
[15:54:07] <specing> yes
[15:54:22] <twnqx> i found everything i looked at so far too bad to use
[15:54:33] <twnqx> though i never got far with lufa, that might be different
[16:16:10] <Nitrigaur> twnqx, well, I might go raw and try upload a .hex file which demoes a tone reproduction.
[16:16:18] <Nitrigaur> using avrdude.
[16:16:44] <twnqx> that's not what i was referring to, but that would rule out broken flashing
[16:16:53] <twnqx> though i'd bet that arduino verifies as well
[16:17:37] <joebobjoe> Casper lochs: ty for your replies
[16:17:38] <twnqx> i'm not sure how something this simple could fail though
[16:18:06] <Nitrigaur> twnqx, me neither, it's not exactly rocket science, uploading a sketch.
[16:18:41] <twnqx> does the piezo click only once, when you power the thing up, or more often?
[16:18:54] <specing> > uploading a sketch
[16:18:56] <specing> > sketch
[16:19:06] <twnqx> that's how arduino calls it
[16:19:14] <specing> sadly I know
[16:19:59] <Nitrigaur> specing, what's in a name, sketch, program, all that matters is the result, right?
[16:21:02] <Nitrigaur> twnqx, no, it continues the clicking, in a steady pattern with 2 seconds between each click. It would of course take a while before the 3000 clicks have passed.
[16:21:56] <Nitrigaur> twnqx, I have checked with a LED if the Blink sketch isn't loaded and the LED behaves too flickery for that. It's not the Blink (one of the std. Arduino examples)
[16:22:47] <Nitrigaur> twnqx, my poor excuse for a logic analyzer also shows a steady stream of ticks with 2 seconds interleave.
[23:17:11] <_ami_> sabor: morning!
[23:58:32] <sabor> good morning _ami_