// #eevblog — 2019-04-06
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
01:48:46 Join: Guest|10380 ([email protected]) to #EEVblog
01:48:53 Part: Guest|10380 ([email protected]) from #EEVblog
01:54:08 Nick: EEVBlog1 is now known as EEVBlog
01:54:29 <Ampera> EEVBlog time
01:54:29 <EEVBlog> Ah shoot, Doc! We've ended up at 02:00 Sydney time.
02:12:00 Part: IRCStats ([email protected]) from #EEVblog
02:12:01 Join: IRCStats ([email protected]) to #EEVblog
02:59:46 Part: IRCStats ([email protected]) from #EEVblog
02:59:56 Join: IRCStats ([email protected]) to #EEVblog
04:38:49 Join: Guest|29944 ([email protected]) to #EEVblog
04:38:50 Quit: Guest|29944 ([email protected]) Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
04:45:32 Join: randohinn ([email protected]) to #EEVblog
04:45:35 <randohinn> o/
04:46:09 <randohinn> I could use a second set of eyes on some AVR code... https://paste.ubuntu.com/p/CZYyW3YTKF/
04:46:21 <randohinn> See row 121
04:46:40 <randohinn> if I uncomment that... the entire thing just stops working
04:46:45 <randohinn> why?
04:46:53 <randohinn> same happens on timer 2 aswell
04:48:16 <T3sl4> you put a whole fucking millisecond delay inside an interrupt service routine?
04:49:44 <coppice> who would need more than 640us of delay?
04:50:49 <randohinn> end goal is to drive a servo trough this, which.. takes pulses of 1-2 ms :P
04:51:44 <T3sl4> so use timer1 in PWM?
04:51:55 <randohinn> timer1 occupied
04:53:03 <randohinn> And for the heck of it, I could not get timer0 PWM to work
04:53:55 <randohinn> but yeah, the 1ms seems to be it
04:54:04 <randohinn> or OCRA is wrong
04:54:12 <randohinn> OCR0A *
04:54:24 <T3sl4> or prescale is wrong
04:56:01 <randohinn> unable to find a solid tutorial for this, too
05:00:55 <randohinn> I hate timers
05:03:34 <randohinn> I have tried like 10 different examples off of google
05:03:41 <randohinn> to no avail
05:04:27 <randohinn> tried CTC mode, Tried PWM mode
05:04:34 <randohinn> nothing works
05:05:11 <randohinn> T3sl4, how do you even pick the prescaler?
05:05:36 <T3sl4> math
05:06:13 * randohinn has seen like 5 different calculations and is heavily confused
05:06:27 <randohinn> Say on the default settings of an avr
05:06:36 <randohinn> to get a 20ms period
05:08:29 <T3sl4> from what was it, 8MHz clock?
05:10:13 <T3sl4> so 8000000Hz / 50Hz = 160000, too big to fit in a 8 bit (1-256) register, so take out powers of 2 until it is, and that's how many prescaler steps you need
05:10:55 <T3sl4> 160000/256 = 625, next power of 2 is 2^10=1024 (512 wouldn't prescale enough)
05:12:59 <randohinn> okay
05:13:03 <randohinn> that does improve things
05:13:08 <randohinn> it does not crash anymore
05:13:32 <randohinn> But the period is 11 ms now, so OCR0A needs adjustment
05:13:57 <T3sl4> and that gives 8000000/1024=7812.5Hz clock, so the LSB step is 0.128ms
05:14:38 <T3sl4> if you need finer resolution, consider using the timer as a monostable, and toggling between two different timings (prescaler and count)
05:17:01 <randohinn> 128 as OCR0A gives a 17ms period tho
05:18:02 <T3sl4> what's 128
05:19:38 <randohinn> I manually got tho a point where OCR0A = 148;
05:19:39 <randohinn> period is 20ms
05:20:47 <T3sl4> 20/0.128 ~= 156 would seem to be the correct value
05:21:08 <randohinn> ohh, trying it
05:22:12 <T3sl4> if 148 is actually correct, that should give 21.08ms
05:22:22 <randohinn> what?
05:22:24 <randohinn> 156?
05:22:42 <randohinn> somewhere around there, yeah
05:22:49 <T3sl4> which implies your clock is running rather low, even for the internal RC oscillator i think
05:23:43 <randohinn> isn't the default divided, or is my memory wrong?
05:23:54 <randohinn> anyways, this does work, thank you so much!
05:28:01 <randohinn> Now, if only the devices using this signal would arrive...
05:28:09 <randohinn> I'm looking at you, amazon seller...
05:28:33 <T3sl4> :|
05:42:25 Quit: randohinn ([email protected]) EOF from client
05:42:37 Join: randohinn ([email protected]) to #EEVblog
05:42:46 <randohinn> Now, to mcdonalds
05:47:22 Quit: randohinn ([email protected]) Ping timeout: 121 seconds
06:07:06 Join: Bluenote ([email protected]) to #EEVblog
06:28:07 Part: IRCStats ([email protected]) from #EEVblog
06:28:10 Join: IRCStats ([email protected]) to #EEVblog
06:51:07 Part: IRCStats ([email protected]) from #EEVblog
06:51:11 Join: IRCStats ([email protected]) to #EEVblog
07:29:01 Part: IRCStats ([email protected]) from #EEVblog
07:29:01 Join: IRCStats ([email protected]) to #EEVblog
07:31:12 Part: IRCStats ([email protected]) from #EEVblog
07:31:13 Join: IRCStats ([email protected]) to #EEVblog
08:32:56 <T3sl4> Ampera: https://i.imgur.com/aactvCA.jpg
09:28:01 <Ampera> Lushux!!!
11:35:51 Join: cappicard ([email protected]) to #EEVblog
11:53:02 <Halcyon> Morning
11:54:18 <steve30> hi Halcyon
11:54:37 <Halcyon> Hey Steve :)
11:54:41 <Halcyon> How are you?
11:54:49 <steve30> good ta
11:55:05 <Halcyon> Lovely
11:55:31 <steve30> I've got the amiga group meeting today
11:55:40 <Halcyon> Oh yay!
11:55:52 <Halcyon> Is this why you've been playing around with your 5.25 inches?
11:56:12 <steve30> nah, amigas normally use 3.5"
11:56:42 <Halcyon> Ah of course :)
11:56:48 * Halcyon needs more coffee
11:58:56 <steve30> i need to get some true rms converter chips
11:59:37 * T3sl4 sticks a bolometer in steve30's coffee
12:02:45 <DHess_US> I think Analog devices has all of the integrated RMS converters now.
12:03:14 <DHess_US> Analog made the linear ones and Linear made the switched capacitor ones.
12:10:32 <EEVBlog> New EEVBlog Tweet: Hey @bitchute Many of my old video have a length of 0:00 What's up with that? These would have been auto-imported from Youtube right back at the start when I first joined. Thanks. https://t.co/uvi1ommVw2
12:11:32 <EEVBlog> New EEVBlog Tweet: RT @Gio32k: hey @eevblog, I was looking around Amazon for vintage electronic books. And I came across this. It just looks like a bunch of q…
12:13:33 <EEVBlog> New EEVBlog Tweet: RT @ChronosCameras: Introducing the extremely anticipated Chronos 2.1! Featuring a new 2.1 gigapixel sensor capable of 1080 HD resolution a…
12:16:42 * steve30 hugs Halcyon
12:18:36 <EEVBlog> New EEVBlog Tweet: I have an editing computer back, but nothing else... https://t.co/7ddgJ1LysI
12:30:47 <Halcyon> Aww :)
12:30:52 <steve30> hmm, I wonder where my gopro camera went
12:32:28 <steve30> hehe, found it, it was on the shelf
13:17:14 <Ampera> Hi Halcyon
13:25:21 <Halcyon> Hey Ampera
13:25:28 <Ampera> how do
13:26:14 <Halcyon> Not too bad, how about you?
13:26:51 <Ampera> Eh, alright.
13:27:02 <Ampera> Currently talking with my friend about her grandfather possibly dying.
13:35:44 <Halcyon> Aw :(
14:17:38 <steve30> Its cold enough that I'm going to have to put my jacket on when I go out, but warm enough that I'll probably have to take it off :/
14:20:39 <Ampera> I'm rather hungry right now
14:21:46 <steve30> I'd offer you some steak and kidney pie, but i just ate it all
14:25:55 <Ampera> Snake and pygmy?
14:26:09 * steve30 coffees
14:39:48 <T3sl4> that sounds good right about now
14:40:03 <T3sl4> steak and coffee pie with a /me pygmies
14:41:43 <EEVBlog> New EEVBlog Tweet: Abandoned burgers in an abandoned carpark #yum https://t.co/xf6TqDaDmF
15:03:06 * steve30 curls up on T3sl4's lap
15:03:22 * T3sl4 scritches the steve30ball
15:03:34 <Ampera> ew, gay
15:04:00 * T3sl4 scritches Ampera
15:04:05 * Ampera hisses
15:04:32 * steve30 purrs at Ampera
15:17:27 * ibiza is here
15:22:06 <steve30> I've ordered a couple of LTC1966 modules off ebay
15:27:07 Join: cappicard_ ([email protected]) to #EEVblog
15:28:43 * T3sl4 wonders if ibiza is looking for some purring or scritching as well
15:29:41 <Halcyon> Heh
15:29:45 <Halcyon> You guys
15:29:49 Quit: cappicard ([email protected]) Ping timeout: 121 seconds
15:30:13 * Ampera licks Halcyon
15:30:28 <Halcyon> I wouldn't. I'm all sweaty
15:30:31 <Halcyon> I just mowed the lawns
15:30:39 <ibiza> hawt
15:30:58 * Ampera licks Halcyon even harder
15:31:07 <Halcyon> Hahah
15:31:20 <Halcyon> I'm going for a shower
15:31:36 <Ampera> Oh jew!
15:32:05 <T3sl4> salt lick
15:35:04 <T3sl4> Halcyon: you need to defend yourself with https://i.imgur.com/j4DV0ld.jpg Jew-Jitsu
15:38:00 <ibiza> mazel tov
15:38:47 <Halcyon> Hah
15:52:30 <steve30> I think I'll have another coffee
15:57:29 <T3sl4> oh hey, a datasheet that acknowledges glass diodes leak under light: http://www.farnell.com/datasheets/2239631.pdf (reverse current rated at E <= 300 lux)
15:58:13 Quit: cappicard_ ([email protected]) Quit: Leaving
16:51:26 <Halcyon> T3sl4, leak what?
16:51:48 <T3sl4> don't you hate it when your diode is leaky?
16:52:05 <Halcyon> I guess? Maybe it needs more diode juice?
16:52:51 <T3sl4> but yeah, leakage current
16:53:02 <Halcyon> That's bad right?
16:54:37 <T3sl4> But it comes with a free Frogurt(R)!
16:55:14 <Halcyon> But AFAIK the Forgurt contains Sodium Benzoate
16:57:20 <T3sl4> That's bad.
16:57:30 <Halcyon> Can I go now?
16:57:31 <Halcyon> :P
16:57:45 <T3sl4> :D
16:57:55 <Halcyon> Headache slowly subsiding
16:58:21 <T3sl4> understandable, Ampera has quieted down a bit now
16:58:33 <Halcyon> Heh
17:01:55 <Halcyon> I'm not an Apple user, but this nonsense about them banning accounts because people say they can recover data is bullshit
17:02:04 <Halcyon> When are sheeple going to wake up to themselves?
17:15:11 * steve30 pets his PowerBook
17:15:23 <Halcyon> Ah back when Apple was good
17:15:42 <steve30> Data is perfectly recoverable from that :D
17:16:16 <steve30> I don't know whether to just put a few layers on, or whether to put my windproof jacket on.
17:16:59 <Halcyon> Bit cool there?
17:17:26 <Halcyon> It's about 25 degrees here :)
17:17:35 <steve30> <10 here
17:17:49 <Halcyon> A little chilly
17:18:33 * Ampera licks Halcyon a bit more
17:18:47 <Halcyon> I'm all clean now :)
17:18:53 <steve30> is halcyon a food?
17:19:11 <Ampera> no he's a cat, steve30
17:19:12 <Halcyon> Some people find me dishy :P
17:19:36 <Ampera> he's a cute pussy
17:20:06 <Halcyon> Aw Ampera thinks I'm cute *blush*
17:20:16 <Ampera> ew, gay
17:20:18 <Ampera> also australian
17:20:26 <Halcyon> :P
17:23:44 <steve30> I'm going to listen to my retro grooves vol 3 minidisc today, since I haven't played it yet
17:25:27 <Halcyon> YAY! Minidisc!
17:46:30 <steve30> time to set off i think
17:46:34 <steve30> bbl
17:47:31 Quit: steve30 ([email protected]) Quit: <Baljem> steve30: by the way, I had the most bizarre dream the other day that someone came in here and seriously flipped their shit over your quit message and why aren't the ops /doing/ something about it
19:27:51 Join: AndrevS ([email protected]) to #EEVblog
19:39:03 Join: andre_ ([email protected]) to #EEVblog
19:41:34 Quit: AndrevS ([email protected]) Ping timeout: 121 seconds
20:24:14 <Halcyon> I'm trying to work out the best way to segregate my networks into VLANs, I don't want to go overboard. I'd obvious have the trusted network, one for servers then perhaps 2 or 3 "untrusted" networks with varying degrees of access to the internet from nothing to open access
21:09:03 Quit: DogWomble ([email protected]) Changing hosts
21:09:04 Join: DogWomble ([email protected]) to #EEVblog
21:09:04 Mode: (by lego.jp.austnet.org) +o DogWomble
21:42:24 Quit: Bluenote ([email protected]) EOF from client
23:28:15 Join: pi ([email protected]) to #EEVblog
23:28:18 Nick: pi is now known as steve30
23:28:29 <steve30> hello
23:30:08 <Halcyon> Hey Steve :)
23:33:07 Quit: steve30 ([email protected]) Quit: Reconnecting
23:33:16 Join: steve30 ([email protected]) to #EEVblog
23:33:22 <steve30> hi Halcyon
23:33:29 <steve30> I'm at the Lincs Amiga Group
23:33:46 <steve30> I got here eventually. Had to take a big detour due to road closures.
23:37:56 <Halcyon> YAY!
23:41:43 <steve30> yes, long detours are very Yay
23:44:32 Quit: steve30 ([email protected]) Quit: Reconnecting
23:44:38 Join: steve30 ([email protected]) to #EEVblog
23:46:44 <steve30> doesn't seem to like me today
Search this day's buffer:
