#avr | Logs for 2016-09-03

Back
[00:55:25] <dgriffi> still trying to make DTMF tones. I found this: http://www.avrfreaks.net/forum/trying-generate-dtmf-tones?name=PNphpBB2&file=viewtopic&t=57182 but am unsure how to make it work for 8-bit samples
[01:54:28] <carabia> dgriffi: 9 years and running?
[04:52:04] <_ami_> sent first linux kernel patch! :D
[05:22:05] <antto> what does it do?
[05:27:30] <_ami_> antto: not much. the patch allows default delay in ledtrig-oneshot to be passed as an argument while loading module.
[05:27:48] <_ami_> e..g insmode ledtrig-oneshot.ko default_delay=100
[05:28:05] <_ami_> this blink value was hardcoded before
[05:28:41] <_ami_> i hope they accept it.
[05:28:51] <_ami_> generally linux maintainers are grumpy.
[05:28:55] <_ami_> Lets see.
[05:31:13] <_ami_> maintainer of linux-leds module work in my company but in different overseas center. Although i did not mention my work email id in the patch since it requires me to get *BS* approval
[05:34:52] <_ami_> antto: did you use mutt tool to send email to linux kernel mailing list?
[05:35:09] <_ami_> in my case, mutt sends two emails.. don't know what is wrong.
[05:35:19] * _ami_ googles
[05:35:46] <_ami_> i run mutt once but in result it sends two emails.
[05:58:35] <antto> _ami_ sorry, i asked out of curiosity, i have no idea about any kernels
[06:27:51] <Lambda_Aurigae> anybody here live in or wish to move to Iowa? I have a job opening at work.
[07:12:11] <_ami_> antto: np
[07:18:39] <dgriffi> carabia: I haven't been on this quest that long.
[07:33:21] <_ami_> Lambda_Aurigae: only for people living in USA?
[08:52:14] <Lambda_Aurigae> _ami_, well, the job is based in Iowa,
[08:52:15] <Lambda_Aurigae> USA
[08:52:21] <Lambda_Aurigae> so, you would have to move here.
[08:52:37] <Lambda_Aurigae> it's a Systems Analyst/Copier Repair Tech job.
[08:53:12] <Lambda_Aurigae> https://premierofficeequipment.applicantpool.com/jobs/97821.html
[08:54:07] <Lambda_Aurigae> I think it starts around $18.00 per hour plus benefits, car allowance, gas card, commissions, and bonus.
[08:54:34] <Lambda_Aurigae> this month I got 550 in bonus and 175 in commissions.
[15:25:54] <ub|k> i'm reading ADC data from 2 different channels. i'm noticing interference between the two of them. i'm using the ADC_vect ISR
[15:26:28] <ub|k> with TCCR1B set to prescaler /8, CTC (OCR1A)
[15:26:37] <ub|k> atmega328p
[15:27:00] <ub|k> ocr1a is being set to 91
[15:27:12] <ub|k> which results in ~22kHz
[15:27:59] <ub|k> and i'm switching ADMUX back and forth between each channel
[15:29:37] <ub|k> any clue as to what may be happening?
[15:34:42] <ub|k> maybe i'm hitting some limit?
[15:35:23] <DKordic> ub|k: For example, noise could be carried through AVCC.
[15:36:27] <DKordic> IIRC there is even a Sleep Mode for ADC measurements.
[15:36:51] <ub|k> DKordic: i've added the usual cap between AVcc and GND
[15:36:58] <DKordic> Read again about ADC MUX.
[15:37:36] <DKordic> Cap is not enough.
[15:37:39] <ub|k> it looks clearly as if i'm receiving values that should be from the other channel
[15:37:51] <ub|k> the values are very similar
[15:38:37] <ub|k> sorry, i mean AREF not AVcc
[15:38:46] <DKordic> Read again about ADC MUX.
[15:39:24] <DKordic> It needs some time to... setup.
[15:41:07] <DKordic> ub|k: Search through the Application Notes section of it's home page. Also take a look in the Errata at the end of DS, just in case :) .
[15:41:25] <ub|k> anyway, maybe i can put it in free running mode
[15:41:30] <ub|k> DKordic: whose homepage?
[15:41:44] <DKordic> ATmega328P home page.
[15:42:44] <ub|k> ok, thanks
[15:43:24] <DKordic> BTW it is not clear to me what kind of ``interference''.
[15:46:24] <ub|k> DKordic: e.g. the ADC registry returning values from another channel (when ADMUX says otherwise)
[16:14:14] <rue_house> it seems to me that in some docs, the channels are mixed up
[16:14:20] <rue_house> ground ALL unused channels
[16:14:39] <rue_house> so you know, caue the capacitance will cause adjacent channels to show verry convincing signals
[17:46:25] <Lambda_Aurigae> with adc, also, there is settling time when switching channels.
[17:46:41] <Lambda_Aurigae> you need your AVCC seriously isolated from VCC too.
[17:46:58] <Lambda_Aurigae> either a separate power supply or some major filtering.
[18:08:18] <cehteh> that major isnt that much, but still something one should do ..
[18:08:27] <cehteh> cap on AREF is also a good idea
[18:14:51] <Lambda_Aurigae> all depends on how much noise your app can handle I suppose.
[18:41:35] <postmodern> i'm having trouble getting fedora to recognize my USBTinyISP. dmesg shows the device as USBTiny, but no /dev/ttyUSB3 device gets created?
[18:49:45] <Casper> postmodern: not all devices create a ttyUSB, are you sure that it should be recognised that way?
[18:50:23] <postmodern> Casper, yes, that's how i used it with avrdude in the past
[18:58:51] <postmodern> Casper, ah nevermind, i tried using avrdude -c usbtiny and that worked
[19:04:30] <postmodern> forgot that -c arduino requires a serial device, usbtiny no longer does apparently?