#garfield Logs
Oct 11 2020
#garfield Calendar
12:02 AM rue_shop2: this DAC sucks
12:09 AM rue_shop2: you cant really set anything on it without having to set everything
12:09 AM zhanx: nice
12:09 AM zhanx: i have welding sun burn
12:09 AM rue_shop2: yea
12:09 AM rue_shop2: you did yesterday
12:09 AM rue_shop2: I got some spf110 for welding
12:09 AM zhanx: worse now
12:09 AM zhanx: i did more welding
12:10 AM zhanx: i got some free 309 rods also (stainless)
12:11 AM zhanx: oil drillers
12:11 AM rue_shop2: ugh, I have to make a custom function for every type of operation with this dac
12:11 AM rue_shop2: so, what ya welding?
12:11 AM zhanx: they don't bake the rods to dry them they toss them
12:11 AM zhanx: so free rods for me
12:12 AM zhanx: i don't even know how to weld stainless
12:12 AM rue_shop2: you just weld it
12:12 AM rue_shop2: oh well
12:12 AM rue_shop2: clean it good
12:12 AM rue_shop2: and then brush it down before it cools
12:13 AM zhanx: yea give me a week before i try that to heal up
12:31 AM rue_shop1: ok
12:31 AM rue_shop1: should I...
12:32 AM rue_shop1: A) list the MITEL phones on ebay, to get a few bucks to buy lcd screens, which nobody will buy, cause nothing it worth what canadian shipping costs
12:32 AM rue_shop1: B) take the phones apart for the lcds
12:32 AM rue_shop1: ?
12:38 AM rue_shop1: I'll take a phone apart while I wait for an answer
12:39 AM rue_shop1: https://www.ebay.ca/itm/Used-Mitel-Inter-tel-4110-8-Button-Full-Duplex-Phone-without-base-no-base/114262435102
12:40 AM rue_shop1: somewhere between $40 and $105ea
12:40 AM rue_shop1: tearing this one apart now...
01:10 AM polprog: morning
01:10 AM rue_shop1: :S
01:10 AM rue_shop1: its not good when I hear that from you
01:10 AM rue_shop1: writing code for the MCP4728
01:11 AM polprog: rue_mohr1: i should see if i can do some css majic to male the slideshow autoscale
01:11 AM rue_shop1: maybe we should make it the lesser of 80% each way?
01:11 AM polprog: yeah
01:11 AM rue_shop1: I changed it back to width, but regretted it
01:11 AM polprog: ooh dac
01:11 AM rue_shop1: yea
01:11 AM rue_shop1: the flag operation is pure evil
01:11 AM rue_shop1: you cant just update the value of the DAC
01:12 AM rue_shop1: you have to send a bunch of random registers with it
01:12 AM * polprog checks time.gov
01:12 AM rue_shop1: its not really all that late yet
01:12 AM polprog: ye
01:12 AM rue_shop1: I was up till 3am last night
01:13 AM polprog: ive glanced thru the datasheet for that IC, it looks like its a set and forget one
01:13 AM rue_shop1: yes and no
01:13 AM polprog: not really made for continous changes
01:13 AM rue_shop1: well yea
01:13 AM rue_shop1: its no audio DAC
01:13 AM polprog: i regret that coffee yesterday
01:13 AM rue_shop1: huh
01:13 AM rue_shop1: didn't think it would matter
01:13 AM rue_shop1: I'm out of tea milk
01:13 AM rue_shop1: my tea can sit for like 2 days and still be ok
01:14 AM polprog: yeah same
01:14 AM rue_shop1: have to keep an eye on mold in the summer
01:14 AM polprog: although i throw out tea more than day old
01:14 AM polprog: haha
01:14 AM rue_shop1: void ConfigPowerMode ( uint8_t channel, uint8_t mode){ // I'm not going to check your call for errors
01:14 AM rue_shop1: DAC1.dogPile[channel & 3].powerDown = (mode & 3);
01:14 AM rue_shop1: }
01:15 AM polprog: ok, breakfast and time to see whats new on the bazaar
01:15 AM polprog: maybe i can get faster transistors
01:15 AM polprog: what else should i get..
01:15 AM rue_shop1: gee, and MLE only has to go ride her bike to find tv's and stuff
01:15 AM rue_shop1: look for a super cheap VGA CRT, multisync
01:15 AM rue_shop1: Ghz transistors
01:15 AM polprog: last time i went alone and took public transport
01:16 AM polprog: yeah, no trace of that
01:16 AM polprog: noone strips them anymore
01:16 AM rue_shop1: they die
01:16 AM polprog: and i dont want an intact or working one, no space for that
01:16 AM rue_shop1: heat your room for winter
01:16 AM polprog: :)
01:16 AM rue_shop1: its the cathode driver transistors
01:16 AM rue_shop1: their awesome
01:17 AM rue_shop1: the flyback transistor is a peice of work too
01:17 AM polprog: ill see if there are any crt boards...
01:17 AM rue_shop1: gain of like 5, but can push like 40A
01:17 AM rue_shop1: and then there is the ferrite, some damn good stuff in a crt
01:17 AM rue_shop1: I need to work out how to build all these crazy config words now...
01:20 AM rue_shop1: funny, I didn't see how you write the eeprom, just read it...
01:26 AM rue_shop1: #define CONFIG_MULTIWRITE 0b01000000
01:26 AM rue_shop1: #define CONFIG_SEQUENTIAL 0b01010000
01:26 AM rue_shop1: #define CONFIG_SINGLE 0b01011000
01:26 AM rue_shop1: #define CONFIG_NEWADDRESS 0b01100000
01:26 AM rue_shop1: #define CONFIG_VREF 0b10000000
01:26 AM rue_shop1: #define CONFIG_GAIN 0b11000000
01:26 AM rue_shop1: I can't understand the intended use case
01:27 AM rue_shop1: it should be apparent from the i2c command structure
01:51 AM rue_shop1: the wording is all out
01:51 AM rue_shop1: the target operations are all split into different bits in different places
02:49 AM rue_shop1: I wonder, if at almost 1am, if I'm such as apt coder to have this work right out of the gate
02:50 AM zhanx: left wing violence in america is getting out of hand
02:50 AM zhanx: yet another political shooting
02:51 AM rue_shop1: ok
02:52 AM rue_shop1: this is going to be a hell of an election
02:52 AM zhanx: 55 billion and 48 lives taken by the left
02:52 AM rue_shop1: atleast 20 years ago there were some merits to the candidates
02:52 AM zhanx: crazy they killed so many people and its not media 24/7
02:53 AM rue_shop1: I really feel its rigged
02:53 AM rue_shop1: but I can't start to guess at the goal
02:53 AM rue_shop1: here we knew the US was going into civil war
02:53 AM rue_shop1: its not going to get better soon
02:54 AM rue_shop1: I wonder if the US dollar is plunging yet
02:54 AM zhanx: who knows, you cab riot in person but need mail in voting
02:54 AM zhanx: can
02:54 AM rue_shop1: its all past the breaking point
02:54 AM zhanx: only in small areas
02:55 AM zhanx: 99% of guns are owned by the conservaties
02:55 AM zhanx: and america has more guns than all the world armies
02:56 AM zhanx: once the left get its civil war they will be gone
02:58 AM rue_shop1: generally, coding at 1am is a bad idea
02:58 AM zhanx: maybe we can add canada to the usa so shipping is cheaper
02:58 AM rue_shop1: I think I remembered all my semicolons
02:59 AM rue_shop1: I'm interested to see if some of the borderline states want to join canada
02:59 AM zhanx: what the taker states that will tank canada
03:00 AM zhanx: all the jobs will leave those places and you know that
03:00 AM rue_shop1: I'm really interested to see what happens when Trump "wins"
03:00 AM zhanx: trump will win in a landslide you realize that right
03:01 AM rue_shop1: I'm quite sure he will make sure he doesn't lose, so the scenario where he beats the floor and cries wont come up
03:01 AM zhanx: democrats are realizing the hard way voter fraud is not gonna help them
03:01 AM zhanx: its epic watching democrats freak out they can't cheat enough to win
03:02 AM rue_shop1: and a win for trump will raise his ego even more
03:02 AM rue_shop1: even IF its fake
03:02 AM rue_shop1: he would start doing crazy things
03:02 AM zhanx: trump might be an asshole but lets be honest democrats have zero backing
03:03 AM zhanx: you can claim that but he gets 25k at rallies and biden gets 5
03:03 AM rue_shop1: the unfolding of this will be something to see
03:03 AM zhanx: biden aka put black men in chains again will lose
03:05 AM zhanx: rue_shop1, you have to remember biden said you aint black if you don't vote for me
03:05 AM zhanx: then he talked about whipping a black man with chains
03:06 AM rue_shop1: somethings gonna break
03:06 AM rue_shop1: loudly
03:06 AM zhanx: the democrat party will break i bet
03:07 AM zhanx: which should get us 3rd party
03:07 AM rue_shop1: MCP4728.c:52:39: error: ‘VCC’ undeclared (first use in this function)
03:07 AM rue_shop1: DAC1.dogPile[channel & 3].vref = VCC;
03:08 AM zhanx: rue_shop1, remember democrats asked trump to run before obama did
03:09 AM rue_shop1: my understanding is that trump ran as a racist reaction of obama
03:09 AM zhanx: nope that is your media showing that, would a racist fund black colleges/
03:10 AM zhanx: rosa parks and MLK's niece back trump
03:11 AM zhanx: i guess those black ladies are Proud boy white supremacists being told by a black man what to think
03:12 AM zhanx: no one ever takes time to check what the media is saying and its sad
03:13 AM zhanx: proud boys are 85% nonwhite, how are they white supremacists
03:14 AM rue_shop1: it gets kinda mixed up
03:14 AM rue_shop1: oh so many syntax errors
03:14 AM rue_shop1: hows your pump doing?
03:14 AM zhanx: pond is about 5 feet deep now
03:14 AM zhanx: so great
03:14 AM rue_shop1: from empty?
03:15 AM zhanx: it was dry dry
03:15 AM rue_shop1: cool
03:15 AM rue_shop1: did you get a greenhouse assembled?
03:15 AM zhanx: like dust on the bottom dry
03:15 AM zhanx: yes
03:15 AM zhanx: lettuce is in it
03:15 AM rue_shop1: did you get anything growing yet?
03:15 AM rue_shop1: bad time of year
03:15 AM zhanx: not down here
03:16 AM rue_shop1: oh yea
03:16 AM rue_shop1: 1:15 maybe I should sleep
03:16 AM rue_shop1: want to get this running
03:16 AM rue_shop1: even if it doesn't work
03:16 AM zhanx: rue_shop1, you are a smart person, dont believe the media hype. after all it was a left winger that killed someone today not trump
03:17 AM zhanx: and done with that
03:17 AM rue_shop1: oh I like to just stay away from politics
03:18 AM zhanx: like i said done with that
03:18 AM rue_shop1: I need a var thats spawned from a header file, but
03:18 AM rue_shop1: no
03:19 AM rue_shop1: MCP4728.c:18:9: error: redefinition of ‘MCP4728Address’
03:19 AM rue_shop1: uint8_t MCP4728Address = MCP4728_0; // change this later if you want
03:19 AM rue_shop1: damnit
03:20 AM rue_shop1: omg I got it
03:20 AM rue_shop1: ok, does it work?
03:25 AM rue_shop1: programmed....
03:25 AM rue_shop1: where does the i2c come out?
03:25 AM rue_shop1: C0 and C1
03:25 AM rue_shop1: clock is C1
03:32 AM rue_shop1: OMG it just works
03:35 AM rue_shop1: I'm going to bed
03:42 AM zhanx: cool 4chan found the moderate democrat that shot some one today and they are no longer a threat
05:42 AM polprog: when is the election?
05:42 AM polprog: that sucks
05:42 AM polprog: both far left and far right are fucked, they are the same thing essentially
05:42 AM polprog: just different wrapping
02:13 PM rue_shop1: yea, its like its been rigged
02:21 PM polprog: crap
02:21 PM polprog: my spi phy does *weird* things
02:21 PM polprog: it used to just return garbage every next read
02:21 PM polprog: now it returns either 0x00 or 0x04
02:22 PM polprog: no matter what register i read
02:22 PM polprog: resets dont help
02:32 PM polprog: what's that blue IC?
02:40 PM rue_shop1: its a resistor pack
02:40 PM rue_shop1: 200 ohms
02:40 PM rue_shop1: what chip you having an issue with?
02:59 PM polprog: the lora module
02:59 PM polprog: its made of an stm32 and a chip i call the phy, cause it does the physical layer of the radio link
02:59 PM polprog: the phy is an SX 1276
02:59 PM polprog: i cant read any of its registers over spi
03:00 PM polprog: what makes it more difficult is the fact that i cant probe /ss
03:34 PM Tom_L: why not?
03:56 PM aandrew: https://imgur.com/a/uL1vgjd
03:56 PM aandrew: itneresting turkey cooking graph
03:56 PM aandrew: the temperature regulation seemed to go wonky near the end, presumably because the cooktop was also in use, which is odd
03:56 PM aandrew: (that it would throw off the regulation, not that it's in use)
03:57 PM aandrew: also interesting discrete upticks in the turkey temp around t=120 and t=265
03:58 PM aandrew: also interesting (to me) is that the oven seems to really lowball the temps. it's off by about 25F, and it also seems to regulate "low"
03:58 PM aandrew: it shoudl be at 350 but seems to hover around 330, even when set to 375
03:59 PM rue_mohr: oh spi not i2c
04:13 PM rue_mohr: so, re the phones, should I try to sell or strip them?
04:15 PM Tom_L: neither. you should answer them
04:15 PM polprog: 22:56 < aandrew> also interesting discrete upticks in the turkey temp around t=120 and t=265
04:16 PM Tom_L: what phones?
04:16 PM polprog: internal structure of the turkey changes, that changes the temperature resistance of the turkey
04:18 PM polprog: and the specific heat
04:24 PM rue_shop1: ok, next I have to get DS1307 code working?
04:26 PM rue_shop1: tommorow I also have to test the generator
04:29 PM rue_shop1: hmm I'v not personally done 1307 code
04:29 PM rue_shop1: I just need access to the ram
04:29 PM rue_shop1: dont care about the clock
04:30 PM rue_shop1: wait
04:31 PM rue_shop1: the century bug,... is in the rtc?
04:31 PM polprog: if it keeps the year as 2 digit bcd
04:31 PM rue_shop1: yea
04:31 PM polprog: s/bcd//g
04:31 PM polprog: :P
04:31 PM rue_shop1: well no
04:31 PM rue_shop1: ds1307
04:31 PM rue_shop1: "10 year | year"
04:31 PM rue_shop1: both 00-99
04:32 PM rue_shop1: maybe the rtc is right, and the bios only minds the 2 digits
04:32 PM polprog: huh
04:32 PM polprog: what's "10 year"
04:33 PM rue_shop1: 19 80
04:33 PM polprog: wouldnt that be a hundred year
04:33 PM rue_shop1: .... yes.... ?
04:33 PM Tom_L: the 19 is the hundred
04:33 PM Tom_L: 2020
04:33 PM rue_shop1: ooh
04:33 PM Tom_L: the 20 is both
04:33 PM Tom_L: :)
04:33 PM rue_shop1: maybe oh
04:33 PM rue_shop1: no, I'm a twitt
04:33 PM rue_shop1: they are 4 bits each
04:33 PM rue_shop1: so yea
04:33 PM rue_shop1: 0 0 -> 9 9
04:34 PM Tom_L: i thought i had code for that already
04:34 PM rue_shop1: yea its a limit of the rtc
04:34 PM rue_shop1: tom you might
04:34 PM rue_shop1: I looked thru a library you had and it didn't use the ram
04:34 PM Tom_L: oh
04:34 PM rue_shop1: address 0-7 is the rtc
04:35 PM rue_shop1: yea
04:35 PM rue_shop1: ok, so its got an internal 64 byte address, with the first 8 being the rtc
04:35 PM rue_shop1: which is why its only 56 bytes ram
04:36 PM polprog: what is is that you are building now?
04:36 PM rue_shop1: that same power supply
04:36 PM rue_shop1: I'm not going to use the eeprom in the DAC
04:36 PM rue_shop1: I'm going to save the value in a DS1307s NVRAM
04:36 PM rue_shop1: then I dont have to worry about wear
04:37 PM rue_shop1: and I can just write values all the time
04:37 PM polprog: why not eeram?
04:37 PM rue_shop1: hu?
04:37 PM polprog: they are cool
04:37 PM polprog: 47c04
04:37 PM rue_shop1: does it have a write cycle life?
04:37 PM rue_shop1: is it FRAM?
04:37 PM rue_shop1: I got the DS1307 cause they are dirt cheap
04:37 PM polprog: no, its a RAM that writes itself to eprom when it loses the power
04:38 PM rue_shop1: like 10pcs for $1.50
04:38 PM polprog: it has a special cap for that
04:38 PM polprog: oh, right, i bet they are
04:38 PM rue_shop1: na, I'll do the nvram
04:38 PM polprog: 47c04 are a bit more expensive
04:38 PM polprog: i wanted to put mine on the sensor boards
04:38 PM polprog: but i need to get spi working first
04:38 PM rue_shop1: heh, I wonder if I should use a 100F cap instead of a battery :)
04:39 PM rue_shop1: things are scarry!
04:40 PM rue_shop1: I accidently shorted it, didn't deplete all its charge
04:40 PM polprog: heh
04:40 PM polprog: did it give you your screwdriver back
04:40 PM rue_shop1: it was a wire
04:40 PM polprog: a firewire
04:41 PM rue_shop1: I accidently touched the case to a pin
04:41 PM polprog: hmm. what. could. be. the. case. for the spi to be broken
04:41 PM rue_shop1: its only 2.7V
04:41 PM polprog: damn chinese datasheets
04:41 PM rue_shop1: well whats the chip?
04:41 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/misc_stuff/RTC3.jpg
04:41 PM rue_shop1: psi is generally easier
04:41 PM polprog: if i dont find out imma pull the RF fan and see if the /ss canbe probed
04:41 PM Tom_L: i think i still have those somewhere
04:41 PM rue_shop1: :)
04:41 PM rue_shop1: I just want it for its nvram
04:42 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/misc_stuff/RTC4.jpg
04:42 PM Tom_L: back side
04:42 PM Tom_L: i got lots of those holders too
04:42 PM rue_shop1: ah there
04:43 PM polprog: rue_shop1: sx1276
04:43 PM rue_shop1: you using software or hardware spi?
04:46 PM polprog: hardware
04:46 PM polprog: with software controlled SS
04:46 PM rue_shop1: k, I suggest using software for the first tests
04:46 PM rue_shop1: so your not accidently debugging hardware spi
04:46 PM polprog: i can see the miso, mosi and sck on the logic analyzer and its right
04:47 PM rue_shop1: I'm still scrolling for the spi protocol
04:47 PM polprog: looks right, i havent decoded it
04:47 PM polprog: chapter 6
04:47 PM polprog: no, wait
04:47 PM rue_shop1: its hard to unwravel from the RF protocol stuff
04:47 PM polprog: 4.3
04:47 PM polprog: the datasheet is a mess
04:47 PM polprog: theres one page on spi
04:47 PM polprog: :/
04:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/pdf/DS1307.pdf
04:48 PM rue_shop1: 4.3, ok
04:48 PM rue_shop1: Tom_L, it looks pretty easy,
04:48 PM Tom_L: seems mine may have been i2c
04:48 PM rue_shop1: just about a generic i2c ram
04:49 PM rue_shop1: polprog, 7 address bits and a... wht???
04:49 PM polprog: wrt i think
04:49 PM rue_shop1: omg
04:49 PM polprog: its basically RW bit
04:49 PM polprog: yeah, fun
04:49 PM rue_shop1: polprog, they .... they did i2c with spi
04:49 PM polprog: oh... oh boy
04:49 PM polprog: yeah
04:49 PM polprog: haha
04:50 PM polprog: how could i not notice that
04:50 PM polprog: maybe because r/w is msb here
04:50 PM rue_shop1: why are there address bits tho...
04:50 PM polprog: addressing internal regs
04:50 PM rue_shop1: which are?
04:51 PM rue_shop1: not that mess of a table back around section 2?
04:51 PM rue_shop1: oh
04:51 PM rue_shop1: table 41
04:51 PM polprog: yeah, 6.1
04:52 PM rue_shop1: ok, if it were me
04:52 PM rue_shop1: (whoc hates rf)
04:53 PM rue_shop1: Id just start by reading a register
04:53 PM rue_shop1: and make sure its POR value is as exptected
04:53 PM polprog: thats what im trying to do
04:53 PM rue_shop1: which register
04:53 PM polprog: i tried many
04:54 PM rue_shop1: 0x28 thr 0x2c look like good ones
04:54 PM polprog: at some point i had code that would read the same one over and over again and i would get random values that would then stabilize to a wrong value for that reg
04:54 PM rue_shop1: 0x55 is an easy to identify sequence
04:54 PM rue_shop1: ok
04:54 PM polprog: oh, nice that there are some 0x55s
04:54 PM Tom_L: table 2 of my pdf shows the register addresses
04:54 PM rue_shop1: ok what avr?
04:54 PM polprog: stm32 :)
04:55 PM rue_shop1: polprog, ok
04:55 PM polprog: stm32l071
04:55 PM rue_shop1: Tom_L, :) I'll dig into polprogs thing here for a min...
04:55 PM polprog: its a module, it has that stm and that phy on one small board
04:55 PM polprog: and some stuff broken out
04:55 PM polprog: https://downloads.rakwireless.com/LoRa/RAK4200/Hardware-Specification/RAK4200_Module_Specifications_V1.4.pdf
04:55 PM rue_shop1: polprog, ok, so, what pins are you using for the comms interface
04:56 PM rue_shop1: would you like me to shoot you a guess on a software bitbang version?
04:57 PM rue_shop1: MSB first, valid on rising edge
04:58 PM polprog: the pins are the hardware spi pins (PA5,6,7)
04:58 PM polprog: i cant find the schematic i have on the other computer
04:59 PM rue_shop1: its ok, if I know what you have connected I can go with it
04:59 PM polprog: PA4 is /ss
04:59 PM polprog: note that its stm32l0 so the api is a tad different
05:00 PM rue_shop1: so PA4=SS PA5=CLK PA6=MOSI PA7=MISO ?
05:00 PM rue_shop1: I wont use the hardware, I'll do software spi
05:00 PM polprog: yeah
05:00 PM polprog: i mean
05:00 PM polprog: the signals i can see on the LA are OK
05:01 PM polprog: its just the rf ic that doesnt answer
05:02 PM polprog: https://downloads.rakwireless.com/LoRa/RAK4200/Hardware-Specification/RAK4200_Schematic.pdf
05:02 PM polprog: aha
05:04 PM rue_shop1: so, why not wifi, whats up
05:05 PM polprog: i wanna experiment with lora
05:05 PM polprog: lower power
05:05 PM rue_shop1: k
05:05 PM polprog: better range
05:05 PM rue_shop1: ok
05:05 PM polprog: supposedly cna do several km in open field
05:05 PM rue_shop1: you have 2 boards?
05:05 PM polprog: can*
05:05 PM polprog: 2 modules
05:05 PM polprog: but im stating to suspect this one is faulty
05:05 PM rue_shop1: k
05:05 PM rue_shop1: na, bets your hardware spi is playing up
05:06 PM rue_shop1: did you try it with a 74165?
05:06 PM rue_shop1: or loopback
05:06 PM polprog: hmm
05:06 PM polprog: im watching the MISO line on the LA so far
05:06 PM polprog: it doesnt print or anything
05:06 PM polprog: as in the mcu doesnt print the values
05:06 PM polprog: i just wanna se the miso line *move*
05:07 PM polprog: i might try to put the MISO line in hi-z on the MCU
05:07 PM polprog: wait..........
05:07 PM polprog: maybe it is broke
05:08 PM rue_shop1: Tom_L, ok, back to the DS1307
05:08 PM polprog: the first board had a mistaken footprint, SPI is on the top header so its possible miso was connected to the power rail directly
05:08 PM rue_shop1: whats the library you have do?
05:08 PM polprog: damnit
05:08 PM rue_shop1: :/
05:08 PM polprog: thanks for the 0x55 regs
05:08 PM polprog: :)
05:09 PM polprog: ill have to rig up the second module
05:09 PM polprog: and buy some moar
05:09 PM rue_shop1: see if you can read the POR values from the good one
05:09 PM polprog: yea
05:10 PM rue_shop1: hmm I need to read/write 16 bit values
05:13 PM polprog: dos fox wants to build a roughbot
05:37 PM rue_mohr: :)
05:37 PM polprog: a thrift shop is selling led screen segments (RGB) for $5 piece
05:37 PM rue_mohr: !!!!
05:37 PM polprog: 8x16
05:38 PM rue_mohr: $5ea... wait
05:38 PM polprog: having more than 15 usd on my bank accound would certainly help
05:38 PM polprog: 25 pln
05:38 PM polprog: 6.62 usd
05:38 PM rue_mohr: isn't that a lot for those?
05:38 PM polprog: https://allegro.pl/oferta/moduly-led-fragmenty-ekranu-9466137516
05:38 PM polprog: not bad
05:39 PM rue_mohr: oh their big
05:39 PM polprog: yeah ;)
05:39 PM polprog: ehh
05:40 PM polprog: luckily i have some teachning gig again next weekend
05:40 PM polprog: and so on
05:40 PM polprog: so maybe ill make some money
05:40 PM polprog: i mean
05:40 PM polprog: its certain i will get paid
05:40 PM polprog: just dunno when ;)
05:40 PM rue_mohr: maybe I should change my header image to something less retro
05:43 PM * polprog looks it up
05:43 PM polprog: what's "nahc" from
05:44 PM polprog: I should change mine
05:44 PM rue_mohr: nah as in "no"
05:44 PM polprog: i dont do *only* floppies
05:44 PM polprog: hah
05:50 PM polprog: nite
05:58 PM rue_shop1: gngiht
06:25 PM rue_shop1: ugh, at some point a tree is gonna fall on a powerline
06:27 PM rue_shop1: Tom_L, what they dont say about the DS1307, is if, when you read a byte, if the internal counter is permanently incremented or if it restores to its initial value after the stop
06:27 PM rue_shop1: pretty sure it saves
06:46 PM Tom_L: yeah, i dunno
07:19 PM rue_shop1: ok, first pass on operating the ram isn't working
07:38 PM rue_mohr: maybe it needs to clock
07:38 PM rue_mohr: I should try it under normal condition
07:38 PM rue_mohr: s
07:38 PM rue_mohr: my anxiety is going nuts
07:48 PM Tom_L: what you anxious about?
07:48 PM Tom_L: finally replaced the regulator on the compressor
07:48 PM Tom_L: i should put new lines in. the ones i put in originally were black pipe and i think the rust is screwing up the regulator too quick
07:49 PM Tom_L: should replace with copper but i'm not sure what the PSI is on copper tube
07:54 PM rue_mohr: this school thing is stressfull
07:54 PM Tom_L: mmm looks like either type L or M would be ok
07:54 PM rue_mohr: Tom_L, definitly ok with 100
07:55 PM Tom_L: M has a 251 psi rating where L has a 440 psi rating
07:55 PM Tom_L: my compressor goes to 175 psi
07:55 PM rue_mohr: what do you run at?
07:55 PM rue_mohr: ah
07:55 PM rue_mohr: hmm
07:55 PM Tom_L: i had to return a drier last week because it had a plastic bowl
07:55 PM rue_mohr: tho I'm sure the overrating would make that fine...
07:55 PM Tom_L: rated for 150psi
07:55 PM rue_mohr: hmm
07:56 PM Tom_L: and they didn't stock a metal bowl
07:56 PM rue_mohr: yea, a dryer with plastic is another story
07:56 PM rue_mohr: the plastic will fail, the high press will make it happen sooner
07:56 PM Tom_L: at least this one had a shroud around it
07:56 PM rue_mohr: mine is glass w/ shroud
07:56 PM Tom_L: the last one i got for a different compressor didn't
07:57 PM Tom_L: kinda scary
07:57 PM Tom_L: i may rebuild the old regulator
07:57 PM rue_mohr: I have a refrig. dryer, havn't used it yet
07:57 PM Tom_L: i think i can make a part for it
07:58 PM Tom_L: the valve inside gets corroded
07:59 PM Tom_L: i unplugged the tank drain a few weeks ago. the valve was corroded
07:59 PM Tom_L: only 2-3 gal in it which i didn't think was so bad for an 80 gal tank
07:59 PM rue_mohr: oof
07:59 PM rue_mohr: I should check mine again
08:00 PM rue_mohr: I use it so rarely
08:00 PM Tom_L: i got a ball valve on it
08:00 PM Tom_L: with a hose i can drain into a bucket
08:00 PM rue_mohr: odd 1/8" line?
08:00 PM Tom_L: 1/8 or 1/4
08:00 PM Tom_L: on the drain
08:01 PM Tom_L: 1/2" black pipe on the outlet
08:01 PM Tom_L: i bet if i went with copper the regulator would last alot longer
08:03 PM rue_mohr: hey
08:03 PM rue_mohr: http://tom-itx.no-ip.biz:81/~webpage/avr/Dallas%20RTC%20Code/
08:03 PM rue_mohr: twi... i2c...
08:04 PM Tom_L: yeah i thought i showed you that
08:04 PM rue_mohr: you did
08:04 PM rue_mohr: they are using the twi for i2c
08:04 PM rue_mohr: yea
08:04 PM rue_mohr: ok
08:04 PM Tom_L: same thing
08:04 PM rue_mohr: maybe I'm losing it
08:04 PM Tom_L: just a different name since i2c is proprietary
08:05 PM rue_mohr: hmm
08:05 PM rue_mohr: I'll try a crystal
08:05 PM rue_mohr: maybe it cant work without a clock
08:06 PM Tom_L: i bet i have a few of those skinny ones too
08:06 PM rue_mohr: oh wait
08:06 PM rue_mohr: I think I did the address wrong
08:07 PM rue_shop1: #define DS1307Address (0x68<<1)
08:07 PM rue_shop1: no
08:08 PM Tom_L: you could read/write twiwrite() or twiread() with the ram address no?
08:08 PM rue_shop1: I'm using the flurry libary
08:09 PM Tom_L: oh
08:09 PM rue_shop1: I know its ok, same hardware was good with the other chi
08:09 PM rue_shop1: p
08:10 PM rue_shop1: oh, maybe
08:17 PM rue_shop1: grumble
08:20 PM rue_shop1: I cant see it
08:36 PM rue_shop1: hahah the chineese 1307 board works, ok
08:47 PM rue_shop1: ok, so, what have I got here, bad wiring?
08:47 PM rue_shop1: bad chineese chip?
08:47 PM rue_shop1: doesn't like not having a clock?
08:50 PM rue_shop1: hahah
08:50 PM rue_shop1: and now it just works
08:51 PM rue_shop1: chalk it up to a loose wire
08:51 PM Tom_L: thought you knew better
08:51 PM rue_shop1: never
08:51 PM rue_shop1: so, it can keep data for quite a few minutes with no power and no backup battery
08:51 PM rue_shop1: ...
08:53 PM rue_shop1: "3V battery" ok
08:54 PM rue_shop1: I want an off-board battery
09:07 PM Tom_L: 2032
09:08 PM rue_shop1: hahah, I thought I'd just stick in a cap
09:08 PM rue_shop1: cause, I dont tooooo much storage
09:08 PM rue_shop1: but I'm REQLLY quickly learning about capacitor leakage
09:08 PM rue_shop1: most of the caps I have leak like a siv
09:09 PM rue_shop1: charge leakage, like parallel resistance
09:09 PM rue_shop1: none of the caps so far will do
09:12 PM rue_shop1: ok, trying a backup capacitor
09:12 PM rue_shop1: see what the leakage on that one is like
09:13 PM rue_shop1: 0.022F
09:13 PM rue_shop1: 22mF
09:13 PM rue_shop1: 22000 uF
09:16 PM rue_shop1: better, but I can still see leakage
09:16 PM rue_shop1: OR, its my meter...
09:17 PM rue_shop1: it was my meter
09:18 PM rue_shop1: working nicely tho
09:19 PM rue_shop1: hmm allowable voltage is 2 to 3.5V