#avr Logs

Aug 07 2017

#avr Calendar

12:01 AM Casper: AREF = VCC, and 10k:10k divider
12:06 AM rue_shop3: hah, no
12:06 AM rue_shop3: you need a supply filter for aref
12:09 AM Casper: just a C, got absolutelly zero change, beside, it's a divider of the vcc, so the change in vcc would be the same at aref
12:09 AM rue_shop3: from vcc, 100 ohm series resistor
12:09 AM rue_shop3: to VREF
12:09 AM Casper: and it's a slow change
12:09 AM Casper: like the 5 count change is over 20 seconds
12:09 AM rue_shop3: then from VREF to ground, a 100uF cap with a .1uF cap across it
12:10 AM Casper: it's not psu noise
12:11 AM rue_shop3: of course not, that 8Mhz logic core going in its ear has nothing to do with it
12:11 AM Casper: nor avr related noise
12:12 AM Casper: that wouln't make the change rise and drop over 20 seconds, it would from sample to sample
12:12 AM Casper: but the sample to the next is stable
12:12 AM rue_shop3: aliasing is just something made up by people who didn't know what they were talking about
12:13 AM rue_shop3: I presume your not using the internal osc, right?
12:13 AM Casper: internal RC
12:14 AM rue_shop3: right, cause thats stable as all hell
12:14 AM rue_shop3: no drift there
12:14 AM rue_shop3: not like those unreliable quartz crystals
12:15 AM Casper: http://i.imgur.com/53TgvBf.png still building, but you get the idea
12:15 AM Casper: and it's tiny48
12:16 AM rue_shop3: whats jp4 for?
12:17 AM rue_shop3: what is that whole thing on the right?
12:19 AM Casper: JP4 is serial out
12:19 AM Casper: JP3 goes on relay
12:19 AM Casper: stuff on right is RC delay
12:19 AM Casper: for power failure
12:19 AM rue_shop3: but...
12:20 AM Casper: jp2 is dc in
12:20 AM rue_shop3: but...
12:20 AM rue_shop3: you can put the rc delay on the reset pin...
12:20 AM Casper: the RC keep power for about 4 minutes after the relay got turned off
12:21 AM Casper: and it send a signal, and can then be printed out on the serial out
12:21 AM rue_shop3: so, its important for it to send serial while waiting the 4 minutes?
12:22 AM Casper: for debug yes
12:22 AM Casper: beside, there is a pin left
12:22 AM Casper: in fact, the heartbeat led is not even coded yet, it's a spare pin so why not use it
12:22 AM Casper: (pin 5)
12:23 AM rue_shop3: whats R1 and C2 values?
12:25 AM rue_shop3: and, why dont you use the microcontroller to count time instead of an RC?
12:26 AM Casper: 1k charge resistor, 100k discharge, 470µF
12:26 AM Casper: and I do both
12:26 AM rue_shop3: why?
12:26 AM Casper: RC delay + poweron delay, both need to expire before the thermostat kick in
12:27 AM Casper: a compressor can't start if it has run recently (3 minutes), if the fridge is disconnected for a long time then I want it to start as soon as possible
12:27 AM Casper: the µC can't distinguish beween a power hipcup or a power failure
12:27 AM rue_shop3: ah, if the rc is flat you start right away?
12:27 AM rue_shop3: ok
12:29 AM Casper: after poweron delay yes
12:29 AM Casper: of course, that can be removed easilly
12:29 AM Casper: don't populate it and you're good to go :D
12:29 AM rue_shop3: no, I get it
12:30 AM rue_shop3: the only other way I can think to do it is to have a battery backup, and the cap is better
12:31 AM Casper: yup, and that config feed zero power in the µC
12:34 AM rue_shop3: wouldn't a 2N7000 be better for T1?
12:34 AM rue_shop3: oh but your draining it thru there...
12:36 AM rue_shop3: huh
12:36 AM rue_shop3: cant argue much then!
12:37 AM rue_shop3: back to my problem
12:37 AM Casper: yup
12:38 AM Casper: using the base as the drain path, I cheated<
12:39 AM rue_shop3: so, I wonder if I can get a stable enough temp range out of the internal RC of a tiny13 for an outdoor 38Khz transmitter
12:40 AM rue_shop3: hmmm, awefull close to 455Khz/12
12:41 AM Casper: no clock reference isn't it?
12:42 AM rue_shop3: ir transmitter
12:42 AM Casper: I guess there is no way to make the board and schem look nice with the isp...
12:42 AM rue_shop3: for my driveway chime
12:46 AM rue_shop3: 3.6864Mhz/97 is pretty good
01:01 AM Casper: /97 :D
01:01 AM Casper: and I kinda hate single sided board...
01:03 AM Emil: Casper: it's highy likely powerline noise
01:04 AM Casper: scope don't pick anything
01:04 AM Emil: You sure about that?
01:04 AM Casper: yeah
01:16 AM Emil: Because 3 difference at 5V voltage is ony 14mv
01:17 AM Emil: So I wonder how and what you are measuring
01:25 AM Casper: fuck some compagny are real theif
01:26 AM Casper: 220$USD for 2 boards...
01:26 AM Casper: ~2x3"
01:36 AM day_ is now known as daey
02:54 AM dunz0r_ is now known as dunz0r
03:06 AM erossi_ is now known as erossi
03:44 AM Emil: Yeah
03:44 AM Emil: I think the Chinaman sold me shit
03:44 AM Emil: gg
03:56 AM MrFahrenheit: also, Emil, chinaman is not the preferred nomenclature
03:58 AM Emil: MrFahrenheit: what is it?
03:58 AM Emil: https://wiki.installgentoo.com/index.php/Chink_shit_general
03:59 AM MrFahrenheit: you never watched the big lebowski, I take it
03:59 AM Emil: No
03:59 AM Emil: ah
03:59 AM Emil: Asian-American
03:59 AM Emil: Gotcha
04:00 AM MrFahrenheit: I just wanted to make a reference https://www.youtube.com/watch?v=_vGK008c_rA
04:02 AM Emil: I thought you went full PC
04:02 AM Emil: :/
06:50 AM Lambda_Aurigae: either asian or american
06:50 AM Lambda_Aurigae: not both.
06:51 AM Lambda_Aurigae: american of asian heritage, yes.
06:51 AM Lambda_Aurigae: but if you are american you are amierican...screw this asian american or african american crap.
06:55 AM Tom_L: u tell em
06:56 AM Tom_L: they tack on the american part so they get more free shit
06:59 AM pwillard: Nobody ever needs or wants to know I'm German-American... so yeah.
07:02 AM Emil: Yer a Nazi
07:02 AM Emil: or that's what they say ;)
07:05 AM pwillard: Saying <variable origin>-American and then complaining you get singled out by race and are not treated equally actually seems hypocritical. The best solution is to blend in and become part of the solution instead of being like OIL in water demanding to be separate and then complaining that you are shunned or treated differently. Use the melting pot vs the distillery.
07:06 AM Emil: Exactly
08:06 AM enh: morning
08:08 AM twnqx: good afternoon, dear sir
08:09 AM enh: me no sir. me only 44. a child yet.
08:09 AM twnqx: and let me congratulate you to using ipv6 security extensions for your address generation.
08:10 AM enh: this is my ISP, my OS and lime chat's merit. not mine too.
08:10 AM twnqx: i had to manually enable that...
08:10 AM twnqx: oh well.
08:11 AM enh: I should learn IPV6. My knowledge stopped at IPV4
08:11 AM enh: Was BCP implemented, or people still masivelly use TCP/IP?
08:11 AM twnqx: no big difference. just new names for old (and solved, in IPv4) security issues.
08:12 AM twnqx: backward compatibility, still TCP
08:12 AM enh: When I still worked with these, BCP was the great promise. This was around 2002
08:14 AM enh: I should setup a freeBSD computer and keep it by my side. Since I bought a MAC, in 2010, I only use linux remotely.
08:14 AM enh: I must be hugely outdated
08:18 AM pwillard: I go out of my way to still work with IPV4. Inside a home or enterprise... its good enough. Really just need it in the Internet core.
08:20 AM enh: I never got into BCP. Does it change too much the routing system?
08:22 AM enh: I wonder, in case Earth suffers a major collapse, if TCP will still work to connect surviving networks
08:23 AM enh: I've been watching too much history channel. They want to make people believe in an apcaliptical near future.
08:23 AM Emil: TCP IS NOT ROUTING
08:23 AM Emil: BCP is routing
08:24 AM enh: small routers have BCP already installed? Like home routers?
08:24 AM Emil: And do you mean BGP
08:24 AM Emil: I don't know what you mean with BCP
08:24 AM enh: I thought it was border control protocol... Big ignorance
08:25 AM pwillard: If there are only surviving networks (less overall)... you could get away with 1992 standard TCP/IP and supporting devices.
08:25 AM Emil: Nice, I assumed correctly :D
08:26 AM Emil: BGP is not a replacement for TCP/IP
08:26 AM Emil: It never was
08:26 AM Emil: it was never advertised as such
08:27 AM pwillard: wasn't saying it was... I'm just saying that if there was a major collapse... even what we were using in 1992 would be good enough
08:27 AM dunz0r: BGP uses TCP for transport even.
08:28 AM enh: what changed with bgp?
08:28 AM Emil: pwillard: enh was
08:28 AM enh: BCP could mean border control patrol...
08:29 AM enh: I'm such an igorant jerk...
08:29 AM Emil: Self-deprecating is not nice,s top it
08:30 AM enh: :)
08:33 AM pwillard: In fact... BGP is leaner and meaner than other routing protocols because it 'depends' on TCP/IP to do its job.
08:36 AM Snert: the banking is already still in 1992 :) So is the insurance industry as well as airlines...so no problemo :)
08:43 AM pwillard: Agreed. (works in insurance)
09:10 AM twnqx: though BGP is (usually, if crossing different ASs) between directly connected devices, and tcp/ip doesn't require more than these neighboring machines to speak it...
10:46 AM _ami_: Emil: used e-EMS before to ship items from china (ali)?
10:47 AM _ami_: is it good? can get items within 10-12 days guaranteed?
10:53 AM Emil: _ami_ hm?
10:54 AM Emil: Well
10:54 AM Emil: I think yeah
10:54 AM Emil: if you use a courier
10:54 AM Emil: it will just be delivered
11:24 AM Lambda_Aurigae: Emil, I'm the nazi here dangit! and I'm not even german.
11:24 AM Lambda_Aurigae: [:
11:25 AM Lambda_Aurigae: Czech family background actually.
11:29 AM Emil: Sorry paps, you have been usurped
12:21 PM Lambda_Aurigae: hey, I even look the part dangit!
12:21 PM Lambda_Aurigae: blonde hair, blue eyes...even cut my hair with the clippers with no guard so I look like a skinhead!
12:23 PM lemm|ngs is now known as lemmings
01:12 PM shifttymike is now known as Guest74897
01:47 PM JanC__ is now known as JanC
10:55 PM Thrashbarg_ is now known as Thrashbarg
11:49 PM day_ is now known as daey