#avr Logs

Mar 30 2018

#avr Calendar

02:34 AM Haohmaru: arm-related channels?
02:38 AM _ami_: Haohmaru, ##stm32
02:38 AM _ami_: but there are so many trolls in that channel
02:38 AM _ami_: and racists too
03:44 AM Jartza: hallo
04:01 AM rue_: hi
04:21 AM _ami_: damn.. could not resist.. bought DPS5015 PSU(usb + bt modules) along with case
04:25 AM nohitzzz: hello
04:27 AM _ami_: nohitzzz, hi
04:27 AM _ami_: Jartza, rue_ hello guys
04:28 AM nohitzzz: Haohmaru dont you have easter holidays there?
04:29 AM polprog: morning
04:29 AM nohitzzz: morning
04:29 AM Haohmaru: nohitzzz, why u ask?
04:29 AM nohitzzz: because you are at work
04:29 AM Haohmaru: is it easter?
04:30 AM nohitzzz: its https://en.wikipedia.org/wiki/Good_Friday
04:30 AM nohitzzz: we have holidays friday - monday
04:30 AM nohitzzz: i though this was all europe
04:30 AM Haohmaru: https://en.wikipedia.org/wiki/Public_holidays_in_Bulgaria
04:31 AM nohitzzz: ok
04:31 AM Haohmaru: i think easter is not here yet, coz i would be seeing painted eggs everywhere
04:36 AM _ami_: no holiday today for me. you lucky ones!! :/
04:48 AM _ami_: Haohmaru, howz your stm32 hacking going on?
04:48 AM _ami_: blinked leds?
04:49 AM Haohmaru: i don't have an actual chip yet, i'm still figuring out if i can even go this route
04:49 AM Haohmaru: not much luck yet
04:54 AM _ami_: ok
04:55 AM nohitzzz: _ami_ where are you from? do you have any idea what a small bungalow/house would cost in india?
04:55 AM nohitzzz: in us dollars
04:56 AM _ami_: i live outside india, but i can tell you the estimates.
04:56 AM _ami_: what are you looking for? independent house or apartment?
04:56 AM nohitzzz: independet house
04:56 AM _ami_: which area? near new delhi? noida?
04:56 AM rue_: watch those cardboard boxes, the rental rates can be crazy
04:57 AM nohitzzz: goa
04:57 AM _ami_: ok.
04:59 AM z999: hello
04:59 AM nohitzzz: hi
04:59 AM z999: tom l are you around?
04:59 AM z999: hey are are you?
04:59 AM z999: Tom_L hello
05:00 AM rue_: prolly sleeping
05:00 AM rue_: what time 3am.. hmm
05:00 AM z999: hey rue_
05:00 AM z999: 6am here
05:00 AM rue_: he might be awke soon tho
05:00 AM z999: work?
05:00 AM rue_: nope, holiday
05:00 AM z999: lovely
05:00 AM _ami_: nohitzzz, In noida, the rate for independent house is around INR 1.2-1.5m(18k$ - 25k$)/sq. meter
05:01 AM rue_: hmm I'd like to work out this stm32 i2c thing
05:01 AM rue_: _ami_,
05:01 AM z999: i wonder if Tom_L is american or british?
05:01 AM z999: or maybe canadian?
05:01 AM rue_: you mentioned banging togethor a C version?
05:01 AM nohitzzz: ok thanks _ami_
05:01 AM _ami_: nohitzzz, goa should be cheaper
05:01 AM nohitzzz: yeah
05:02 AM _ami_: 20-30% cheaper
05:02 AM rue_: I'm pondering writing soemthing that uses a state machine, with just two i2c calls
05:02 AM rue_: i2c_write(address, data, finished)
05:03 AM _ami_: rue_, gonna use i2c events?
05:03 AM rue_: and i2c_read(address, finished)
05:03 AM rue_: at this rate, bit banging it would be easier
05:03 AM rue_: less code
05:03 AM rue_: port flurrys library from avr asm to stm32 C
05:03 AM _ami_: rue_, have a busy flag which tells you if earlier communication is finished or not.
05:04 AM z999: rue is such a girl name
05:04 AM z999: are you a girl too?
05:04 AM rue_: how about ruediger
05:04 AM _ami_: nohitzzz, np
05:04 AM z999: is that a girl's name?
05:04 AM rue_: dont think so
05:04 AM rue_: is jamie a male or female name?
05:05 AM rue_: how about yacha
05:05 AM rue_: those ones always had me on the line
05:05 AM z999: both
05:05 AM z999: jamie is considered both
05:05 AM rue_: mmhmm
05:05 AM rue_: how about ruediger then?
05:05 AM z999: yacha i do not know
05:05 AM z999: ruedigger is from germany?
05:05 AM rue_: you dont know yacha?
05:05 AM rue_: no
05:05 AM z999: no
05:06 AM rue_: rue -> kangaroo -> [roo] -> rue
05:06 AM z999: where does the name come from
05:06 AM rue_: kangaroo
05:06 AM z999: are you aussie?
05:06 AM rue_: which would be ozie land
05:06 AM rue_: nope
05:07 AM rue_: mohr: rue -> rumor -> Rue Mohr
05:08 AM rue_: Nahc: nah -> rumor, nah. -> Nahc -> Rue Nahc Mohr
05:08 AM rue_: <- Rue Nahc Mohr
05:09 AM rue_: can also be interpreted rue mohr -> "street of education" -> life.
05:09 AM rue_: as life is the infinite road of learning
05:09 AM rue_: TMI?
05:09 AM rue_: :)
05:10 AM rue_: _ami_, alive?
05:11 AM _ami_: Yup
05:11 AM _ami_: bit banging would work as well..
05:12 AM rue_: whats the advantage of usign the hardware, its not doing much for ya
05:12 AM rue_: you set everything up, essentially bit bang the start and stop bits,and it shifts out for ya
05:12 AM rue_: so, it saves 8? cycles? while the processor waits in a loop for them to complete?
05:13 AM rue_: the stm32 can PROBABLY take a 400Khz interrupt clock without a lot of overhead
05:13 AM rue_: being its running at 72Mhz
05:13 AM _ami_: rue_, use the i2c event isr. its not so nice to code but you don't need to wait. ISR will take care of communication.
05:13 AM z999: fabio, yuck! how could he be considered handsome? just because he had long blonde hair and a muscular body?
05:14 AM rue_: z999, are you looking for a mate?
05:14 AM rue_: 8-|
05:14 AM rue_: anyhow
05:14 AM z999: he was on the cover of all romance fiction novels in the 80s and 90s
05:14 AM rue_: _ami_, but, still, the volume of code...
05:14 AM z999: rue, not exactly
05:14 AM _ami_: should i send you i2c_isr event code? and you then decide?
05:14 AM z999: just had a thought and threw it out there
05:14 AM _ami_: but yeah, its a long/complex code.
05:15 AM rue_: _ami_, c++ isn't it?
05:15 AM _ami_: yeah cpp
05:16 AM rue_: there is only one i2c interface, why use an object if thre can only be one instance... hmmmm
05:16 AM rue_: or I translate flurrys code
05:16 AM rue_: I wonder what the difference in debug time is between writing my own from scratch or translating flurrys
05:17 AM _ami_: :)
05:17 AM rue_: last time I tried to write bitbang i2c I did't finish
05:17 AM rue_: but my model was wrong
05:17 AM _ami_: on stm32?
05:17 AM rue_: didn't break it into layers properly
05:17 AM rue_: no, on avr
05:17 AM rue_: before flurry
05:17 AM _ami_: i did write bitbang on avr and it did work pretty well.
05:18 AM rue_: because the hardware on avr is just as bad to try to operate as bit-banging
05:19 AM _ami_: i could achieve 0.2Mhz speed (if my calculations are correct)
05:19 AM rue_: on an stm32?
05:19 AM _ami_: no, on avr
05:19 AM rue_: I'm sure that a 400Khz interrupt could be achived
05:19 AM rue_: ah
05:19 AM _ami_: 222Khz i2c speed using bitbang
05:20 AM rue_: 72Mhz processor, 400Khz interrupt
05:20 AM _ami_: on avr
05:20 AM rue_: yea
05:20 AM rue_: its 3am
05:20 AM rue_: I should have supper
05:20 AM * rue_ looks at a bag of chips
05:20 AM _ami_: :P
05:20 AM _ami_: better go to sleep :)
05:20 AM rue_: can I eat 3w audio amps for supper?
05:21 AM * rue_ thinks
05:21 AM rue_: low speed, 100Khz,
05:21 AM rue_: one bit clock interrupt, and one interrupt on pin change of the data line
05:22 AM rue_: state machine in the timer interrupt
05:22 AM rue_: geeeeez, I could take up jumping off bridges too
05:23 AM Haohmaru: i've heard that photo resistors are much tasty
05:24 AM * Haohmaru sneaks out
05:24 AM rue_: maybe there is another horrid option to reverse-wrap the c++ library into an extern-c library
05:27 AM _ami_: since stm32 has 2 I2Cs, it can be used as an i2c bridge.
05:27 AM rue_shop3: maybe I should just do this all in arduino
05:30 AM nux_: i2c router :p
05:31 AM rue_: I suppose a good line to work it out is "does this help me get closer to porting myself to a electromechanical platform"
05:31 AM _ami_: yeah
05:31 AM rue_: _ami_, no
05:31 AM rue_: the 32F108 only has 2
05:31 AM rue_: sldfjlasdf
05:31 AM rue_: 1
05:31 AM _ami_: oh.. F103 has 2
05:31 AM _ami_: the popular one - blue pill.
05:31 AM rue_: the 32F103C8T6 only has 1
05:32 AM _ami_: No!!
05:32 AM _ami_: 2
05:32 AM _ami_: check DS
05:32 AM rue_: I did
05:32 AM rue_: the only i2c pins are B6 and B7
05:32 AM rue_: what datasheet are you reading?
05:32 AM _ami_: and i wrote the damn code and it was for 2 I2Cs peripherals
05:32 AM _ami_: wait.. let me check the code.
05:32 AM rue_: yea, you were using a mid-or large size one
05:33 AM rue_: not the C8T6 I'm using
05:33 AM _ami_: blue pill has stm32f103c8t6 processor
05:33 AM _ami_: and i am sure it has 2 I2Cs
05:33 AM rue_: yea
05:33 AM rue_: B6 and B7 are the only i2c pins
05:33 AM rue_: i2c1
05:34 AM _ami_: and i2c2 sda and scl are PB11 and PB10.
05:34 AM rue_: that said, there were no errors compiling your code that used i2c2
05:34 AM rue_: waaa
05:35 AM _ami_: rue_, http://www.st.com/en/microcontrollers/stm32f103c8.html
05:35 AM _ami_: "Up to 2 x I2 C interfaces (SMBus/PMBus)"
05:35 AM rue_: my datasheet shows blank, with alternate of tim2_ch3 and 4
05:36 AM * _ami_ should hand correct DS to rue_
05:37 AM _ami_: rue_, http://www.st.com/resource/en/datasheet/stm32f103c8.pdf
05:37 AM _ami_: page no. 30
05:38 AM rue_: trying to work out the diff between thsese
05:38 AM rue_: oooh
05:38 AM rue_: my datasheet is for stm32F103x4, x6
05:39 AM _ami_: so many f1 variants
05:39 AM _ami_: its confusing sometimes
05:40 AM rue_: finding the register datasheet was a challange
05:41 AM rue_: ok, so maybe I can go back to hacking your origional
05:46 AM _ami_: i think you would like my i2c code based on isr. its much cleaner.
05:47 AM rue_: right now, I want a) something that works b) something in C
05:48 AM _ami_: ok :)
05:48 AM _ami_: i wonder how rue_ brain is still working at post 3 am.
05:48 AM rue_: alept after work, not tired anymore
05:49 AM rue_: BUT sleep and reset are not the same
05:49 AM rue_: sleep != rest
05:49 AM _ami_: indee.
05:49 AM _ami_: indeed*
05:50 AM rue_: I been not sleeping and not resting all week
05:50 AM rue_: I cant hold sync with a workweek
05:50 AM nux_ is now known as nuxil
05:51 AM rue_: I'm half asleep for 50% of the time I spend at work
05:51 AM rue_: its a good thing I can do most of the stuff in my sleep
05:51 AM nuxil: do you have ""celebrate" eastern in s.cr ?
05:52 AM nuxil: @_ami_,
05:52 AM _ami_: s.cr?
05:52 AM nuxil: south corea
05:52 AM nuxil: erm
05:52 AM _ami_: no holidays today for us.
05:52 AM _ami_: korea* :)
05:52 AM nuxil: today is "Good Friday" .. in norway we call it Langfredag.
05:53 AM nuxil: directly translated it becomes. Long friday :p
05:53 AM _ami_: :)
05:53 AM _ami_: nice
05:53 AM _ami_: you could hack longer then. :)
05:53 AM nuxil: lolz :)
05:54 AM nuxil: hack my printer, and suprise me :)
05:54 AM rue_: AAAAAAAAAAAAAAA 40 column code is from the FORTRAN days!!!!!!!!!!!!!
05:54 AM _ami_: nuxil, i listen to you and i bought DSP5015 PSU along with case. :)
05:54 AM rue_: why do people still write 40 column code!!!!!!!!!!!!!!!!!!!!!!!!!
05:54 AM rue_: AAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGGGGGGGGG
05:55 AM _ami_: rue_, are you complaing about my code? :) i should know! :P
05:55 AM rue_: freamking 48" monitors and writing ffffing 40column code
05:55 AM nuxil: _ami_, i want one too :p but i spend my money on a 3d printer instead.
05:55 AM Tom_L: did you figure out what z999 wanted?
05:55 AM nuxil: need to save up some before getting new stuff :p
05:55 AM _ami_: nuxil, nice.. congratulations.
05:56 AM rue_: do you know why 40 columns!?
05:56 AM _ami_: waht is 40 column code?
05:56 AM rue_: FORTRAN WAS DONE ON PUNCH CARDS THAT ONLY HAD 40 CHARACTERS
05:56 AM rue_: each punchcard was a LINE OF CODE
05:56 AM _ami_: ah! per line limit
05:56 AM rue_: I REALLY WISH people would get over the punchcard days
05:56 AM rue_: we are NOT going back!
05:56 AM polprog: rue_: context :D
05:56 AM _ami_: i think i have this setup in my vimrc
05:57 AM polprog: ?
05:57 AM rue_: GET OVER IT, THE 40 COLUMN DAYS ARE OVER
05:57 AM rue_: AAAAAAAAAAAAAAARRRRRRRRRRRRRG
05:57 AM rue_: everyone!
05:57 AM _ami_: lol, now i know why are you complaining. :P
05:57 AM polprog: set cc=80
05:57 AM Tom_L: they're gonna bring back 8 track tapes too
05:57 AM _ami_: those INA219 constants
05:57 AM _ami_: its set to 80
05:58 AM polprog: can someone explain what piece of code are we talking about? o
05:58 AM rue_: set it to 999, YOUR 48" 5120X2190 MONITOR CAN TAKE IT!!!
05:58 AM _ami_: polprog, probably he is complaining about those INA219 config commands (macros)
05:58 AM _ami_: http://www.enlightenment.org/ss/e-5abe18056a1f92.19550544.png
05:59 AM rue_: https://github.com/libopencm3/libopencm3-examples/blob/master/examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c
05:59 AM rue_: gpio_set_mode(GPIOB, GPIO_MODE_OUTPUT_2_MHZ,
05:59 AM rue_: GPIO_CNF_OUTPUT_PUSHPULL, GPIO6);
05:59 AM rue_: ^^^^ ARRRRG
05:59 AM polprog: oh look at mr rich here with his 48" monitor!!!111oneone
05:59 AM _ami_: ah, its not me then. :P
05:59 AM _ami_: ok. good to know.
06:00 AM rue_: not me, mine are HP LP2065, looooooooooooooooots of room for TEXT
06:00 AM polprog: _ami_: okay. that code looks terrible
06:00 AM _ami_: polprog, its beautiful
06:00 AM _ami_: go away
06:00 AM _ami_: :P
06:00 AM polprog: set cc=80
06:00 AM polprog: do it
06:00 AM rue_: you see how bit-banging i2c is less code than using the hardware system?
06:00 AM polprog: lol
06:01 AM Emil: rue_: because it's syncrhonous
06:01 AM Emil: and probably doesn't handle all the cases
06:01 AM Emil: synchronous*
06:02 AM Emil: Fortunately you can't beat spi, which is the superior protocol
06:02 AM Emil: anyways
06:02 AM Emil: :D
06:02 AM _ami_: polprog, generally i open lots of terminals on my screen. i got 3 monitors though but i still do this.
06:02 AM rue_: I have an led on a pcf8574
06:02 AM rue_: my goal, over the past 2 weeks has been to turn iton
06:02 AM rue_: :/
06:02 AM polprog: well with a premade wavetable i can bit bang you i2c that outputs a fixed byte, with a for loop :D
06:03 AM polprog: _ami_: sec, ill show you my desktop
06:03 AM polprog: let it boot first
06:04 AM _ami_: rue_, send over few pcf8574 and i will send a video of blinking leds :P
06:04 AM * rue_ mauls the internet code to try to get the damn led to turn on
06:04 AM rue_: _ami_, what country are you in?
06:04 AM _ami_: rue_, s. korea
06:05 AM rue_: hmm
06:05 AM rue_: can packages even be sent to there without being blown up?
06:05 AM _ami_: :)
06:05 AM rue_: I take that as a no
06:05 AM rue_: "shipping damage, package atomized"
06:05 AM _ami_: btw, don't worry. i will send you a nice i2c C library to you during weekend.
06:06 AM _ami_: it should work in one go. you need to figure our PCFXX commands.. it should be easy though? send the 8 bit data after start? thats it?
06:06 AM _ami_: our/your/s
06:07 AM rue_: I'm hacking that code to send 0x00 to 0x70
06:07 AM rue_: if it works, I'll clean it up
06:07 AM _ami_: ok
06:09 AM _ami_: tell me the good news in 5.4.3.2.1 seconds
06:09 AM rue_: a good libary would make main not require more code than bit-banging the i2c... thats all I'm on about
06:09 AM rue_: i2c_write(address, data, finished)
06:10 AM rue_: i2c_read(address, finished)
06:10 AM rue_: a state machine in the library can work out all the rest
06:10 AM rue_: granted, if there are two i2c interfaces, it could have an object to store state
06:10 AM polprog: _ami_: https://puu.sh/zSyco/f61a514419.jpg https://puu.sh/zSyac/ba9f3d3e49.png behold
06:11 AM rue_: and if its bitbanged, well, all the mroe for an object
06:11 AM rue_: hv power supply?
06:11 AM Haohmaru: polprog, why do i have the feeling that you have exposed metal parts with high voltage on your desk?
06:11 AM rue_: ezp-06-00?
06:12 AM _ami_: polprog, nice, why one monitor is FAR away? is it for irc chat/browsing?
06:12 AM rue_: oh, says 5V
06:13 AM rue_: floppies and a backup cassette eh?
06:14 AM polprog: rue_: 5V power supply. that's the old supply. not used much since i got the lab one
06:14 AM _ami_: rue_, seems like cd/dvd case
06:14 AM rue_: on top of the disk cases
06:14 AM _ami_: oh, he has rigol scope too.
06:14 AM rue_: a pack of floppies...
06:14 AM rue_: floppies for the scope?
06:14 AM polprog: _ami_: because of how i sit, they are both the same distance. the one on the left is for irc/browsing
06:15 AM polprog: the front one is for code
06:15 AM rue_: shoudl I send ya a pic of my mess?
06:15 AM polprog: i wish i had a drive for the tape
06:15 AM polprog: heh sure ;)
06:15 AM _ami_: ah ok'
06:16 AM polprog: actually ill put those floppies away since my sun doesnt have a floppy drive
06:16 AM polprog: :(
06:18 AM pwillard_ is now known as pwillard
06:18 AM rue_: http://ruemohr.org/~ircjunk/images/desk.jpg
06:19 AM rue_: there would normally be a monitor to the right of all that, but the center monitor needs new caps and I swapped them
06:19 AM rue_: also, I cant get X working across 2 video cards
06:20 AM polprog: how come
06:20 AM rue_: there was a driver problem
06:20 AM rue_: it could see only one of them at a time or soemting stupid
06:20 AM _ami_: polprog, rue_ http://www.enlightenment.org/ss/e-5abe1d31018cd2.26995902.png - can't take pic in office
06:20 AM rue_: the other card was pci, the main card is pcie
06:20 AM _ami_: but its usual office desk you know.
06:21 AM nohitzzz: _ami_
06:21 AM polprog: if the dumb bios in this hell optiplex allowed using onboard gpu and the PCI card i could have a 3rd monitor easily... if i had desk space :D
06:22 AM polprog: _ami_: heh. that rue_'s picture is so tiny on that screen
06:22 AM _ami_: zoom it.
06:22 AM rue_: yea, auto scaling dude
06:22 AM rue_: er, whatever
06:22 AM rue_: I try to keep the website lean
06:22 AM rue_: as its donated space
06:23 AM polprog: rue_: whats that wallpaper on your desktop?
06:23 AM rue_: http://ruemohr.org/~ircjunk/art/clipper.png
06:23 AM rue_: from my povray days
06:23 AM nohitzzz: _ami_ im currently in Pieksmki, Finland. a house next to this house was sold for 20 000euros (it has about 100 square meters). so its 200euros / square meter. so im very suprised about the prices in india.
06:24 AM polprog: rue_: nice
06:24 AM Haohmaru: so much aliasing
06:24 AM _ami_: nohitzzz, there are so many people in india :/
06:24 AM polprog: i like the voronoi floor
06:24 AM rue_: my place is 111m^2 and is evaluated at $512k
06:25 AM rue_: I can re-render it to any size
06:25 AM rue_: units cant convert 20k euro to cad
06:25 AM polprog: allright. off to buy mixer parts
06:26 AM rue_: awe, I have a pile of sliders in the shop
06:26 AM rue_: how many channels?
06:26 AM polprog: prototype is just a mono mute button.
06:26 AM rue_: hahaha
06:26 AM rue_: ok
06:26 AM rue_: bit of a ways from a mixer then
06:26 AM polprog: if it works i will try to make a 2 stereo channel one with faders
06:27 AM rue_: digital?
06:27 AM polprog: hey.. you gotta start with something ;)
06:27 AM polprog: analog
06:27 AM rue_: I mean, obviously the mute button is.
06:27 AM rue_: k
06:27 AM Emil: _ami_: no fucking way are the prices 20k$/square meter
06:27 AM polprog: rue_: http://tinyurl.com/yb4hfzbb
06:27 AM _ami_: Emil, it is.
06:28 AM rue_: wtf
06:28 AM polprog: shame falstad doesnt have log sliders
06:28 AM Emil: _ami_: I highly doubt your figures
06:28 AM rue_: dude, CD4066
06:28 AM Haohmaru: didn't it have a voltage controlled resistor?
06:29 AM _ami_: Emil, its for independent house.
06:29 AM polprog: rue_: thanks
06:29 AM polprog: lol. i was about to get a pmos, but ill try to look for that chip as well
06:30 AM _ami_: Emil, https://www.99acres.com/independent-house-in-noida-ffid
06:30 AM rue_: its common as dirt
06:30 AM _ami_: INR 120880/Sq. Meter
06:30 AM rue_: its like the 555, its existed and been improved since the dawn of time
06:30 AM rue_: look up
06:30 AM polprog: thanks again. ill go shopping then and try to prototype it
06:30 AM rue_: CD4066 CD4016, CD4053 (iirc)
06:31 AM Emil: _ami_: your conversion factor is wrong
06:31 AM _ami_: price would vary on location
06:31 AM rue_: and you might find that 10uF/500R is a bit too much of a filter
06:31 AM _ami_: 120880/65.0 = ? $
06:31 AM rue_: your amps could be LM324
06:31 AM Emil: _ami_: 1 INR =0.0153762
06:31 AM Emil: USD
06:32 AM _ami_: oops!
06:32 AM rue_: so, its $1000 usd for a house?
06:32 AM _ami_: 2k$
06:32 AM _ami_: lol
06:32 AM rue_: rlly?
06:32 AM _ami_: nohitzzz, 2k-2.5k$/sq. meter
06:32 AM polprog: damn and i was so proud i made an analog switch :D was planning to use 324 or TL074 (later)
06:32 AM rue_: oh
06:32 AM _ami_: damn!
06:32 AM nohitzzz: that makes more sense
06:32 AM _ami_: yeah
06:32 AM rue_: carefull of tl074 and older amps, cause they need a LOT of headroom
06:33 AM _ami_: :P
06:33 AM rue_: aka, 5V isn't enough for much, as you need to stay about 2V away from the rails
06:33 AM Emil: _ami_: told ya
06:33 AM polprog: oh. om
06:33 AM polprog: ok*
06:33 AM _ami_: Emil, :)
06:33 AM Emil: nohitzzz: that's also for a proper fucking mansion
06:33 AM rue_: a 1000 foot^2 mansion?
06:33 AM polprog: i was planning to use a 9V supply with conjuction with a 5v reg to get +4 and -5 rails
06:33 AM rue_: my place is 111m^2
06:34 AM rue_: ok
06:34 AM Emil: My place is 27.5,^2
06:34 AM rue_: a max232 generates +-10V from 5V
06:34 AM Emil: 27.5m^2
06:34 AM Emil: That mansion is 455m^2
06:35 AM rue_: my shop is 44.6m^2
06:35 AM Emil: It's 17 times the size of my place
06:36 AM rue_: anything 9.2m^2 or smaller you dont even need a building permit for here
06:36 AM Emil: rue_: where?
06:36 AM polprog: rue_: and those rails are good for analog audio purposes?
06:37 AM _ami_: time to go home.
06:38 AM polprog: off to the store
06:38 AM rue_: BC canada
06:38 AM rue_: earth
06:38 AM rue_: sol
06:38 AM rue_: milky way
06:48 AM rue_: still not working
06:50 AM polprog: rue_: local cluster
06:51 AM rue_: hmm?
06:51 AM polprog: local group*
06:52 AM rue_: context error
06:53 AM polprog: https://en.m.wikipedia.org/wiki/Local_Group
06:53 AM polprog: :p
06:53 AM rue_: oh
06:53 AM rue_: what if its from someone not local?
06:54 AM polprog: hm?
06:54 AM rue_: Virgo Supercluster, :: Laniakea Supercluster.
06:54 AM polprog: ah
06:55 AM polprog: grr this bus is goes via tiny residential streets
06:55 AM polprog: i hope i wont get stuck in traffic
06:55 AM rue_: ah, 3 hrs to do 1km via a 30km path?
06:55 AM polprog: not that bad
06:56 AM polprog: timetable says it should take 20 mins... but i bet its gonna be 40
06:56 AM polprog: 5.6 km
06:57 AM rue_: I dont meet anyone far enough out from the milky way to be more general, but thanks
06:57 AM polprog: google says this line should take 30 mins
06:58 AM polprog: did you meet anyone from the milky way outside earth :p?
06:58 AM rue_: I don know if I should tell
06:58 AM polprog: knock twice for yes
06:59 AM rue_: ok, so, no stm32 i2c code on the internet works
07:00 AM rue_: not sure which direction to take this
07:00 AM rue_: but its 5am and I'll bet my 3d print is finished
07:01 AM polprog: 5am.. did you just wake up or didnt sleep at all?
07:03 AM rue_: no sleep
07:07 AM rue_: flurrys code is only 335 lines of asm
07:08 AM rue_: 9 functions
07:08 AM rue_: one of the fn's is delay
07:14 AM rue_: it bugs me that the i2c hardware is there, and is such a kludge to use
07:30 AM rue_: 1 function converted, 8 to go
07:31 AM Emil: from asm to c?
07:31 AM rue_: yup
07:31 AM rue_: gonna ba a looong.....
07:32 AM rue_: morning...
07:32 AM rue_: *sigh*
07:33 AM Emil: http://boomerang.sourceforge.net/
07:33 AM Emil: Try that
07:33 AM polprog: ffs. they didnt have a single IC there. gonna need to go to the other shop
07:33 AM Emil: https://github.com/nemerle/boomerang
07:33 AM rue_: no its ok
07:34 AM rue_: I'm working from source
07:34 AM rue_: flurrys master i2c library
07:35 AM rue_: 2 functions converted...
07:40 AM rue_: 3 functions...
07:42 AM rue_: ooo a loop, this will take me a bit of effort.
07:49 AM rue_: 4 fuctions
07:52 AM rue_: 5 functions
07:52 AM rue_: getting tired
07:53 AM rue_: 6 loops in this one
08:08 AM polprog: awesome. got all the parts and more
08:24 AM Ameisen: How do you bootstrap a build tool, if a build tool builds with itself? Do you also provide project files/makefiles for it?
08:33 AM rue_bed: avr?
08:33 AM rue_bed: to make a programmer you mean?
08:33 AM rue_bed: you can get an arduino, or make a parallel port programmer
08:33 AM rue_bed: or the ide interface programmer I designed
08:34 AM rue_bed: polprog, which parts did you get?
08:35 AM rue_bed: 4066?
08:35 AM rue_bed: tl074?
08:35 AM polprog: the 4066 chips you told me, log pots,
08:35 AM rue_bed: k
08:35 AM polprog: ive got some opamps at the shop
08:35 AM rue_bed: k
08:35 AM polprog: 3.5 mm and 6.5mm stereo jack sockets
08:35 AM rue_bed: did you see the pic of my desk?
08:36 AM polprog: yeah
08:36 AM rue_bed: the top box, with the red 7 segment
08:36 AM polprog: oh didnt notice
08:36 AM rue_bed: its a source selector for the input of my sound card
08:36 AM rue_bed: 8 channel
08:36 AM rue_bed: stereo
08:36 AM rue_bed: 8:1
08:36 AM polprog: nice
08:37 AM polprog: im making something similar
08:37 AM rue_bed: it uses, iirc, 4053
08:37 AM rue_bed: I have a chip now I can add volume control with
08:37 AM polprog: mine will be more of a summing amp
08:37 AM rue_bed: pulled from some cable tuner boxes
08:37 AM polprog: so many to one mix
08:37 AM polprog: i even got on/off buttons with a builtin led
08:38 AM rue_bed: nice
08:38 AM rue_bed: so your volume is just for the ouput
08:38 AM rue_bed: ?
08:38 AM polprog: later i plan to add a flip flop that gets triggered from a comparator to add a clip led
08:38 AM polprog: yeah thats right
08:38 AM polprog: and maybe a level meter but thats more complicated, i eanna get it right
08:39 AM rue_bed: you can just make a peak detector with the op-amps
08:39 AM rue_bed: LM3914
08:39 AM polprog: thats my plan
08:39 AM rue_bed: eaaaasy level meter
08:39 AM polprog: i know that chip ;)
08:39 AM rue_bed: 10 led (or12, dont recall)
08:39 AM polprog: but thats for later
08:39 AM rue_bed: k
08:39 AM polprog: my jacket is full of electronics. and a can of soda
08:40 AM rue_bed: the 'tape deck' below it is gutted, I just use it for a mic preamp
08:40 AM polprog: on my way home
08:40 AM polprog: its beautiful weather today
08:40 AM rue_bed: ok, see what I get here
08:40 AM rue_bed: I'm just going to bed for the ....day...
08:40 AM polprog: good day to you then ;)
08:41 AM polprog: what time is it at your place?
08:41 AM rue_bed: I'm trying to studdy the process of falling asleep
08:41 AM rue_bed: its almost 7am
08:41 AM polprog: wow
08:41 AM polprog: 1538 here
08:59 AM unclenorton: does anyone have experience with fatfs?
09:03 AM Haohmaru: <crickets.wav>
09:03 AM unclenorton: yes
09:16 AM polprog: fuck
09:17 AM polprog: CD4060 - 14 stage ripple counter -- CD4066 - quad cmos analog switch
09:17 AM polprog: guess which one i bought xD
09:22 AM Haohmaru: the ripple counter?
09:22 AM polprog: yes
09:23 AM Haohmaru: dafuq are you gonna do with that? ;P~
09:23 AM * Haohmaru starts to ripple
09:23 AM polprog: 4060 itself is a useful chip for crystals if im right
09:23 AM polprog: less useful for mixers
09:24 AM polprog: anyway
09:24 AM polprog: gonna make an amplifier then
09:25 AM Haohmaru: no need for that!
09:25 AM * Haohmaru amplifies the ripples
09:25 AM Haohmaru: woooaaah, look at this
09:26 AM unclenorton: soo, anybody here who has experience with fatfs?
09:27 AM Haohmaru: not me, but i think it would be better if you can just construct an actual question
09:27 AM Haohmaru: if possible
09:27 AM polprog: true
09:28 AM unclenorton: my question is here https://www.avrfreaks.net/forum/petit-fatfs-slow-reading-speed-attiny85
09:28 AM polprog: whats a good range for an input filter cap?
09:28 AM Haohmaru: hm?
09:29 AM Haohmaru: eggsplain moar
09:30 AM polprog: i wanna put a cap on the DC wall jack input. this thing whill hardly take more than 300 mA. how can i calculate the filtering cap value
09:30 AM Emil: in what kind of pulses will it draw 300mA?
09:31 AM Emil: I'd put a 1uF and 100uF at least
09:31 AM Haohmaru: wellz, i don't know, but if i were you, i'd try to simulate the power source with the problem i think it has.. in falstand..
09:31 AM Haohmaru: and then play with the cap
09:31 AM polprog: its gonna be an audio signal amp so not much
09:31 AM Emil: Haohmaru: falstad is not that good at simulating that
09:31 AM polprog: i dont know the DC jack power quality
09:31 AM polprog: i have it on my desk
09:32 AM Haohmaru: of course i didn't mean "put a 12V voltage source"
09:32 AM Emil: polprog: if it's constant current 300mA then 10uF is fine
09:32 AM polprog: ill put whatever i have anyway
09:32 AM Haohmaru: huehue
09:33 AM Haohmaru: i have 5 bucks
09:33 AM * Haohmaru puts 5 bucks on the Vin
09:33 AM polprog: lets see, 10u electrolytic
09:33 AM polprog: sounds good
09:33 AM Emil: polprog: if you have elcos then 100uF
09:33 AM Haohmaru: sounds warm and analog(ue)
09:33 AM Emil: because why not :D
09:33 AM polprog: maybe a 100n ceramic as a bonus
09:33 AM Haohmaru: MOAR CAPS \o/
09:33 AM polprog: if it will sound bad
09:34 AM polprog: 1000 uf ? :D
09:34 AM Haohmaru: series resistance might help
09:34 AM Haohmaru: if you don't draw much current
09:34 AM Emil: >might help
09:34 AM Emil: wot
09:35 AM polprog: okay. thats not a spaceship... 10uF electrolytic and a 100n ceramic
09:35 AM Haohmaru: i've seen this on some roland toys from the 80s, no idea if it helps, but it's there
09:36 AM * Haohmaru puts a series resistor on Emil and then a capacitor to ground
09:37 AM Haohmaru: see? now you sound like talking thru a pillow
09:37 AM Emil: ...hhhhHHHeeEEEyyYYYYyyy...
09:37 AM * Haohmaru didn't even hear anything
09:38 AM nohitzzz: i found some of my old computer stuff today
09:39 AM nohitzzz: windows 95 cd, some floppies
09:39 AM nohitzzz: skate or die
09:39 AM Haohmaru: floppies x_x
09:40 AM * Haohmaru plays Dialup.wav
09:40 AM nohitzzz: i was hoping that my registered ski jump 2 would have been among those but no
09:40 AM polprog: say i want a circuit with variable. is the output stage on this okay ? (ignore the input stage) http://tinyurl.com/yabht32f ie. first an attenuator (i will have to calculate this) then an amplifier or the other way around?
09:41 AM nohitzzz: i send money to the creator and he sent me a floppy, over 20 years ago
09:42 AM polprog: wow
09:42 AM polprog: with variable gain from say -60 to +10 dB*
09:42 AM polprog: ^
10:01 AM nohitzzz: https://www.youtube.com/watch?v=cZLed1krEEQ
10:01 AM nohitzzz: how can something like that end up for a released product
10:03 AM Tom_L: looks awesome to me :)
10:04 AM nohitzzz: that save game trick is nicwe
10:16 AM Emil: nohitzzz: seems like on purpose :D
10:16 AM Emil: Two impossible jumps in row
10:16 AM nohitzzz: but why
10:17 AM nohitzzz: anyways, gotta go ->
11:19 AM rue_: polprog, ... did you try the 4066?
11:29 AM polprog: i dont have it
11:29 AM polprog: im trying to build a simple audio amp
11:29 AM polprog: ill bother you in a moment
11:30 AM polprog: with that, cos its not working :/
11:31 AM nuxil: class A, AB, D?
11:31 AM antto: C ;P~
11:31 AM nuxil: audio amp with class C :p lol :D
11:31 AM antto: cat-based amplifier
11:32 AM antto: there's also C2, with two cats
11:34 AM nuxil: oh i didnt get it all. thought he was juast makeing a simple audio amp. now i see with 4066.
11:34 AM nuxil: wtf. just why man :p
11:35 AM polprog: i dont have the 4066, so i devided to try and make a simle audio amp on an lm324
11:35 AM polprog: decided*
11:35 AM nuxil: ok. same question.. why ?
11:35 AM nuxil: oh opamps
11:35 AM nuxil: nm
11:36 AM polprog: to learn
11:36 AM nuxil: yea. opamps are nice.
11:36 AM nuxil: make them drive some powerfets :D
11:36 AM antto: sadly the opamp model in falstad is impossible to test in certain conditions because it doesn't have actual supply rail pins
11:37 AM antto: the supply it takes comes from an imaginary place
11:37 AM rue_: thoght you said you got everything?
11:38 AM antto: so you can't put it inside a floating voltage
11:38 AM nuxil: ? and you think a transistor/fet will ? the all have internal resistance. over C/E S/D
11:38 AM rue_: what is the goal for the amp, line level output or headphones?
11:38 AM rue_: or a speaker
11:39 AM polprog: line output
11:39 AM polprog: 16:14 < polprog> fuck
11:39 AM polprog: 16:15 < polprog> CD4060 - 14 stage ripple counter -- CD4066 - quad cmos analog switch
11:39 AM polprog: 16:15 < polprog> guess which one i bought
11:39 AM polprog: :(
11:39 AM nuxil: rue_, it can do all of thouse. just get the right opamp for the job. they come in all types and shapes.
11:39 AM antto: my cat's whiskers vibrate when she purrs
11:40 AM antto: i wonder if the vibrations can be counted with that CD4060 thing
11:41 AM nuxil: polprog, start with a simple class A amplifier.
11:41 AM polprog: did that
11:41 AM nuxil: Btj version
11:41 AM antto: skip that crap
11:41 AM nuxil: so you get some math
11:41 AM antto: math :~(
11:42 AM nuxil: antto, idisagree. is one of the most basic things. and should not be skiped if you want to learn about audio amps
11:42 AM antto: i don't want to learn about audio amps
11:42 AM nuxil: polprog, did :p
11:42 AM antto: can i just use DSP and multiply a signal by x?
11:42 AM polprog: https://puu.sh/zSH94/0f59ab2355.png im trying to make this
11:42 AM polprog: and see if it works
11:43 AM polprog: i did some math
11:44 AM nuxil: :)
11:44 AM nuxil: always do you math :p
11:44 AM polprog: ac coupling should pass stuff over 30Hz; i think the gain of that should be 0 to 30dV
11:44 AM polprog: dB*
11:44 AM polprog: i can show you the maths ;)
11:44 AM nuxil: nah.
11:44 AM polprog: thats what i thoght :P
11:44 AM polprog: thought
11:44 AM polprog: *
11:45 AM antto: where does -V come from?
11:45 AM antto: ..mr polprog
11:46 AM polprog: https://puu.sh/zSHfK/e93a3cd136.png antto
11:46 AM antto: ah u tricky bastard ;P~
11:46 AM polprog: :P
11:47 AM polprog: i ripped it all up and gonna rebuild it
11:47 AM polprog: sec
11:48 AM polprog: supply part is OK, just measured - gives +4V and -5V
11:49 AM antto: or +5 and +9V
11:49 AM polprog: yeah.
11:49 AM polprog: but my 0V is where GND flags are
11:50 AM antto: what do you put in your barrel jack?
11:50 AM antto: is it a 9VDC adapter?
11:50 AM polprog: right now im supplying +9 from the lab psu so it cuts off in case of a short
11:51 AM polprog: my adapter is not grounded so its output is floating
11:51 AM polprog: but im using the lab PSU at this moment
11:51 AM antto: my uneducated nose tells me that it's not a good idea to call that thing in the middle ground then
11:51 AM polprog: its all floating antto
11:51 AM polprog: dont worry
11:51 AM antto: because there's a possibility, in certain conditions, to blow something up if you measure using that as ground
11:51 AM polprog: yes
11:52 AM polprog: i am aware of that
11:52 AM antto: call it VGND at least then ;P~
11:52 AM polprog: okay :D
11:52 AM polprog: so
11:52 AM antto: that's just a visual thing, don't bother ;P~
11:52 AM polprog: does the amp feedback look OK?
11:53 AM antto: it looks like non-inverting to me
11:53 AM antto: so with that you can only amplify, not reduce gain
11:54 AM antto: you might want to put some filtering capacitor on the feedback, to get rid of uber high freqs
11:55 AM antto: i can't tell you what value, i experiment with falstad to figure that kind of stuff out
11:55 AM polprog: i calculated this by taking two cases, one when the pot is 0 ohms === amp is a voltage follower; case 2: pot is 1K, 1 + R2/R1 = 1.03333 != 30dB --- ok found one mistake
11:57 AM polprog: R1 = ?, R2 = 1k, we want gain of 30dB = 31.62 V/V; so R1 must be...
11:57 AM polprog: lets solve for R1
11:57 AM antto: noooo :~(
11:57 AM * antto runs
11:57 AM polprog: dont worry imma use wolframAlpha
11:59 AM polprog: okay. it says R1 should be 32 ohms... thats a bit little. shit should have bought 100k pots
11:59 AM polprog: hope it wont cook :PP
12:01 PM polprog: got a 22 ohm resistor. should be ok. gain seems to be 46 V/V ~= 33dB
12:03 PM polprog: im sorry im doing rubber duck debugging using IRC, but feel free to join
12:13 PM Emil: wot
12:13 PM Emil: ah per volt
12:14 PM polprog: lo and behold it doesnt work
12:15 PM polprog: if i replace the feedback loop with a jumper wire to create a follower, it does output
12:15 PM rue_: polprog, good one
12:16 PM polprog: what do you mean
12:16 PM polprog: ?
12:16 PM Emil: I hate I've always hated decibels
12:16 PM rue_: 4060
12:16 PM Emil: well okay I have to retract that
12:17 PM Emil: What I mean is that normal gain numbers are much more convenient
12:19 PM polprog: rue_: http://www.ti.com/lit/ds/symlink/cd4060b.pdf
12:19 PM rue_: I know what eh cd4060 is
12:20 PM polprog: its a ripple counrwe
12:20 PM polprog: counter*
12:20 PM rue_: yea, its good for projects when you need an array of freq's
12:20 PM polprog: yeah
12:21 PM rue_: take a 4Mhz crystal and get your 500Khz, 250Khz, etc
12:21 PM rue_: use them for switching power supplies
12:21 PM polprog: and i need an analog switch, i accidentally bought a different useful chip
12:21 PM rue_: cause the freq of a crystal operated switching supply is damn stable
12:21 PM rue_: andI take it cause you went for the 4066 you didn't get the 4016
12:22 PM polprog: yes, i noted down the wrong number
12:22 PM polprog: :(
12:24 PM polprog: HEY
12:24 PM polprog: HEY
12:24 PM polprog: ITS WORKING
12:24 PM polprog: i found the reason
12:24 PM rue_: what is it?
12:25 PM polprog: the ac coupling resistors were equal values
12:25 PM rue_: mhm
12:25 PM rue_: total impedence 500 ohms
12:26 PM polprog: so with the actual rails it was coupling at +1.something volts
12:26 PM rue_: errrr
12:26 PM polprog: with a 30+ dB gain the amp was saturating
12:26 PM rue_: er, yea
12:26 PM polprog: i replaced them with a linear pot and trimmed it so the coumpling was at 0V
12:26 PM polprog: and it works!
12:27 PM rue_: k
12:27 PM rue_: try a max232 power supply ? :)
12:27 PM polprog: excuse typos. its a mess here and i have to keep my hands in the air
12:27 PM polprog: i will ;)
12:27 PM rue_: yea
12:28 PM polprog: let me now replace the fixed 1k resistor with my log pot
12:35 PM rue_: polprog,
12:35 PM rue_: you know,
12:36 PM rue_: since your just doing mute
12:36 PM rue_: you can use a trick with a diode
12:36 PM rue_: ever heard of a switching diode?
12:36 PM polprog: no
12:36 PM rue_: ah
12:36 PM polprog: but i will want to add some gain controls as well. at least master volume
12:37 PM rue_: http://ruemohr.org/~ircjunk/circuits/switch.jpg
12:37 PM rue_: audio in on the left, out on the right
12:37 PM polprog: hmm
12:37 PM rue_: the reistors attach to either end of a digital inverter
12:37 PM rue_: when the diode is forward biased, the audio goes thru
12:38 PM rue_: when its reverse baised, its blocked
12:38 PM rue_: but really, just get a 4066
12:38 PM polprog: will do
01:18 PM rue_: flurry just taught me a trick in assembler
01:18 PM rue_: you want to send a byte of data
01:18 PM rue_: you need to loop 8 times
01:19 PM rue_: set the carry before shifting the byte of data, the carry will maintain a non-zero status of the data being shifted till its been done 8 times
01:19 PM rue_: no extra counter needed
01:19 PM rue_: I cant pull that methof off in C
01:19 PM MrFahrenheit: I walked into the staircase earlier, turned on the light and it looked super dim
01:19 PM MrFahrenheit: then I noticed all the lights looked dim
01:19 PM MrFahrenheit: so as I was starting to suspect my eyes, I measured the mains voltage
01:20 PM MrFahrenheit: 195Vrms :S
01:20 PM rue_: wow, is that ever high!
01:20 PM MrFahrenheit: called the power people and apparently they're working on it, and I should expect a power cut soon
01:21 PM rue_: I mean, I'v seen up to 135, but 195!!!!
01:21 PM rue_: I think I keep a pretty good 120
01:22 PM rue_: hah, I cant get C to be as optimal as flurrys assembler here
01:22 PM rue_: need to think on this
01:39 PM polprog: lol... not sure if my phone being abused as a signal gen is outputting a distorted sine, my amp is did
01:39 PM polprog: is distorting it*
01:39 PM polprog: ot
01:39 PM polprog: or both*
01:40 PM antto: polprog your VGND was not "in the middle" and the opamp was amplifying a DC offset? ;P~
01:40 PM polprog: antto: prety much
01:41 PM polprog: this max232 based supply is pretty good though!
01:41 PM MrFahrenheit: rue_, we use real voltage here, not pitiful 120V
01:42 PM antto: rue_ use C++11 black magic if ya want bett0r
01:42 PM polprog: 120V is small voltage for children electricians :P
01:42 PM antto: just don't ask me "how" ;P~
01:43 PM antto: metaprogramming is teh shizzle
01:43 PM * antto believes
02:02 PM polprog: after all, the circuit on the breadboard goes from 1,7dB to 29dB
02:03 PM polprog: nice
02:04 PM polprog: wait
02:04 PM polprog: i hooked up my scope in the wrong place
02:04 PM polprog: thats just the amp stage gain
02:33 PM Ameisen: If you can't get the compiler to generate a specific more optimal machine code routine, it usually means that a reducer hasn't been written for that algorithm.
02:33 PM Ameisen: Not hard to add it to GCC and push it upstream.
02:34 PM Ameisen: If it's something *super* specific, you probably want to add it as an intrinsic. That is, something that cannot easily be expressed.
02:42 PM ap4lmtree522: .-. .-.
02:42 PM ap4lmtree522: .-. .-.
02:42 PM ap4lmtree522: .-. .-.
02:42 PM ap4lmtree522: / \ / \
02:42 PM ap4lmtree522: / \ / \
02:42 PM ap4lmtree522: / \ / \
02:42 PM ap4lmtree522: | _ \ / _ |
02:42 PM ap4lmtree522: | _ \ / _ |
02:42 PM ap4lmtree522: | _ \ / _ |
02:42 PM ap4lmtree522: ; | \ \ / / | ;
02:42 PM ap4lmtree522: ; | \ \ / / | ;
02:42 PM ap4lmtree522: ; | \ \ / / | ;
02:42 PM ap4lmtree522: \ \ \ \_.._/ / / /
02:42 PM ap4lmtree522: \ \ \ \_.._/ / / /
02:42 PM ap4lmtree522: \ \ \ \_.._/ / / /
02:42 PM ap4lmtree522: '. '.;' ';,' .'
02:42 PM ap4lmtree522: '. '.;' ';,' .'
02:42 PM ap4lmtree522: '. '.;' ';,' .'
02:42 PM ap4lmtree522: './ _ _ \.'
02:42 PM ap4lmtree522: './ _ _ \.'
02:42 PM ap4lmtree522: './ _ _ \.'
02:42 PM ap4lmtree522: .' a __ a '.
02:42 PM ap4lmtree522: .' a __ a '.
02:42 PM ap4lmtree522: .' a __ a '.
02:42 PM ap4lmtree522: '--./ _, \/ ,_ \.--'
02:42 PM ap4lmtree522: '--./ _, \/ ,_ \.--'
02:42 PM ap4lmtree522: '--./ _, \/ ,_ \.--'
02:42 PM ap4lmtree522: ----| \ /\ / |----
02:42 PM ap4lmtree522: ----| \ /\ / |----
02:42 PM ap4lmtree522: ----| \ /\ / |----
02:42 PM ap4lmtree522: .--'\ '-' '-' /'--.
02:42 PM ap4lmtree522: .--'\ '-' '-' /'--.
02:42 PM ap4lmtree522: .--'\ '-' '-' /'--.
02:42 PM ap4lmtree522: _>.__ -- _.- `;
02:42 PM ap4lmtree522: _>.__ -- _.- `;
02:42 PM ap4lmtree522: _>.__ -- _.- `;
02:42 PM ap4lmtree522: .' _ __/ _/
02:42 PM ap4lmtree522: .' _ __/ _/
02:42 PM ap4lmtree522: .' _ __/ _/
02:42 PM ap4lmtree522: / '.,:".-\ /:,
02:42 PM ap4lmtree522: / '.,:".-\ /:,
02:42 PM ap4lmtree522: / '.,:".-\ /:,
02:42 PM ap4lmtree522: | \.' `""`'.\\
02:42 PM ap4lmtree522: | \.' `""`'.\\
02:42 PM ap4lmtree522: | \.' `""`'.\\
02:43 PM ap4lmtree522: '-,.__/ _ .-. ;|_
02:43 PM ap4lmtree522: '-,.__/ _ .-. ;|_
02:43 PM ap4lmtree522: '-,.__/ _ .-. ;|_
02:43 PM ap4lmtree522: /` `|| _/ `\/_ \_|| `\
02:43 PM ap4lmtree522: /` `|| _/ `\/_ \_|| `\
02:43 PM ap4lmtree522: /` `|| _/ `\/_ \_|| `\
02:43 PM ap4lmtree522: | ||/ \-./` \ / || |
02:43 PM ap4lmtree522: | ||/ \-./` \ / || |
02:43 PM ap4lmtree522: | ||/ \-./` \ / || |
02:43 PM ap4lmtree522: \ ||__/__|___|__|| /
02:43 PM ap4lmtree522: \ ||__/__|___|__|| /
02:43 PM ap4lmtree522: \ ||__/__|___|__|| /
02:43 PM ap4lmtree522: \_ |_Happy Easter_| /
02:43 PM ap4lmtree522: \_ |_Happy Easter_| /
02:43 PM ap4lmtree522: \_ |_Happy Easter_| /
02:43 PM ap4lmtree522: jgs .' \ = _= _ = _= /`\
02:43 PM ap4lmtree522: jgs .' \ = _= _ = _= /`\
02:43 PM ap4lmtree522: jgs .' \ = _= _ = _= /`\
02:43 PM ap4lmtree522: / `-;----=--;--' \
02:43 PM ap4lmtree522: / `-;----=--;--' \
02:43 PM ap4lmtree522: / `-;----=--;--' \
02:43 PM ap4lmtree522: \ _.-' '. /
02:43 PM ap4lmtree522: \ _.-' '. /
02:43 PM ap4lmtree522: \ _.-' '. /
02:43 PM ap4lmtree522: `""` `""`
02:43 PM ap4lmtree522: `""` `""`
02:43 PM ap4lmtree522: `""` `""`
02:43 PM Emil: ocool
02:43 PM ap4lmtree522: L0DE AND CHRON FROM #LRH & L0DE RADIO HOUR (IRC.EFNET.ORG) WANTED TO SAY HAPPY EASTER!!
02:43 PM ap4lmtree522: L0DE AND CHRON FROM #LRH & L0DE RADIO HOUR (IRC.EFNET.ORG) WANTED TO SAY HAPPY EASTER!!
02:43 PM ap4lmtree522: L0DE AND CHRON FROM #LRH & L0DE RADIO HOUR (IRC.EFNET.ORG) WANTED TO SAY HAPPY EASTER!!
02:43 PM Emil: Tom_L: rue_
02:43 PM ap4lmtree522: g n o m T e c h I s C o o l r e n n 0 x t k 9 d e v i k j a d e w j o a o p r s f r a g o s o [ m b l i g h t f e r d n a s p l u d c o m p t r o l l e r u n c l e n o r t o n c h r i s t n e r s p e c i n g s p y b e r t k c 2 u e z m u d k i p 9 0 8 L O V V l u k e e r t w n q x F r a n k D _ B u r g u n d y c - l o g r u e _ b e d p r o _ z _ d a y N o n a S u o m y b e n n o f
02:43 PM ap4lmtree522: g n o m T e c h I s C o o l r e n n 0 x t k 9 d e v i k j a d e w j o a o p r s f r a g o s o [ m b l i g h t f e r d n a s p l u d c o m p t r o l l e r u n c l e n o r t o n c h r i s t n e r
02:43 PM ap4lmtree522: gnom TechIsCool renn0xtk9 devik jadew joaoprsfragoso[m blight ferdna splud comptroller unclenorton christner specing spybert kc2uez mudkip908 LOVV lukeer twnqx FrankD_ Burgundy c-log rue_bed pro_z_ day NonaSuomy bennofs[m] ruhnet[m] Guest18511 M-anomie testriotewq[m] SebastianFlyte anonnumberanon LeoNerd vishwin eballetbo rue_ dan2wik JanC captain_morgan xMopx pitastrudl zopsi ohsix lvlinux leptonix ub|k MrFahrenheit lifeeth rue_sh
02:43 PM Emil: umm
02:43 PM Emil: other ops
02:43 PM Emil: pls
02:44 PM Emil: ifiwasaopthiswouldn'thappen:D
02:46 PM thardin: set /mode +p pls
02:46 PM thardin: that's been effective for getting rid of the spam on our local network
02:47 PM Emil: also why you op, please unfuck the topic
02:48 PM polprog: awsome
02:48 PM polprog: i added a fet output stage
02:48 PM polprog: and connected a proper speaker
02:49 PM polprog: plays very loud and clear.. just a bit of clipping at max gain
02:49 PM polprog: :P
02:51 PM Casper: emil: for the topic, forget it, that's rue
02:53 PM Emil: s/why/while
02:53 PM Emil: Casper: a boy can wish
02:56 PM polprog: im blasting techno trance from my new breadboard :D
03:03 PM Emil: OIKEIN!
03:03 PM Emil: That's 100% the correct thing to do! :D
03:04 PM polprog: okiein!
03:05 PM polprog: erritäin
03:07 PM Emil: close!
03:07 PM Emil: But no cigar
03:07 PM Emil: Lähellä, mutta ei sikaria
03:08 PM Emil: (that's literally translated and does't sound good)
03:09 PM polprog: blisko ale bez papierosów
03:09 PM Emil: is that a paper smoke or something? :D
03:09 PM polprog: papier - paper; papieros - cigarette
03:10 PM Emil: yeah but what does the ending mean
03:10 PM polprog: -osów?
03:10 PM Emil: is it like paperinen, paperly or something
03:10 PM polprog: no thats just a common root word
03:11 PM polprog: ów is a case suffix
03:11 PM Emil: Yeah but what's the meaning of it
03:11 PM polprog: that literally "close but no cigarette"
03:11 PM polprog: :p
03:11 PM Emil: okay
03:11 PM Emil: so
03:11 PM Emil: how would you write
03:11 PM Emil: close but no paper
03:12 PM polprog: bez papieru
03:12 PM Emil: so you see how those words differ?
03:12 PM polprog: yeah
03:12 PM Emil: You don't think/know/know for a fact that the ending is not used in other contex, like what's the etymology of the word? :D
03:13 PM antto: they know what is what, but they don't know what is what
03:13 PM Emil: Is there an etymological history to the word
03:13 PM polprog: umm. no idea. a cig is made from paper sp o think thats the reason
03:14 PM Emil: Yeah but I was thinking if the word contained roots from other words as well
03:14 PM Emil: but alas it doesn't have to be the case :D
03:14 PM polprog: the output stage nmos is cookin to the rhytm of Call On Me
03:14 PM Emil: well that doesn't sound too good :D
03:15 PM polprog: i wish i had a power pMOS, i could make a push pull amp then
03:15 PM Emil: also papieru can be interpreted to seem like pa pieru - isän pieru - dad's fart
03:15 PM polprog: "cooking". its about 30-40 deg C now
03:15 PM polprog: lol
03:15 PM polprog: well
03:15 PM Emil: polprog: ah not too bad
03:15 PM Emil: just throw in a heat sink
03:15 PM polprog: "fart" is "pierd" so there you have it. same root word in finnish an polish
03:16 PM antto: the verb fart is пърдя in bg
03:17 PM polprog: i have a limit set to 150mA on the lab psu... so i can see it switching from constant voltage to constant current mode with the beats xD
03:17 PM Emil: antto: bg?
03:17 PM Emil: belgium?
03:17 PM Emil: no
03:17 PM Emil: bulgaria was it
03:17 PM antto: how come you talk about farts and amperes simultaneously, boi, u gon make a spark - u explode
03:17 PM Emil: :D
03:18 PM Emil: polprog: pls don't
03:18 PM Emil: polprog: allow FULL POWER
03:18 PM Emil: polprog: also because under current can damage high current parts
03:19 PM antto: before entering the electronics lab, you go thru the fart chamber!
03:19 PM antto: that's rule number one
03:19 PM Emil: because it result in voltage drooping which can change the switching region and potentially push to an unwanted region
03:19 PM polprog: i turned the gain down a tad
03:19 PM antto: quiet farts are the most lethal ones!
03:19 PM Emil: polprog: also the root is based on the sound it makes :D
03:19 PM Emil: antto: usually yeah
03:19 PM polprog: theres a half wave party goinf on here
03:20 PM antto: if you're lucky you might hear the "pfhhhoooooooohhh" sound and get a chance to run for your life!
03:22 PM polprog: Emil: gimme a sec youll see this
03:23 PM polprog: so now its 5V 250mA limited
03:23 PM polprog: enough
03:23 PM polprog: i added 100mA
03:23 PM Emil: antto: only jump a bit :D
03:24 PM Emil: speaking of which
03:24 PM Emil: I should build a metal lined trash can
03:24 PM Emil: preferably steel
03:24 PM antto: a wat
03:24 PM Emil: but aluminium will work also
03:24 PM polprog: brushed aluminium. like apple
03:24 PM antto: trash can? like apple.
03:24 PM polprog: :D
03:25 PM Emil: polprog: finish has no real need to be fancy since it's a trash can
03:25 PM Emil: and we are talking about lining the inside
03:25 PM Emil: so that if something breaks I can just throw it in there
03:25 PM Emil: and let the magic smoke come out naturally
03:26 PM polprog: Emil: https://www.youtube.com/watch?v=harIY8zlVpk
03:26 PM polprog: in this case the lining should be fireproof
03:26 PM polprog: antto: ^
03:27 PM Emil: eww you can see it still striking the cc
03:27 PM polprog: mm
03:27 PM polprog: it doesnt now that i increased the limit
03:28 PM polprog: and the only power switching element here is the nmos
03:28 PM Emil: But that is a pretty cool electronics video :D
03:28 PM polprog: :P
03:28 PM Emil: polprog: also
03:29 PM Emil: I'm two colours :D
03:29 PM polprog: what :D?
03:29 PM Emil: on your irc
03:29 PM Emil: I'm both red and green
03:29 PM polprog: ah
03:29 PM polprog: yeah
03:30 PM Emil: I'm okay with that
03:30 PM Emil: [Insert here a green communist]
03:31 PM nuxil: hahaha. im having a lol time with my 3d printer, its makeing music while its printing.
03:31 PM Emil: nuxil: video
03:31 PM nuxil: im printing 20 of these https://i.gyazo.com/thumb/788/19b4ee047d0ee090c99e01c1874e177b-jpg.jpg
03:31 PM nuxil: and this is the sound it makes https://clyp.it/1rda4aas#
03:31 PM nuxil: :D
03:31 PM nuxil: lots of fan noise there tho
03:31 PM polprog: nice
03:32 PM polprog: lots of noise here too
03:32 PM Emil: why such long travel
03:32 PM polprog: :P
03:32 PM Emil: between parts
03:32 PM nuxil: auto aligned
03:32 PM nuxil: im lazy :p
03:33 PM polprog: okay lets redraw the psu part on the kicad schem
03:33 PM polprog: with the maxim one
03:33 PM polprog: nuxil: check out the vid
03:34 PM nuxil: lol. lets party :D
03:38 PM nuxil: oh.. lets annoy polprog, by typing his name in each senanse so he get a popup on his phone every line :D
03:38 PM polprog: >:(
03:38 PM nuxil: ;D
03:38 PM polprog: :P
03:48 PM Emil: polprog: :D
03:48 PM Emil: nuxil: :D
04:06 PM polprog: i wish eeschema added an opengl canvas like pcbnew did
04:08 PM polprog: nuxil: https://www.youtube.com/watch?v=is-HVxmUELQ
04:08 PM polprog: aporopos your printer
04:12 PM rue_: thats an HP printer tho
04:13 PM rue_: with a teledyne logo?
04:25 PM Emil: polprog: agreed
04:26 PM MrFahrenheit: are there usable 3d printers below $200
05:26 PM nuxil: MrFahrenheit, if you like diy kits. Tevo tarantula
05:26 PM nuxil: MrFahrenheit, https://www.aliexpress.com/item/2016-Newest-TEVO-Tarantula-I3Aluminium-Extrusion-3D-Printer-kit-printer-3d-printing-2-Rolls-Filament-8GB/32596996503.html?aff_platform=link-c-tool&cpt=1522326132100&sk=neY7yRf6e&aff_trace_key=44b8a44901a3454bbf1627c8bb23e597-1522326132100-08626-neY7yRf6e&terminal_id=36fd45b079db43f5a89c4e2676c6c73f
05:26 PM nuxil: its even on 28% sale
05:27 PM nuxil: so 172 bucks - 28% :D
05:27 PM MrFahrenheit: what's the price range for
05:27 PM nuxil: different models
05:27 PM nuxil: upgrades. biger bed etc
05:29 PM nuxil: only 8:30 hors left on that sale tho. some, guess its some easter sale they are doing
05:29 PM nuxil: *hours
05:30 PM nuxil: and it got a atmel chip on the mother board :D
05:32 PM nuxil: if you want someting to print right out of the box without some fiddeling. you need to look at some higher price range models. perhaps cr10. tevo tornado or something, idk.
05:35 PM MrFahrenheit: thanks for the tip
05:35 PM MrFahrenheit: I don't mind assembling it, as long as it comes with all the parts
05:36 PM nuxil: yea and more :)
05:36 PM nuxil: but hey.
05:37 PM nuxil: its 100% chinees quality
05:37 PM nuxil: :p
05:37 PM nuxil: i had to resolder all my endstop micro switches. other than that its ok tho.
05:38 PM nuxil: but i saw in the tevo group its a common problem. just took me a couple of min to resolder them.
05:38 PM MrFahrenheit: is that a heated bed?
05:39 PM nuxil: no there is a microswitch on all axis to tell the thing to stop moving.
05:40 PM nuxil: you can have 2 microswitches on each axis. one for home stop, and one for max pos.
05:40 PM nuxil: but only 1 is needed
05:40 PM nuxil: you add 2 if you want to pimp it ;p
05:41 PM MrFahrenheit: no, I mean does it have a heated bed
05:41 PM nuxil: yes ofc
05:46 PM nuxil: MrFahrenheit, also you find lot of cool mod for the printer at https://www.thingiverse.com/search/page:2?q=tarantula
06:01 PM MrFahrenheit: cool
06:08 PM polprog: niters
06:08 PM polprog: :)
07:29 PM Smashcat: Hi, just reading the ATTiny441 datasheet, and noticed there's a new port register PUEx for IO pins. This doesn't seem to exist anywhere outside of the datasheet. Can I still use DDR and then set the pullup high using PORT, or do I have to use PUE on the new chips?
07:37 PM Emil: You must use PUE
07:39 PM Emil: https://emil.fi/d/2018-03-31_03-37-49_nH73PqRg.png
07:48 PM Smashcat: Hmm, so need to update my classes to use that new register for 841 and 441 only then. A bit annoying they've added that, as PORT did the same thing anyway!
07:48 PM rue_shop4: welcome to microchips world
07:48 PM Smashcat: heh, yeah
07:48 PM rue_shop4: switch to stm32 while you can!
07:48 PM rue_shop4: ;)
07:49 PM Smashcat: I actually am just starting with an stm32 here too :)
07:50 PM rue_shop4: lots of us are
07:51 PM rue_shop4: its not my fault, I swear
07:51 PM rue_shop4: I'm just building a liferaft while the ship is still afloat
07:53 PM Smashcat: Problem is for some projects, like the one I'm on - the little ATTiny chips are ideal. My code fits into 2k, I don't need more than 100 bytes of RAM, but need 6 ADC inputs, and the chips have to cost under 50p each, and run on 3-5v. Doing a design for a few thousand units, so the BOM cost is important.
07:55 PM Smashcat: I think I can get the ATTiny24 chips from China for under 25p each. Was thinking of the 441's for another project, and just noticed this new PUEx thing. I'd assumed they were just the same as the ATTiny44's, but no!
09:47 PM rue_shop4: I know
09:49 PM rue_shop4: yea, I assumed the 16F84 was compatible with the 16F84A
10:33 PM Thrashbarg: I would've thought that'd be a safe assumption to make lol
11:56 PM day__ is now known as day