2021-08-19.log

- wiedi (QUIT: Ping timeout: 245 seconds) (~wiedi@2a01:138:a015:15:4dec:fdf0:47a:7bff)00:12
+ wiedi (~wiedi@2a01:138:a015:15:f945:7e0:c4c1:d2e7)00:13
- mjw (QUIT: Quit: Leaving) (~mark@herd.wildebeest.org)02:15
- chartreuse (QUIT: Ping timeout: 240 seconds) (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)08:26
+ chartreuse (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)08:26
- cryptix (QUIT: Quit: Bridge terminating on SIGTERM) (~cryptxxma@2001:470:69fc:105::94a)10:32
- scops (QUIT: Quit: Bridge terminating on SIGTERM) (~scopstchn@2001:470:69fc:105::8da)10:32
- nio (QUIT: Quit: Bridge terminating on SIGTERM) (~nio@2001:470:69fc:105::172d)10:32
- jryans (QUIT: Quit: Bridge terminating on SIGTERM) (~jryans@2001:470:69fc:105::1d)10:32
- indefini[m] (QUIT: Quit: Bridge terminating on SIGTERM) (~indefinim@2001:470:69fc:105::1e2a)10:32
+ jryans (~jryans@2001:470:69fc:105::1d)10:34
+ scops (~scopstchn@2001:470:69fc:105::8da)10:36
+ cryptix (~cryptxxma@2001:470:69fc:105::94a)10:36
+ indefini[m] (~indefinim@2001:470:69fc:105::1e2a)10:36
+ nio (~nio@2001:470:69fc:105::172d)10:36
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)11:50
+ wagga (~wagga@node-1w7jra22ildhuy6r2sbq010i3.ipv6.telus.net)12:18
- adjtm (QUIT: Read error: Connection reset by peer) (~adjtm@229.red-81-36-31.dynamicip.rima-tde.net)12:19
+ adjtm (~adjtm@229.red-81-36-31.dynamicip.rima-tde.net)12:19
- arminweigl (QUIT: Read error: Connection reset by peer) (~arminweig@sourcehut/user/arminweigl)13:18
+ arminweigl (~arminweig@sourcehut/user/arminweigl)13:19
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)13:50
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:51
- wagga (QUIT: Ping timeout: 246 seconds) (~wagga@node-1w7jra22ildhuy6r2sbq010i3.ipv6.telus.net)14:16
+ wagga (~wagga@d75-159-231-192.abhsia.telus.net)14:47
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)15:50
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)15:51
+ mjw (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)17:42
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)17:51
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)17:59
+ mjw (~mark@herd.wildebeest.org)18:13
- erlehmann (QUIT: Ping timeout: 252 seconds) (~erle@dynamic-046-114-033-161.46.114.pool.telefonica.de)19:04
+ erlehmann (~erle@dynamic-046-114-033-190.46.114.pool.telefonica.de)19:16
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)19:52
mntmnchartreuse: btw the LPC ARM can power down itself completely by writing 0x3 to LPC_PMU->PCON. an option for undervoltage situation perhaps.20:29
mntmnthere's even 1 and a half registers of data that ARM can remember in this state (GPDATA)20:30
mntmnbut yeah, the idea would be: 1. if we are powered down and not charging (no large current draw in either direction) and there is relatively low battery voltage (i.e. not fully charged), then: 2. configure and enable watch dog timer (WWDT) and NVIC to wake us up after X seconds to check again 3. enter deep sleep or power-down mode 4. wake up and check that (1.) still applies 5. in cell20:50
mntmnundervoltage situation, enter deep power down mode, wake up only from reset20:50
- XgF (QUIT: *.net *.split) (~quassel@2001:19f0:5001:1174:7863:4748:9423:56b5)21:00
- frank2 (QUIT: *.net *.split) (~frank@91.229.143.153)21:00
- jomo (QUIT: *.net *.split) (~jomo@user/jomo)21:00
- fsx (QUIT: *.net *.split) (~fsx@durian.61924.nl)21:00
+ XgF (~quassel@2001:19f0:5001:1174:711c:4c51:2742:2e4e)21:00
jackhillAnyone have a good source for replacement batteries (in the USA)?21:01
+ jomo (~jomo@user/jomo)21:01
khmjackhill: https://www.18650batterystore.com/collections/jgne-18650-batteries/products/jgne-18650-180021:02
mntmnyep21:07
khmjackhill: I've ordered these batteries from this supplier.  I'm in WA state and shipping was pretty quick.21:15
mntmncool21:16
mntmnit's exactly the ones we are using21:16
khmthat's why I picked them -- I'm a coward21:17
mntmnwell that's a good idea21:17
- rasmus (PART: Disconnected: closed) (~rasmus@c80-217-132-63.bredband.tele2.se)21:32
+ alexande1 (~alexander@wsip-24-252-227-101.sb.sd.cox.net)21:42
* alexande1 -> alex4nder21:42
alex4nderhey21:42
- wagga (QUIT: Quit: Client closed) (~wagga@d75-159-231-192.abhsia.telus.net)21:50
swivel /622:11
swiveloops22:11
chartreusemntmn: what conditions can trigger the reset on the LPC? Or does the user have to open up the bottom and hit the button? Would be nice if plugging in the power cord could do it or the batteries hitting a threshold22:12
chartreuseI guess to save the batteries that's still a good idea as well22:13
chartreusewatchdog seems like a good idea for the power off state, presumably there's no way of interrupting on serial data in or such from the keyboard?22:14
+ ephase (~ephase@2a01:e0a:168:1211::885)22:18
chartreuseSounds like a good plan overall. For the keyboard undervoltage would it worth also going into a blank state and requiring hitting the reset button under the bezel? Would save some power draw compared to having the watchdog enabled22:19
chartreuseProbably would be a little concerning to people that nothing happens when they plug it in and press buttons, but I guess better than killing the cells and having to buy another set or external charger22:20
ephaseHi22:21
chartreuseHello22:21
jackhillkhm: super, thanks!22:39
chartreuseNeed to track some down in Canada since shipping is always so much. Wouldn't mind having a spare set. Though really if I never let them discharge these should last a long time22:40
mntmnchartreuse: in the lowest deep power down mode _only_ a strobe on a special pin that we have only brought out on expansion port.22:51
mntmn(or the reset)22:51
mntmnchartreuse: but we don't need to use that deep power down 22:51
mntmnchartreuse: on the normal deep sleep, you can totally wake on UART 22:52
chartreuseAh okay, so practically without hardware mods the wakeup would just have to be opening the bottom and pressing the LPCRESET22:52
mntmnyeah but only from that lowest lowest state22:52
mntmnthe others also use very little power22:52
chartreuseYeah, that'd be good for a few hundred millivolts above the point where the MNT can't charge the batteries itself22:52
chartreuseWake on UART would be good if it's still down in the microamp range ideally. Keyboard controller can send a wake-up packet over to it when the circle button brings it out of deep sleep mode22:53
chartreuseThough of course there's still other passive draws like the ICs on the 3.3v rail like the keyboard pwm controller, probably the DAC, and some other stuff22:55
mntmnthe dac doesn't use the standby rail22:56
mntmnand the keyboard pwm controller uses the 5v usb power iirc22:56
mntmnthere's two separate 3v3 rails22:57
chartreuseAh okay didn't realize that. That's handy22:57
mntmnyeah. only very few things are on the standby rail22:57
ex-parrotI have conclusively solved the undervoltage problem by just never unplugging my reform 😂22:57
mntmnex-parrot: good plan ;)22:57
chartreuseI always leave it plugged in overnight22:57
chartreuseDo LiFePO4 cells perfer not to be fully charged, I know for regular lipo's they last longer only being kept at 80% if charged for extended22:58
chartreuseStill would be nice to fix if for some reason it gets forgotten about for a month, not to have to replace or manually charge depleted cells22:59
jackhillI was letting mine discharge on purpose, becasue of a suspected weak cell, but then I forgot about it 😳 I guess I should have pulled them out and done the testing with a load tester.23:02
- alex4nder (QUIT: Ping timeout: 258 seconds) (~alexander@wsip-24-252-227-101.sb.sd.cox.net)23:03
mntmnchartreuse: afaik this doesn't apply to lifepo423:05
mntmnchartreuse: and, absolutely want to fix this.23:05
- ephase (QUIT: Ping timeout: 258 seconds) (~ephase@2a01:e0a:168:1211::885)23:10
+ ephase (~ephase@82-64-59-168.subs.proxad.net)23:17
- ephase (QUIT: Ping timeout: 248 seconds) (~ephase@82-64-59-168.subs.proxad.net)23:22
+ ephase (~ephase@37.165.38.179)23:23
+ alex4nder (~alexander@ip98-182-18-230.sb.sd.cox.net)23:39
chartreuseI've got a bench power supply so if I do end up dropping them I can bring them back. But woud rather not since I'm sure that'll reduce their lifespan23:56

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!