ChanServ changed the topic of #glasgow to: glasgow interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://freenode.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow · no ETAs at the moment
<_whitenotifier-f> [glasgow] attie commented on pull request #238: init kicad-exports to run on all 'wip-revC[0-9]' branches - https://git.io/JIYYR
egg|laptop|egg_ has quit [Remote host closed the connection]
<_whitenotifier-f> [glasgow] whitequark commented on pull request #238: init kicad-exports to run on all 'wip-revC[0-9]' branches - https://git.io/JIYOp
bvernoux has quit [Read error: Connection reset by peer]
Stormwind_mobile has quit [Remote host closed the connection]
<d1b2> <icb> 3300ppm CO₂ is quite high. Either that reading is wrong, or you need to take a good look at better ventilation
<whitequark> 3300 ppm sounds like they exhaled in excitement right at the sensor
<d1b2> <icb> That's possible too
<whitequark> happens often to me
<d1b2> <0x53A> Jup the sensor was directly in front of me on the table. Thank you for your concern :D (and I did vent afterwards) Though that is actually my goal with this sensor: to build a co2 monitor so I don't forget to open the window now and then, especially now in winter when I can't keep it open.
<whitequark> just don't publish the high-resolution sensor data
<whitequark> because it gives away your sleep, activity, movement...
<whitequark> not a safety concern for most people but a privacy issue nevertheless
<d1b2> <icb> Good to hear. I have to keep my windows open in winter or the temperature gets unbearably hot. My apartment building uses steam heat, and it's not well maintained
<d1b2> <0x53A> Yeah I've seen your tweets a year? ago. Technically, it's really amazing, same with acceleration sensors. My goal is to build the same thing you did and push it to this time series database thing, I'd password protect it obviously.
<whitequark> influxdb? yeah
<d1b2> <Attie> i received my SCD30s today, and set mine up too... for similar reasons
<d1b2> <0x53A> Just out of curiosity, do you know what your "favorite" temperature is? The sensor was saying 25°, but it felt too cold in a T-shirt. Though I'm almost always a bit frosty compared to others ...
egg|laptop|egg has joined #glasgow
<d1b2> <Attie> i like ~19-21'C
<d1b2> <Attie> much more is "too hot"
<whitequark> it varies a lot between people
<whitequark> and it can change greatly because of such reasons as "different hormonal profile", beyond all the usual suspects
egg|laptop|egg has quit [Remote host closed the connection]
electronic_eel has quit [Ping timeout: 256 seconds]
electronic_eel has joined #glasgow
Stormwind_mobile has joined #glasgow
PyroPeter_ has joined #glasgow
PyroPeter has quit [Ping timeout: 260 seconds]
PyroPeter_ is now known as PyroPeter
bluel is now known as alen
m4ssi has joined #glasgow
futarisIRCcloud has joined #glasgow
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Stormwind_mobile has quit [Ping timeout: 256 seconds]
<electronic_eel> @Attie since you are building the can addon and plan to write can gateware i thought this might be interesting for you. i just stumbeled upon this link: https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core
<electronic_eel> @Attie it is a ip core for canfd. unfortunately it is in vhdl. but maybe it can serve as inspiration
<electronic_eel> can fd is of course much more complex that plain old can
<d1b2> <Attie> @electronic_eel thanks for the link!
<d1b2> <Attie> I certainly didn't want to preclude CAN-FD in hardware, but my initial goal is plain-old-CAN
pepijndevos has quit [Ping timeout: 240 seconds]
pepijndevos has joined #glasgow
egg|laptop|egg has joined #glasgow
m4ssi has quit [Remote host closed the connection]
<d1b2> <Attie> I'm considering licenses for the Glasgow CAN project (hardware + software)... I don't want to preclude rolling it into the main repo / an "official" add-on repo some day
<d1b2> <Attie> are 0-clause BSD and Apache 2.0 suitable for the hardware side of things?
<d1b2> <Attie> (I also spotted what is likely a mistake in LICENSE-Apache-2.0.txt... does it need a fix? - https://github.com/GlasgowEmbedded/glasgow/blob/master/LICENSE-Apache-2.0.txt#L189)
<d1b2> <Attie> oh, hah... my reading is on form today! ignore the "mistake" comment
bvernoux has joined #glasgow
egg|laptop|egg has quit [Remote host closed the connection]
<electronic_eel> @Attie the whole glasgow repo, including the hardware files, is 0-BSD and Apache-2.0. so i'd say this fits well for stuff you may want to merge in the future
<d1b2> <Attie> sounds good... I'm tempted to go for BSD-3-Clause for the moment, and can relicense if/when it gets merged
<electronic_eel> as long as all contributors agree, you can relicense whenever you want
<electronic_eel> whitequark is not a fan of licensing that has any kinds of restrictions (like gpl)
<d1b2> <Attie> sounds good (i think)
<d1b2> <Attie> i'm pretty much at the end of the add-on now... if anyone would be willing to give it a quick look-over that would be very kind (be nice 🙂 )
<electronic_eel> i don't think 3-clause-bsd will make any significant difference for you compared to 0-clause. if some chinese vendor wants to make and sell your board, they don't care about any kind of license
<d1b2> <Attie> yeah, very true
<electronic_eel> also i guess you have better things to do with your time than sueing someone over a licens violation
<d1b2> <Attie> most likely.
<electronic_eel> i can take a look at your can addon, maybe some time over the weekend
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #glasgow
<d1b2> <Attie> thanks!
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 244 seconds]
Stormwind_mobile has joined #glasgow
egg|laptop|egg has joined #glasgow
<d1b2> <0x53A> Does glasgow also support influxdb 2 or only 1.x? I'm asking because in version 2, authentication via a token seems to be required, but there is no token parameter anywhere in the help or in the source code.
<whitequark> only 1.x
Stormwind_mobile has quit [Ping timeout: 256 seconds]
<d1b2> <0x53A> alright, I'll try to add support for 2.x, seems like an easy first task
Stormwind_mobile has joined #glasgow
<whitequark> yup
egg|laptop|egg_ has joined #glasgow
egg|laptop|egg has quit [Ping timeout: 264 seconds]
thasti has quit [Remote host closed the connection]
thasti has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 260 seconds]
Stormwind_mobile has joined #glasgow
<d1b2> <Foone> So I'm playing with some hacking on a video-output applet and I'm falling back to playing with video-vga-output as a template, but I've hooked it up to the oscilloscope and I'm not seeing anything that makes sense on the output. I think I may be running this wrong? For applets like this, do I need to something other than "python -m glasgow.cli run video-vga-output" to activate the output? it seems to exit almost immediately.
<d1b2> <Attie> the VGA applet should show a test pattern on a VGA monitor
<d1b2> <Attie> there's nothing "to do", so it loads the bitstream and exits
<d1b2> <Attie> have you wired up resistors and a monitor (or similar)?
<d1b2> <Foone> no, I'm just putting a resistor across pin 1 (vsync) and ground. I expect I should see a ~60hz signal
<d1b2> <Foone> err, an oscilloscope. not a resistor
<d1b2> <Attie> hmm
<d1b2> <Attie> pin 0 defaults to hsync, so you should see a ~khz signal
<d1b2> <Attie> (unless you've changed it)
<d1b2> <Attie> and the video-vga-output is the correct applet / should work correctly
<d1b2> <Foone> hmm, ok, yeah. I switch to 0 and I'm seeing a 31.3khz signal, which is in the right range
<d1b2> <Attie> here's me playing with it, with an example of the test pattern https://youtu.be/9kCGYm2fY7k?t=8170
<d1b2> <Attie> re 31.3kHz, nice!
<d1b2> <Attie> pin 1 should probably be ~60Hz
<d1b2> <Foone> the voltage is a bit questionable. It seems to be 360mv on pin 0? I did "python3 -m glasgow.cli test video-vga-output -V 3.3 --port A" to ensure it was at the right voltage.
<d1b2> <Attie> huh, that's unexpected - nothing wired up aside from glasgow -> scope?
<_whitenotifier-f> [glasgow] 0x53A opened pull request #240: add InfluxDB2DataLogger (cli name influxdb2) to log into an InfluxDB 2.x - https://git.io/JIs0H
<d1b2> <Foone> oh god damn it, I forgot this stupid probe has a tiny switch in it to put it in 10x mode. it's actually 3.6v
<d1b2> <Attie> i was about to suggest that 😄
<d1b2> <Attie> mine sees the signal a little hot too - ~3.4v
<electronic_eel> is it 3.6v on the vio also?
<electronic_eel> that would be a bit much for 3.3 set voltage
<d1b2> <Attie> i can confirm ~3.34v on my Vio, not sure what tolerance you're expecting
<whitequark> 5%
<electronic_eel> 3.34 v is fine, this is not a high precision voltage calibrator
<d1b2> <Foone> I'm seeing 3.36v on vio. I was just measuring with a manually positioned cursor, so probably any inaccuracy was just me not measuring accurately
<electronic_eel> but the 3.6v from foone seem to be a bit much to me
<electronic_eel> ok .3.36 seems more like it
<d1b2> <Foone> thanks for the help. the good news is that this confirms I'm not using it wrong and my hardware isn't broken. that just means that my code is broken, which is annoying because now it means I gotta fix it.
<d1b2> <Attie> yay / doh
<d1b2> <Attie> i had just one glasgow running the SCD30 applet, and started the VGA applet on another, which knocked out the first, because I think glasgow list updated the firmware even though it was in use