#avr Logs

Jan 30 2018

#avr Calendar

12:48 AM polymorph: [21:33] * polprog Warning: ISO forbids making sandwiches out of buns intead of bread slices [-Wimplicit-sandwich-declaration] - yes iso is like that
12:51 AM polymorph: if you want your sammich certified...
12:51 AM polymorph: [21:39] <polprog> i learnt to type man.he.net or linux.die.net instead of googling 'man date' - i have tldp.org in mirror, squashed :)
01:03 AM Emil: polymorph: why not just use linux and use the terminal for man pages ;)
01:09 AM rue_: they you have to type things like 'man bash' which makes you question things
01:25 AM polymorph: Emil: did you check it? :) tldp.org
01:25 AM polprog: polymorph: how big is it?
01:28 AM polymorph: polprog: i dont remember, less than 5GB
01:31 AM polymorph: polprog: http://www.tldp.org/ want a copy?
01:33 AM polprog: syre
01:33 AM polprog: sure*
01:34 AM polprog: since from my experience many cross site links are just broken
01:35 AM polprog: ie the lonk on a page that says "up" actually 404s
01:35 AM polprog: link*
01:36 AM Emil: polymorph: check what?
01:37 AM polymorph: http://www.tldp.org/downloads/
01:37 AM polymorph: it works without https on chromium btw
01:37 AM Emil: EH?
01:37 AM Emil: A) why would I need to download that
01:37 AM Emil: b) if you don't use https you are an idiot
01:37 AM polymorph: you can download stuff compressed, or fullmirror it with wget
01:37 AM Emil: and c) firefox works just fine
01:37 AM Emil: whatcha need chromium for
01:37 AM Emil: or chrome
01:37 AM polymorph: Emil: fuck off
01:37 AM Emil: polymorph: lolwat
01:38 AM polprog: lol
01:38 AM Emil: Is this because you are salty and developing on winshit?
01:38 AM polymorph: Emil: you have weird fetish/insecurities
01:38 AM Emil: Is that it?
01:38 AM Emil: or wat, is this because you don't understand how fucking fundamentally important https is?
01:39 AM Emil: wow
01:39 AM Emil: good one
01:39 AM polymorph: lol
01:39 AM polprog: there is no need of https on that site unless your totally tinfoil
01:39 AM Emil: polprog: https fucking everywhere
01:39 AM Emil: polprog: also why the heck don't you have https on
01:39 AM rue_bed: people run windows webservers tho
01:39 AM polymorph: *fights over https *has trojan 24/4 on his pc's hardwares *has trojan in kernel
01:39 AM rue_bed: thats why https is so important
01:40 AM polymorph: 24/7
01:40 AM polymorph: :)
01:40 AM polprog: sure, millions of bullshit CAs. https://notascam.tk
01:40 AM Emil: polprog: lets encrypt
01:40 AM rue_bed: just cause you want to view a public, read only page
01:40 AM rue_bed: besides, you have all that cpu power,
01:40 AM rue_bed: you need to use it up on https instead of compression that would load the page faster
01:40 AM polymorph: polprog: there is no need for https
01:41 AM Emil: /kickban polymorph
01:41 AM polprog: maube someday ill get bored enough to set up https on my site. when im bored enough
01:41 AM polymorph: polprog: it is just another way to restrict you, and need more money for hosting shit
01:41 AM Emil: wat
01:41 AM Emil: all my fucking wat
01:41 AM Emil: and need more money for hosting shit
01:41 AM Emil: hahahahhahaa
01:41 AM Emil: you are the absolute mad man
01:42 AM Emil: https costs you nothing
01:43 AM polymorph: i know what https is, do you?
01:43 AM Emil: bro
01:43 AM Emil: what the actual fuck are you saying
01:43 AM Emil: Do you actually think https costs you money?
01:44 AM Emil: How much stuck in the past are you?
01:44 AM rue_bed: https makes me unable to view public webpages
01:44 AM Emil: rue_bed: no it doesn't
01:44 AM rue_bed: yes yes it does
01:44 AM Emil: using outdate software does
01:44 AM Emil: outdated*
01:44 AM rue_bed: my browser dosn't support 128 and 256 bit encoding
01:44 AM polymorph: rue_bed: yeah they made new versions to forbid view with old browsers/oses
01:44 AM rue_bed: which will be cracked by necxt year anyhow
01:45 AM Emil: ...
01:45 AM rue_bed: we should all move to SHA8192
01:45 AM Emil: rue_bed: what the actual fuck
01:45 AM Emil: are you talking about
01:45 AM rue_bed: RIGHT NOW!!!!
01:45 AM rue_bed: cause sha128 and 256 aren't strong enough
01:45 AM Emil: your browser 100% supports 128 and 256 bit asymmetric encryption
01:45 AM rue_bed: no it dosn't
01:45 AM Emil: and hashes
01:45 AM rue_bed: ice iceweasel
01:45 AM Emil: rue_bed: you are 100% lying
01:45 AM polymorph: just saying, Emil certificates cost money
01:45 AM rue_bed: it only supports up to 64
01:45 AM Emil: polymorph: they do not
01:46 AM Emil: polymorph: you fucking imbecile
01:46 AM polymorph: there are self signed ones though, and it costs to compute.
01:46 AM Emil: polymorph: https certificates are free
01:46 AM Emil: you are so stuck in the past you got stuck in your ass
01:46 AM rue_bed: you dont recall I keep getting that error that says the page wont load cuase there are no compatible ciphers?
01:46 AM Emil: rue_bed: because I have disabled tlsv1.1
01:46 AM rue_bed: no I checked
01:46 AM rue_bed: its enabled
01:46 AM Emil: rue_bed: you don't apparently know anything about crypto
01:47 AM rue_bed: but only supports up to 64
01:47 AM polymorph: Emil: calling me an imbecile over dumb webshit
01:47 AM Emil: polymorph: >dump webshit
01:47 AM rue_bed: emil, we can play with it next time
01:47 AM polymorph: (and he is even wrong)
01:47 AM rue_bed: and you can see the problem I have
01:47 AM Emil: polymorph: how about you like, even attempt to use a search engine
01:47 AM Emil: rue_bed: you are 100% full of shit
01:47 AM Emil: polymorph: and you know nothing
01:48 AM polymorph: i thought he was kind of intelligent
01:48 AM Emil: lol
01:48 AM Emil: top quality argumentation
01:48 AM Emil: here's a challenge
01:48 AM Emil: at least
01:48 AM Emil: attempt to search for information
01:48 AM Emil: before blabbering about things that have looong been outdated
01:48 AM Emil: here's a good search term
01:48 AM Emil: "lets encrypt"
01:49 AM Emil: now tell me how much a certificate costs
01:49 AM polymorph: i like encryption but you have no clue about what you are blabbing about Emil
01:49 AM Emil: polymorph: yeaaaaaah sure
01:49 AM Emil: polymorph: instead of continuing with idiocy how about you use that term and use a search engine with it
01:50 AM polymorph: are you high on something?
01:51 AM polymorph: if you jump at me i hit you
01:51 AM Emil: and rue_bed you might also want to stop spewing bullshit. 64 bits has newer been a thing. There was 56-bit triple des, which is broken, and after that aes came along with native block size of 128 bits
01:51 AM Emil: polymorph: just use the search term you idiot
01:51 AM Emil: you might actually learn something
01:52 AM * polymorph laughing
01:54 AM Haohmaru: let's encrypt is a thing where you can get https on your website for no money
01:54 AM Haohmaru: even i know that
01:55 AM Haohmaru: i've even seen a bunch of websites that use it
01:55 AM Haohmaru: proudly
01:56 AM polymorph: polprog: wget --user-agent="Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36" --page-requisites --convert-links --recursive -e robots=off --random-wait "http://www.tldp.org"
01:57 AM Emil: rue_bed: you literally cannot use encrypted communications on the internet. AES, SHA and RSA can all be done in software and they are quite fast there. I have disabled tlsv1.1 and below because they are unsafe.
01:57 AM Emil: rue_bed: you cant use if your limit is 64 bits
01:57 AM Emil: rue_bed: stop trolling
01:57 AM Emil: you are hurting everyone on this channel with it
01:58 AM Emil: polymorph: what the actual fuck.
01:58 AM Emil: polymorph: you are seriously not using that chrome version
01:58 AM polymorph: polprog: then you can mksquashfs www.tldp.org/ www.tldp.org.squashfs -comp xz -b 1M && rm -rf www.tldp.org
01:59 AM Emil: and its unlikely you need to specify a user agent
02:41 AM polprog: polymorph: thanks, ill grab that when im back home
04:10 AM day: regarding lets encrypt. why did identrust certify letsencrypt? Didn't they ruin their own business with that step?
04:11 AM day: /sign letsencrypts root certificate
04:12 AM Emil: day: I think they can't realy deny doing it
04:13 AM Emil: And besides, LE has their root certs distributed by distros now
04:13 AM Emil: day: rephrased: I don't think they could have said no
04:13 AM day: yeah now its too late for anyone to stop them
04:13 AM Emil: Which is great!
04:14 AM day: yes. im just curious why the decision was made from a business perspective
04:14 AM Emil: day: I think they didn't have a say in it
04:15 AM Emil: le also doesn't provide all the same thing that commercial certs do
04:16 AM day: Im not sure what kind of organization identrust is. I doubt you could force a private company to do business with you
04:16 AM Emil: day: well, it depends
04:16 AM Emil: you can't deny people into your store just because
04:16 AM day: i know thats its only a part of their business, but you wouldnt give up a few percent of your income for no reward right?
04:16 AM Emil: or deny public transportation just because
04:17 AM Emil: day: I think that LE is not really eating into their cert business that much, either
04:17 AM Emil: LE caters for people who wouldn't pay for a cert either way
04:17 AM day: hm
04:17 AM Emil: though, yes, it has now entered the realm of catering to businesses, too
04:18 AM Emil: and LE would have gotten started anyways
04:18 AM Emil: so I bet they paid identrust for it
04:18 AM Emil: someone would have taken that money from them
04:18 AM day: true
04:19 AM Emil: so if LE was to happen, lets profit from it
04:19 AM Emil: was probably in their mind
04:19 AM day: the good old prisoner dilemma
04:19 AM Emil: LE also had the backing of Microsoft, Google, IETF and a lot more organisations iirc
04:19 AM day: i guess they could have done it without anyone in that case
04:20 AM Emil: well
04:20 AM Emil: I'm surprised they haven't
04:20 AM Emil: Google nor Microsoft are their own CA
04:20 AM Emil: are not*
04:20 AM Emil: which I find strange
04:20 AM Emil: and Amazon isn't one either
04:20 AM day: but they could simply make one as they could add themselves in the browser, right?
04:20 AM Emil: yeah
04:21 AM Emil: and there are trusted keys that google distributes
04:21 AM Emil: but I still find it strange that they have not set up their own CAs
04:22 AM day: well maybe they did through letsencrypt? i dont know how much "backing" letsencrypt has
04:23 AM Emil: Google's cert is signed by GlobalSign
04:23 AM Emil: And Microsoft's by DigiCert
04:24 AM Emil: By CA above I mean root ca
04:24 AM Emil: they of course are their own CA
04:24 AM Emil: but I find it strange that they are not root
04:24 AM Emil: their own normal CA
04:25 AM Emil: LE is signed by DST
04:25 AM day: i was thinking they may have access to the one from letsencrypt
04:25 AM Emil: hm?
04:25 AM Emil: Oh by backing
04:25 AM day: yeah
04:25 AM Emil: I mean supported
04:25 AM day: so they arent entangled
04:26 AM Emil: not to my knowledge
04:27 AM Emil: Having an encrypted internet is in the best interest of internet giants
04:27 AM Emil: It's also in the best interest of all individuals
04:28 AM Emil: the only people who might benefit from not having encryption are (oppressive) governments and companies that provide services to governments
05:17 AM day: How are these certificates company internally protected against theft? I mean its a tiny file that someone could easily copy
05:24 AM Emil: day: physical security
05:24 AM Emil: actual
05:24 AM Emil: physical
05:24 AM skz81: Emil : you CAN'T be your own "root CA", it's a chain (tree more exactly) => only ONE root...
05:24 AM Emil: security
05:24 AM Emil: skz81: yes you can
05:25 AM Emil: skz81: there are multiple root CASs
05:25 AM Emil: CAs*
05:25 AM Emil: skz81: there is no one super root
05:25 AM Emil: the top level has multiple
05:26 AM Emil: day: anycase, CAs protect their key by literal guards and access measures
05:26 AM Emil: skz81: those root CAs keys are supplied by your distro
05:30 AM day: skz81: from my understanding every root CA has its own tree. But the trees are interconnected because of cross signing
05:30 AM skz81: M'kay... But that would definitly bias the "trusted third party" concept :p
05:30 AM Emil: wat?
05:35 AM skz81: Emil >> hum forget, if you have the corresponding root certificate locally it's good...
05:36 AM Emil: skz81: and that's exactly what distros do
05:36 AM skz81: I feared anyhow could pretend to be "google.com" if google.com was auto-signed, but no-no-no
05:36 AM Emil: You can't have secrecy without predistributed trust
05:37 AM skz81: Yup I don't know exactly why, I was believing it would imply ONE trusted root and ONLY ONE :p
05:38 AM skz81: forget the noise and gorgive me for it :)
05:38 AM skz81: forgive*
05:39 AM Emil: heh
05:40 AM Emil: at least you admit it ;)
05:48 AM Tom_itx is now known as Tom_L
05:52 AM polymorph: ssl is cancer
05:52 AM Emil: what the actual fuck are you talking about
05:52 AM Emil: get the fuck out of here
05:52 AM Emil: that's even worse than the winshit and keil shilling on ##stm32
05:53 AM Emil: not to mention the spec is tls nowadays and ssl is outdated
05:53 AM Emil: but given how little you have shown us you know about the subject I take it you meant it as a common term
05:53 AM day: Emil: you forgot "lunix"
05:53 AM polymorph: ssl's only point is hiding plaintext from 1337 haxx0r wannabe mitm children
05:53 AM Emil: holy shit stop
05:53 AM Emil: day: ah yeah forgot that gold nugget
05:54 AM polymorph: for example when user Emil handles his bank accound in a web browser (that is full of exploits and backdoors)
05:54 AM Emil: polymorph: stop with the trolling
05:54 AM Emil: if you are doing this out of sarcasm please add /s
05:55 AM polymorph: (i was not trolling)
05:55 AM Emil: ...
05:55 AM Emil: you are actually saying that tls is useles because browsers have/might have security holes?
05:55 AM Emil: un
05:55 AM Emil: fucking
05:55 AM Emil: believable
05:56 AM day: embrace the plaintext. be one with the plaintext. become the plaintext
05:56 AM day: coffee break :p cya later
05:56 AM Emil: day: please don't leave me alone with polymorph. I might explode from his idiocy
05:57 AM * Haohmaru sees day's "coffee" in plaintext and steals it
06:00 AM polymorph: Emil: i dont care
06:00 AM polymorph: the netshit worked in the past 15 years too, even without your crappy new shit
06:00 AM Haohmaru: what are you saying, polymorph? encryption is not needed in the internetz?
06:01 AM polymorph: now new shit prevents old shit from working
06:02 AM polymorph: Haohmaru: im saying that creating new https that prevents things from working - unnecessarily, is dumb as fuck and is cance
06:02 AM polymorph: r
06:03 AM Emil: Haohmaru: the guy is retarded
06:03 AM Haohmaru: who did that?
06:03 AM Haohmaru: what's the reason for the "new" https?
06:04 AM Emil: Haohmaru: ssl and tlsv1 is insecure
06:04 AM Haohmaru: is it because the old one is not "good" enough now?
06:04 AM polymorph: The only way you would get a decent encrypted tunnel is if you had a secret key in sender and receiver program that is unique and is not sent, this is my opinion
06:04 AM Emil: polymorph: you have no fucking knowledge on crypto
06:04 AM Emil: get the fuck out of here
06:04 AM Haohmaru: so you say key exchange is broken?
06:05 AM Emil: You are hurting everyone's intelligence
06:05 AM polymorph: Emil: i don't ignore anybody ut you are annoying
06:05 AM Emil: polymorph: oh you don't like when you are told facts?
06:05 AM Emil: polymorph: unsurprising
06:05 AM polymorph: go and fuck yourself ok?
06:05 AM Emil: what is surprising is how fucking retarded you can be regarding crypto
06:06 AM Emil: Let me say it like you said: I though you were a pretty smart guy
06:06 AM Emil: I was 100% wrong
06:06 AM Emil: No intelligent being could hold that dearly onto idiocy
06:08 AM Emil: Also, lovely how you say "this is my
06:08 AM Emil: opinion"
06:09 AM Emil: as if opininons mattered a single bit regarding crypto
06:10 AM polymorph: yes, this is how aes256 standards were chosen, there were a group of somebody who picked some algorithms to be used as standard, and not even because they were the best
06:11 AM Emil: I really just better ignore you.
06:11 AM polymorph: https://competitions.cr.yp.to/aes.html
06:12 AM polymorph: Emil: i dont care what you do
06:12 AM Emil: polymorph: but I care that this channel is not filled with idiocy
06:12 AM Emil: And you are filling this channel with idiocy
06:12 AM polymorph: well you are here
06:20 AM Haohmaru: i didn't see him say anything dumb
06:20 AM day: you guys were busy duking it out i see :D
06:21 AM * Haohmaru encrypt's day and throws away the key
06:26 AM polymorph: :)
06:26 AM polymorph: Haohmaru: that is how new SSD's secure erase work lel
06:27 AM Haohmaru: why not just clear the data or fill with "noise"
06:41 AM polymorph: Haohmaru: SSD has limited number of writes, and it would be slower
06:42 AM Haohmaru: so it just doesn't erase then?
06:42 AM polymorph: Haohmaru: SSD can write about 400GB to 1TB per GB of size
06:42 AM polymorph: Haohmaru: never
06:43 AM Haohmaru: ugh
06:43 AM Haohmaru: the more i hear about SSD, the more i don't like it
06:43 AM Haohmaru: and i didn't like it even from the beginning ;P~
06:43 AM polymorph: same with microsds, it is called wear leveling
06:43 AM Haohmaru: i know.. eeprom/flash
06:43 AM polymorph: Haohmaru: oh you haven't even heard the bad things yet ;>
06:44 AM polymorph: Haohmaru: samsung TLC, and it even compresses your data onthefly to try and last longer
06:45 AM polymorph: MLC was already bad enough, then came TLC
06:46 AM twnqx: yet you'll be like me and demand reasonable capacity (double-digit TB, that is)
06:47 AM polymorph: twnqx: i would be ok with 23x 2-4TB array golay raided
06:48 AM polymorph: even 1TBs would do, that would give 12TB redundant md
06:48 AM twnqx: that would be less than my current "used"
06:48 AM polymorph: haha
06:49 AM polymorph: twnqx: how do you like the idea of a golay raid array?
06:49 AM polymorph: [23,12,7] Golay
06:49 AM twnqx: no idea what it is, so no oppinion. i am usinf zfs
06:49 AM polymorph: twnqx: it is used on Voyager for example and space comm
06:50 AM polymorph: any 3-bit errors can be corrected or any 7-bit errors can be detected
06:50 AM polymorph: so losing 2-3 hdd is not a problem then
06:51 AM polymorph: twnqx: how do you connect 23 hdds +1 system to your pc though?
06:51 AM twnqx: SATA drives in active SAS backplane
06:52 AM polymorph: can you do that on a pc or only a workstation?
06:52 AM polymorph: server?
06:52 AM twnqx: any machine you can drop a pcie card in
06:52 AM twnqx: well, i use it with servers
06:52 AM polymorph: can you give an example?
06:53 AM twnqx: https://www.supermicro.nl/products/chassis/4U/847/SC847DE1C-R2K04JBOD
06:54 AM twnqx: you sacrifice performance though, as all drives are connected through only 4 SAS lanes
06:54 AM polymorph: thanks is there a 23 channel one so it will be faster?
06:54 AM twnqx: apparently not any more
06:54 AM polymorph: 4 lanes = 4x speed in raid
06:54 AM twnqx: i do have a 24 slot drives
06:55 AM twnqx: chassis*
06:55 AM polymorph: hm
06:55 AM polymorph: but that is 4 lane?
06:55 AM twnqx: plus two internal 2.5" system SSDs
06:55 AM polymorph: or 1?
06:55 AM twnqx: 4
06:55 AM twnqx: it's a single 4 lane cable
06:56 AM polymorph: i have old scsi 320 card that supperts 15 devices maybe
06:56 AM polymorph: 1 parallel cable runs through
07:11 AM twnqx: yeah, i know SCSI. I had every generation from Fast SCSI up to Ultra 320.
08:11 AM Haohmaru: https://electronics.stackexchange.com/a/49825
08:11 AM Haohmaru: would it help (or not) if there's another series resistor on the ground connection towards that switch?
08:12 AM McDonaldsWiFi: Alright I saw the light, I switched to C lol
08:12 AM Haohmaru: from what?
08:12 AM McDonaldsWiFi: ASM xD
08:13 AM McDonaldsWiFi: They convinced me that asm really isn't needed in 90% of cases anymore
08:13 AM * Haohmaru whispers.. see plus plussssss
08:13 AM nuxil: Haohmaru, you mean put a resistor on the line at pin3 ?
08:13 AM McDonaldsWiFi: Haohmaru: eww
08:13 AM Haohmaru: nuxil yes
08:13 AM Haohmaru: below the 1K resistor in the schematic
08:13 AM Haohmaru: before the choke thing
08:14 AM Haohmaru: because, if i understand correctly, the cable that carries ground for that distant switch, will act as an antenna
08:14 AM nuxil: yea its an antenna altight
08:15 AM Haohmaru: so, would it be an improvement to change the 1k resistor to 470, and another 470 on the other cable?
08:16 AM nuxil: but putting a resistor between two ground points makes no sense imo. you need to add filter if you want to remove "rf noise" on the signal cable. that be +
08:16 AM Haohmaru: there IS one.. that capacitor there
08:17 AM Haohmaru: also, another (bigger) capacitor on the switch side
08:17 AM nuxil: also. usa sheilded cable if you can.
08:17 AM nuxil: *use
08:18 AM nuxil: also. define "long wire" how long is your wire ? 10meters?
08:19 AM Haohmaru: that is unknown
08:22 AM nuxil: hmm actually you dont want a resistor on the gnd connecton. because you will make "voltage dividor" due to the resistance in the cable and your added one. the resistance in the hole cable will be R = ro * (L^2) /A so for your gnd wire its just, R = ro * L /A
08:23 AM Haohmaru: i know
08:25 AM nuxil: what cable are you using ?
08:26 AM nuxil: you might want to use a shielded cat cable or something like that.
08:27 AM nuxil: unless you want your signal to dance to you local radiostation :)
08:28 AM polymorph: [15:09] <Haohmaru> would it help (or not) if there's another series resistor on the ground connection towards that switch? - no :)
08:28 AM polymorph: Haohmaru: that is a lowpass RC filter
08:29 AM Haohmaru: i know
08:29 AM polymorph: Haohmaru: it is a hardware debouncer if you will
08:29 AM Haohmaru: but i'm thinking, if some spike happens on the two cables, it will have to pass thru a 1k resistor thru one of them, but thru much lower resistance on the gnd cable
08:30 AM Haohmaru: i know that too
08:32 AM nuxil: if you are worried about spikes. you also want to clamp the spike to your n volts. example use a fast zener with your lowpass filter..
08:48 AM rue_: just use a differential line transciever, rs422?
08:48 AM rue_: give it the right termination resistor
08:48 AM rue_: 50' is nothing
08:48 AM rue_: I use i2c over 75 feet
08:54 AM Haohmaru: rs422 for a f*cking button?
08:55 AM rue_: ...
08:55 AM rue_: why are you worried about anything if its just a button
08:55 AM Haohmaru: cuz it passes thru walls with other sh*t and IC inputs tend to burn often
08:56 AM Haohmaru: or misbehave
08:56 AM rue_: does it, or does it usually, or has it been failing
08:57 AM rue_: is the IC an AVR?
08:57 AM Haohmaru: xmega/pic18
08:57 AM rue_: doorbell or securrity system?
08:57 AM Haohmaru: security system
08:58 AM rue_: so, your not doing loop monitoring
08:58 AM rue_: aka, "cable was just cut
08:58 AM rue_: "
08:58 AM rue_: just circuit is open/closed
08:59 AM Haohmaru: only on some inputs
09:00 AM Haohmaru: or maybe not
09:02 AM rue_: if your freaked, use an opto
09:02 AM rue_: send the bulk (not 5V) down the wire
09:02 AM Haohmaru: doesn't that mean i need a voltage source on the button side?
09:03 AM rue_: no
09:03 AM Haohmaru: where will the voltage for the opto come from then?
09:03 AM rue_: makes the 2 wires +12V and the opto anode
09:03 AM rue_: your 5V comes from something
09:03 AM rue_: usually higher
09:04 AM rue_: somewhere I ahve a proper loop monitor circuit
09:05 AM rue_: open, EOL, closed
09:05 AM rue_: where open is circuit fault and closed is alarm
09:06 AM Haohmaru: i couldn't figure out how to use an opto isolator in this scenario
09:06 AM Haohmaru: without sending one of the power rails of the device down the long cable
09:06 AM rue_: http://ruemohr.org/~ircjunk/circuits/falarmsch.png
09:07 AM rue_: in that one, the two wires off to the left are the loop
09:07 AM rue_: A tells you if you have any loop current, and B tells you if its an alarm current
09:09 AM rue_: you dont have to use a 74ls139
09:11 AM rue_: you know how to wire an led, right?
09:12 AM rue_: if you had a 12V supply an led and a box of resistors?
09:13 AM Emil: polprog: wanna see something that's at the same time retarded and awesome?
09:13 AM nuxil: hey Emil share with all of us :p
09:14 AM Emil: https://emil.fi/p/fbcl
09:14 AM rue_: Cannot communicate securely with peer: no common encryption algorithm(s).
09:14 AM rue_: (Error code: ssl_error_no_cypher_overlap)
09:14 AM Emil: and even better
09:14 AM rue_: hey Emil , is that shit you said didn't exist!!!!
09:14 AM Emil: it's the background on emil.fi
09:14 AM rue_: Cannot communicate securely with peer: no common encryption algorithm(s).
09:14 AM rue_: (Error code: ssl_error_no_cypher_overlap)
09:14 AM nuxil: Emil, heh
09:14 AM rue_: (Error code: ssl_error_no_cypher_overlap)
09:14 AM rue_: (Error code: ssl_error_no_cypher_overlap)
09:14 AM rue_: (Error code: ssl_error_no_cypher_overlap)
09:14 AM rue_: (Error code: ssl_error_no_cypher_overlap)
09:14 AM Emil: rue_: you aparently cannot read
09:15 AM rue_: it must be secure content that I dont have permission to access!
09:15 AM nuxil: rue_, you still on a brower from the 80's ?
09:15 AM rue_: I dont ahve a tablet browser
09:15 AM rue_: all programs made right now are for tablets
09:15 AM rue_: LOTS of clicking
09:15 AM Emil: rue_: 2018/01/30 15:44:43 [crit] 27943#27943: *551 SSL_do_handshake() failed (SSL: error:1417D18C:SSL routines:tls_process_client_hello:version too low) while SSL handshaking
09:16 AM Emil: rue_: why can't you believe me when I say something?=
09:16 AM Emil: why must you, too, be retarded
09:16 AM rue_: yea,t eh content is too secure fr me to see
09:16 AM Emil: rue_: your TLS version is too old
09:16 AM Emil: you can enable tlsv1.2 from about:config
09:16 AM Emil: rue_: so, next time you spew bullshit about knowing anything about crypto, don't.
09:17 AM rue_: there are 3 tls settings
09:17 AM Haohmaru: rue_ i can.. where will the 12V come from on the button side?
09:17 AM rue_: security.enable_tls
09:17 AM Haohmaru: dedicated PSU?
09:17 AM rue_: security.enable_tls_session_tickets
09:17 AM rue_: services.sync.prefs.sync.security.enable_tls
09:17 AM Emil: As a workaround, you can enable TLS 1.2 in Firefox/Iceweasel 25 and 26
09:17 AM Emil: by setting the preference security.tls.version.max=3 in about:config.
09:17 AM Emil: See:
09:17 AM Emil: https://bugzilla.mozilla.org/show_bug.cgi?id=861266#c27
09:17 AM Emil: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728068
09:17 AM rue_: thats it emil
09:18 AM Emil: rue_: you might also want to learn to use a search engine
09:18 AM rue_: I added that
09:18 AM Emil: I recommend Google
09:18 AM rue_: and min to 1
09:18 AM Emil: security.tls.version.max=3
09:18 AM rue_: I'm sure you do, the user biased advertizing engine
09:18 AM Emil: works for me
09:18 AM Emil: wontfix
09:18 AM rue_: Emil, I did add that, it does nothing
09:18 AM Emil: can't replicate
09:19 AM rue_: so there we have it, your site is too secure for me to be allowed to access
09:19 AM Emil: you can always curl it
09:19 AM Emil: or use links
09:19 AM rue_: is it secure because you have a user login, or because you got sad securrity on the servier itself?
09:20 AM Emil: rue_: stop
09:20 AM Emil: you are embarrassing yourself
09:20 AM rue_: sure sure, cause its true
09:20 AM nohitzwork: my stm32 synth can now output 5 waveforms https://imgur.com/a/Eex2q
09:20 AM rue_: its not really secure anyhow, your not using 8192 bit
09:20 AM nohitzwork: next is MIDI
09:20 AM Emil: nohitzwork: niiice
09:21 AM rue_: yesterday they cracked 32 and 64 bit, now we use 128 and 256 bit, but its already cracked, were just behind the times, WE NEED TO BE USING 8192 BIT!!!!!
09:22 AM Haohmaru: that's weak, 4Mbit
09:22 AM rue_: Emil, is still allowing 128 bit!!!!!
09:22 AM Emil: rue_: stop
09:22 AM Emil: rue_: you are being a fucking retard
09:22 AM rue_: he's gonna get broken into!
09:23 AM rue_: Emil, I love this in contrast to your "this problem dosn't exist" from last night
09:23 AM rue_: go on, tell me why you dont allow http connections
09:24 AM rue_: tell me exactly why not
09:24 AM rue_: thats what I figured.
09:25 AM rue_: its not for me, its not for you
09:25 AM Emil: ...
09:25 AM rue_: its for googles bots
09:26 AM rue_: I'm open to you saying otherwise...
09:28 AM rue_: off to work, bye!
09:36 AM polprog: Emil: sure whats that?
10:02 AM polprog: Emil: lol wut
10:02 AM polprog: fortune | cowsay | lolcat ?
10:24 AM Emil: polprog: one more :D
10:25 AM polprog: i dont know this silly bash program :P
10:25 AM Emil: the quality of my homepage took a huge nose dive
10:25 AM Emil: https"//emil.fi
10:25 AM Emil: https://emil.fi
10:25 AM polprog: Emil: https://www.youtube.com/watch?v=s-YbuBmFBQY
10:26 AM polprog: plus, http://polprog.net/wp-admin/
10:26 AM Emil: hahahaha :D
10:27 AM Emil: top tier response to scanning
10:29 AM polprog: did you get the office space boss pic or Dale Gribble?
10:58 AM nohit: Prototypiointi
10:58 AM nohit: is that a word
11:01 AM polprog: sounds like finnish/swedish
11:02 AM nuxil: nohit you are the same guy as nohitzwork right?
11:04 AM nuxil: lol polprog, "Prototypioinit", that sounds not like sweedish, looks more finnish :p
11:04 AM polprog: my thiughts too
11:05 AM polprog: swedish is more gernal like
11:05 AM nuxil: sweedish and finnish is far far apart sounds nothing alike.
11:05 AM nohit: nuxil yes
11:05 AM polprog: finnish is more totoroto titititi
11:05 AM polprog: lel
11:05 AM nuxil: nohit, so your woring on a fun generator too ?
11:05 AM nuxil: *working
11:06 AM danci: its a musical synth, but yes
11:06 AM polprog: generates fun so yes i gues
11:06 AM nuxil: youre missing rew sawtooth :D
11:07 AM danci: yes
11:07 AM nuxil: whats the bandwidth on it?
11:08 AM danci: sample rate is 40khz
11:08 AM danci: so 20khz
11:09 AM nuxil: oki. thats not much. but ok when doing audio as you are.
11:09 AM danci: yes
11:09 AM polprog: not 48k? or 44k1?
11:11 AM nuxil: i have to redo my "fun" generator :p
11:11 AM danci: no
11:11 AM danci: 40k
11:12 AM nuxil: had to many isr on the "dds" chip and have to offload that to another chip. cant have lots of isr running with time critical stuff.
11:12 AM danci: im gonna start to implement midi next
11:12 AM polprog: when everything is time critical nothing is
11:12 AM polprog: :P
11:15 AM nuxil: im writeing up a lib for the mcp23008 now. this chip is kind of nice when you got lack of pins :)
11:18 AM danci: is it a io expander?
11:18 AM nuxil: i you into i2c and need a io expander, take a look at the mcp23008 chip. there are tonz of libs for it already but none that sutes my need.
11:19 AM danci: do you have block diagram of your system?
11:20 AM danci: its fun to draw block diagrams
11:21 AM nuxil: no. . this is how i set it up.
11:21 AM nuxil: https://gyazo.com/8f6b9d0855710cb0c5cd0ae2216aaaf9
11:23 AM nuxil: the atiny85 will be the chip that contols everythin
11:23 AM danci: cool
11:25 AM nuxil: still lots of work. the most work is coding this stuff. putting together the harware is a pize of cake.
11:26 AM nuxil: *hardware
11:26 AM nuxil: my breadboard looks like a crows nest :)
11:35 AM danci: my only hardware is nucleo right now
11:37 AM nuxil: i have a nucleo too, still in its package. never used.
11:37 AM nuxil: i didnt like this thing. i felt like a aurdino user when i got it :p
11:38 AM danci: i need to make this and connect it to its uart http://2.bp.blogspot.com/-sQ8Uw7x-Vs0/VOatHJCRTGI/AAAAAAAAA9E/yD_TdRw_QKo/s1600/MIDI_Input_Schematic.png
11:47 AM nuxil: :)
12:08 PM danci: this has single stm32f3 inside, everything is done in it https://waldorfmusic.com/en/streichfett-overview
12:09 PM danci: here is a tear down https://www.youtube.com/watch?v=umXnCuVBwf0
12:09 PM nuxil: lol that a funny name.
12:12 PM nuxil: fett has 2 meanings in my language. it means fat or pussy.. streich sound like stretch, so yea. ... its a funny name when i see it.
12:12 PM Emil: polprog: we are going to need to you stop looking for wp-admin
12:12 PM Emil: Ah, ah, I almost forgot... I'm also going to need you to go ahead and stop looking for wordpress, too. We, uhhh, lost some bandwidth this week and we sorta need to play catch-up. Mmmmmkay? Thaaaaaanks.
12:13 PM Emil: nohit: prototypiointi on ihan normaali sana
12:14 PM nuxil: what is polprog up to ?
12:15 PM nuxil: danci, it has a mojo button. :D
12:16 PM nuxil: will it attract chicks :p
12:17 PM danci: ok
12:17 PM danci: havent heard before
12:17 PM nuxil: what? never heard the term mojo before ?
12:20 PM danci: "Prototypiointi"
12:20 PM nuxil: https://www.youtube.com/watch?v=gEuw2mgLRuQ
12:20 PM danci: the word
12:21 PM danci: answered to Emil
12:21 PM danci: but cool
12:25 PM polprog: nuxil: http://polprog.net/wp-admin
01:07 PM nabil: Hi, anyone has played with MDB protocol before?
01:16 PM nabil: vending machines anyone ?
01:17 PM nuxil: nabil, take a look at https://github.com/temoto/vender/tree/master/avr-mdb
01:18 PM nabil: nuxil thanks, what I'm looking for is how to signal to a VMC (the master in the bus) that a specific slave in on the bus (coin changer for ex)
01:18 PM nabil: to receive commands later on
01:19 PM nabil: Other details of the protocol, I got them figured out
01:20 PM nabil: just this little detail, maybe I missed when reading the specs ...
01:20 PM nuxil: sorry cant help anymore. google is your best choice unless someone else in here has messed with mdb. i have never messed with mdb protocole.
01:27 PM nabil: nuxil thanks
01:48 PM danci: http://musicdsp.org/ is down
01:49 PM danci: its source for free music DSP algorithms
01:50 PM Thrashbarg: oops lol
02:05 PM nuxil: danci, wait 2 days
02:05 PM nuxil: until the 1st feb :p
02:05 PM nuxil: montly bandwith used up.
02:19 PM danci: yep
02:32 PM LeoNerd: New territory for me here: about to write some code for the second I²C controller on a 328PB
03:29 PM polymorph: back
03:35 PM polymorph: [15:52] <Haohmaru> rs422 for a f*cking button? - kek
03:36 PM LeoNerd: \o/ I have two I²C controllers now
03:37 PM polymorph: [16:13] <rue_> yea,t eh content is too secure fr me to see - lel
03:40 PM polymorph: [16:19] <rue_> yesterday they cracked 32 and 64 bit, now we use 128 and 256 bit, but its already cracked, were just behind the times, WE NEED TO BE USING 8192 BIT!!!!! - we need 512 byte encryption dude. (oh and don't handshake and send keys)
03:43 PM polymorph: LeoNerd: i did software ps/2 with interrupts bidirectionally
03:52 PM polymorph: I have a large red 7segment digital led display alarm clock that does not actually increment time, can you guess what time is it on it?
03:53 PM LeoNerd: polymorph: cute. Mm.. I need to look into PS2 keyboard input sometime
03:53 PM LeoNerd: I have a number keypad for a laptop that's PS/2.. perfect for number entry on a project I have
03:54 PM polymorph: yeah ps2 is cool, and works fast at 40kHz
03:54 PM LeoNerd: So much easier for MCUs than trying to drive a keyboard
03:55 PM polymorph: you mean an usb crap?
03:56 PM LeoNerd: Er.. yes
03:57 PM polymorph: i still use a ps/2 keyboard
03:57 PM polymorph: on a pc from last year
04:15 PM nuxil: ps2 is superior to usb :p
04:15 PM nuxil: its intertup driven iirc.
04:19 PM polymorph: YES
04:19 PM nuxil: come one Ebay.. i need my new case NAOW so i can do finish up my new psu.. this old home made one i got is dying on me.
04:19 PM polymorph: ps2 is lower latency than usbcrap lol
04:20 PM nuxil: setting it at 5v, it drops almost 1V with 10mA load :(
04:20 PM polymorph: and bidirectional, and could even have ecc
04:20 PM polymorph: nuxil: get a phone charger?
04:21 PM nuxil: i dont want to cut the wires on a usb charger. dont have any connectors.
04:23 PM nuxil: i bet its just the caps that is dryed out,
04:23 PM nuxil: i made it like 15 years ago :D
04:23 PM polymorph: cut a cable from a dead esb device ;P
04:23 PM polymorph: i have 15 old usb rats
04:25 PM nuxil: i have a couple of old atx psu's i could use. but meh.. i have new psu just need the case for it.
04:26 PM polymorph: atx psu is cool too, but large and noisy
04:26 PM nuxil: jup.
04:26 PM polymorph: you can plug in 2 wires and it works
04:27 PM polymorph: i sawed some molex connectors off old cdroms and hdds
04:27 PM polymorph: perfect for hacking stuff
04:29 PM polymorph: desoldered an atx connector from a dead motherboard and made a twilight switch on controller for atx :)
04:29 PM polymorph: atx has 5V 1A standby power.
04:31 PM polymorph: basically it can be an usb charger while standby
04:31 PM nuxil: :D
04:31 PM nuxil: 1A stanby power ? wtf :p
04:32 PM polymorph: ya
04:32 PM polymorph: how do you think your motherboard gives the switch on signal to psu ? ;>
04:33 PM polymorph: nuxil: it is great because the motherboard can run the backdoor minix3 even when power is off ;)
04:34 PM nuxil: hehe
04:37 PM nuxil: so yea. minix3 is a big spyware
04:38 PM nuxil: even intel admints it. they say it makes it easyer for admins to monitor/maintain, upgrade etc systems.
04:41 PM polymorph: nobody cares
04:41 PM polymorph: somebody just logs in your pc and does shit
04:43 PM danci: nuxil what was the lib that you use ?
04:44 PM danci: with your DDS
04:45 PM nuxil: danci, no libs, well i use some libs from Jartza for the display. but rest i done myself.
04:45 PM nuxil: i based it on https://scienceprog.com/avr-dds-signal-generator-v20/
04:45 PM nuxil: and use the asm code there. thats all i used from that project
04:47 PM danci: yeah but that lib you studied first
04:47 PM danci: tiny something ?
04:47 PM nuxil: ahh. tinytune
04:47 PM nuxil: that was for my doorbell :D
04:48 PM nuxil: that now plays chiptune .D
04:48 PM danci: ok :D
04:48 PM nuxil: https://github.com/blakelivingston/avr_tinytune
04:48 PM nuxil: and dont listen to that bit NOTE.
04:48 PM nuxil: its BS
04:51 PM nuxil: i was in contact with that dev. and suggested some stuff. and what does he do.. i patch the wrong lib. that duinotune crap :p
04:51 PM nuxil: *he patch
04:52 PM danci: damn
04:52 PM danci: is that better some how
04:53 PM danci: duinotune
04:53 PM nuxil: no. its basically the same.
04:54 PM nuxil: but i didnt use that since it had no makefile etc. so i got that tinytune lib and fixed the code that needed to be patched.
04:54 PM nuxil: https://github.com/blakelivingston/DuinoTune/commit/801a703cbd23f8e168f253dd4d8afdf1c97485de
04:56 PM danci: so it has some kind of sequencer
04:57 PM danci: playSong() etc
04:58 PM nuxil: you use renoise to make the music. convert them using a py script. upload it to the flash. and play it :D
04:58 PM danci: ok
04:58 PM danci: cool
04:59 PM nuxil: my doorbell is ;)
05:00 PM nuxil: people get a little laugh when the press it. it plays a few sec of benny hill yakety sax
05:07 PM danci: nice
06:00 PM Evidlo[m] is now known as Evidlo
06:07 PM danci: do you use git nuxil ?
06:07 PM nuxil: negative
06:19 PM nuxil: i belive i have an account there. but never used it.
06:33 PM danci: where?
06:33 PM nuxil: git
06:34 PM nuxil: i can recall i made an account there years ago. but never came around to use it.
06:34 PM danci: you mean github ?
06:34 PM nuxil: yes
06:38 PM danci: git is a version control program. git hub is hosting service for repos. you dont need github(or other similar service) to use git.
06:40 PM nuxil: oki. i didnt know. never looked much into it. though github / git was related to eachother
06:40 PM danci: they are
06:50 PM danci: you should try that new free ide for stm32 with your nucleo
06:57 PM nuxil: at some point.
06:59 PM nuxil: but. to be honest. i didnt like the hole nucleo thingy. i kindof regret buying it.
07:00 PM nuxil: i'll stick to my avrs for now. beside i have no ide what to do with the nucleo.
07:02 PM danci: maybe dac?
07:03 PM nuxil: nah. when im done with this dds project. i had enuf of dac's for a while. "r2r" networks
07:04 PM danci: well avrs are cool
07:04 PM danci: but it sucks they cost so much
07:04 PM danci: comapred to stm32
07:06 PM nuxil: really?
07:06 PM danci: it doesnt matter with hobby projects really tho
07:08 PM danci: https://eu.mouser.com/ProductDetail/STMicroelectronics/STM32F301C8T6TR?qs=sGAEpiMZZMvc81WFyF5EdulokJN5P4nJ49cGD0Z9i0U%3d
07:08 PM danci: https://eu.mouser.com/ProductDetail/Microchip-Technology-Atmel/ATMEGA2561-16AUR?qs=sGAEpiMZZMuRdXZgphLdVr8MeaI9YeYP
07:09 PM nuxil: yea.
07:10 PM nuxil: but isnt avr's are more robust
07:11 PM danci: https://eu.mouser.com/ProductDetail/STMicroelectronics/STM32F303RET6?qs=sGAEpiMZZMuTlc58v6Lktp0dJ1HCfZI4OM5hJhZ9lpA%3d
07:12 PM danci: 4 bucks cheaper and beats it in every way
07:12 PM nuxil: i know they used to use atmel in the spaceindusti due to it tollerance to radiation.
07:13 PM nuxil: when microshit starts to lockdown avr i'll move on. but until then. to much fun on avr :)
07:14 PM danci: they said they are gonna keep the old products if people buy them. but the prices will go up.
07:15 PM nuxil: the ceo said that some models will be discontinued. what models that is. no ide. pic or avrs who knows.
07:15 PM danci: well avrs will stay. they are not gonna kill them. maybe some, but not all.
07:17 PM nuxil: they can kill the atiny13 :p
07:17 PM nuxil: you write 2 lines of code and its full :p
07:17 PM danci: :)
07:21 PM nuxil: ahh. yes.. got the atiny85 to control mcp23008 now. which again controlling the 2x mcp4131 i got using spi. :D
07:21 PM nuxil: i like this io expander :D
07:22 PM nuxil: now time to try and fit the atmega324 on my breadboard so i can stat making contol signals for it aswell.
07:24 PM nohit: nice
07:25 PM nohit: i found this C# oscillator from musicdsp.org and ported it to C and stm32 https://pastebin.com/JBQMp0Wa
07:26 PM nuxil: you mean c++
07:26 PM nohit: i chaged the sine table size for 4096
07:26 PM nohit: no
07:26 PM nohit: C#
07:27 PM nohit: C++ doesnt have those features
07:27 PM nohit: properties
07:27 PM nohit: at least it didnt
07:28 PM nuxil: did it work well =
07:28 PM nuxil: ?
07:28 PM nohit: yes
07:29 PM nohit: i call the Run function 40000 times a second on a interrupt
07:31 PM nuxil: private void CalcSine()
07:31 PM nuxil: dont you want a table for this insteas ??
07:32 PM nuxil: i mean a fixed table
07:32 PM nuxil: like that dds project has
07:33 PM nohit: in that code its a table of 65536 entries, i changed it to 4096 because i ran out of ram. i only have 96kB.
07:33 PM nohit: the sine table
07:34 PM nuxil: does the stm has progmem stuff like avr where you can store stuff on the flash??
07:34 PM Emil: nuxil: es
07:34 PM Emil: yes
07:34 PM Emil: and it's easier on stm, too
07:34 PM nohit: yes. with stm32 const is enouh to store it to flash
07:34 PM nuxil: oh nice
07:35 PM nuxil: thats a big + in my book.
07:36 PM nuxil: progmem in avr is a bit awefull
07:42 PM Emil: it is
07:43 PM day__ is now known as day
07:47 PM nuxil: wow. i just got impressed by digikey. i ordered last night, 5x atiny85 and a 1x L997ND. the package was sent from usa and in Oslo already. i didnt spesify express :p
07:47 PM nohit: nice
07:48 PM nuxil: ld997nd is for a heatcontroller in a mercedes thats broken. so i orderd some atinys at the same time :)
07:49 PM nuxil: *l997nd
07:51 PM nuxil: i wounder if these atiny will be marked Atmel or Microship.
07:51 PM nuxil: *chip
07:58 PM nohit: this is pretty nice https://www.google.fi/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwi7_e7VjIHZAhUMjSwKHV7cAeYQFggyMAE&url=https%3A%2F%2Fwww.mit.bme.hu%2Fsystem%2Ffiles%2Foktatas%2Ftargyak%2F8501%2FNCOcut.pdf&usg=AOvVaw3ljf9-7a3hBq6lLoPJNI2-
07:58 PM nohit: about phase accumulators
08:02 PM nohit: LUT depth is 4096 in my project, its enough
08:03 PM nohit: 65536 is overkill
08:03 PM nuxil: might also want to take a look at . http://www.hit.bme.hu/%7Epapay/sci/DDS/IMTC2001/abstract.htm http://www.hit.bme.hu/%7Epapay/sci/DDS/Backgnd/skip.htm
08:04 PM nohit: nice
08:05 PM nohit: i have a spectrum analyzer in my analog discovery
08:06 PM nuxil: nice.
08:06 PM nohit: i cand do similar measurements like in that pdf
08:08 PM nuxil: is it this thingy you got ? https://store.digilentinc.com/analog-discovery-100msps-usb-oscilloscope-logic-analyzer-limited-time/
08:10 PM nohit: no. discovery 2.
08:11 PM nuxil: wow. that thing is expensive.
08:11 PM nuxil: $279.00 o.O
08:11 PM nuxil: must be a cheap chinees alternative :p
08:12 PM nohit: if youre a student its 179
08:12 PM nohit: but yeah, its kinda exoensive
08:12 PM nohit: but its good and versitale
08:13 PM nohit: tjios is basicly the same thing https://store.digilentinc.com/openscope-mz-open-source-all-in-one-instrumentation/
08:13 PM nuxil: i have other suff i need to buy 1st. a new multimeter. and a new digital scope is 1st on my list.
08:13 PM nohit: only 89
08:14 PM nohit: im gonna get that. the discovery isnt mine. its from work. but basicly its mine ;)
08:15 PM nuxil: looks nice.
08:32 PM nohit: in the original code the phase accumular has 16 whole bits and 12 fractional bits, that's why its shifted by "int osc = this.OscNow >> 12;" in beginning on Run. but since i chaged the LUT depth to 4096(12bits), i have to shift it " >> 4" more, otherwise i would go out of bounds in the SineTable[] array. but i do that only in "case SINE:"
08:44 PM nohit: some of these analog chips have come back, i think i might do the other parts with them https://electricdruid.net/analog-renaissance/
08:45 PM nohit: like filter
08:46 PM nuxil: i like analog stuff. i find it much more of a challange to do stuff with analog stuff vs digital.
08:47 PM nohit: yep
08:53 PM nuxil: aiaia.. i just realized. since i had to redo my dds i actually have 24 ports available on my atmega324 now. i'll should make 3sets of r2r networks :) 8bit upto 24bit.
08:54 PM nohit: 24 ports?
08:54 PM nohit: or pins ?
08:54 PM nuxil: sorry. yea pins :p
08:56 PM nohit: yeah, do at least 16 bits
08:56 PM nuxil: i think i will :)
09:02 PM nohit: STMono is what i'll call my synth
09:03 PM nohit: since its monophonic
09:10 PM nohit: so when you press a key on a keyboard it always cancels the previous sound and starts a new one, so only one sound at a time
09:10 PM nohit: pretty basic
09:12 PM nohit: some f3's have 3 dacs so that would be 3 voice polyphony
09:12 PM nohit: you could play chords
09:13 PM nohit: i have l4 and it has 2 dacs
09:14 PM nohit: but the other one is on the same pin with led 2 on the nucleo board
09:20 PM nuxil: plan on adding in more voices ?
09:21 PM nuxil: maybe that tinytune code can be of some help. it supports upto 4 voices iirc. maybe it can be of some help if you want more voices.
09:23 PM nohit: yes. there's much to learn. but i will start simple first
09:24 PM nohit: monophonic will do fine for now
09:24 PM nuxil: yea. start with that.
09:25 PM nohit: there's few parameters that you can tweak live, like pulse width
09:25 PM nohit: its gives nice effect
09:25 PM nohit: and i can add midi cc commands so it can be controlled from external midi device
09:26 PM nohit: i'll make a dedicated pot for pulse width to the front panel
09:26 PM nohit: and maybe it can be modulated with LFO
09:27 PM nuxil: you can adjust the pluswidth on the sinus too ?
09:28 PM nohit: no, just the pulse wave
09:28 PM nohit: or square wave
09:28 PM nuxil: oki.
09:29 PM nuxil: doing that for the sinus will be hard i think.. like the positive peroid is 1ms and negative 2ms etc.
09:42 PM nuxil: if you want HW solution to effects. http://www.muzique.com/schem/projects.htm
11:32 PM day__ is now known as day
11:36 PM day__ is now known as day
11:48 PM polprog: morning
11:49 PM nuxil: mornings
11:49 PM polprog: picking up the stm parcel later today
11:49 PM polprog: \o/
11:50 PM nuxil: bet you be playing with it all afternoon/evening.
11:51 PM polprog: i guess thats right ;)
11:53 PM polprog: im already in the train and the sun hasnt risen yet. thats not right :<
11:56 PM day__ is now known as day
11:59 PM nuxil: lol