#avr | Logs for 2012-07-22

Back
[01:02:03] <Sefid_Par> What can I use to have a square wave by -28 and +28 in output. is it good to use opamp?
[01:04:09] <theos> use a 555 timer? you would have to decrease the voltage i think
[01:05:11] <Sefid_Par> I though to make a square wave by avr for example and have the output by another device like op amp.
[01:06:24] <Sefid_Par> I think I should Have 4 op amps to produce (0 and +28) and (+28 and 0) by a 28v voltage source.
[01:10:13] <theos> ?
[01:10:37] <theos> avr can also make a square wave
[01:12:04] <Sefid_Par> theos: You are right.
[01:12:29] <Sefid_Par> But I need a device to increase the voltage.
[01:13:16] <Sefid_Par> and change the pols.
[01:15:23] <Casper> Sefid_Par: maybe look at some discrete ttl-rs232 and adapt it for the voltage needed
[01:15:59] <Casper> but do you already have the 2 rails?
[01:20:06] <Sefid_Par> casper: I think I should use 2 op amps and turn on and turn off them alternatively.
[01:20:37] <Sefid_Par> I should have for example two square waves.
[01:21:52] <Sefid_Par> I should make two square waves by two ports and then convert them to +28 volts each for one output. one of them connected to + and another to - pole.
[01:22:29] <Casper> that won't work
[01:22:33] <Casper> their output would be shorted
[01:23:50] <Sefid_Par> You mean that If I have the zero for one of the op amps the output isn't zero. isn't it?
[01:25:14] <Sefid_Par> Of course in this case I would use a TRIAC to short circuit it.
[01:33:04] <CapnKernel> Sefid_Par: What do you need -28/+28V for?
[01:50:57] <Sefid_Par> How about this circuit to produce the +28/-28 output square wave? The PA0 and PA1 are alternate square waves. http://up.vatandownload.com/images/bff5fmzpgmm73i40elwv.png
[01:51:55] <Sefid_Par> I forgot to connect the + pin between the resistors.
[01:54:06] <Sefid_Par> corrected circuit: http://up.vatandownload.com/images/ad0fgo6zt5dbjonxbx9e.png
[02:10:15] <CapnKernel> CapnKernel: Sefid_Par: What do you need -28/+28V for?
[02:16:08] <CapnKernel> Sefid_Par: Bit hard to help you if you don't answer questions.
[02:20:17] <Casper> SN Margin (Up/Down) [dB]: 8,5 / 6,0 ← I think this also partly explain why my net ain't too stable
[02:20:24] <Casper> I lost 0.5db in downlink...
[02:20:31] <Casper> so I'm right at the limit
[02:24:53] <Sefid_Par> CapnKernel: I found. the answer is H Bridge.
[02:25:32] <theos> ...
[02:26:14] * theos give Sefid_Par a book on basic electronics
[02:27:03] <CapnKernel> Yes I think so too.
[02:27:12] <CapnKernel> He either knows far more than me, or far less.
[02:27:37] <CapnKernel> I'm tempted to think that Sefid_Par thinks an op-amp is some magic generates-28V chip
[02:28:33] <theos> :)
[02:28:43] <CapnKernel> And besides he doesn't want to share his requirements
[02:28:58] <CapnKernel> So I think I'm going to let him have a nice wallow in his ignorance,.
[02:29:05] <theos> top secret govt technician?
[02:29:58] <Sefid_Par> I really do not know the usage.
[02:30:00] <theos> (he doesnt know what he is trying to invent is already being used. so its ok to share everything)
[02:30:11] <CapnKernel> theos: Seems you were right
[02:30:19] <theos> :D
[02:30:41] <CapnKernel> Sefid_Par: You can buy clues in a 12-pack. It's cheaper that way, and you're going to need all of them.
[02:30:57] <theos> CapnKernel i have some experience of around 7 years with irc users :)
[02:31:16] <CapnKernel> Oh yeah? Well I once worked in a kindergarten!
[02:31:42] <theos> :)
[02:32:06] <Sefid_Par> I just had a problem to solve.
[02:32:08] <theos> you either love them kids or you hate them
[02:32:37] <theos> Sefid_Par you need a thingy which generates a square wave and works on 28v?
[02:32:38] <CapnKernel> I love kids.
[02:32:44] <CapnKernel> Cooked slowly, hickory fire.
[02:33:00] <theos> me too :) i used to teach KG-grade5 kids
[02:33:44] <Sefid_Par> theos: not me; They need it.
[02:34:06] <theos> they... the army?
[02:34:42] <Sefid_Par> hey...
[02:34:57] <Sefid_Par> I do not know those foolish people.
[02:35:00] <CapnKernel> Sefid_Par: Once you're off the phone talking to the President, are you ready to tell us what you're working on?
[02:35:13] <Sefid_Par> hahaha
[02:40:35] <w|zzy> HAHAHA
[02:42:35] <theos> :)
[02:44:51] <theos> is it a good idea to use an atmega to turn on/off a 6v relay which switches a 400w AC motor?
[02:45:56] <theos> relay has a flywheel diode
[02:46:33] <Sefid_Par> theos, If somebody tells you that give me a circuit with this spec, and does not tell the spec, Don't you design it?
[02:47:18] <theos> Sefid_Par but he has already given me the specs
[02:47:32] <theos> according to your question
[02:49:09] <Sefid_Par> You are right.
[02:49:32] <theos> Sefid_Par what do you actually need? can you write the whole question in one paragraph with everything you can provide?
[02:50:47] <Sefid_Par> I just should make an square wave +28/-28 using AVR
[02:53:13] <theos> what is +-28?
[02:54:06] <theos> voltage? which voltage?
[02:54:09] <Sefid_Par> a square wave going form -28 and +28.
[02:54:12] <Sefid_Par> output
[02:54:17] <theos> ...
[02:54:56] <Sefid_Par> I need an output: The square wave -28/+28v.
[02:55:03] <theos> why
[02:55:38] <Sefid_Par> !
[02:55:53] <Sefid_Par> I wish I knew.
[02:56:08] <theos> why not 12v?
[02:56:10] <theos> or 5v
[02:56:21] <theos> 28 is your lucky number?
[02:57:46] <theos> how long should it be high and low?
[02:58:52] <Sefid_Par> I do not know!
[02:59:01] <theos> ok
[02:59:15] <theos> and how will you verify that its a squarewave and not something else?
[02:59:33] <theos> how does a square wave look like?
[03:00:33] <Sefid_Par> like a square :D
[03:00:47] <theos> like this? []
[03:04:26] <Sefid_Par> What do you mean?
[03:04:27] <Sefid_Par> Yes
[03:05:03] <CapnKernel> What sort of current do you need to supply this 28V at?
[03:05:07] <CapnKernel> 10mA? 10A?
[03:05:47] <CapnKernel> Do you need to generate these voltages, or just switch them?
[03:08:41] <CapnKernel> Plonk.
[03:09:00] <theos> you can use a 555 which switches a relay. the relay switches a 28v circuit
[03:09:08] <theos> Plonk-2
[03:09:44] <CapnKernel> Whether to use a relay, triac, SSR, whatever depends on so many factors, none of which he's willing to share
[03:10:25] <CapnKernel> If money and size is no object, get a frequency generator, cots PSU, SSD and you're done in 5 mins
[03:11:06] <theos> i think he just wants to see if he can generate a square wave :)
[03:11:24] <CapnKernel> Sefid_Par: What sort of current do you need to supply this 28V at? 10mA? 10A? Do you need to generate these voltages, or just switch them?
[03:11:25] <theos> and he doesnt know how a sq wave looks like so the output can be anything :)
[03:11:37] <CapnKernel> Maybe it's a homework question
[03:11:46] <theos> >.>
[03:12:17] <Sefid_Par> I think it just switchs between them.
[03:13:19] <CapnKernel> Sefid_Par: What kind of switching frequency?
[03:13:39] <Sefid_Par> I do not know :)
[03:13:49] <CapnKernel> Are we talking switches per second, or seconds per switch
[03:13:58] <Sefid_Par> let me ask the president
[03:14:01] <CapnKernel> I think your smiley might be upside down
[03:14:32] <Sefid_Par> Why? Cause of frequency?
[03:15:08] <CapnKernel> If it's seconds per switch, use a relay. If it's switches per second (for example KHz), you can't use a relay
[03:16:02] <Sefid_Par> What can I use instead?
[03:16:07] <OndraSterver2> ssr
[03:16:22] <OndraSterver2> or why not mosfet..
[03:16:35] <OndraSterver2> depends on the load you need
[03:16:41] <CapnKernel> OndraSter: hi
[03:16:51] <CapnKernel> depends on a lot of things, which he's unwilling or unable to tell us!
[03:17:21] <OndraSter> elooo
[03:17:29] <Sefid_Par> It has high current I think.
[03:17:49] <CapnKernel> Are you switching something like a motor? Do you want to reverse the direction of the motor?
[03:18:16] <Sefid_Par> Wish to knew.
[03:18:17] <CapnKernel> Or do you need to provide +28V/-28V on some output wire, relative to ground?
[03:19:36] <Sefid_Par> president is on the phone. let me ask.
[03:20:08] <CapnKernel> Ask him how is enrichment program is going.
[03:20:24] <OndraSter> enrichment program?
[03:20:33] <OndraSter> DO WE HAVE APERTURE SCIENCE UP & RUNNING AGAIN
[03:20:35] <OndraSter> I want to be enriched
[03:20:37] <OndraSter> PLEEASE
[03:20:37] <Sefid_Par> He does not tell.
[03:20:44] <theos> he just needs to see a square wave which has high at 28v and low at -28v. every other parameter can be anything
[03:21:02] <Sefid_Par> hahaha
[03:21:10] <CapnKernel> What input voltages do you have?
[03:21:30] <Sefid_Par> :)) I do not even know.
[03:21:43] <CapnKernel> Well you better ask him then!
[03:21:45] <CapnKernel> Ask him the switching frequency
[03:21:53] <Sefid_Par> ok
[03:21:57] <CapnKernel> And the required current
[03:24:27] <CapnKernel> OndraSter: Enrichment program.
[03:24:28] <CapnKernel> Because U-238 is just pesky and no fun.
[03:24:56] <CapnKernel> U-238 is the party pooper of isotopes.
[03:43:39] <CapnKernel> atommann: hi
[03:44:28] <OndraSterver2> eeeeya
[06:21:00] <kunguz> I am trying to compile avr-libc in my linux machine. I have avr-gcc and avr-binutils. I keep getting "configure: error: cannot compute suffix of object files: cannot compile" in configuration. Here is my config.log http://sudrap.org/paste/text/177048/
[06:21:11] <kunguz> I couldn't make sense of the error
[06:22:05] <kunguz> /tmp/ccEoJQDm.s:13: Error: too many memory references for `in'
[06:22:15] <kunguz> /tmp/ccEoJQDm.s:19: Error: no such instruction: `ldi r24,0'
[06:22:19] <kunguz> are the error lines
[06:28:21] <kunguz> any ideas=
[06:28:23] <kunguz> ?
[06:30:21] <specing> lol autotools... blegh
[06:38:46] <theos> no such instruction: `ldi r24,0'
[08:58:31] <Tom_itx> looks like CapnKernel had fun today
[09:05:34] <specing> Yeap and that in entertainment powered from the renewable and sustainable source also known as clueless people ;)
[09:06:59] <Tom_itx> we should never run out of energy then
[09:07:42] <Tom_itx> they have been out in force on the road this week as well
[09:08:11] <Tom_itx> they may as well quit painting lines on the road
[09:19:26] <CapnKernel> Not nearly so much fun as in #kicad today
[09:20:39] <CapnKernel> We got visited by a "furry", who INSISTED on the use of the most ridiculous emoticons ever, in EVERY sentence.
[09:20:59] <CapnKernel> I would have kicked him if I could have, instead I left #kicad
[09:21:06] <Tom_itx> ( . )
[09:21:08] <Tom_itx> like that?
[09:21:10] <specing> :O
[09:21:23] <CapnKernel> Tom_itx: Yours is only a belly button. His was boobies
[09:21:40] <Tom_itx> pepsi was good at that
[09:22:49] <CapnKernel> Anyone here also in #kicad?
[09:22:58] <specing> Noep
[09:23:11] <CapnKernel> I wanna know if it's safe to go back.
[09:23:22] <specing> hehe
[09:23:52] <specing> there is /ignore, you know
[09:24:03] <CapnKernel> I still get other people in the convo
[09:24:21] <CapnKernel> And I'd be quite happy to talk KiCad, that's why I'm there.
[09:24:24] <Tom_itx> and they drag it into other channels :)
[09:25:14] <CapnKernel> Sefid_Par was interesting
[09:26:17] <CapnKernel> I have several theories, none of which are any good.
[09:27:02] <Tom_itx> clueless?
[09:28:11] <Tom_itx> you still in china or did they give you the boot again?
[09:31:58] <CapnKernel> Here for another month
[09:32:43] <CapnKernel> Well I don't think his knowledge of electronics was all that great; seemed to think an op-amp was some kind of voltage generator, and in one of his schematics, he'd shorted out some resistors.
[09:33:03] <CapnKernel> But he also seemed to be living in some sort of vague "spec vacuum"
[09:33:19] <CapnKernel> Where even he couldn't find out what he was being asked to do.
[09:33:42] <CapnKernel> His info said the name of "Mahommed" (or similar)
[09:34:08] <CapnKernel> I asked him how the enrichment program was going, and suggested he was busy off speaking with the president, but he didn't take the troll.
[09:34:34] <CapnKernel> In fact he ran with he troll, which was kind of cute.
[12:00:55] <OndraSter> CapnKernel, heya there, I shall have moneyz for the boards soon!
[12:04:00] <OndraSter> I am wondering about domains - usually after they expire they go to redemption period. But not the one I am watching - it has been in the redemption period BEFORE it expired?!
[15:13:06] <OndraSter> Atmel, Y U NO OFFICIAL XMEGA @ 64MHZ! :P
[15:13:11] <OndraSter> they (almost all) work on those clocks
[15:13:44] <Steffanx> OndraSter: ARM :P
[15:13:50] <OndraSter> heh
[15:13:54] <OndraSter> that is one option, yes
[15:14:17] <OndraSter> there is still place for xmega
[15:14:44] <OndraSter> if xmegas came closer in price to regular megas (although the D4 and similar series are cheaper than regular megas!) megas could be left off
[15:15:55] <Steffanx> Except for the fact some still prefer dip, OndraSter
[15:16:00] <OndraSter> hmm
[15:16:07] <OndraSter> also xmega = no 5V IO
[15:16:18] <OndraSter> but really nowadays everything runs on 3b3 just fine
[15:16:19] <OndraSter> 3v3
[16:24:53] <Pyms`> how do you uninstall avrstudio 4?
[16:26:02] <Steffanx> Use the standard software removal tool from windows
[16:26:38] <Pyms`> thx