#avr | Logs for 2013-06-15

Back
[00:42:36] <Roklobsta> well, time to get the jtag and see if the preemptive kernel thingy i have written works as advertised.
[00:51:54] <xrosnight> hello guys. Is there any tutorial about how to learn AVR on linux platform ??? Many thanks :)
[01:19:19] <Roklobsta> xro: first, have a read of AVR ISA and the specific chip docs.
[01:19:25] <Roklobsta> understand the chip.
[01:19:41] <Roklobsta> hello norway
[01:20:37] <Roklobsta> then look at other peoples code and read up on http://www.nongnu.org/avr-libc/user-manual/index.html
[01:20:46] <Roklobsta> and ask lots of q's here.
[06:35:42] <RikusW> megal0maniac_afk: seems your parcel in in CT hub
[06:35:49] <RikusW> *is
[07:01:54] <cart_man> Is there anyone who ever implemented a DS1307 RTC with an AVR?
[07:02:35] <cart_man> RikusW: Hey Rikus have you ever used a DS1307 with AVR?
[07:10:39] <RikusW> hi
[07:10:44] <RikusW> no
[07:11:35] <braincracker> yes, anyone implements rtcs every day in avr
[07:15:02] <RikusW> http://en.wikipedia.org/wiki/Loongson
[07:17:04] <braincracker> http://en.wikipedia.org/wiki/AMULET_microprocessor
[07:20:42] <braincracker> Badaboom, sup?
[07:20:54] <Badaboom> morning
[07:21:03] <Badaboom> bad chest pains this morning
[07:21:45] <Badaboom> I think i just slept wrong
[07:21:58] <Badaboom> How are you?
[07:31:38] <braincracker> Badaboom <= http://www.youtube.com/watch?v=1jwH6a6b3wg
[07:39:44] <Badaboom> resistance training using rice and a backpack
[07:55:31] <inflex> evening Badaboom
[07:58:21] <ColdKeyboard> Guys I need your help. I want to make a target board that will detect when the acrylic sheet is hit by a piece of paper
[07:58:28] <ColdKeyboard> What type of sensor should I use?
[07:58:57] <ColdKeyboard> The target area should be about 5x5cm or larger
[07:59:00] <Badaboom> Inflex: hello
[07:59:23] <Badaboom> I think i have a part for you, john will be over today
[07:59:49] <inflex> okay, I'd be sincerely appreciative. Still nothing back from the China group I emailed
[08:00:58] <Badaboom> Yeah, hes coming this afternoon and had a ton of boards he insists the connector is correct from. Ill have to desolder it and then get with you on monday to get an address
[08:02:42] <Badaboom> but obviously ill match it forst and take some photos to make sure
[08:02:48] <Badaboom> first
[08:08:17] <braincracker> h
[08:09:14] <Badaboom> i
[08:09:27] <braincracker> did your workout ?
[08:09:35] <Badaboom> huh?
[08:09:48] <Badaboom> I don' have that many bags of rice
[08:09:52] <Badaboom> lol
[08:09:58] <braincracker> well you can do it without that
[08:10:12] <braincracker> you add rice when it gets too easy
[08:12:12] <Badaboom> rgr
[08:12:58] <braincracker> as a side effect your muscles will look like that guy's after a few month
[08:13:27] <Badaboom> nice
[08:13:35] <ColdKeyboard> Conserning me question above, could I use speaker and microphone. Let speaker emit sound under 20Hz or over 20KHz and use michrophone to pick that sound bouncing back from "paper ball"?
[08:14:26] <braincracker> well a pieszo can receive ultrasouns above 20kHz
[08:14:48] <braincracker> you can make a distance meter with a piezo speaker
[08:15:28] <braincracker> 9piezo
[08:15:43] <braincracker> *
[08:17:43] <ColdKeyboard> And the microphone can recieve from 20Hz to 20KHz?
[08:18:02] <braincracker> not really
[08:18:04] <theBear> you aint gonna find a speaker you can lift that goes under 20hz
[08:18:17] <braincracker> electret is used down to 80-120Hz
[08:18:40] <braincracker> dynamic mic can go down to 20Hz, but you don't want that
[08:19:02] <ColdKeyboard> theBear: Ok, so I can go over 20KHz with 75mm 8ohm speaker that I have?
[08:19:08] <braincracker> air currents will saturate the input
[08:19:26] <braincracker> ColdKeyboard<= no.
[08:19:53] <braincracker> only special dome speakers can go above 20kHz
[08:19:57] <theBear> i didn't say that either
[08:20:09] <braincracker> and piezo is better at high frequencies
[08:20:11] <theBear> piezo are the only things practical above 20khz
[08:20:54] <ColdKeyboard> braincracker: So I'm thinking about placing speaker behind the pieze, and they will have same orientation, so when object comes close to the board it will reflect the sound and the piezo in front of the sound sorce will pick it up.
[08:21:27] <ColdKeyboard> I'm thinking of placing the piezo in front of the sound source because piezo is much smaller than the speaker so I can't place it behind it because then it will be blocked by the source
[08:21:30] <theBear> use the piezo to send and receive
[08:22:09] <ColdKeyboard> theBear: How large "sensing" area can I get with that? I want my target to be at least 5x5cm
[08:23:16] <braincracker> http://www.tradevv.com/chinasuppliers/uniontech_p_6ae3b/china-Tweeter-speaker-UT-T-1504.html
[08:23:18] <theBear> consider a radar... it can sense many km's in all directions, but may be a couple feet wide
[08:23:28] <braincracker> this will go up to 20-24kHz
[08:24:00] <braincracker> it has a brain slicing scream
[08:24:27] <braincracker> (there are 150-300W versions)
[08:26:00] <braincracker> and piezos give cleaner sou8nd above 16kHz http://ohlycon.en.made-in-china.com/product/CeoJVYkUJmHR/China-Piezo-Speakers-DL60-005-.html
[08:28:15] <ColdKeyboard> Ok, so basicly I can use Pizeo to send and also to recieve the sound reflecting from the object. Is there away I can limit it's range?
[08:28:30] <theBear> no
[08:28:39] <braincracker> timeout
[08:28:46] <theBear> you can ignore certain things tho
[08:29:22] <braincracker> range will be limited by rules of physics
[08:29:59] <ColdKeyboard> Ok, I think I got the point, I'll get on it now and try to make something :)
[08:30:17] <ColdKeyboard> Thank you theBear and braincracker, you were realy helpfull :)
[08:33:40] <braincracker> intensity will be proportional to inverse square of distance
[08:34:00] <braincracker> limited enough ?
[08:46:21] <ColdKeyboard> braincracker: I guess, I'll try also measuring the distance with timer, that could also limit the distance :)
[08:46:58] <braincracker> so you are building a sonar
[08:47:08] <braincracker> yes, a timeout will do
[08:47:23] <braincracker> wait like 1-2s to be sure nothing will be reflected then
[08:47:36] <braincracker> 340m/s
[08:48:19] <theBear> doesn't sonar imply underwater ?
[08:48:51] <Tom_itx> don't forget to calculate your altitiude, barometric pressure and be sure to divide the result by 2
[08:49:06] <Tom_itx> or your distance will be 2x what you think it is
[08:49:39] <Tom_itx> theBear remember the polaroid instamatic cameras?
[08:49:43] <Tom_itx> those were sonar
[08:50:01] <Badaboom> Sonar implies sound i thought
[08:50:09] <Tom_itx> uh huh
[08:50:12] <theBear> Tom_itx, seriously ?
[08:50:18] <Tom_itx> dead
[08:50:21] <theBear> damn !
[08:50:36] <Tom_itx> they were good for about 26 feet
[08:50:42] <theBear> oh (not the cameras) sonar sound, radar radio... yeah k, i concede
[08:51:07] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/largebot/largebot_index.php
[08:51:11] <Tom_itx> one such sensor
[08:51:12] <theBear> wait, DO i remember them ? they were the ones that develop before your eyes ?
[08:51:22] <Tom_itx> uh huh
[08:51:49] <braincracker> theBear<= radar is electromagnetic sonar
[08:52:07] <Tom_itx> iirc they had 3 different control boards thru their lifespan
[08:52:19] <theBear> electromagnet/radio, potato potato
[08:52:21] <Tom_itx> i've got 2 of them
[08:52:26] <Badaboom> ultrasonic is defined by anything thats not audible
[08:52:31] <Badaboom> ?
[08:52:36] <braincracker> >20kHz
[08:52:54] <Badaboom> exactly
[08:53:10] <braincracker> bats probe the air with ultrasound screams too
[08:53:19] <Badaboom> http://hyperphysics.phy-astr.gsu.edu/hbase/sound/usound.html
[08:53:36] <Badaboom> 2nd para down
[08:53:39] <braincracker> you make an ultrasound sonar, fuck around outside, see how bats will snap into the ground
[08:53:40] <braincracker> :)
[08:53:54] <theBear> just clapping is enough to mess with bats
[08:53:58] <Badaboom> lmaio
[08:54:23] <Badaboom> Send out a doppler:):)
[08:54:55] <Tom_itx> http://acroname.com/robotics/parts/R14-SONAR1.html
[08:54:59] <Tom_itx> polaroid sonar
[08:56:03] <theBear> well something new every day
[08:56:22] <Tom_itx> you probably can't find em anymore
[08:57:11] <Tom_itx> they sent out a multi frequency pulse
[08:57:47] <Badaboom> remember that movie The Core? Now that ship had ultrasonics:)
[08:58:31] <Tom_itx> it will travel further/faster undewater
[08:58:44] <Badaboom> sound in general
[08:59:41] <braincracker> infrasound travels far iunderwater
[08:59:59] <braincracker> whales communicate by that too
[09:00:43] <braincracker> btw whales die after underwater nukes
[09:01:13] <Tom_itx> the ones that do it are in public denial too
[09:02:35] <Tom_itx> well i was thinking of high powered underwater sonar blasts
[09:02:59] <Badaboom> http://www.divinecaroline.com/entertainment/elephants-communicate-seismically-through-their-feet
[09:05:15] <braincracker> so random(10-85kHz) ultrasound at 150+-random(50) pulses/second for bat jammer ?
[09:05:16] <braincracker> :)
[09:05:37] <theBear> don't be mean to bats
[09:06:31] <Horologium> bats eat bugs
[09:06:34] <Horologium> bugs is bad
[09:06:38] <Horologium> therefore, bats is good.
[09:08:39] <theBear> heh, that'll do
[09:09:58] <Horologium> besides, it's fun telling girls that the bats will get tangled in their hair unless they tie it up in piggie tails.
[09:10:53] <theBear> lol
[09:13:32] <Badaboom> your sick, i like it
[09:17:59] <Horologium> it's a natural gift.
[09:18:10] <Horologium> and it's "you're"
[09:19:33] <theBear> totally, your correction is accurate :-) you're quite the speller !
[09:20:29] <Horologium> The correct term of affection is Grammar Nazi.
[09:21:15] <theBear> i AM fond of nazis
[09:21:18] <Badaboom> your
[09:22:42] <theBear> you're
[09:22:47] <theBear> actually
[09:22:52] <theBear> you aint getting this at all
[09:22:57] <Badaboom> I know bear
[09:23:07] <theBear> i don't think you do :) big bada boom !
[09:24:05] <Badaboom> When i type an essay or a letter i expect spelling and grammer check, not in irc
[09:24:25] <Horologium> Always expect the unexpected.
[09:24:38] <Badaboom> lol
[09:24:54] <Badaboom> Did you finish Avatar?
[09:25:03] <Horologium> yup.
[09:25:09] <Badaboom> :)
[09:25:13] <theBear> there's pointless checking, then there's being understood
[09:25:49] <Badaboom> Left over potroast for breakfast:)
[09:26:11] <Horologium> 3 egg omelette with cheese and ham and tomatoes and bell peppers
[09:26:18] <Badaboom> Nice
[09:26:24] <braincracker> your sick minds
[09:27:01] <Horologium> A mind is a terrible thing.
[09:27:14] <Horologium> "This message brought to you by the united sicko college fund."
[09:27:29] <Badaboom> lmao
[09:28:04] <Horologium> How is it that they could have the united negro college fund but not the united white boy college fund?
[09:28:28] <Badaboom> lol
[09:28:31] <Badaboom> No idea
[09:28:41] <Badaboom> Honkey Fund?
[09:29:07] <theBear> cracker fund, but i'd probly just spend it on bikkies
[09:38:04] <systemerror> hi all
[09:39:16] <Horologium> well,,time to go outside and do something in the real world before the fluffy things up in the sky move away and reveal the giant nuclear fireball of destruction.
[09:42:13] <systemerror> avrdude -p usb1287 -c dragon_jtag -P usb -e -U hfuse:w0x19:m -U lfuse:w0xCE:m -U efuse:w:0xF3:m
[09:42:13] <systemerror> avrdude: usbdev_open(): did not find any USB device "usb"
[09:42:13] <systemerror> root@
[09:42:32] <systemerror> how to make use with ISP
[09:42:33] <systemerror> ?
[09:43:12] <theBear> erm, don't choose the jtag option for a start
[09:45:37] <systemerror> what modigy this line ?
[09:46:23] <theBear> jtag is an alternative (in regards to programming) to isp .... that won't fix the error, but it's a start
[10:55:42] <beaky> jello
[10:55:47] <beaky> hello*
[10:55:52] <beaky> I am using peter fleury's excellent LCD library
[10:56:11] <beaky> but it only supports one global LCD object, whereas the arduino library lets you have as many LCD objects as needed
[10:57:04] <beaky> or can peter fleury's excellent LCD library be made to have more than 1 LCD around?
[12:18:18] <Engen> Tom_itx: you there?
[12:18:46] <flop> what are my options to create my own AVR programmer/debugger?
[12:18:53] <OndraSter_> DAPA
[12:18:58] <OndraSter_> avrjtagice mkI
[12:19:01] <OndraSter_> avrisp mkI
[12:19:03] <theBear> create or build ?
[12:19:13] <braincracker> DASA3F
[12:19:14] <braincracker> :)
[12:19:27] <theBear> i can string letters and numbers together too !
[12:19:40] <theBear> ARTC4S
[12:19:46] <theBear> YURHU
[12:19:49] <braincracker> this is actual thing
[12:19:55] <braincracker> serial isp
[12:20:04] * theBear is sceptical
[12:20:08] <braincracker> ahaha
[12:20:09] <theBear> DARPA
[12:20:15] <braincracker> wait i show you
[12:20:22] <theBear> heh, it's cool, i believe you
[12:22:26] <braincracker> hmm
[12:22:26] <braincracker> http://tinypic.com/view.php?pic=rjh66a&s=6
[12:22:38] <braincracker> sometimes there are 666's all around me
[12:22:42] <braincracker> anyway
[12:22:49] <braincracker> theBear <= there is your DASA3F
[12:23:49] <theBear> hmmm, looks familiar, but not with a fet
[12:23:54] <theBear> like the pony serial isp
[12:24:19] <braincracker> the 'F' adds a fet to the DASA3
[12:24:58] <braincracker> less components
[12:25:47] <theBear> haha !
[12:26:11] <braincracker> the 10k from gate to gnd is optional too
[12:26:23] <braincracker> if it is plugged in then not needed
[12:26:36] * Casper waves at theBear
[12:27:02] <Casper> hey theBear, are you familliar with PA system (70v) :D
[12:28:42] <theBear> 70/100v line systems, of course, tho not fond of them
[12:28:54] <flop> theBear: to build my own programmer, from scratch
[12:29:32] <braincracker> i own 2 DAPA compatible programmers now
[12:30:03] <braincracker> one has power/tristate feature too supported by avrdude
[12:31:13] <flop> looked at the DAPA, but it's a parallel port programmer
[12:31:20] <braincracker> yes
[12:31:23] <flop> I do not have parallel port anymore
[12:31:33] <braincracker> you need something to program your usb programmers too
[12:31:51] <braincracker> oh, btw do you have serial port? :)
[12:32:04] <flop> yeas, I have pic programmer
[12:32:14] <Tom_itx> Engen,?
[12:32:28] <Tom_itx> was but i'm walking out the door now
[12:32:30] <braincracker> pic programmer? for what?
[12:32:30] <flop> no serial port either
[12:32:45] <flop> only USB on the new computers, unfortunately
[12:32:53] <braincracker> yeah, crap
[12:33:06] <braincracker> (though some still has the pinms hidden on board)
[12:33:52] <Casper> theBear: let's see if you can figure out what was the issue that we fixed when we installed 7 speakers... so we install them, at 1.25W/speaker and 2W in bathroom. first speaker... sound is meh. second speaker is like 8db quietter, third is again 8db even more quiet... the 4th is barelly audible...
[12:34:12] <flop> any way to make an uart programmer using usb-to-serial ftdi chip?
[12:34:20] <braincracker> no
[12:34:24] <Casper> we used phone wires (#24x2 per wire)
[12:34:37] <theBear> Casper, they all parallel, add up to less watts than the amp can provide, set to 70v and amp set/wired to 70v ?
[12:34:43] <Casper> upstair it use the same wire, but only 1 wire per "wire" so more resistance...
[12:34:44] <flop> braincracker: why isn't it possible?
[12:34:44] <braincracker> flop <= you use an usb programmer
[12:34:50] <theBear> hmmm, 24 gauge is a little small, but i assume you did the math
[12:34:54] <Casper> also, in 2 minutes the ampli become too hot to touch
[12:34:56] <braincracker> because usb to serial converters are shit
[12:35:36] <flop> braincracker: ok. anyone done their own usb programmer for the AVR?
[12:35:47] <braincracker> sure
[12:35:50] <braincracker> Tom_itx
[12:35:54] <Casper> theBear: so, do you have an idea of what was wrong? :D (and yes, we did searched, found, and fixed)
[12:35:57] <flop> open source?
[12:35:59] <braincracker> if you just want one, ask him out
[12:36:03] <theBear> lots of people, you still gotta program the avr that does it
[12:36:13] <theBear> braincracker, hehe, like, for dinner or a movie ?
[12:36:25] <braincracker> that is his decision
[12:36:28] <braincracker> ;>>
[12:36:44] <theBear> Casper, pfft, could be a bunch of things, but i gonna go with wrong output on amp, or you just generally did something stupid :)
[12:37:10] <Casper> theBear: the issue was: the transfo was in reverse direction...
[12:37:21] <Casper> i.e. signal on secondary
[12:37:34] <theBear> oh, external transformer, even more horrible
[12:37:44] <theBear> suppose it means you don't have a stupid stupid 24v amplifier tho
[12:38:00] <flop> Tom_itx: looking to build my own programmer. I heard you built your own as well
[12:38:04] <braincracker> flop <= after you have a programmer, you can program your programmer :) recursive dependency
[12:38:58] <flop> braincracker: I actually have a jtagice, but I want to build a "free" one for someone
[12:39:01] <Casper> the secondary have: com, 25V/8ohms and 70V/8ohms we assumed that
[12:39:08] <Casper> the primary have the wattages..
[12:39:18] <braincracker> flop <= usbasp, usbtiny
[12:39:47] <Casper> so we assumed that com/70v was the input, didn't checked the "secondary" printed on the bobin...
[12:41:17] <Casper> theBear: now, weirdly, the ampli run cooler with twice as many speakers (but dropped in wattage, but same audible volume)
[12:41:57] <flop> braincracker: thanx. Taking a look at the design now and comparing the performance/capability
[12:42:09] <braincracker> both work fine with avrdude
[12:42:25] <flop> do they work in AVR studio 6?
[12:42:47] <flop> "atmel studio 6"
[12:43:21] <braincracker> no idea
[12:44:03] <braincracker> i'M on linux
[12:44:53] <braincracker> but you can try avrdude on wincrap too
[12:45:44] <theBear> cocoa powder is awesome ! put it in your mouth and it comes out your nose !
[12:45:54] <braincracker> hm really?
[12:45:57] <braincracker> haven't tried that
[12:46:12] <theBear> it's true !
[12:46:50] <theBear> Casper, easy way to remember is that you using it to run LONG lines, and LONG lines want high voltage, powerline style
[12:47:22] <braincracker> or just current mode drive...
[12:48:47] <theBear> no current mode !
[12:48:57] <beaky> hello
[12:49:19] <beaky> how do I get decimals
[12:49:26] <braincracker> order online?
[12:49:51] <beaky> in my avr
[12:50:23] <beaky> I want to display distance
[12:50:32] <beaky> in cm
[12:50:36] <braincracker> oh
[12:50:51] <flop> so basically the AVRs are programmed over SPI interface?
[12:51:02] <theBear> generally
[12:51:08] <theBear> wait, isp
[12:51:25] <braincracker> http://www.mathsisfun.com/decimals.html
[12:51:37] <braincracker> divide by 10 in a loop and output digits?
[12:52:21] <beaky> ah thanks
[12:52:25] <braincracker> http://stackoverflow.com/questions/12338584/binary-to-decimal-in-c
[12:52:34] <Casper> theBear: with the transfo in the right way, there is barelly any noticable difference between the first and last speaker... so the wire is ok
[12:52:34] <beaky> so I use fix point
[12:52:37] <Casper> not ideal, but ok
[12:53:21] <braincracker> avr-libc can handle float probably, haven't used that yet
[12:53:40] <theBear> Casper, mm probly, since you are doing this to reduce loss the loss is more important than the level, consider that with a normal system you'd be running them mostly in series anyway, therefore all would have equal level regardless of loss
[12:54:26] <Casper> theBear: the ampli go to 30, the normal listening level will be 3 :D
[12:54:47] <Casper> so, its all good now
[12:54:53] <braincracker> sounds like exponential
[12:55:18] <braincracker> or only 1W?
[12:55:55] <Casper> who knows, but sure thing is... it's loud enought
[12:56:00] <braincracker> okey
[12:56:10] <Casper> we tested with some techno, at 15, for like 2 hours
[12:56:14] <Casper> the ampli is now cold :D
[12:56:34] <braincracker> i prefer my speakers having bass too
[12:56:42] <braincracker> that requires a size
[12:57:02] <Casper> they are 6.5" so no that bad
[12:57:10] <braincracker> hm, sounds ok
[12:57:14] <theBear> you don't use 70/100v line setups with 1-5w speakers for bass
[12:57:38] <theBear> you don't use any transformers in the audio path for bass generally
[12:57:44] <theBear> definately not in the power audio path
[12:57:45] <braincracker> never
[12:57:57] <theBear> but if you got a large building or shopping center, you do use that stuff
[12:58:04] <braincracker> no
[12:58:07] <theBear> otherwise you need 100kgs of copper cabling to do it
[12:58:08] <braincracker> :)
[12:58:19] <theBear> or several amps and 10kgs of cable
[12:58:41] <braincracker> how about active amplifier at speaker, and an optical fiber around the mall?
[12:59:17] <beaky> when should I use high voltage programming
[12:59:26] <braincracker> when you like
[12:59:36] <beaky> when would I like that?
[12:59:36] <theBear> how about this is cheap and uses cat5/cat3 cable
[12:59:37] <braincracker> or just want to use the reset pin as input
[12:59:39] <beaky> over ISP or jtag
[12:59:40] <beaky> ah
[12:59:59] <theBear> beaky, you know this, it's not jtag, and its when you program wrong and need to fix a 'dead' chip
[13:00:06] <braincracker> theBear <= that is fine... but optical additionally has ground loop and EMI immunity
[13:00:07] <beaky> so HVP uses the reset pin
[13:00:57] <Casper> HVP is basically the same as SPI
[13:01:05] <beaky> HVP sounds dangerous
[13:01:09] <Casper> but instead of resetting by grounding the reset...
[13:01:13] <Casper> ... it send 12V to reset
[13:01:21] <beaky> heh
[13:01:25] <theBear> braincracker, this is all post amplifier output with a single amp, running at 70v levels, it has no chance for ground loops and less chance of picking up emi than regualr speaker cables
[13:01:25] <Casper> the rest is basically the same
[13:01:39] * theBear is NOT the person to lecture on audio ANYTHING
[13:01:51] <beaky> how come HVP doesn't need a baud rate like ISP does
[13:02:05] <theBear> isp doesn't have a baudrate
[13:02:23] <braincracker> theBear <= by EMI i mean EMP, nearby nukes, sun activity
[13:02:38] <braincracker> radio interference is small
[13:02:47] <Casper> braincracker: differential signaling should make it immune to EMI if the cable is ok and have a proper amp
[13:02:52] <theBear> braincracker, nevertheless, it's less likely to be effected than regular lines until it's perhaps 50-100 times the length, and that's just stupid
[13:03:39] <theBear> mmm, and on reflection it IS differential, and lightly twisted, so it'd have to be 100's of times longer
[13:03:51] <braincracker> you call my diamond tools stupid too? they will last 10 years in active use
[13:04:17] <Casper> I also discovered something yesterday
[13:04:31] <Casper> the probe we used to identify the network cables...
[13:04:44] <Casper> ... if you put it on the speaker wire... you hear the music!
[13:04:46] <theBear> my regular tools last 10+ years of active use, maybe you're a monkey ?
[13:04:59] <theBear> Casper, yeah, that'll happen
[13:05:13] <Casper> you know, those contactless probes...
[13:06:03] <Casper> so it's basically an AM radio, without the tuner
[13:06:10] <theBear> i do... it's the transmitter that's special, the probes are simple
[13:06:19] <theBear> well not special, just not simple
[13:06:26] <Casper> the transmitter is probably only a 555
[13:06:27] <theBear> wooblewooblewooble
[13:06:33] <theBear> at least 2 of them :)
[13:06:40] <Casper> or a 556
[13:06:55] <theBear> indeed :)
[13:08:41] <braincracker> Casper <= you mean some test sqaure thing ? a cd4093 will do
[13:14:14] <Casper> it's basically a 8V p-p squarewave that it inject in the cable (via some unknown resistor)
[13:14:23] <Casper> with an option for 1 and 2 tones
[13:15:14] <Casper> it also can test the cable, by sending power on each wire... that one puzzle me a bit on how it do it, as it show the 8 wires individually
[13:15:35] <Casper> probably some diodes to combine the grounds
[13:15:55] <theBear> it's a standard warbler
[13:15:56] <braincracker> you are talking about a cat5 cable tester?
[13:16:02] <Casper> probe kit
[13:16:12] <Casper> with cable tester
[13:16:14] <theBear> aka linemans cable tracer
[13:16:30] <Casper> I'll borrow it to ATTEMPT to trace a wire in the wall at home
[13:16:38] <Casper> attempt is the issue...
[13:16:53] <Casper> lamp cord in the wall, possibly going to an in-wall junction box
[13:37:52] <beaky> How do I build a simple alarm clock with avr
[13:40:28] <braincracker> build an RTC clock, decrement your alarm time
[13:40:36] <braincracker> alarm if zero
[13:45:06] <braincracker> yo OndraSter_
[13:56:29] <flop> anyone managed to get free samples from atmel?
[13:57:17] <theBear> do you deserve free samples ? have you got a valid need and a desire to purchase in bulk if they satisfy you ?
[13:57:36] <theBear> or are you just making it harder for those of us who do have valid reasons ?
[13:58:14] <braincracker> building necklace
[13:58:18] <braincracker> and stuff
[13:59:09] <specing> flop: yes, abcminiuser
[13:59:13] <specing> he did
[13:59:41] <flop> but he works for atmel!
[14:00:10] * theBear doesn't approve of sample abuse
[14:00:18] <theBear> it's arguably worse than stealing
[14:00:39] <theBear> but now i need hot chocolate and a movie
[14:00:43] <specing> flop: yes, that is the only way you'll get them
[14:01:04] <specing> theBear: Why would it be worse than stealing?
[14:01:28] <specing> 20$ is nothing if you make one person learn your architecture
[14:01:32] <flop> specing: we can start bribing abcminiuser :P
[14:01:37] <theBear> specing, because it's stealing AND being dishonest
[14:01:55] <theBear> well, usually, if you are honest and you get samples, i have no problem
[14:02:08] <flop> theBear: what is dishonest to want some samples to try their products?
[14:02:11] <theBear> but most people aren't honest
[14:02:36] <flop> theBear: most are leechers
[14:02:40] <theBear> flop, if you tell them that and they agree, that's fine, most people that don't have a legitimate business related reason lie and makeup company names and reasons etc etc
[14:02:51] <theBear> this is why i said sample ABUSE
[14:03:09] <flop> theBear: ah. But I work for a business
[14:03:17] <theBear> most people do
[14:03:52] <theBear> but working at macdonalds isn't a legitimate reason for sampling electronic components, for example
[14:04:05] <flop> theBear: and I use microcontrollers, just not atmel at the moment
[14:04:31] <theBear> of course saying "i'm a hobbiest and i'm interested in your product" or "i do X for a living and was considering using your product for Y project" is quite reasonable
[14:04:50] <braincracker> http://www.etsy.com/listing/99370133/heart-shaped-circuit-board-necklace http://www.toxel.com/inspiration/2010/04/16/recycled-circuit-board-creations/
[14:05:28] <flop> theBear: what about getting familiar with the architecture in hope to use their products in future product development?
[14:05:28] <theBear> and from what you just said, i'd say write to them and ask, tho these days you don't have much chance because of the amount of fraudulent and general abusive sampling over the last 10 or 20 years
[14:05:40] <theBear> flop, mmm, that's fine, that's not abusing the system
[14:05:57] <theBear> but like i say, with most companies it's already too late due to others abusing
[14:06:18] <theBear> having had professional reasons to desire samples in the past, i feel strongly about this...
[14:07:04] <flop> theBear: but microchip is still nice with their sampling, they send you tons of their microcontrollers that I got feed up with getting them
[14:07:32] <theBear> flop, that's one, and well, they need to cos pics suck <grin> many others are not so desperate
[14:07:34] <theBear> but really, i need a hot chocolate and a movie, so everyone be good and don't abuse things
[14:08:17] <flop> theBear: no, they don't. they have their pic32 series which are very nice and easy to use.
[14:09:34] <specing> theBear: don't whine :)
[14:09:37] <flop> well, "not so easy", but they don't have segmented memory which can be a piss off
[14:09:55] <specing> TI just got me hooked onto their ARMs
[14:10:05] <specing> Haven't done AVRs in ageeees
[14:10:06] <flop> specing: which line?
[14:10:13] <specing> stellaris
[14:10:17] <specing> the ones on launchpads
[14:10:28] <flop> aren't these dead?
[14:10:34] <specing> "dead"?
[14:10:51] <flop> they don't have links for stellaris anymore I think
[14:10:59] <specing> really?
[14:11:04] <specing> I got them in december
[14:11:13] <flop> we are in june!
[14:12:14] <specing> https://estore.ti.com/Stellaris-LaunchPad.aspx
[14:13:22] <flop> yeah, they call it tiva now
[14:14:57] <specing> whatever, these two devkits will be enough to feed my non-Linux ARM interests for several years
[14:15:34] <flop> which is your other arm dev kit?
[14:18:39] <flop> theBear: atmel should be nicer to hobbiest
[14:20:33] <braincracker> http://www.ti.com/tool/tmdsevm3730
[14:20:35] <braincracker> lol no thanks
[14:25:55] <specing> flop: uni's ATMEL AT91SAM9260 armv5te at 192 MHz
[14:27:17] <theBear> flop, way i see it, all my time hobbying (before, during and after working professionally in this area) i never had a problem spending a few bucks on a part
[14:27:30] <theBear> even now i'm a pensioning cripple, few bucks isn't unreasonable
[14:32:24] <flop> theBear: but the bucks add
[14:33:00] <flop> theBear: and electronics can be an expensive hobby
[14:33:43] <beaky> electronics isn't as expensive as some other hobbies
[14:33:50] <beaky> like racing
[14:34:14] <flop> but more expensive than most ordinary hobby
[14:34:14] <beaky> but a bit pricier than programming, since you must buy all those hardware
[14:34:15] <beaky> ah
[14:34:28] <flop> including tools and equipment
[14:34:34] <flop> and a computer
[14:35:43] <beaky> an oscilloscope and good soldering station doesn't come cheap
[14:35:54] <flop> that's right
[14:36:01] <beaky> but the components themselves are usually cheap (except for stuff like transducers)
[14:36:27] <flop> yeah, they are cheap but add up quickly
[14:37:02] <flop> unless you salvage them off usued PCB
[14:37:08] <flop> unused
[14:38:23] <flop> and most of the time you will want to buy a bunch of the same part to get volume price
[14:46:33] <beaky> when would I use output compare over PWM
[14:52:53] <flop> when you want constant pulse width?
[14:53:43] <beaky> ah
[14:57:18] <beaky> I love PWM
[14:57:21] <beaky> PWM is so easy
[14:57:31] <beaky> its as simple as setting a couple of registers
[14:57:37] <beaky> but output compare is more complex
[14:59:16] <flop> same thing
[14:59:26] <flop> not much more complex
[16:28:29] <beaky> hello
[16:28:34] <beaky> how do I do timing in software
[16:33:00] <specing> bro, do you even browse?
[16:38:02] <beaky> http://ideone.com/ByR6cX
[16:38:23] <beaky> I am trying to measure the amount of microseconds passed in a high signal
[16:38:34] <beaky> lines 25-27
[16:39:53] <beaky> but it seems my timing is off
[16:44:32] <specing> use a timer and pin change interrupts for that
[16:45:33] <beaky> ah
[16:45:46] <beaky> now it seems obvious in hindsight :(
[16:48:35] <beaky> input capture woud be ideal or this
[16:48:46] <beaky> but I connected ICP to my LCD... damn
[16:48:56] <beaky> and its soldered
[16:49:17] <beaky> polling and PCINT ftw
[18:22:09] <Horologium> http://qdb.us/262095
[18:37:26] <robotustra> Horologium: 1.7 Tb/sec of garbage
[18:37:39] <Horologium> true.
[18:37:52] <Horologium> but, that describes 80% of the internet.
[18:38:45] <robotustra> internet made of penices
[18:39:29] * robotustra wander how human female penice look like
[18:42:16] <Horologium> a girl is just a boy after a doctor broke it off when the child was born.
[18:42:32] <Horologium> didn't your mommy teach you anything??
[18:44:00] <robotustra> I don't already remember, it was too long time ago
[19:19:23] <seldon> 1,687,500,000,000,000 bytes/sec = 1,687.5 TerraBytes/sec <-- actually Petabyte/s.
[19:19:49] <seldon> Although their other numbers are off as well.
[19:20:54] <Roklobsta> pedant
[19:21:36] <seldon> Quite so.
[19:21:56] <Roklobsta> Joke
[19:22:01] <Roklobsta> ----->>>>>>>>>>>>>>>>>>whooooosh
[19:22:02] <Roklobsta> You
[19:23:27] <seldon> Yes, the joke was so complicated that I didn't understand it.
[19:23:54] <Horologium> humor, attempt at, one each.
[20:57:52] <beaky> hello
[21:02:24] <beaky> http://ideone.com/UI8Hz9 How do I average my sensor readings? When I try to average it using an accumulator and a for-loop, my whole thing freezes
[21:03:35] <Tom_itx> maybe the numbers are getting too big
[21:03:45] <Tom_itx> for the var you're using
[21:03:49] <beaky> ah
[21:03:55] <beaky> so I am overflowing
[21:04:12] <beaky> damn what can I do in that case? :(
[21:04:59] <beaky> maybe I can average things in a different way
[21:06:19] <beaky> or use a multiprecision library
[23:05:23] <Engen> Tom_itx: you there?