#raspberrypi IRC Log


IRC Log for 2018-04-10

Timestamps are in GMT/BST.

[0:01] * energizer (~energizer@unaffiliated/energizer) has joined #raspberrypi
[0:01] <darsie> Voop: The microusb?
[0:01] <Voop> yes
[0:01] <Voop> i know i messed something up
[0:01] <darsie> I don't think they are used.
[0:02] <Voop> what
[0:02] <darsie> the data lines.
[0:02] <darsie> It's just for power, IMHO.
[0:03] <darsie> Or, is there another microusb on the pi0?
[0:03] <Lartza> darsie, The pi0 has two microusb ports, one of them is only power, the other is OTG
[0:05] <Voop> yes, there is absolutely a micro usb for data
[0:05] <Voop> and two accompanying pads for soldering
[0:05] * sgflt (~sgflt@p4FDF244C.dip0.t-ipconnect.de) has joined #raspberrypi
[0:06] <Lartza> And no, you are not supposed to have continuity between the data lines :)
[0:06] <darsie> Are there like 50 Ohm termination resistors on USB?
[0:06] <Lartza> Only from a data line to the end of the cable
[0:06] <Voop> thanks Lartza
[0:08] * Budgii (~Budgii@unaffiliated/budgii) has joined #raspberrypi
[0:08] <Budgii> just opened my raspberry pi kit
[0:08] <Budgii> w00t
[0:08] <Budgii> now to figure out what i am doing
[0:09] <Voop> you should probably install raspbian and play minecraft for 3 minutes
[0:09] * swift110 (~swift110@unaffiliated/swift110) has joined #raspberrypi
[0:09] <Budgii> well I need to figure out how to put it together first ha
[0:09] * jak (~jak@unaffiliated/jak) Quit (Quit: ZNC 1.6.5 - http://znc.in)
[0:09] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Quit: djk)
[0:10] * jak (~jak@unaffiliated/jak) has joined #raspberrypi
[0:10] * foul_owl (~foul_owl@75-172-125-95.tukw.qwest.net) has joined #raspberrypi
[0:13] <mfa298> Voop: aiui the data lines on usb are a differential pair, so there shouldnt be continuity betwween them ( maybe a larger resistance but not no resistance)
[0:14] <mfa298> there should be continuity between the test pads (I think labelled PPnn) and the matching pin on the data port
[0:15] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) has joined #raspberrypi
[0:16] * milpool (EqLUlPwx18@ankaa.uberspace.de) Quit (Quit: leaving)
[0:17] * foul_owl (~foul_owl@75-172-125-95.tukw.qwest.net) Quit (Ping timeout: 260 seconds)
[0:18] <Voop> mfa298: i think thats my issue
[0:18] <Voop> i soldered over those
[0:18] <Voop> the pp23 and pp22
[0:19] * my123 (~my123@unaffiliated/kill--9-1/x-8776976) Quit (Ping timeout: 240 seconds)
[0:20] * Tenkawa (~na@unaffiliated/tenkawa) Quit (Quit: leaving)
[0:20] <Budgii> Will wireless keyboard and mouse work with raspberry pie?
[0:21] <Lartza> Most should
[0:21] <Budgii> ya
[0:21] <Budgii> yay
[0:21] <Voop> what type of wireless
[0:21] <Budgii> Its amazon basics set
[0:21] <Voop> is it bluetooth or rf
[0:22] * my123 (~my123@unaffiliated/kill--9-1/x-8776976) has joined #raspberrypi
[0:22] <Budgii> Nevermind.. its this one. https://www.amazon.com/Dell-KM117-Wireless-Keyboard-Mouse/dp/B01LOORNLY/ref=sr_1_8?s=pc&ie=UTF8&qid=1523312501&sr=1-8&keywords=wireless+keyboard+and+mouse&dpID=414aDLQ8XiL&preST=_SY300_QL70_&dpSrc=srch
[0:22] <Voop> i dont have good luck with bluetooth keyboards on pi's
[0:22] <Budgii> it has a dongle
[0:22] <Lartza> Seems to be RF
[0:22] <Lartza> Oh that one
[0:22] <Lartza> That's RF too
[0:23] <Budgii> cool. hopefully it works
[0:23] <Voop> pretty much the same combo i use
[0:23] <Budgii> just waiting about 10 minutes until the Dl is done
[0:23] <Voop> should work fine
[0:23] <Budgii> Cool!
[0:23] <Budgii> for raspbian
[0:23] * Case77 (~Case77@pool-108-44-22-63.albyny.east.verizon.net) has joined #raspberrypi
[0:24] <Budgii> what program to install raspbian on SD? I have linux.\
[0:24] <Budgii> I have done all my other installs on windows
[0:24] <Lartza> dd works fine
[0:25] <Budgii> 'dd' is what it's called?
[0:25] <Lartza> There should be instructions on the site
[0:25] * swift110 (~swift110@unaffiliated/swift110) Quit (Ping timeout: 268 seconds)
[0:25] <Budgii> k
[0:25] <Lartza> https://www.raspberrypi.org/documentation/installation/installing-images/linux.md
[0:27] <Voop> i have never successfully installed an os on an sd card in linux
[0:27] * Hero1980 (5cce40f9@gateway/web/freenode/ip. has joined #raspberrypi
[0:27] <Voop> i always follow the instructions to a T
[0:28] * swift110 (~swift110@unaffiliated/swift110) has joined #raspberrypi
[0:28] * purplex88 (~purplex88@unaffiliated/purplex88) Quit (Quit: Going offline, see ya! (www.adiirc.com))
[0:28] * swift110 (~swift110@unaffiliated/swift110) Quit (Remote host closed the connection)
[0:28] * swift110 (~swift110@unaffiliated/swift110) has joined #raspberrypi
[0:29] <Budgii> Voop
[0:29] <Budgii> It says: It will be listed as something like /dev/mmcblk0 or /dev/sdX
[0:29] <Budgii> I have identified mine, but its listed as: sdb 8:16 1 29.7G 0 disk
[0:30] <Budgii> dont know what im asking but.. there instruction seems much differentr
[0:30] <Lartza> sdb is sdX
[0:30] <Voop> well thats just identifying the sd card
[0:30] <Lartza> No?
[0:31] <stiltr> Lartza: Yes. You'll have 'of=/dev/sdb' in your dd command
[0:31] <stiltr> Just be sure it's sdb = )
[0:31] <Lartza> I mean I wasn't asking like I didn't know
[0:31] <Budgii> so in there example command: dd bs=4M if=2018-03-13-raspbian-stretch.img of=/dev/sdX conv=fsync
[0:32] <Budgii> should I use: dd bs=4M if=2018-03-13-raspian_my_file.img of=/dev/sdb conv=fsync
[0:32] <stiltr> Whoops, sorry. I mixed you two up.
[0:32] <Voop> yes Budgii
[0:32] <Lartza> Budgii, If you are sure sdb is the card, yes
[0:33] <Budgii> sweet, yes sdb is the card. so i'll need to include (sorry, windows example) directory like C:\Mycomputer\downloads\raspbian.img in the file name?
[0:33] * d4rklit3 (~textual@rrcs-64-183-104-146.west.biz.rr.com) has joined #raspberrypi
[0:33] <Lartza> You can, if it's not in the same folder you are running the dd command in
[0:33] <Budgii> gotcha
[0:34] <stiltr> If your distro has it, lsblk is a handy command for identifying disk, just FYI.
[0:35] <Budgii> yep thats how I found it :D
[0:35] <Budgii> thanks stiltr
[0:35] <stiltr> Yep!
[0:36] <Budgii> Do I need to unzip my download?
[0:36] <stiltr> Yes. You should end up with a .img file.
[0:36] <Lartza> Yes, or see the tip about how to not do that
[0:36] <Budgii> cool!
[0:36] <Lartza> *not have to do
[0:36] <Budgii> I just riht click and extract. easier than terminal as of now
[0:37] * troulouliou_div2 (~troulouli@unaffiliated/troulouliou-div2/x-0271439) Quit (Remote host closed the connection)
[0:38] <Budgii> how does this look guys https://paste.ubuntu.com/p/ckb7jXmdxX/
[0:41] <Budgii> here goes nothing. Does this not show a progress or status while writing?
[0:42] <stiltr> Depending on your distro, you can add status=progress to the dd command to get some progress info.
[0:42] <stiltr> Otherwise, no.
[0:42] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) Quit (Quit: Leaving)
[0:42] * Warmy (~Warmy@ Quit (Read error: Connection reset by peer)
[0:43] <Budgii> I guess i'll wait patiently haha. any idea how long this should take? the SD card writes up to 80MB/s and the adapter is 60MB/s.
[0:44] * codestorm (~codestorm@2605:e000:9196:e300:6827:1913:3e6a:6a78) has joined #raspberrypi
[0:44] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Ping timeout: 268 seconds)
[0:44] * waveform (~waveform@waveform.plus.com) Quit (Quit: Leaving)
[0:46] <Voop> Budgii: should not take too long
[0:46] <Voop> should be done by now i think
[0:46] <Budgii> just finished. its telling me to check if it was written correctly by 'dd-ing' it
[0:46] <Budgii> do i really have to do this crap?
[0:46] <Budgii> I'd do it if i knew how ha
[0:47] <d4rklit3> hey
[0:47] <Lartza> You don't really need to but it's the only way to verify it
[0:47] <Voop> i skip all unneeded steps
[0:47] <d4rklit3> so i have a C-Media USB audio thingy
[0:47] * s3nd1v0g1us (~patr0clus@unaffiliated/patr0clus) has joined #raspberrypi
[0:47] <Budgii> im going to skip it. if it works, it works
[0:47] * s3nd1v0g1us (~patr0clus@unaffiliated/patr0clus) Quit (Max SendQ exceeded)
[0:47] <d4rklit3> im trying to get my node script to play to it
[0:47] <stiltr> Budgii: If it boots, you're good. More or less.
[0:47] <Budgii> im going to plug her in and here we go!
[0:47] <d4rklit3> for some reason it only plays if the default is the onboard
[0:47] <Budgii> wml, brb
[0:48] <stiltr> d4rklit3: Does the audio device work outside your node stuff?
[0:49] * codestorm (~codestorm@2605:e000:9196:e300:6827:1913:3e6a:6a78) Quit (Ping timeout: 276 seconds)
[0:49] <d4rklit3> it used to
[0:49] <d4rklit3> heh
[0:49] <d4rklit3> hold on
[0:49] <d4rklit3> let me text
[0:49] <d4rklit3> test
[0:49] <Voop> strange power issue. pi0 powered by a 2a battery pack. plugged a usb wifi card which worked fine. soldered a usb hub to it now the wifi card doesnt work on either the hub or the pi's port
[0:50] <leftyfb> Voop: sounds like you soldered something incorrectly
[0:50] <stiltr> Voop: First guess is a bad solder joint on one of the power lines.
[0:50] <Voop> could the hub be draining too much power (i doubt this) or is it probably something else
[0:50] <Voop> well the hub has an led on it, which is lit
[0:50] <leftyfb> Voop: did you test hte hub + wifi before soldering it?
[0:50] <Voop> i should have
[0:50] <d4rklit3> stiltr yes it works with mpg123
[0:50] <Voop> but it worked connected directly to the pi. now it doesnt leftyfb
[0:51] <stiltr> Voop: Check the voltage at the hub, if you can.
[0:51] * foul_owl (~foul_owl@ has joined #raspberrypi
[0:51] <leftyfb> Voop: 2 variables you need to address. 1, it might not work with the hub as it might be pulling to much power. 2. you might have made a mistake with soldering
[0:52] <stiltr> d4rklit3: I don't know much about node, but I'd guess there's some sort of use device #2 code going on. So if the default changes, your numbering changes.
[0:52] * AaronMT (~textual@2607:fea8:3ddf:ebc9:7495:319e:a4b7:cf81) Quit (Quit: Textual IRC Client: www.textualapp.com)
[0:52] <Budgii> im in!
[0:52] <Budgii> how do i get wifi going?
[0:52] <stiltr> Budgii: Nice!
[0:53] <Budgii> i clicked on the little icon but its greyed out text with no networks
[0:53] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[0:53] * stiltr hopes somebody else knows raspbian
[0:54] <d4rklit3> there does not seem to be a lot of audio libraries
[0:54] <d4rklit3> for node, like i can use child_process and execute mpg123 and play the sound
[0:54] <Voop> Budgii: i assume this is a pi with built in wireless
[0:54] * jerryq (~jerryq@2601:1c0:6101:be7a:34c5:d669:6d39:8a5b) has joined #raspberrypi
[0:54] <d4rklit3> the issue however is i need to be able to track the length of the sound
[0:55] <stiltr> d4rklit3: Like know how long the file will take to play?
[0:56] <d4rklit3> with mpg123 its instant
[0:56] <d4rklit3> i mean the duration of the file
[0:57] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Client Quit)
[0:57] <Voop> i love how someone here told me soldering the wires direct to the pads would create no issue
[0:57] <Voop> and now the data port doesnt work at all
[0:58] <d4rklit3> i can fake it though, i can load the mp3 into a buffer and get the info
[0:59] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[0:59] <leftyfb> Voop: it doesn't create an issue, when done correctly
[0:59] <stiltr> d4rklit3: Sorry, that's what I meant as well. Ya, something like that would work. Or you could probably pull it from the file with something similar to ffprobe.
[0:59] * TheWarden (~chatzilla@ Quit (Quit: ChatZilla 0.9.93-rdmsoft [XULRunner 41.0.2/20180327224522])
[1:00] <d4rklit3> strange, im trying to spawn it from node and its... not working lol
[1:00] <Voop> leftyfb: desoldered the hub and the port is still non functional
[1:00] <Voop> i see nothing that should be causing any issue
[1:01] <d4rklit3> so mpg123 outputs to stderr for some reason
[1:01] <Voop> was getting 5v to the hub, no continuity on the data lines
[1:01] <d4rklit3> and it says its playing
[1:03] <stiltr> d4rklit3: You might need to specify an audio device. I'm not really sure. I've not dealt with either of those.
[1:04] <stiltr> Voop: Have you rebooted since desoldering? Could be the controller got confused and needs reset.
[1:04] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) Quit (Ping timeout: 265 seconds)
[1:04] <Budgii> Im online...!
[1:04] <Budgii> How can I get into IRC on it?
[1:04] <Lartza> The same way you do on your current Linux computer? :P
[1:04] <Budgii> Hexchat
[1:05] * vstehle (~vstehle@rqp06-1-88-178-86-202.fbx.proxad.net) Quit (Ping timeout: 264 seconds)
[1:05] <Budgii> I guess raspbian is just like a computer
[1:05] <Budgii> ill see what I can do
[1:05] <Lartza> Raspberry Pi is a computer
[1:05] <Lartza> Raspbian is an operating system
[1:06] <Budgii> cool
[1:08] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) has joined #raspberrypi
[1:09] <d4rklit3> mpg123 -a d, not sure what the d is
[1:09] <d4rklit3> how do i indicate a device
[1:10] * spybert (~spybert@c-73-235-164-227.hsd1.ca.comcast.net) has left #raspberrypi
[1:11] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[1:12] <d4rklit3> stiltr cuz im doing it in root
[1:13] <d4rklit3> i cant seem to make alsamixer keep changes as root
[1:13] * energizer (~energizer@unaffiliated/energizer) Quit (Quit: Leaving)
[1:14] * terminalator (terminalat@gateway/vpn/privateinternetaccess/terminalator) Quit (Ping timeout: 264 seconds)
[1:16] * ConkyAxis (~ConkyAxis@cpc82865-enfi22-2-0-cust482.20-2.cable.virginm.net) Quit (Ping timeout: 256 seconds)
[1:18] * tdn (~tdn@x50d248d8.cust.hiper.dk) Quit (Ping timeout: 256 seconds)
[1:18] <d4rklit3> anyone? how do i set my default audio ?
[1:18] <d4rklit3> for root
[1:18] * Hero1980 (5cce40f9@gateway/web/freenode/ip. Quit (Ping timeout: 260 seconds)
[1:19] * Budgii (~Budgii@unaffiliated/budgii) Quit (Quit: Leaving)
[1:21] <luxio> whats a good sd card speed
[1:22] * rwb (~Thunderbi@ has joined #raspberrypi
[1:22] * Budgii (~Budgii@unaffiliated/budgii) has joined #raspberrypi
[1:22] <Budgii> Greets
[1:22] <luxio> hello Budgii
[1:22] <Budgii> On IRC with RPI. W00t!
[1:22] <luxio> congrats
[1:22] <luxio> what client
[1:22] <Budgii> HexChat
[1:22] * nighty- (~nighty@s229123.ppp.asahi-net.or.jp) Quit (Quit: Disappears in a puff of smoke)
[1:23] <Budgii> Now to figure out what to do with this thing! I have an accessory pack
[1:24] <Budgii> What OS do most of you use on RPI?
[1:24] <mfa298> Voop: you can only hae one thing on a usb port, so either the hub (via soldered wires) or something on the data port, you cant have the hub soldered on and use the data port at the same time.
[1:25] <mfa298> also with higher speed signals (like usb) the wiring can make a difference as things like the capacitance between conductors comes into play.
[1:26] * uks (~uksio@p200300CB1BC39C64A8B02474D18F77F6.dip0.t-ipconnect.de) Quit (Read error: Connection reset by peer)
[1:26] <luxio> does pi 3b+ take a regular SD card?
[1:26] <luxio> or do I need micro sd?
[1:26] <BurtyB> luxio, microsd
[1:27] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[1:28] <leftyfb> luxio: pi's have been doing micro sd cards since 2014
[1:28] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[1:28] <mfa298> there's also the posibilty that by soldering to pads you've oerheated some other component and damaged it or afected its connection (although if your being a standard hobbiest and using tin/lead solder that should melt at a slightly lower temperature than the lead free solder used for manufacture.
[1:30] <luxio> will a regular Android charger work for a power supply or do I need to buy one
[1:32] <BurtyB> luxio, for a Pi3+ I'd def say buy a psu
[1:32] <stiltr> d4rklit3: Sorry, stepped away for a bit. Any luck?
[1:32] * TheSin (~TheSin@node-1w7jra1z8gh9aq3lzh2b5qf7d.ipv6.telus.net) has joined #raspberrypi
[1:32] <d4rklit3> yes
[1:32] <d4rklit3> i dont need to run root for what im doing
[1:32] <luxio> also what is the Zero (/w) used for
[1:33] <stiltr> d4rklit3: Always good when you don't need root!
[1:34] <mfa298> luxio: id get the proper psu, a few phone chargers may work some off the time, most will just lead to problems. For a few extra pounds/dollars its easier to not have the guesswork.
[1:34] <BurtyB> luxio, lots of things - I use some of mine for monitoring mains power, battery voltage/current, graphing, controlling power sockets, etc.
[1:38] * codestorm (~codestorm@2605:e000:9196:e300:ec89:463e:e900:4a5b) has joined #raspberrypi
[1:39] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[1:43] * codestorm (~codestorm@2605:e000:9196:e300:ec89:463e:e900:4a5b) Quit (Ping timeout: 276 seconds)
[1:46] <Budgii> Question.. i'm reading a tutorial and it talks about using PuTTY and xdrp (something like that) so you can use remote desk top on windows to get to your Pi. Is there such a thing as Remote desktop on linux to connect to RPi>?
[1:46] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Ping timeout: 255 seconds)
[1:47] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Quit: djk)
[1:48] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[1:48] <BurtyB> Budgii, any terminal program and ssh for command line and rdesktop for xrdp or you could use vnc on both sides for gui
[1:49] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[1:49] <Budgii> BurtyB, do you use Raspbian on your RPi?
[1:49] <BurtyB> Budgii, yes
[1:49] <Budgii> I dont really need it, but thought it would be nice to have so I didn't have to switch input to monitor, but if im not going to stick with Raspbian as the OS i won't both
[1:50] <Budgii> Do most use Raspbian as OS for RPi?
[1:50] * BurtyB would say so
[1:50] <Budgii> okey doke
[1:50] <Budgii> thanks BurtyB
[1:52] <Budgii> Does anyone use Putty?
[1:53] <leftyfb> Budgii: you're best off just asking for help with things as opposed to if someone does/uses something in particular. Those questions do not help you
[1:54] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Quit: djk)
[1:54] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[1:55] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[1:55] * BurtyB has all the PuTTY .. https://twitter.com/LincolnLUG/status/656931558767599616
[1:56] <leftyfb> silly
[1:56] <leftyfb> If you're running that many open sessions, run linux
[1:56] <BurtyB> that would be silly
[1:57] <Budgii> haha thats a lot
[1:57] <leftyfb> looks like they have a password list open
[1:57] <HrdwrBoB> Budgii: I'm literally using putty to IRC right now
[1:57] <HrdwrBoB> well
[1:57] <HrdwrBoB> I'm using KiTTY
[1:57] <HrdwrBoB> but same shit
[1:57] <BurtyB> leftyfb, It's a list of domain labels
[1:58] <mfa298> someone needs to learn to use screen (or tmux)
[1:58] <Budgii> ok. I think I will just mess with remote access later and get on with the fun stuff
[1:58] <leftyfb> eww
[1:58] <leftyfb> I just learned about tmate btw .... boy is that pretty slick
[1:58] <BurtyB> mfa298, screen would be great if I wanted to be slowed down
[1:58] <HrdwrBoB> http://www.9bis.net/kitty/
[2:00] * weez17 (~isaac@unaffiliated/weez17) Quit (Read error: Connection reset by peer)
[2:00] * weez17 (~isaac@unaffiliated/weez17) has joined #raspberrypi
[2:01] <Voop> mfa298: all that you said was what i was talking about when i asked if there would be possible isses
[2:01] <leftyfb> anyone got an alternative to DAKboard/dashing.io? Basically a customizable wall display that ties into lots of services?
[2:01] <mfa298> BurtyB: not had scrren slow me down, if anything it can help speed things up, ^a6 to switch to a db query im running and ^a0 to get back irc is much faster than alt tabbing (or the other linux variations depending on window/program/tab) or finding the mouse
[2:01] <Voop> you listed quite a few
[2:01] * Syliss (~Hobomobo@asa1.digitalpath.net) Quit (Remote host closed the connection)
[2:01] <ShapeShifter499> hi
[2:01] <ShapeShifter499> do the Pis have any power on ethernet option?
[2:01] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) Quit (Ping timeout: 260 seconds)
[2:02] <Voop> the newest one does
[2:02] <Voop> and only the newest one i believe
[2:02] <leftyfb> mfa298: terminator?
[2:02] <ShapeShifter499> Voop: is this power OVER ethernet? I'm not talking about that
[2:02] <shauno> there's options for most of them. the 3b+ is just the most integrated option
[2:02] <leftyfb> ShapeShifter499: no
[2:02] <Voop> not sure what the difference between over and on is
[2:03] <mfa298> ShapeShifter499: theres hats for some of them (with a looped ethernet connection), and the 3B+ is due a proper PoE hat
[2:03] <leftyfb> shauno: I'm pretty sure ShapeShifter499 is referring to WoL
[2:03] <BurtyB> mfa298, most of those windows are for different servers so it would be a pain to screen and then ssh vs just having something I can click on
[2:03] <ShapeShifter499> WoL that's it
[2:03] <ShapeShifter499> sorry
[2:03] <leftyfb> ShapeShifter499: no
[2:03] <leftyfb> not natively
[2:03] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Ping timeout: 265 seconds)
[2:04] <shauno> leftyfb, aha, yeah, I didn't spot that tiny (but significant) difference
[2:04] <mfa298> BurtyB: most of my screen windows go to other servers, I log into a couple of places first then jump onto other servers from there, with various ssh keys and agent forwarding (as needed)
[2:04] <Voop> why when i ssh does it say 'failed to add the host to list of known hosts'
[2:04] <Voop> do i have to do that manually
[2:05] <BurtyB> mfa298, luckily we're all different :)
[2:06] * easzero (~easzero@ has joined #raspberrypi
[2:06] * easzero (~easzero@ Quit (Max SendQ exceeded)
[2:06] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) has joined #raspberrypi
[2:06] <ShapeShifter499> ok well I'm trying to figure out how I might get the Pi to boot up again after a power outage. Since my Pi 3b+ will be plugged into a UPS I thought of having my Pi set up to shutdown when the UPS sends a power out signal. The issue is not knowing how to reboot the Pi if I have shutdown the Pi but the UPS never fully lost power.
[2:06] * sdothum (~znc@ Quit (Quit: ZNC 1.6.6 - http://znc.in)
[2:06] * sdothum (~znc@ has joined #raspberrypi
[2:07] <BurtyB> ShapeShifter499, plug the ups into the pi if it has a data connection?
[2:07] <BurtyB> hmm tho changing run levels from the UPS might not be a thing anymore in a world of systemd
[2:07] * swift110 (~swift110@unaffiliated/swift110) Quit (Ping timeout: 260 seconds)
[2:08] <mfa298> ShapeShifter499: considering that the pi powered is probably using no more power than a pc in a state it can respond to a WoL packet (i.e. what most people consider as off) why not just leave pis on 24/7 then you dont need to worry about WoL
[2:08] <ShapeShifter499> I plan on using my Pi as a NAS, I don't want to worry about data loss
[2:10] <ShapeShifter499> My problem is not knowing what to do when the power is "out" but the UPS is still providing power. Should I kill all services? or shutdown fully?
[2:11] <d0rm0us3> Set it up for a 'graceful' shutdown in a 'normal' shutdown/reboot sequence.
[2:13] <shauno> usually the UPS would be set to power down after either x minutes of power loss or x% of battery. and that's the signal you want to shutdown on. that way it's less speculative - you go down, the UPS goes down, and you both come back together
[2:13] <mfa298> ShapeShifter499: you could possibly use a microcontroller to manage power to the pi to make it restart properly (could probably also detect shutdown etc)
[2:14] <Voop> adafruit makes a chip for this
[2:16] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[2:16] <shauno> this is exactly how it's handled on a 'real' computer too. either the PC signals the UPS, or the UPS signals the PC, and they both go down together. otherwise the UPS doesn't know it needs to cycle power to bring the PC back
[2:16] <ShapeShifter499> mfa298: I wouldn't know how to do that right now. Nor do I think I have the proper tools
[2:16] * Tw|tch (~Snapped@ has joined #raspberrypi
[2:17] <leftyfb> shauno: the UPS doesn't usually shut itself down. Only tell the devices plugged into it to power down when you reach a certain battery level
[2:17] <shauno> it usually does. it signals load, waits a set time, then shuts off
[2:17] <Voop> the powerboost 1000
[2:17] <Voop> or maybe its 2000
[2:18] * sdothum (~znc@ Quit (Quit: ZNC 1.6.6 - http://znc.in)
[2:18] <shauno> otherwise you reach exactly this catch-22. the power returns after the load has been powered down, and there's nothing to tell the load to come back
[2:18] <ShapeShifter499> shauno: does it still do that if the grid power comes back?
[2:18] * clemens3 (~clemens@80-218-38-71.dclient.hispeed.ch) Quit (Ping timeout: 268 seconds)
[2:19] <shauno> if it's started a shutdown it should finish it
[2:19] * nshire (~nealshire@unaffiliated/nealshire) has joined #raspberrypi
[2:19] <ShapeShifter499> shauno: you mean the UPS?
[2:20] <shauno> I mean I'm only really familiar with one brand (my employer's), but there's very few ways out of that catch-22. the only reliable way for the PC to restart the load is to cycle the power
[2:20] <shauno> er, for the UPS to restart the load
[2:21] * sdothum (~znc@ has joined #raspberrypi
[2:22] <leftyfb> shauno: APC?
[2:22] <shauno> yeah
[2:22] <ShapeShifter499> I have a APC
[2:22] <shauno> I mean there's alternatives with dry-contact cards and things, but that tends to be outside of what you want to spend on a pi
[2:23] <leftyfb> shauno: I have the BACK-UPS 1400 and BACK-UP XS 1500. Do either of these have the feature you speak? (with apcupsd)
[2:24] * tdn (~tdn@x50d248d8.cust.hiper.dk) has joined #raspberrypi
[2:24] <r3> would something like this help? https://shop.switchdoc.com/collections/break-out-boards/products/usb-powercontrol-board-v2-w-grove-control-usb-to-usb-solid-state-relay-for-raspberry-pi-and-arduinos-v2
[2:25] <leftyfb> I've been replacing batteries in these 1400's for about 9 years... and I got them when they were already some years old
[2:26] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[2:26] <shauno> I'm actually not sure for backups. most of them shut themselves off when they think the load's dropped now, but that's fairly new. but they're almost entirely in software, which is .. weird for me
[2:27] <ShapeShifter499> I have never plugged into my UPS data port, I've always just relied on stock setup
[2:27] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[2:27] <ShapeShifter499> I didn't have terribly sensitive stuff to really power until now
[2:28] <leftyfb> I love my snmp management cards ... my 2 main UPS's are network accessible
[2:29] <shauno> without the data port is a really weird setup imho. you end up with exactly the same problem a ups is meant to avoid, it just delays it
[2:29] <BurtyB> prob OK tho if you don't normally have outages that last more than a few mins
[2:30] <shauno> I mean it still goes hard down, you just get a few minutes of will-he-won't-he first
[2:30] <ShapeShifter499> I just doubled checked, mine is a APC Backup 550
[2:31] <shauno> right. most the systems I work on are a bit more industrial. they're meant to do the right thing on their own. something that'll give you 10 minutes and then drop works best if it's a machine you're sat in front of, so you have 10 minutes to do the right thing manually
[2:32] * codestorm (~codestorm@2605:e000:9196:e300:f994:2178:5991:de5) has joined #raspberrypi
[2:34] <ShapeShifter499> I'm trying to find the cheapest way I can ensure that data is preserved on outage and the whole system is up and running when the power is back
[2:34] * Chinesium (~ER_nesto@unaffiliated/funk) Quit (Ping timeout: 256 seconds)
[2:34] <ShapeShifter499> that way I don't even have to be home to restart everything after/during power outage
[2:35] <Budgii> in my tutorial It the expiriment requires 1x Resistor 220Q, do I just tear one out of the strip?
[2:36] <r3> the only thing I've seen is a BIOS that allows you to have the system resume after power loss
[2:37] <ShapeShifter499> shauno: I don't remember anything about what you described when I was first going through setup. I might have missed it though. Do you know what I should look for in my settings?
[2:37] <ShapeShifter499> if I plug into the usb data port of the UPS, what should I look for?
[2:37] * codestorm (~codestorm@2605:e000:9196:e300:f994:2178:5991:de5) Quit (Ping timeout: 276 seconds)
[2:38] <r3> but, other than that, there isn't going to be an off-the-shelf solution to power back up a system that has been powered down. That includes the USB into your UPS. All that will do is inform the system that it is on battery and give it a percent left. Then the OS must take over and suspend or shutdown the system.
[2:38] <shauno> the option's called "OS shutdown delay". I dunno where it lives in the software though lol
[2:38] <r3> once it is shut down, there just isn't anything running to tell the system to power back up./
[2:38] <shauno> r3, right, that's why I'm suggesting it goes together with a method where the UPS shuts down once it's sent this command too. that way when the UPS comes back up, the pi comes back up
[2:39] <r3> different UPS software handles it differently, and different OSes handle it differently. The link to the switchdoc item I posted looks like it would power the Pi back up after it has good power.
[2:41] <r3> Budgii: what strip? If it looks like this [ https://cdn.sparkfun.com//assets/parts/6/1/7/1/10969-04.jpg ] they are meant to be taken out of the booklet
[2:42] <Budgii> yes perfect thank you
[2:42] <r3> you're welcome - have fun!
[2:43] <ShapeShifter499> r3: I quickly skimmed through that page. It seems to suggest that I should have a separate battery
[2:43] <r3> it was meant for a Pi running off a battery, yes
[2:44] <r3> but that doesn't mean you couldn't plug it into your UPS via the USB-type cable port
[2:45] <r3> meaning an adapter from the UPS power outlet, like a wall wart, or a converter to send it over USB as just USB power - not into the data port, just to be clear
[2:45] <Budgii> r3, you may understand this: file:///home/pi/Downloads/Freenove_Basic_Starter_Kit_for_Raspberry_Pi-master/Tutorial.pdf
[2:46] <shauno> I wonder if you could hack something together with the surge-only ports? not something I'd want to figure out at 2am, but .. most of these have a couple of outlets that have surge protection but no battery backup
[2:46] <Budgii> see page 27, am I supposed to plugin the LED at line 11?
[2:46] <r3> I suppose, if you're running your Pi from a wall wart, and it is coming back on after a power loss, that the wall wart will send power when able. Meaning your Pi will just power up.
[2:46] * rafaeldelucena (~rafaeldel@2804:14d:ba83:2709:e4f0:9c0b:30b4:87ac) Quit (Ping timeout: 256 seconds)
[2:46] <r3> Budgii: I'm sorry but you linked to a file that is on your computer - I cannot reach it from here
[2:46] <shauno> so a wallwart on those outlets would give you a voltage when there's AC but not when it's on battery. so if you power the pi from a battery-backed port, but use that as a signal for something clever
[2:47] <Budgii> oops
[2:47] * victor2 (~victor@2600:8801:a600:dbe0:794f:b6cf:b068:7731) Quit (Quit: Leaving)
[2:47] <Budgii> r3 its in here https://github.com/Freenove/Freenove_Basic_Starter_Kit_for_Raspberry_Pi
[2:47] <Budgii> the tutorial
[2:47] <r3> shauno: of course a wall wart is going to output power when the UPS is on battery. I've several here that do just that.
[2:48] <shauno> right. but I mean most UPSes have some outlets that aren't on battery. so a wallwart that's not battery backed, into a one-shot to the reset pin, or something
[2:48] <ShapeShifter499> mine has that strip of outlets not backed by a battery
[2:49] <shauno> probably not directly, because you don't want to reset it if it's already running. but just a thought that it could be an easy way to get an "yes there's AC" signal
[2:49] <r3> Budgii: I see a resistor going into GPIO 17, then the other side of the resistor goes to the negative lead on the LED
[2:49] <r3> I'm sorry positive side
[2:49] <r3> and then the negative side of the LED goes to a Ground pin
[2:50] <r3> [GPIO17] --- resistor 220 --- (+) LED (-) --- ground
[2:51] <r3> you should always use a resistor with LEDs otherwise they will draw too much current and burn out. The resistor doesn't have a positive or a negative side.
[2:52] <Budgii> so I dont get how to attach an led to a resistor. they are both wire ends, no ports
[2:52] <r3> right, you can twist them together
[2:52] <Budgii> is that what I am supposed to do?
[2:52] <r3> or if you can solder, you can put them next to each other like ==== and solder them together
[2:53] <r3> or you could use a ProtoBoard which makes these connections for you
[2:53] <BurtyB> looks like the kit has a breadboard
[2:53] <r3> this is a protoboard: http://i2celectronica.com/157-large_default/protoboard-400-puntos.jpg
[2:53] <Budgii> dont have any of that so ill stick with the trusty fingers. am I putting the resistor in the port directly left of GPIO17?
[2:54] <r3> no into GPIO17 it looks like from here?
[2:55] <r3> if your kit has a breadboard like that image, I would learn how to use it. It's very simple and will save you headaches in the future. The colums on either side are all wired together, and then the rows are wired together in strings of 5 with a break in the middle.
[2:55] <ShapeShifter499> r3: shauno I'm still lost lol
[2:57] <r3> Shapeshifter: look, here is what I would do. Get a quality wall wart. Use it to power Pi. Plug in wall wart to UPS. Take UPS data/signaling cable USB and plug into Pi. Look for UPS software or OS support for a UPS - there is some I just can't remember what it is right now. So that's half of the problem. The Pi will get a signal to shut down from the UPS when the power goes out.
[2:57] * darsie (~username@84-114-73-160.cable.dynamic.surfer.at) Quit (Ping timeout: 264 seconds)
[2:57] * dansan (~daniel@76-215-41-237.lightspeed.ftwotx.sbcglobal.net) Quit (Quit: The C preprocessor is a pathway to many abilities some consider to be unnatural.)
[2:57] * dansan_ (~daniel@76-215-41-237.lightspeed.ftwotx.sbcglobal.net) has joined #raspberrypi
[2:57] <r3> Then, when the power resumes, the wall wart will start sending power to the pi and it will switch on. Then all you have to do is have the Pi configured to run whatever at start up. Done.
[2:57] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) Quit (Ping timeout: 240 seconds)
[2:58] <r3> Unless the UPS runs out of battery or shuts itself off after a period of time. Then you're going to have to press a button on the UPS to turn it back on after the power comes back, but that will depend upon model of UPS.
[3:00] <r3> Budgii: doing ok? That page shows the pi being plugged into a breadboard. I didn't see that before. Just hook it up how it looks in the diagram on page 27 under the schematic.
[3:00] <Budgii> https://imgur.com/a/xFBVe
[3:00] <r3> the bottom of page 27 is exactly how you should wire it up.
[3:00] <Budgii> r3, this is what I have. I am wanting to know where the resistor goes into my photo
[3:00] <ShapeShifter499> r3: right but I'm worried that the UPS will tell my Pi to shutdown right as the power comes back.
[3:00] * vikaton (uid59278@gateway/web/irccloud.com/x-jartihstkmvbosgg) has joined #raspberrypi
[3:00] <shauno> apcupsd is probably the widest supported software for linux for this. (there's another one, nutd or nutsd or something, but I think that's intended more for networked ones)
[3:01] <Budgii> this big T thing is plugged into the breadboard
[3:01] <Budgii> GPOI Ext board
[3:01] <r3> Budgii: look at the tutorial - page 27, lower half. You've got the green thing plugged into your protoboard. Look to the right of the T thing, You see the LED and the resistor and a little wire going to ground
[3:02] <shauno> there should be plenty of guides for this, because exactly the same thing affects PCs. if the PC shuts off but the UPS doesn't, how does the PC know when to turn back on?
[3:02] <r3> ShapeShifter499: why would it do that? I've a dozen Pis hooked into UPSes. They don't power down when the power resumes.
[3:02] <r3> shauno: that's what I was saying about "resume from power loss" setting in a BIOS. It will sense when power returns to the PSU.
[3:02] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) has joined #raspberrypi
[3:02] <BurtyB> r3, it might if the Pi had a bios
[3:03] <Budgii> r3, it only shows the resistor covering a total of 4 ports. my resistor could cover 25. should I trim it?
[3:03] <shauno> right, the pi will do that by default. the corner-case he's looking at is when you shutdown and then the power returns. then the power to the pi is never interupted, so there is no "when power returns" event
[3:03] <r3> Budgii: naw, it will be OK if it sticks up high in the air. Just make sure it is pushed into the protoboard
[3:04] <Budgii> does it have to in the exaCT ports as shown in diagram? 2 out fro center, 2 down from blue thing
[3:04] <r3> BurtyB: I was talking of PCs. We all know the Pi doesn't have BIOS. It just turns on when there is power - there isn't a power switch.
[3:04] <shauno> if you have a small outage and you never shutdown, a-ok. if you have a big outtage and the UPS exhausts, a-ok. he's looking at the gap inbetween, when the UPS doesn't stop but you've already shutdown anticipating exhaustion
[3:04] <ShapeShifter499> exactly
[3:04] <r3> Budgii: I would put the components in the exact places as shown in the diagram.
[3:05] <BurtyB> r3, my irc logs say otherwise ;)
[3:05] <Budgii> r3 also on page 25 it shows side 1 and 2 of the resistor. should I have 1 be in the port just one port away from the posotive side of the LED (sorry, hope that makes sense
[3:05] * ball (~ball@99-60-12-181.lightspeed.cicril.sbcglobal.net) has joined #raspberrypi
[3:05] <r3> ShapeShifter499: that's a 1-in-a-million thing. Either the power is about to go out, which is fine if your Pi is shut down. Or the power will come back and then the Pi will turn itself on. Jeez it's not brain surgery
[3:06] <r3> BurtyB: go away. Look: "[19:02] <shauno> there should be plenty of guides for this, because exactly the same thing affects PCs. if the PC shuts off but the UPS doesn't, how does the PC know when to turn back on?" ... then I replied to him discussing PCs.
[3:06] <r3> either help, add to the conversation, or STFU
[3:06] <BurtyB> lol
[3:07] <r3> trying to help a true newbie here and people are being pedantic. Be quiet.
[3:07] <BurtyB> no
[3:07] <r3> Budgii: so there is a pair of "jumper wires" that are going from the Green T down to other holes in the protoboard
[3:08] <r3> there is a blue wire I see going from GPIO17 down lower on the board
[3:08] * rafaeldelucena (~rafaeldel@2804:14d:ba83:2709:610a:72be:f72e:5ff5) has joined #raspberrypi
[3:08] <r3> and then a black/brown wire going from Ground to the negative side of the LED
[3:08] * vjacob (~vjacob@ Quit (Remote host closed the connection)
[3:09] * ball walks in half way through. Are we building Pi UPS?
[3:09] <ShapeShifter499> ball: lol
[3:09] <r3> If you're not sure how a protoboard is wired inside, you might want to take a minute and look at something like this: https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
[3:09] * vjacob (~vjacob@ has joined #raspberrypi
[3:09] <Budgii> r3, hard to read these schematics. Do you know of a youtube that I can watch, very hard to interpret all of this :)
[3:09] * cstk421 (~cstk421@c-68-41-25-112.hsd1.mi.comcast.net) has joined #raspberrypi
[3:09] <ball> Is this a private fight or can anyone join?
[3:10] <r3> Im looking at the picture at the bottom of page 27 there, Budgii, it is showing you EXACTLY how to hook up the pieces.
[3:10] <Budgii> I know it does, but I don't know what the 'pieces' are and stuff
[3:10] <Budgii> to someone who knows, maybe its easy but this is my first glance :p
[3:11] <Budgii> Its like reading code, it tells you exactly what it does. but if you dont know the language.. :p
[3:11] * minionofgozer (~minionofg@ Quit (Remote host closed the connection)
[3:11] <r3> Budgii: this is the picture: https://i.imgur.com/h2dZgL4.png
[3:11] <r3> the blue line is a wire, so is the black one. The LED looks like the LED you have in your hand. the Resistor looks like the resistor you just removed from the pack.
[3:11] <r3> they go into the holes on the breadboard.
[3:12] <r3> the breadboard then makes the connections because that's what it does
[3:12] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[3:13] <r3> so go ahead and lets start with the resistor. Put it into a pair of holes 5 holes apart like it shown on that diagram.
[3:13] <r3> give yourself some room away from the T thing. you can use the far end of the breadboard.
[3:13] <Budgii> here is my confusion r3
[3:14] <r3> hitme
[3:14] * minionofgozer (~minionofg@ has joined #raspberrypi
[3:14] <Budgii> it shows the blue and black wire. I have the jumper, but what is the little tiny black one? on page 25 it lists parts that are used and do not see a 4th one
[3:14] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[3:15] <r3> the small black wire is going to go from the end of the T where it is marked GND... that's ground
[3:15] <Budgii> thats what I mean.. I dont have one
[3:15] <Budgii> er, it might be here but it didnt tell me to use it in page 25
[3:15] <Budgii> just a green jumper wire, resistor and led
[3:15] <r3> well you could use any wire there really. Is there another in the kit?
[3:16] <Budgii> amongst the breadboard and GPIO extention (t)
[3:16] <r3> it's just another jumper. The size and color doesn't really matter, it's just nice to see it matching.
[3:16] <Budgii> I do. maybe its just a fault in the guide, ill give it a go
[3:16] <Budgii> o wait.. it said x2 on the wire.
[3:16] <r3> all it needs to be is a wire that connects the GND to the negative side of the LED
[3:17] * nighty- (~nighty@kyotolabs.asahinet.com) has joined #raspberrypi
[3:17] <r3> so looking at the photo you took, do you see how the rows are numbered on the breadboard? It looks like GND is row 44
[3:18] <r3> and I think that GPIO is row 58
[3:18] <r3> GPIO17 is row 58 I mean.
[3:19] <Budgii> bingo
[3:19] <r3> I am talking about the row numbers on the white breadboard - they go up by 5s
[3:19] <Budgii> yes
[3:19] * ball missed out on the schematic
[3:20] <r3> ok so this makes it super easy. All five of those holes on that SIDE of the breadboard are connected electrically together. Its the same as holding the wires together, except we push them into holes to make them stay
[3:20] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[3:20] <r3> so everything in row 44 - all 5 of those holes - are connected.
[3:20] <r3> everything in row 58 - all 5 of those holes - are connected.
[3:22] <r3> so if you have a jumper wire that you need to put connecting GPIO17, then put one end of the wire into row 58 and then choose another row, like row 5 or 10 that is on the far side of the breadboard and put it in that hole.
[3:22] * ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499) Quit (Ping timeout: 260 seconds)
[3:23] <r3> so say you chose row 5 to put this "blue" wire into. One end is in row 58 and the other is in row 5. Now you can go next to where you put the blue wire into row 5, still keeping in the same row, and plug in one end of the resistor.
[3:23] <r3> that makes a connection, as long as they are in the same row of 5 holes.
[3:24] <r3> there is a break down the middle of the breadboard, that seperates the board into two groups of 5. They are not connected together. So let's work on just one side of the break.
[3:24] <r3> separates*
[3:25] * ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499) has joined #raspberrypi
[3:25] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) has joined #raspberrypi
[3:25] * pklaus (~pklaus@200116b8203e230024f54a8812cc1392.dip.versatel-1u1.de) Quit (Ping timeout: 256 seconds)
[3:26] <r3> it would have been better for them to list row numbers in the diagram so that you could at least talk about it, but it's ok, you get to choose what row you use for the components that you're putting in. Just keep in mind that the numbered rows are all connected together inside the breadboard in a group of 5 and you will soon understand how that diagram is telling you to hook things up.
[3:26] <Budgii> frickin sweet
[3:26] <Budgii> its blinking
[3:26] * ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499) Quit (Max SendQ exceeded)
[3:26] <r3> haha! You did it!
[3:26] * codestorm (~codestorm@2605:e000:9196:e300:b0d1:42dc:358d:6ca7) has joined #raspberrypi
[3:26] <Budgii> now I feel like I can read the diagrams
[3:26] <Budgii> thanks for your help!!
[3:26] <r3> you've made your first step into a larger world.
[3:26] <Budgii> as I continue on.. I am sure we'll be back
[3:26] <Budgii> yes I feel like I am using print("in real life!") hahaha
[3:27] <r3> well done. Yes, check that tutorial about the breadboard if you want to know more about how it is wired up
[3:27] * stiltr applauds r3
[3:27] <r3> but now you can see that it is super simple to use the breadboard to make connections rather than holding them together or soldering temporary work.
[3:27] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[3:27] <r3> and you won't short something out!
[3:28] * ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499) has joined #raspberrypi
[3:28] <r3> Budgii: take a break, let your brain breathe a bit, then try another lesson in the guide :) You're doing well and I know you can take it from here. I've got to go get dinner, but will be back in an hour or so.
[3:28] <Budgii> yes makes sense, just put them side by side basically
[3:28] <Budgii> thanks r3!
[3:28] <Budgii> take care, see you around
[3:28] <Budgii> !
[3:29] <r3> you betcha. Do look at the breadboard tutorial, so that you understand what the columns on the sides are doing, and how the other side of the breadboard is its own world
[3:29] <r3> it works just like the other side, but they are not connected together - so you can have a Row 44 "left" and a Row 44 "right" and those groups of 5 are connected together, but not each other.
[3:30] <Voop> two lines at the edges are connected
[3:30] <r3> Cheers. Here's your channel back. ;)
[3:30] <Voop> and in the middle all the rows are connected
[3:31] * codestorm (~codestorm@2605:e000:9196:e300:b0d1:42dc:358d:6ca7) Quit (Ping timeout: 260 seconds)
[3:31] <Voop> ive never used a breadboard. i always hard solder my prototypes
[3:31] <r3> not all the rows, voop, not on the breadboard he has, it has the valley down the center
[3:31] <Voop> which does cause numerous issues
[3:31] * pklaus (~pklaus@200116b820eb6100649e09b5aba3e4e3.dip.versatel-1u1.de) has joined #raspberrypi
[3:32] <Voop> r3: my bad. thought they were all the same
[3:33] <Budgii> I just made a strobe light with sleep(0.040)
[3:33] <r3> ShapeShifter499: with your UPS issue, I really would just set it up as I suggested. It will work for 99% of the power issues. If you find after getting it set up that there is a 1% problem, then you will have a better idea of how to work with it. I've delt with UPSes for decades and always had to have someone on site to recover after a major outage. For small interruptions the systems
[3:33] <r3> shouldn't notice.
[3:33] <r3> Voop: no, they tend to be split in the middle so that you can put an IC there
[3:34] <r3> Budgii: yes! That's it! So think about what the Pi is doing to GPIO17. That program is telling that one hardware pin to power off, then on, then off, then on.
[3:34] <Budgii> Yes pretty cool!
[3:35] <r3> The Pi is a wonderful tool for many things. And you have MANY GPIOs to play with. They can do more than just blink an LED! :)
[3:35] <r3> Cheers - BBIAB
[3:37] <ball> Can they sink enough current to directly connect an LED or would I use a transistor?
[3:37] * techwave61 (~py@ Quit (Remote host closed the connection)
[3:37] <Budgii> when it says this: Set pin to output mode. “pin” for the GPIO pin, “mode” for HIGH (high level) or LOW (low level).
[3:37] <Budgii> does that mean I can make it brighter?
[3:37] <Budgii> page 25
[3:37] <Budgii> page 31*
[3:38] <r3> ShapeShifter499: you can configure the Pi - via UPS software, again I forget the name - to shut down when there only is a minute of time remaining on the UPS. So in that minute if the power comes back, the Pi will be in shutdown. But that should be OK, as it will turn off, then sense power has returned? You may have to play with it some.
[3:38] * minionofgozer (~minionofg@ Quit (Quit: terminated!)
[3:38] <r3> Budgii: HIGH will be ON and LOW will be OFF. I think. You can make a dimmer for an LED using something called PWM, which the tutorial should cover a bit later.
[3:39] * minionofgozer (~minionofg@ has joined #raspberrypi
[3:39] <ball> If I were building a UPS for a Pi, I might want the battery to charge to a certain minimum level before applying power to the load again
[3:39] <Budgii> oh that makes sense.
[3:39] <Budgii> thanks
[3:39] <Voop> is that wiringpi guy here
[3:39] <r3> He's in the UK so he might be sleeping
[3:39] <ball> ...I suppose it depends whether your objective is minimum downtime or maximum safety for your Pi.
[3:39] <r3> ok, I really have to go now, cheers
[3:39] <ball> r3: I wish I were sleeping ;-)
[3:40] * minionofgozer (~minionofg@ Quit (Client Quit)
[3:40] <Budgii> cheers
[3:41] * redstarcomrade (~quassel@cpe-104-175-255-182.socal.res.rr.com) has joined #raspberrypi
[3:41] <Voop> here is a snippet from a script ill hopefully be using
[3:42] <Voop> https://pastebin.com/C2TRQJTq
[3:42] <Voop> could somone help me understand how the pins are 'interacting'
[3:42] * minionofgozer (~minionofg@ has joined #raspberrypi
[3:42] <Voop> i thought to trigger something on a gpio pin you just send 3.3v to it
[3:42] * noobineer (~noobineer@2601:401:8000:bc5f:dd0:df6:eb6d:4c3a) Quit (Remote host closed the connection)
[3:42] <Budgii> hi guys so im testing a fade script and getting this error: untimeWarning: This channel is already in use, continuing anyway.
[3:43] <Budgii> how do I un-use the channel?
[3:43] <Budgii> Actually I think I got it. nvm
[3:43] <ball> Voop: Depends.
[3:43] <Budgii> didnt stop it on my blink script
[3:44] <Voop> ball: on?
[3:44] * Ivoah (uid49352@gateway/web/irccloud.com/x-ebeubnczdrwogtuo) has joined #raspberrypi
[3:44] <Voop> what other way would it be triggered
[3:45] <Budgii> anyone know why this glow script wont work? straight from the manual reference examples https://paste.ubuntu.com/p/vsvbJ2Xydc/
[3:45] * Alzadoua (~Alzadoua@unaffiliated/alzadoua) has joined #raspberrypi
[3:45] <ball> Voop: Well it could be level triggered or edge triggered or triggered via something more complex, like frequency
[3:46] <ShapeShifter499> ball: maximum safety for data/nas functions
[3:46] <ball> (though that would be unusual)
[3:46] * malhelo (~malhelo@dslb-088-066-159-127.088.066.pools.vodafone-ip.de) Quit (Ping timeout: 260 seconds)
[3:46] <ball> ShapeShifter499: I like my minimum charge idea for that then.
[3:46] * malhelo (~malhelo@dslb-088-066-159-127.088.066.pools.vodafone-ip.de) has joined #raspberrypi
[3:47] <Voop> now youre just making up terms ball
[3:47] <Voop> i kid, but seriously what im doing isnt that complicated
[3:47] <Voop> it should just be closing a circuit. did you look at the script i linked
[3:48] * CyberManifest (~CyberMani@r74-192-49-147.vctrcmta01.vctatx.tl.dh.suddenlink.net) has joined #raspberrypi
[3:48] <ball> Voop: I did but it was Python so I closed it quickly.
[3:48] * A-cat (~Alzadoua@unaffiliated/alzadoua) Quit (Ping timeout: 240 seconds)
[3:48] <ball> Voop: What are you building, anyway?
[3:49] <ShapeShifter499> r3 I guess I'll mess around with the settings
[3:49] <Voop> relay triggered -> triggers gpio pin -> script sends email to specified address
[3:50] * noobineer (~noobineer@c-68-55-184-193.hsd1.mi.comcast.net) has joined #raspberrypi
[3:51] <Voop> i dont see why it needs both pin 18 and pin 22 to do this
[3:51] <Voop> this isnt my script btw. i stole it off the internets
[3:51] <ball> I wouldn't think it would.
[3:51] <ball> Any reason you're using a relay there?
[3:52] <Voop> the trigger to send the email is a higher volatage than the pi can handle
[3:52] <ball> Voop: Have you looked at optoisolators?
[3:52] <Voop> i figured i just had to loop the 3.3v rail to a pin for the trigger
[3:52] <Voop> i have
[3:52] <Voop> but i already have the relay and know how it works
[3:53] <ball> A relay seems like it would introduce more issues than it solves.
[3:53] <Voop> i still have the tab open about the optoisolators
[3:53] <Voop> how so?
[3:53] <Voop> 24v triggers relay sends 3.3v through to gpio pin
[3:53] <Voop> simple
[3:53] * AntiComposite (~AntiCompo@wikipedia/AntiCompositeNumber) has joined #raspberrypi
[3:54] <ball> ...well you've got contact bounce, for one thing.
[3:54] * ball breaks out his slide rule
[3:54] <Voop> no idea what that is
[3:55] <ball> 24V through a 1.2k resistor might light the LED in an optoisolator.
[3:55] <ball> ...and the Pi side of that would be nice and clean.
[3:55] <ball> Where's the 24V coming from, anyway?
[3:55] <Voop> a PLC
[3:56] <ball> Ah ok.
[3:56] <Voop> and im just doing the prototype at the minute
[3:56] <ball> That's probably what I would do, anyway.
[3:56] <ball> Might be worth asking for suggestions in ##electronics, too.
[3:57] <Voop> if i can get the proof of concept down ill minmax the circuit
[3:58] <Voop> might even be able to use 5v rather than 24 as the plc has 5v outputs
[3:59] <ball> Great, that would be more efficient.
[3:59] <ball> Something like a 250 Ohm resistor
[3:59] <ball> (obviously check the data sheet for your optoisolator of choice)
[4:00] <Voop> im confident that the resistor will work for now. now i just got to get the script functioning and figure out how exactly im triggering the pins
[4:00] <Voop> s/resistor/relay
[4:01] <Voop> but im going to sleep so ill come bug you guys about it tomorrow
[4:01] <ball> Sleep well.
[4:02] * d4rklit3 (~textual@rrcs-64-183-104-146.west.biz.rr.com) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[4:03] * r0Oter is now known as r00ter
[4:03] * Ilyas (uid43013@gateway/web/irccloud.com/x-rbfrixemritmhcbz) Quit (Quit: Connection closed for inactivity)
[4:03] * puff (~user@pool-72-77-34-186.pitbpa.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[4:05] * Smeef (~deathonat@unaffiliated/smeef) Quit (Ping timeout: 240 seconds)
[4:05] * Voop (~bob@c-73-178-90-123.hsd1.nj.comcast.net) Quit (Ping timeout: 255 seconds)
[4:09] * fredp (~fredp@unaffiliated/fredp) has joined #raspberrypi
[4:12] * Ceber (~cerberus@ip-2-203-55-237.web.vodafone.de) Quit (Ping timeout: 240 seconds)
[4:12] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Quit: djk)
[4:13] * mlelstv (~mlelstv@hoppa.1st.de) Quit (Ping timeout: 260 seconds)
[4:14] * giddles (~giddles@unaffiliated/giddles) Quit (Ping timeout: 268 seconds)
[4:14] * BeamWatcher (~gashead76@ has joined #raspberrypi
[4:15] * Alexander-47u (~Alexander@ Quit (Remote host closed the connection)
[4:15] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Ping timeout: 245 seconds)
[4:16] * stekro (~stekro@x590e3b48.dyn.telefonica.de) Quit (Ping timeout: 265 seconds)
[4:16] * mike_t (~mike_t@pluto.dd.vaz.ru) has joined #raspberrypi
[4:17] * kingmanor (~kingmanor@ has joined #raspberrypi
[4:19] <Budgii> guys I made a 7 second sync to an electronic song with my LED
[4:19] <ball> ?
[4:20] * Ceber (~cerberus@ip-2-203-55-237.web.vodafone.de) has joined #raspberrypi
[4:20] * stekro (~stekro@x590e3b48.dyn.telefonica.de) has joined #raspberrypi
[4:20] * giddles (~giddles@unaffiliated/giddles) has joined #raspberrypi
[4:20] <Budgii> strobe going into the main part of the song then 0.25 delayed blinks with Martin Garrix - Animals
[4:20] <Budgii> lol
[4:20] * codestorm (~codestorm@2605:e000:9196:e300:698b:fe0b:5cd1:e7c2) has joined #raspberrypi
[4:21] <stiltr> lol nice
[4:21] <Budgii> i know imggur does pics, canI upload a video?
[4:22] * ball has no idea what all that means.
[4:22] <ball> ...so I'll take the rubbish out and go to bed.
[4:22] * ball (~ball@99-60-12-181.lightspeed.cicril.sbcglobal.net) has left #raspberrypi
[4:23] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspberrypi
[4:26] * codestorm (~codestorm@2605:e000:9196:e300:698b:fe0b:5cd1:e7c2) Quit (Ping timeout: 276 seconds)
[4:27] * dr3w_ (~dr3w_@abercs/dr3w) Quit (Quit: https://media3.giphy.com/media/3oKIPsx2VAYAgEHC12/giphy.gif)
[4:29] <r3> Budgii: there does exist this website called YouTube, you may have heard of it ;)
[4:29] <Budgii> I was hoping not to have to use that lol
[4:29] <Budgii> I want to show you guys what I made
[4:30] <stiltr> You could turn it into a gif.
[4:30] <stiltr> If you don't need audio.
[4:31] <Budgii> Yes you do, I synced it with music
[4:31] <Budgii> lol
[4:31] <Budgii> b5b
[4:31] * Budgii (~Budgii@unaffiliated/budgii) Quit (Quit: Leaving)
[4:32] <stiltr> Ah. I'm sure there are video hosting platforms out there.
[4:32] * broccolistem (~anonymous@ Quit (Quit: WeeChat 2.1-dev)
[4:32] * GenteelBen (GenteelBen@cpc111801-lutn14-2-0-cust55.9-3.cable.virginm.net) Quit ()
[4:33] * broccolistem (~anonymous@ has joined #raspberrypi
[4:36] * Budgii (~Budgii@unaffiliated/budgii) has joined #raspberrypi
[4:36] * kingmanor (~kingmanor@ Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[4:39] * giddles (~giddles@unaffiliated/giddles) Quit (Quit: gn8)
[4:42] * {HD} (nichts@gateway/vpn/privateinternetaccess/hd/x-06969157) Quit (Ping timeout: 264 seconds)
[4:44] <Budgii> aww the audio doesn't sync sync on youtube :(
[4:44] * inc0gn1t0 (uid278945@gateway/web/irccloud.com/x-kaqblriwpoipgynv) has joined #raspberrypi
[4:47] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 260 seconds)
[4:47] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[4:48] * {HD} (nichts@gateway/vpn/privateinternetaccess/hd/x-06969157) has joined #raspberrypi
[4:51] <r3> could be camera refresh / video conversion - I've seen it happen
[4:52] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 240 seconds)
[4:54] * akk (~akkana@ Quit (Quit: +++)
[4:56] * CyberManifest (~CyberMani@r74-192-49-147.vctrcmta01.vctatx.tl.dh.suddenlink.net) Quit (Quit: Leaving)
[5:04] * sammysands (uid32634@gateway/web/irccloud.com/x-jpgibnbokbczxvpj) Quit (Quit: Connection closed for inactivity)
[5:07] * stekro (~stekro@x590e3b48.dyn.telefonica.de) Quit (Ping timeout: 255 seconds)
[5:09] * stekro (~stekro@x4db133b3.dyn.telefonica.de) has joined #raspberrypi
[5:11] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) has joined #raspberrypi
[5:16] * poolson (~oooo@c-67-185-142-252.hsd1.wa.comcast.net) Quit (Ping timeout: 268 seconds)
[5:20] * bikram (~bikram@ has joined #raspberrypi
[5:24] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) Quit (Quit: Leaving)
[5:29] * foul_owl (~foul_owl@ Quit (Ping timeout: 256 seconds)
[5:34] * Quatroking (~Quatrokin@507098BE.static.ziggozakelijk.nl) Quit (Read error: Connection reset by peer)
[5:41] * puff (~user@2607:3180:1:162:495d:9f6c:5b8a:db61) has joined #raspberrypi
[5:44] * Smeef (~deathonat@unaffiliated/smeef) has joined #raspberrypi
[5:47] * foul_owl (~foul_owl@75-172-125-95.tukw.qwest.net) has joined #raspberrypi
[5:51] * tristero (~nobody@unaffiliated/transfinite) Quit (Read error: Connection reset by peer)
[5:54] * malhelo_ (~malhelo@dslb-088-066-156-160.088.066.pools.vodafone-ip.de) has joined #raspberrypi
[5:55] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) Quit (Remote host closed the connection)
[5:58] * malhelo (~malhelo@dslb-088-066-159-127.088.066.pools.vodafone-ip.de) Quit (Ping timeout: 260 seconds)
[6:04] * s8548a (~s8548a@unaffiliated/s8548a) has joined #raspberrypi
[6:04] * kopper (~mrbabar@unaffiliated/kopper) has joined #raspberrypi
[6:05] * troglobyte (~troglobyt@unaffiliated/troglobyte) has joined #raspberrypi
[6:10] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[6:10] * Gathis (~TheBlack@unaffiliated/gathis) Quit (Remote host closed the connection)
[6:12] * d4rklit3 (~textual@cpe-76-169-83-62.socal.res.rr.com) has joined #raspberrypi
[6:13] * djhworld (~djhworld@ Quit (Ping timeout: 260 seconds)
[6:14] * Owner (~Owner@unaffiliated/owner) has left #raspberrypi
[6:16] * semeion (~semeion@unaffiliated/semeion) has joined #raspberrypi
[6:19] * redstarcomrade (~quassel@cpe-104-175-255-182.socal.res.rr.com) Quit (Read error: Connection reset by peer)
[6:25] * djhworld (~djhworld@ has joined #raspberrypi
[6:26] * d4rklit3 (~textual@cpe-76-169-83-62.socal.res.rr.com) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[6:31] * Crom (~quassel@cpe-172-117-238-177.socal.res.rr.com) Quit (Read error: Connection reset by peer)
[6:32] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 260 seconds)
[6:33] * sgfltx (~sgflt@p4FDF3D1E.dip0.t-ipconnect.de) has joined #raspberrypi
[6:37] * sgflt (~sgflt@p4FDF244C.dip0.t-ipconnect.de) Quit (Ping timeout: 268 seconds)
[6:38] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) Quit (Ping timeout: 265 seconds)
[6:41] * erm3nda (~erm3nda@ has joined #raspberrypi
[6:46] * sdothum (~znc@ Quit (Quit: ZNC 1.6.6 - http://znc.in)
[6:49] * v01d4lph4 (~silent_fr@ has joined #raspberrypi
[6:51] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) has joined #raspberrypi
[6:55] * puff (~user@2607:3180:1:162:495d:9f6c:5b8a:db61) Quit (Ping timeout: 276 seconds)
[6:55] * bikram (~bikram@ Quit (Read error: Connection reset by peer)
[6:56] * bikram (~bikram@ has joined #raspberrypi
[7:00] * vstehle (~vstehle@rqp06-1-88-178-86-202.fbx.proxad.net) has joined #raspberrypi
[7:05] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) has joined #raspberrypi
[7:08] * mlelstv (~mlelstv@hoppa.1st.de) has joined #raspberrypi
[7:10] * kopper (~mrbabar@unaffiliated/kopper) Quit (Read error: Connection reset by peer)
[7:10] * kopper (~mrbabar@unaffiliated/kopper) has joined #raspberrypi
[7:14] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) Quit (Ping timeout: 268 seconds)
[7:15] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[7:16] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[7:23] * Deusdeorum (~Deusdeoru@unaffiliated/deusdeorum) Quit (Ping timeout: 240 seconds)
[7:25] * _Trullo (~guff33@h-53-230.A357.priv.bahnhof.se) Quit (Quit: http://i.imgur.com/wkHvYhs.gif)
[7:25] * erm3nda (~erm3nda@ Quit (Quit: Leaving)
[7:31] * semeion (~semeion@unaffiliated/semeion) Quit (Quit: WeeChat 2.1)
[7:34] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) has joined #raspberrypi
[7:43] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[7:50] * cstk421 (~cstk421@c-68-41-25-112.hsd1.mi.comcast.net) Quit ()
[7:53] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) has joined #raspberrypi
[8:09] * TheL0singEdge (~TheL0sing@unaffiliated/thel0singedge) Quit (Ping timeout: 264 seconds)
[8:09] * TheL0singEdge (~TheL0sing@unaffiliated/thel0singedge) has joined #raspberrypi
[8:11] * TheL0singEdge (~TheL0sing@unaffiliated/thel0singedge) Quit (Remote host closed the connection)
[8:12] * TheL0singEdge (~TheL0sing@unaffiliated/thel0singedge) has joined #raspberrypi
[8:14] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) has joined #raspberrypi
[8:15] * immibis (~chatzilla@222-155-160-32-fibre.bb.spark.co.nz) has joined #raspberrypi
[8:15] * nshire (~nealshire@unaffiliated/nealshire) Quit (Ping timeout: 265 seconds)
[8:16] * wgas (~wgas@unaffiliated/wgas) has joined #raspberrypi
[8:16] * wgas (~wgas@unaffiliated/wgas) has left #raspberrypi
[8:16] * Ilyas (uid43013@gateway/web/irccloud.com/x-lccxwxphxnktctul) has joined #raspberrypi
[8:17] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) Quit (Ping timeout: 260 seconds)
[8:19] * BOKALDO (~BOKALDO@ has joined #raspberrypi
[8:21] * indy (~indy@dsl-static-104.213-160-167.telecom.sk) Quit (Quit: ZNC - http://znc.sourceforge.net)
[8:23] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) has joined #raspberrypi
[8:23] * CatCow97 (~mine9@c-24-22-38-85.hsd1.or.comcast.net) has joined #raspberrypi
[8:25] * indy (~indy@dsl-static-104.213-160-167.telecom.sk) has joined #raspberrypi
[8:31] * clemens3 (~clemens@80-218-38-71.dclient.hispeed.ch) has joined #raspberrypi
[8:32] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) has joined #raspberrypi
[8:32] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[8:35] * Keanu73 (~Keanu73@2ProIntl/User/Geek/Keanu73) has joined #raspberrypi
[8:37] * tdy (~tdy@unaffiliated/tdy) Quit (Read error: Connection reset by peer)
[8:42] * tdy (~tdy@unaffiliated/tdy) has joined #raspberrypi
[8:42] * Osirus126_ (~quassel@24-138-154-156.eastlink.ca) Quit (Ping timeout: 255 seconds)
[8:42] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[8:44] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) has joined #raspberrypi
[8:44] * Osirus126 (~quassel@24-138-154-156.eastlink.ca) has joined #raspberrypi
[8:45] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[8:47] * HerculeP (~odroid@p200300060371C154C4F9833C0ACB7D7B.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[8:47] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) has joined #raspberrypi
[8:53] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) Quit (Ping timeout: 260 seconds)
[8:57] * djsxxx_away is now known as Dave_MMP
[9:01] * clemens3 (~clemens@80-218-38-71.dclient.hispeed.ch) Quit (Ping timeout: 268 seconds)
[9:01] * Keanu73 (~Keanu73@2ProIntl/User/Geek/Keanu73) Quit (Read error: Connection reset by peer)
[9:02] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[9:06] * sgfltx (~sgflt@p4FDF3D1E.dip0.t-ipconnect.de) Quit (Quit: WeeChat 1.0.1)
[9:08] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) Quit (Ping timeout: 264 seconds)
[9:16] * defsdoor (~andy@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net) has joined #raspberrypi
[9:17] * thallada (~thallada@fsf/member/thallada) Quit (Ping timeout: 276 seconds)
[9:18] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[9:19] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) has joined #raspberrypi
[9:19] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) Quit (Client Quit)
[9:20] * uks (~uksio@p200300CB1BC39C64400BAA3E438F8C31.dip0.t-ipconnect.de) has joined #raspberrypi
[9:20] * clemens3 (~clemens@mx.eniso-partners.com) has joined #raspberrypi
[9:21] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) has joined #raspberrypi
[9:21] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) Quit (Client Quit)
[9:28] * fyrril (~fyrril@2605:a601:7014:1800:1df:f424:2778:ffa1) Quit (Ping timeout: 245 seconds)
[9:30] * fyrril (~fyrril@2605:a601:7014:1800:1df:f424:2778:ffa1) has joined #raspberrypi
[9:32] * thallada (~thallada@fsf/member/thallada) has joined #raspberrypi
[9:33] * clonak_ (~clonak@ has joined #raspberrypi
[9:35] * Hero1980 (5cce40f9@gateway/web/freenode/ip. has joined #raspberrypi
[9:36] * Louis6321 (Louis@pdpc/supporter/student/louis) has joined #raspberrypi
[9:37] * Louis (Louis@pdpc/supporter/student/louis) Quit (*.net *.split)
[9:37] * voxxit (voxxit@gateway/shell/firrre/x-yhpsyawqvyhnzxuo) Quit (*.net *.split)
[9:37] * clonak (~clonak@ Quit (*.net *.split)
[9:37] * Bhaal (~bhaal@freenode/staff-emeritus/bhaal) Quit (*.net *.split)
[9:37] * Louis6321 is now known as Louis
[9:37] * Bhaal (~bhaal@freenode/staff-emeritus/bhaal) has joined #raspberrypi
[9:39] <Hero1980> Hello can anyone help and tell me what is the best C library to publish and subscribe message to use it with raspberrypi
[9:42] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) has joined #raspberrypi
[9:45] * DeadKaptain (~quassel@unaffiliated/dogs) has joined #raspberrypi
[9:47] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 265 seconds)
[9:47] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) Quit (Ping timeout: 276 seconds)
[9:50] * Trieste (~T@unaffiliated/trieste) Quit (Ping timeout: 264 seconds)
[9:51] * Trieste (~T@unaffiliated/trieste) has joined #raspberrypi
[9:57] * davr0s (~textual@host81-153-180-15.range81-153.btcentralplus.com) has joined #raspberrypi
[10:07] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[10:08] <gordonDrogon> Hero1980, you've been on this for a week or so now. What exactly are you trying to do?
[10:08] * Geekologist (~me@unaffiliated/geekologist) has joined #raspberrypi
[10:10] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[10:22] * MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl) has joined #raspberrypi
[10:22] * jaziz (~jaziz@unaffiliated/jaziz) has joined #raspberrypi
[10:22] * jaziz1 (~jaziz@unaffiliated/jaziz) has joined #raspberrypi
[10:23] * JakeSays (~jake@ Quit (Ping timeout: 276 seconds)
[10:23] * s8548a (~s8548a@unaffiliated/s8548a) Quit (Ping timeout: 263 seconds)
[10:30] * jaziz (~jaziz@unaffiliated/jaziz) Quit (Remote host closed the connection)
[10:30] * jaziz1 (~jaziz@unaffiliated/jaziz) Quit (Remote host closed the connection)
[10:30] * energizer (~energizer@unaffiliated/energizer) has joined #raspberrypi
[10:31] * jaziz (~jaziz@unaffiliated/jaziz) has joined #raspberrypi
[10:31] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[10:32] * jaziz (~jaziz@unaffiliated/jaziz) Quit (Remote host closed the connection)
[10:32] * jaziz (~jaziz@unaffiliated/jaziz) has joined #raspberrypi
[10:33] * energizer (~energizer@unaffiliated/energizer) Quit (Remote host closed the connection)
[10:36] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) has joined #raspberrypi
[10:41] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) Quit (Ping timeout: 265 seconds)
[10:46] * ConkyAxis (~ConkyAxis@cpc82865-enfi22-2-0-cust482.20-2.cable.virginm.net) has joined #raspberrypi
[10:46] * JakeSays (~jake@ has joined #raspberrypi
[10:55] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) has joined #raspberrypi
[10:55] <Hero1980> <gordonDrogon> wait alittle i will show you
[10:56] * Eljotto (~Eljotto@b941c009.business.dg-w.de) has joined #raspberrypi
[10:57] * ShorTie (~Idiot@unaffiliated/shortie) has joined #raspberrypi
[10:57] * philomath_ (~da_vinci@ has joined #raspberrypi
[10:57] * Eljotto (~Eljotto@b941c009.business.dg-w.de) Quit (Remote host closed the connection)
[10:57] * Eljotto (~Eljotto@b941c009.business.dg-w.de) has joined #raspberrypi
[11:00] * djakov (~djakov@linaro/djakov) has joined #raspberrypi
[11:00] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) Quit (Ping timeout: 276 seconds)
[11:06] <Hero1980> <gordonDrogon> Hello i am Trying to use mqtt subscribe and publish , I have the Cloud Server (https://imgur.com/a/mkche) and trying to connect it with My C code in Raspberry using Baho mqtt Library ( https://imgur.com/a/fb5Ik) but i am getting this Error (https://imgur.com/a/9fAEf ) i want to mention i dont know where to use the Username and password in the Code and Here is the Full Code ( https://codeshare.io/5Rlj8Q ) Pleas
[11:07] * mjh (~Matthew@ has joined #raspberrypi
[11:09] <gordonDrogon> so what you're trying to do is use MQTT to store some local data into a remote thing.
[11:09] <gordonDrogon> I've never used mqtt, but it's supposed to be easy - so I'm rold.
[11:09] <gordonDrogon> *told.
[11:11] <Hero1980> i want to use mqtt from c Code but i dont know how and what is the appropriate library to use i have installed Baho mqtt but still no success
[11:11] * Eljotto (~Eljotto@b941c009.business.dg-w.de) Quit (Quit: Leaving)
[11:14] <mfa298> Hero1980: maybe try some of their examples first, from a quick look at the cloudmqtt site they seem to have a variety of examples to look at.
[11:14] <gordonDrogon> can't hel pyou with that library - Iv'e never used mqtt, but maybe you need to start littering your code with more debugging - print out what's happening at every step of the way to find otu which part doesn't work for you.
[11:14] <mfa298> like gordonDrogon I've never used mqtt, but I'd try some well documented examples first and add lots of debuging stuff to the code as well.
[11:18] * jsoft (~jsoft@unaffiliated/jsoft) Quit (Ping timeout: 264 seconds)
[11:19] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[11:19] * spybert (~spybert@c-73-235-164-227.hsd1.ca.comcast.net) has joined #raspberrypi
[11:24] * inc0gn1t0 (uid278945@gateway/web/irccloud.com/x-kaqblriwpoipgynv) Quit (Quit: Connection closed for inactivity)
[11:26] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Read error: Connection reset by peer)
[11:26] * darsie (~username@84-114-73-160.cable.dynamic.surfer.at) has joined #raspberrypi
[11:26] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[11:32] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) has joined #raspberrypi
[11:35] * Case77 (~Case77@pool-108-44-22-63.albyny.east.verizon.net) Quit (Quit: Leaving.)
[11:36] <Hero1980> i think the problem because i have to add the username and password of the Cloud web Server to the C Code but i dont know in which function to use add them in the #include "MQTTClient.h" library
[11:36] <Hero1980> <mfa298> <mfa298>
[11:37] * codestorm (~codestorm@2605:e000:9196:e300:9d0a:8188:6591:a6bf) Quit (Ping timeout: 276 seconds)
[11:40] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) Quit (Read error: Connection reset by peer)
[11:41] * MacGeek (~BSD@host188-232-dynamic.4-87-r.retail.telecomitalia.it) has joined #raspberrypi
[11:46] <Hero1980> can anyone one tell me how to add the username and password to this line #define ADDRESS "tcp://localhost:1883"
[11:47] <red9> http://username:password@www.my_site.com
[11:47] <red9> Guess.. tcp://username:password@localhost:1883
[11:50] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[11:52] <BurtyB> my guess is it depends on the library you're using
[11:53] <mfa298> Hero1980: I'd suggest reading the documentation for the library, I doubt anyone else is going to read it for you (with a really quick google I couldn't even find that library, and that's about as much effort as I'm willing to currently put into something I'm not interested in)
[11:54] <zleap> i agree, reading docs can also come up with related and unrelated but useful information
[11:55] * wgas (~wgas@unaffiliated/wgas) has joined #raspberrypi
[11:56] * sammysands (uid32634@gateway/web/irccloud.com/x-aerwpejlcedczdto) has joined #raspberrypi
[11:57] <red9> regarding interested, was there anyone here interested LocalTalk?
[11:59] <gordonDrogon> red9, localtalk? the old Apple thing?
[12:01] * wgas (~wgas@unaffiliated/wgas) has left #raspberrypi
[12:01] * lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com) Quit (Remote host closed the connection)
[12:05] * dr3w_ (~dr3w_@abercs/dr3w) has joined #raspberrypi
[12:09] <red9> yep
[12:09] * BeamWatcher (~gashead76@ Quit (Remote host closed the connection)
[12:11] <gordonDrogon> ancient.
[12:11] <gordonDrogon> (says the man making a new 6502 system ;-)
[12:14] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[12:15] <red9> ;-)
[12:16] <red9> gordonDrogon, Did you do C64?
[12:16] <JimBuntu> Lemme see, isn't that the one where we had to re-assign drive letters to add more?
[12:17] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[12:17] * Xionaba (~fartofago@h87-96-227-119.cust.se.alltele.net) has joined #raspberrypi
[12:19] * voxxit (voxxit@gateway/shell/firrre/x-uahxscituzezqbri) has joined #raspberrypi
[12:19] <red9> if you use a unmodified 1541, you have to send a command to change device id from 8 to 9.
[12:19] <red9> then you power up the next unit 8..
[12:21] * voxxit (voxxit@gateway/shell/firrre/x-uahxscituzezqbri) Quit (*.net *.split)
[12:21] * Xionaba (~fartofago@h87-96-227-119.cust.se.alltele.net) Quit (*.net *.split)
[12:21] <gordonDrogon> red9, no - apple II/bbc micro - the pet stuff bypassed me.
[12:23] <red9> Guess no LocalTalk there ;)
[12:23] <red9> Though I think the BBC supported "EcoNet".
[12:23] <gordonDrogon> no - I did setup an office or 2 of Macs with localtalk though, but that was mostly plug it in and stand well back - um 35 years ago?
[12:25] * r00ter (~r00ter@p5DDF196A.dip0.t-ipconnect.de) Quit (Disconnected by services)
[12:25] * r0Oter (~r00ter@p5DDF2655.dip0.t-ipconnect.de) has joined #raspberrypi
[12:25] <zleap> localtalk is the network thingm they use air play now i think to move files between devices
[12:25] <zleap> i like the way it 'just works'
[12:26] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[12:26] * codestorm (~codestorm@2605:e000:9196:e300:f17b:d9d5:3c24:f188) has joined #raspberrypi
[12:26] * ItHurtsWhenIP (~IP@ has joined #raspberrypi
[12:28] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[12:30] <red9> Some people tried implement LocalTalk using the Zilog-SCC chip in the Macintosh wired to a STM32 microcontroller. But these might be hard to find etc. But I checked out the bitbang capabilities of the STM32 and it should be enough to bitbang the underlying FM0 encoding and SDLC format.
[12:30] <red9> If one feels like testing out a Macintosh relic one could then have a boot and file server in a neat format.
[12:31] * codestorm (~codestorm@2605:e000:9196:e300:f17b:d9d5:3c24:f188) Quit (Ping timeout: 255 seconds)
[12:33] * pk12 (~pk12@ Quit (Ping timeout: 256 seconds)
[12:34] * knightwise (~obiwan@d54C1EEF9.access.telenet.be) has joined #raspberrypi
[12:34] * waveform (~waveform@waveform.plus.com) has joined #raspberrypi
[12:35] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Ping timeout: 256 seconds)
[12:39] <red9> gordonDrogon, btw I did found out that modifying the ARM ODR register is slower than using the BSRR/BRR registers. 1.9 MHz vs 2.9 MHz.
[12:39] * pk12 (~pk12@ has joined #raspberrypi
[12:40] * pksato (~PEBKAC@unaffiliated/pksato) has joined #raspberrypi
[12:40] * nighty- (~nighty@kyotolabs.asahinet.com) Quit (Quit: Disappears in a puff of smoke)
[12:42] * andreas303 (~andreas30@h-70-56.A163.priv.bahnhof.se) has joined #raspberrypi
[12:45] * andreas303 (~andreas30@h-70-56.A163.priv.bahnhof.se) Quit (Client Quit)
[12:47] * lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com) has joined #raspberrypi
[12:48] * purplex88 (~purplex88@unaffiliated/purplex88) has joined #raspberrypi
[12:50] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[12:54] <gordonDrogon> red9, I'm not that familiar with the registers, but wiringPi can toggle a pin at about 20Mhz.
[12:55] * Lorduncan (~Thunderbi@ has joined #raspberrypi
[12:59] * cccyRegeaneWolfe (cccyRegean@gateway/vpn/privateinternetaccess/cccyregeanewolfe) Quit (Quit: Ping Timeout)
[13:01] * cccyRegeaneWolfe (cccyRegean@gateway/vpn/privateinternetaccess/cccyregeanewolfe) has joined #raspberrypi
[13:01] * immibis (~chatzilla@222-155-160-32-fibre.bb.spark.co.nz) Quit (Ping timeout: 240 seconds)
[13:04] * v01d4lph4 (~silent_fr@ Quit (Remote host closed the connection)
[13:09] <red9> gordonDrogon, On a Pi 1. There seems to be a read limit using digitalRead() at ~5.9 MHz.
[13:09] * sdothum (~znc@ has joined #raspberrypi
[13:10] <gordonDrogon> oh maybe. it's not that important, really.
[13:10] <gordonDrogon> my take is that if you're bit-banging it that fast then you're doing it wrong.
[13:11] <gordonDrogon> (or if you need that speed)
[13:11] <gordonDrogon> (or the Pi is the wrong platform, etc.)
[13:13] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) has joined #raspberrypi
[13:14] <HrdwrBoB> yeah
[13:14] <HrdwrBoB> tbh that seems pretty good to me
[13:15] <HrdwrBoB> it's simply not built for that sort of high speed shenanigans
[13:15] * dr3w_ (~dr3w_@abercs/dr3w) Quit (Quit: https://media3.giphy.com/media/3oKIPsx2VAYAgEHC12/giphy.gif)
[13:18] * dr3w_ (~dr3w_@abercs/dr3w) has joined #raspberrypi
[13:21] * codestorm (~codestorm@2605:e000:9196:e300:351b:e8b:6572:d66) has joined #raspberrypi
[13:24] * bikram (~bikram@ Quit (Read error: Connection reset by peer)
[13:26] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 264 seconds)
[13:26] * codestorm (~codestorm@2605:e000:9196:e300:351b:e8b:6572:d66) Quit (Ping timeout: 276 seconds)
[13:26] * tunekey (~tunekey@unaffiliated/tunekey) Quit (Remote host closed the connection)
[13:27] * tunekey (~tunekey@unaffiliated/tunekey) has joined #raspberrypi
[13:28] <gordonDrogon> it's not really about the speed, more about things like jitter.
[13:29] <gordonDrogon> you can output a 100Mhz clock from a Pi for example, or a 48Mb/sec SPI transaction, but trying to accurately bit-bang something is not trivial.
[13:29] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[13:30] <gordonDrogon> even at lower frequencies - say 5Khz, it's tricky without resorting to tricks like leveraging the DMA engine to send bits out - as I found out when trying to get a software servo driver working - the same code plays tunes, can do LED brightness and motor speed control, but the tiny bit of jitter it has burns out servos ...
[13:39] * BCMM (~BCMM@unaffiliated/bcmm) has joined #raspberrypi
[13:39] * philomath_ (~da_vinci@ Quit (Quit: Leaving)
[13:44] * clickboom (~boomclick@ has joined #raspberrypi
[13:49] * flugger (~flug@unaffiliated/flugger) has joined #raspberrypi
[13:49] * fredp (~fredp@unaffiliated/fredp) Quit ()
[13:49] * fredp (~fredp@unaffiliated/fredp) has joined #raspberrypi
[13:49] * Hero1980 (5cce40f9@gateway/web/freenode/ip. Quit (Ping timeout: 260 seconds)
[13:50] * sidx64 (~sidx64@ has joined #raspberrypi
[13:50] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[13:51] * mike_t (~mike_t@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[13:51] * v01d4lph4 (~silent_fr@ has joined #raspberrypi
[13:52] * raynold (uid201163@gateway/web/irccloud.com/x-idsiszfohdlrxmew) Quit (Quit: Connection closed for inactivity)
[13:55] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 268 seconds)
[13:56] * fredp (~fredp@unaffiliated/fredp) Quit ()
[13:57] * sdoherty (sdoherty@nat/redhat/x-edupjznisnmcjxdb) has joined #raspberrypi
[14:06] * TheSin (~TheSin@node-1w7jra1z8gh9aq3lzh2b5qf7d.ipv6.telus.net) Quit (Quit: Client exiting)
[14:07] * z8z (~x@ac230029.ppp.asahi-net.or.jp) has joined #raspberrypi
[14:07] * m0j0dj0dj0 (~punk3r@unaffiliated/m0j0dj0dj0) Quit (Ping timeout: 265 seconds)
[14:11] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[14:12] * Acilim (~cimbom@unaffiliated/acilim) has joined #raspberrypi
[14:13] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) has joined #raspberrypi
[14:14] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) has joined #raspberrypi
[14:14] * purplex88_ (~purplex88@unaffiliated/purplex88) has joined #raspberrypi
[14:14] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Read error: Connection reset by peer)
[14:14] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) Quit (Client Quit)
[14:15] * codestorm (~codestorm@2605:e000:9196:e300:e2:b071:eb6d:9429) has joined #raspberrypi
[14:16] * purplex88 (~purplex88@unaffiliated/purplex88) Quit (Ping timeout: 276 seconds)
[14:16] * purplex88_ is now known as purplex88
[14:17] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[14:18] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) has joined #raspberrypi
[14:18] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) Quit (Client Quit)
[14:18] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[14:19] * CatCow97 (~mine9@c-24-22-38-85.hsd1.or.comcast.net) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[14:20] * codestorm (~codestorm@2605:e000:9196:e300:e2:b071:eb6d:9429) Quit (Ping timeout: 265 seconds)
[14:20] * ozlo (~ozlo@ has joined #raspberrypi
[14:21] * rwb (~Thunderbi@ Quit (Ping timeout: 260 seconds)
[14:21] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 256 seconds)
[14:23] * vutral|kali (~vutral@mirbsd/special/Vutral) has joined #raspberrypi
[14:23] * m0j0dj0dj0 (~punk3r@unaffiliated/m0j0dj0dj0) has joined #raspberrypi
[14:25] * Psybur (~Psybur@unaffiliated/psybur) has joined #raspberrypi
[14:30] * ItHurtsWhenIP (~IP@ Quit (Quit: leaving)
[14:32] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) Quit (Ping timeout: 264 seconds)
[14:33] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[14:35] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) has joined #raspberrypi
[14:35] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[14:38] * sidx64_ (~sidx64@ has joined #raspberrypi
[14:38] * kushal (~hopless@fedora/kushal) Quit (Excess Flood)
[14:38] * kushal (~hopless@fedora/kushal) has joined #raspberrypi
[14:39] * sidx64_ (~sidx64@ Quit (Client Quit)
[14:39] * sidx64 (~sidx64@ Quit (Read error: Connection reset by peer)
[14:42] * |Syd| (~|Syd|@unaffiliated/syd/x-5474327) has joined #raspberrypi
[14:43] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) has joined #raspberrypi
[14:43] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[14:46] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) Quit (Client Quit)
[14:46] * frank1e (~frank1e@unaffiliated/frank1e) has joined #raspberrypi
[14:46] * frank1e (~frank1e@unaffiliated/frank1e) Quit (Remote host closed the connection)
[14:46] * sidx64 (~sidx64@ has joined #raspberrypi
[14:47] * finlstrm_ (~quassel@pool-96-238-44-51.prvdri.fios.verizon.net) Quit (Ping timeout: 263 seconds)
[14:48] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 256 seconds)
[14:52] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) has joined #raspberrypi
[14:55] * sidx64 (~sidx64@ Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[14:56] * m0j0dj0dj0 (~punk3r@unaffiliated/m0j0dj0dj0) Quit (Read error: Connection reset by peer)
[14:58] * Xionaba (~fartofago@h87-96-227-119.cust.se.alltele.net) has joined #raspberrypi
[15:00] * Psybur (~Psybur@unaffiliated/psybur) Quit (Read error: Connection reset by peer)
[15:00] * TheSin (~TheSin@gateway.bluefalls.ca) has joined #raspberrypi
[15:02] * CountryNerd_ (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) Quit (Quit: CountryNerd_)
[15:03] * Albori (~Albori@216-229-75-52.fidnet.com) Quit (Quit: Albori)
[15:04] * Psybur (~Psybur@unaffiliated/psybur) has joined #raspberrypi
[15:04] * CountryNerd (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) has joined #raspberrypi
[15:04] * sidx64 (~sidx64@ has joined #raspberrypi
[15:06] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[15:06] * voxxit (voxxit@gateway/shell/firrre/x-pcroswlfkwmrviir) has joined #raspberrypi
[15:08] * JasonCL (~JasonCL@ has joined #raspberrypi
[15:09] * codestorm (~codestorm@2605:e000:9196:e300:7866:e505:edaf:2f22) has joined #raspberrypi
[15:13] * JasonCL (~JasonCL@ Quit (Ping timeout: 240 seconds)
[15:13] * Jekotia (~Jekotia@2607:fea8:a7a0:41a::9) has joined #raspberrypi
[15:14] * codestorm (~codestorm@2605:e000:9196:e300:7866:e505:edaf:2f22) Quit (Ping timeout: 260 seconds)
[15:15] * r0Oter is now known as r00ter
[15:15] * Jekotia (~Jekotia@2607:fea8:a7a0:41a::9) Quit (Client Quit)
[15:15] * Jekotia (~Jekotia@2607:fea8:a7a0:41a::9) has joined #raspberrypi
[15:16] * GraysonBriggs (~GraysonBr@206-51-126-226.up.net) has joined #raspberrypi
[15:18] * Jekotia (~Jekotia@2607:fea8:a7a0:41a::9) Quit (Client Quit)
[15:18] * JasonCL (~JasonCL@ has joined #raspberrypi
[15:18] * Jekotia (~Jekotia@2607:fea8:a7a0:41a::9) has joined #raspberrypi
[15:22] * sidx64 (~sidx64@ Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:25] * andreas303 (~andreas30@h-70-56.A163.priv.bahnhof.se) has joined #raspberrypi
[15:26] * BOKALDO (~BOKALDO@ Quit (Quit: Leaving)
[15:27] * Jekotia (~Jekotia@2607:fea8:a7a0:41a::9) Quit (Quit: WeeChat 1.6)
[15:28] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 240 seconds)
[15:28] * m0j0dj0dj0 (~punk3r@unaffiliated/m0j0dj0dj0) has joined #raspberrypi
[15:30] * sidx64 (~sidx64@ has joined #raspberrypi
[15:30] * v01d4lph4 (~silent_fr@ Quit (Remote host closed the connection)
[15:30] * Albori (~Albori@216-229-75-52.fidnet.com) has joined #raspberrypi
[15:30] * IamTrying (~iamtrying@18.224-136-217.adsl-static.isp.belgacom.be) has joined #raspberrypi
[15:33] <IamTrying> https://i.imgur.com/SVc6inI.png - Guys, how do i get on my RPI 3 Model B: `$ yum -y install vim socat;` ?
[15:33] * inc0gn1t0 (uid278945@gateway/web/irccloud.com/x-fxvyqtfvtfpmjpjf) has joined #raspberrypi
[15:33] <BCMM> IamTrying: what distro are you using on the Pi?
[15:34] <IamTrying> BCMM: Linux raspberrypi 4.14.30-v7+ ? not sure is it Arch linux or DEbian linux
[15:34] <BCMM> IamTrying: does `cat /etc/issue` do anything?
[15:35] <IamTrying> BCMM: Raspbian GNU/Linux 9 \n \l
[15:35] <IamTrying> BCMM: apt-get works
[15:35] <IamTrying> so its Ubuntish?
[15:35] <BCMM> IamTrying: ok. yum is a command for installing software on RPM-based distros like Fedora. it is not how you install software in Arch *or* Debian/Raspbian
[15:36] <BCMM> IamTrying: are you following some sort of tutorial that asks you to do `yum -y install vim socat`?
[15:37] <IamTrying> yes i was reading some GPIO which was saying use yum but realise its ubuntu so apt package manager i have to use instead, BCMM
[15:37] <IamTrying> thank you BCMM
[15:37] <BCMM> IamTrying: raspbian is't ubuntu either, but you're correct that apt is the package manager
[15:38] * Warmy (~Warmy@ has joined #raspberrypi
[15:38] <IamTrying> https://i.imgur.com/wyRzoRB.png - yes BCMM
[15:38] <BCMM> IamTrying: this should work (as root): apt update ; apt install vim socat
[15:39] <IamTrying> BCMM: will `$ sudo apt-get update` take lot of disk space?
[15:39] <IamTrying> or its just the repository listing upgrades?
[15:40] <mfa298> I'd be a bit wary of any tutorial that told you to use yum as well now, the fedora world has moved to dnf instead (which is still fairly similar to yum)
[15:40] <IamTrying> https://i.imgur.com/aLz7yCY.png - yes, it was not much
[15:40] <BCMM> IamTrying: apt-get update will update the list of available packages
[15:41] <BCMM> IamTrying: but its possible that installing vim and socat will result in some updates being installed, if you're using old versions of libraries they depend on, for example
[15:41] <BCMM> it's usually good practice to keep packages up-to-date with apt-get upgrade
[15:41] <BCMM> (not upgrade, not update)
[15:42] <BCMM> (mean to say, upgrade, not update)
[15:42] <IamTrying> OK - it worked. so i got my vim, socat using apt-get still less space used: /dev/root 14G 4.4G 8.2G 35% /
[15:42] <IamTrying> if i pull out my SD card and connect another SD card and then connect the first SD card back. Will my socat, vim stay or disappear?
[15:43] <BCMM> IamTrying: ... are you going to do that while the system is running?
[15:43] <mfa298> IamTrying: there was probably already a minimal vi installed, so the main vim package only has to add some additional bits.
[15:43] <IamTrying> BCMM: not while running. the reason is i have 2 SD Card with same OS on it. on one i have installed but if i now connect the 2nd what will happen?
[15:43] <BCMM> IamTrying: the SD card is your "hard disk" - there is no built-in non-volatile storage on the raspberry pi
[15:43] <mfa298> IamTrying: the stuff is installed to the SD card, the Pi board itself has no storage on it (the SD card is like the harddrive)
[15:44] <mfa298> ...(unless you're doing something odd like usb/pxe boot)
[15:44] <BCMM> IamTrying: any permanent changes you make are changes to the SD card
[15:44] <IamTrying> OK - excelelnt.
[15:44] <BCMM> i can only assume you're thinking of, like, an android phone, where there is some built-in storage that can be expanded with an SD card
[15:44] <BCMM> the pi is not like that
[15:45] <IamTrying> thats how i wanted, i want multi SD card with multi python releases
[15:45] <IamTrying> one i want to continue with pyhton 2
[15:45] <IamTrying> 2nd one with python 3
[15:45] <BCMM> IamTrying: you can have python2 and python3 installed at the same time on debian
[15:45] <BCMM> (and on raspbian, sorry)
[15:45] <mfa298> doesn't python have some way to manage multiple versions - I'd be very surprised if it didn't have that feature
[15:46] <BCMM> mfa298: it's up to distros to manage that, not python. but yes, basically.
[15:46] <IamTrying> $ python --version Python 2.7.13
[15:46] <IamTrying> only have 2.7
[15:46] <BCMM> IamTrying: try python3 --version
[15:46] <IamTrying> WOW
[15:47] <IamTrying> i have pi 2 and 3 in one board. amazing....
[15:47] <BCMM> IamTrying: the pi in "raspberry pi" is not short for "python", fyi
[15:47] <mfa298> BCMM: I was hoping python might have something like Rubys RVM which let you have multiple ruby versions (and sets of ruby gems) installed on the same system
[15:47] <BCMM> IamTrying: the usual shortening of python is "py"
[15:47] <BCMM> mfa298: it just uses different paths basically
[15:48] <BCMM> mfa298: in debian /usr/bin/python is always python 2 for compatibility reasons. /usr/bin/python3 is used for python3
[15:48] <IamTrying> BCMM: i need to do on boot of my RPI borad always execute my script: `python boot_iamtrying_gpio.py;` how do i do that? script run as single thread to read HTTPS webservice
[15:49] <IamTrying> Excellent i will start to play more now BCMM. Just one confusion how do you setup the run levels?
[15:49] <IamTrying> i want when all boot complete my python script starts
[15:50] <mfa298> BCMM: RVM in the Ruby world is a Ruby thing rather than a distro thing which sounds a lot more flexible then. I can have several different installs of ruby with that and that can potentially be done at a user level or a system level (it's effectively managing paths as well) but sounds a lot more flexible that python then.
[15:50] <IamTrying> grep initdefault /etc/inittab ; no such file
[15:50] <mfa298> IamTrying: startup stuff should be managed via systemd
[15:50] <IamTrying> chkconfig --list
[15:50] <IamTrying> OK mfa298
[15:52] <mfa298> IamTrying: sysvinit (the stuff that provides /etc/inittab and init.d) has gone from most linux distros (and quite a few other *nixes) unless you're some ludite who puts it back in.
[15:53] * michelp (sid44928@gateway/web/irccloud.com/x-bmlstkjvptcrpzpd) Quit (Quit: ~)
[15:53] <IamTrying> What is the better option in modern era mfa298? i did Ubuntu 6 years ago and then only used CentOS till now mostly.
[15:53] * michelp (sid44928@gateway/web/irccloud.com/x-cxwypgorhsvrwpgb) has joined #raspberrypi
[15:53] <mfa298> IamTrying: systemd is what everything has moved to (I think centos moved over some years ago)
[15:54] <IamTrying> OK - excellent thank you mfa298
[15:54] <gordonDrogon> mfa298, you don't need to be a luddite, just someone who prefers choice.
[15:55] <IamTrying> Confusion. i am as user pi@raspberrypi, on boot using systemd i will tell : `IAMTRYING_PYTHON2.7 0:off 1:off 2:on 3:on 4:on 5:on 6:off` will have GPIO18 access?
[15:56] <IamTrying> or ineed to be root?
[15:56] * test87 (~test87@pppoe-88-147-206-171.san.ru) has joined #raspberrypi
[15:56] <IamTrying> IAMTRYING_PYTHON2.7.py use the GPIO18 on the board to do high/low
[15:56] <IamTrying> will i be fine with pi username or i need to be root?
[15:57] <BCMM> it's mind-boggling that people can't even explain the default various distros have without expressing their horror that some people are still using the linux kernel without systemd
[15:57] <gordonDrogon> IamTrying, you generally don't need to be root these days to do most GPIO stuff.
[15:57] <IamTrying> WOW - fantastic. gordonDrogon i am glad less hassle for me
[15:58] <IamTrying> thank you very much guys. i have all the tools to move on now.
[15:58] <mfa298> IamTrying: with systemd you can tell it what user to run as (and set things like tthe working directory to start from)
[15:58] * test87 (~test87@pppoe-88-147-206-171.san.ru) Quit (Client Quit)
[15:59] <IamTrying> All i wanted like: `chkconfig --level 2345 IAMTRYING_PYTHON2.7 on`, mfa298 but i will figure it out. thank you
[15:59] * physpi (sid161004@gateway/web/irccloud.com/x-pgcwddydwkdkasgq) Quit (Quit: ~)
[16:00] * physpi (sid161004@gateway/web/irccloud.com/x-kxmmdnrxsudlsebb) has joined #raspberrypi
[16:00] <gordonDrogon> IamTrying, with sysvinit you can tell it what user to run as (and set things like tthe working directory to start from)
[16:01] <IamTrying> WOW - Great.
[16:01] * spybert (~spybert@c-73-235-164-227.hsd1.ca.comcast.net) Quit (Ping timeout: 260 seconds)
[16:03] * dashed (sid41535@gateway/web/irccloud.com/x-erofkhuqwpazcmkf) Quit (Quit: ~)
[16:03] * codestorm (~codestorm@2605:e000:9196:e300:3dc7:2b81:c41d:d9f3) has joined #raspberrypi
[16:03] <mfa298> IamTrying: systemd uses targets to define what's started at boot, there should be plenty of documentation in the CentOS/RHEL/Fedora world as they moved over to systemd based stuff a few years ago, debian moved over with Jessie.
[16:03] * dashed (sid41535@gateway/web/irccloud.com/x-fjssftmzttvpcwbz) has joined #raspberrypi
[16:05] * HerculeP (~odroid@p2003000601A49561052458C0E0D2BA73.dip0.t-ipconnect.de) has joined #raspberrypi
[16:07] * janpjens (sid15075@gateway/web/irccloud.com/x-rjiffkuiqlprjvud) Quit (Quit: ~)
[16:07] * janpjens (sid15075@gateway/web/irccloud.com/x-heelqovjvhfphecd) has joined #raspberrypi
[16:07] * test87 (~test87@pppoe-88-147-206-171.san.ru) has joined #raspberrypi
[16:08] <IamTrying> OK
[16:08] * codestorm (~codestorm@2605:e000:9196:e300:3dc7:2b81:c41d:d9f3) Quit (Ping timeout: 265 seconds)
[16:08] * kireevco (sid87376@gateway/web/irccloud.com/x-gqdsmzlecdchxmef) Quit (Quit: ~)
[16:09] * kireevco (sid87376@gateway/web/irccloud.com/x-jeohxsghfydbpwzz) has joined #raspberrypi
[16:11] * my123 (~my123@unaffiliated/kill--9-1/x-8776976) Quit (Ping timeout: 264 seconds)
[16:12] * test87 (~test87@pppoe-88-147-206-171.san.ru) Quit (Quit: o/)
[16:14] * my123 (~my123@unaffiliated/kill--9-1/x-8776976) has joined #raspberrypi
[16:14] * Trenal (sid47812@gateway/web/irccloud.com/x-xlccgyuvvlvsgbfe) Quit (Quit: ~)
[16:14] * Trenal (sid47812@gateway/web/irccloud.com/x-zzrumfbiqbsocfih) has joined #raspberrypi
[16:15] * EricK|AFK (~quassel@unaffiliated/erick) has joined #raspberrypi
[16:15] * EricK (~quassel@unaffiliated/erick) Quit (Ping timeout: 240 seconds)
[16:16] * lvrp16 (sid153650@gateway/web/irccloud.com/x-qfltzqfsymhicrcx) Quit (Quit: ~)
[16:16] * lvrp16 (sid153650@gateway/web/irccloud.com/x-nnocpqmuwnpjlxbn) has joined #raspberrypi
[16:18] * fury (uid193779@gateway/web/irccloud.com/x-pwgnwspwmzvwltca) Quit (Quit: ~)
[16:18] * Creyon (sid90924@gateway/web/irccloud.com/x-nftjpyneimsigzhc) Quit (Quit: ~)
[16:18] * Creyon (sid90924@gateway/web/irccloud.com/x-rjjxlqaxwsmwcjns) has joined #raspberrypi
[16:18] * fury (uid193779@gateway/web/irccloud.com/x-oiisbklndttjonbk) has joined #raspberrypi
[16:19] * Tenkawa (~na@unaffiliated/tenkawa) has joined #raspberrypi
[16:20] * Giant81 (sid174951@gateway/web/irccloud.com/x-gxagulhyysmrfkya) Quit (Quit: ~)
[16:20] * Giant81 (sid174951@gateway/web/irccloud.com/x-yuugbzdoskkeqhvj) has joined #raspberrypi
[16:22] * greggerz (~greggerz@unaffiliated/greggerz) has joined #raspberrypi
[16:24] * MrNaz (sid133418@gateway/web/irccloud.com/x-zcvsvtnyjnxkcipn) Quit (Quit: ~)
[16:24] * MrNaz (sid133418@gateway/web/irccloud.com/x-sdwjiitipermnryz) has joined #raspberrypi
[16:24] * mjh (~Matthew@ Quit (Ping timeout: 268 seconds)
[16:25] * PeRy_SoY (~PeRy_SoY@194.red-88-27-127.staticip.rima-tde.net) has joined #raspberrypi
[16:26] * pksato (~PEBKAC@unaffiliated/pksato) Quit (Quit: Problem Exists Between Keyboard And Chair)
[16:27] * sidx64 (~sidx64@ Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[16:29] * BOKALDO (~BOKALDO@ has joined #raspberrypi
[16:30] * jerryq (~jerryq@2601:1c0:6101:be7a:34c5:d669:6d39:8a5b) Quit (Ping timeout: 276 seconds)
[16:31] * sidx64 (~sidx64@ has joined #raspberrypi
[16:31] * Acilim is now known as Acilim_A
[16:31] * s8548a (~s8548a@unaffiliated/s8548a) has joined #raspberrypi
[16:31] * xttraces (sid251744@gateway/web/irccloud.com/x-pbcyvfrutaabdxww) Quit (Quit: ~)
[16:31] * xttraces (sid251744@gateway/web/irccloud.com/x-jsnvblmfuivgivmc) has joined #raspberrypi
[16:32] * dtype (sid190093@gateway/web/irccloud.com/x-drqaxngglujvztqn) Quit (Quit: ~)
[16:33] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[16:33] * dtype (sid190093@gateway/web/irccloud.com/x-fryhrteqleblzkil) has joined #raspberrypi
[16:33] * poundwise (sid194778@gateway/web/irccloud.com/x-teghkpoipuljczih) Quit (Quit: ~)
[16:34] * poundwise_ (sid194778@gateway/web/irccloud.com/x-tdcuyauobrnaaxuw) has joined #raspberrypi
[16:38] * wuzamarine (~kvirc@c-69-255-193-190.hsd1.md.comcast.net) Quit (Ping timeout: 265 seconds)
[16:40] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) Quit (Quit: Leaving)
[16:40] * Comet (~comet@pdpc/supporter/active/comet) has joined #raspberrypi
[16:41] <IamTrying> RPI 3 Model B - how do i remove Graphical user interface login so that when i send my RPI box to the client. He cant login and break my setup but request me for login / password? right now it boot directly as username: pi. Possible to disable the GUI boot with protection?
[16:42] <H__> i use rasbian lite for that, it has no gui
[16:42] * akk (~akkana@ has joined #raspberrypi
[16:42] <H__> other than that sure you can disable the gui
[16:42] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 264 seconds)
[16:43] <shiftplusone> or select preferred boot mode in raspi-config
[16:43] * LAX18 (uid266826@gateway/web/irccloud.com/x-vrdjennopmcwaxcw) has joined #raspberrypi
[16:44] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[16:44] * rwb (~Thunderbi@ has joined #raspberrypi
[16:44] * lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com) Quit (Read error: Connection reset by peer)
[16:44] * borkr (~borkr@static130-244.mimer.net) has joined #raspberrypi
[16:46] * lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com) has joined #raspberrypi
[16:49] * tristero (~nobody@unaffiliated/transfinite) has joined #raspberrypi
[16:52] * wuzamarine (~kvirc@c-73-135-97-117.hsd1.md.comcast.net) has joined #raspberrypi
[16:52] * Syliss (~Syliss@asa1.digitalpath.net) has joined #raspberrypi
[16:53] * Ivoah (uid49352@gateway/web/irccloud.com/x-ebeubnczdrwogtuo) Quit (Quit: Connection closed for inactivity)
[16:58] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Read error: Connection reset by peer)
[16:58] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[17:01] * Keanu73 (~Keanu73@2ProIntl/User/Geek/Keanu73) has joined #raspberrypi
[17:03] * r3 (~arethree@ntp/member/r3) Quit (Ping timeout: 256 seconds)
[17:06] * _Trullo (~guff33@h-53-230.A357.priv.bahnhof.se) has joined #raspberrypi
[17:07] <mfa298> IamTrying: something like 'systemctl set-target multi-user' (that's from memory but the help should tell you the exact syntax). I think that's effectively what raspi-config does under the hood.
[17:08] <gordonDrogon> just change the password: at the prompt type: passwd
[17:08] <gordonDrogon> and enter a new one (twice)
[17:08] <shiftplusone> raspi-config also does stuff to configure whether to login automatically or not.
[17:10] <IamTrying> OK - it works
[17:11] * jerryq (~jerryq@ has joined #raspberrypi
[17:11] <IamTrying> One issue still. When i disable GUI login it still show Plymouth GUI on boot. Is it possible you can disable that? so that it boot absolute TEXT-UI mode only?
[17:19] * dr3w_ (~dr3w_@abercs/dr3w) Quit (Quit: https://media3.giphy.com/media/3oKIPsx2VAYAgEHC12/giphy.gif)
[17:19] * BurtyB has no idea what a plymouth gui is (yay command line) but what option did you pick from raspi-config?
[17:20] * mike_t (~mike_t@ has joined #raspberrypi
[17:21] * dr3w_ (~dr3w_@abercs/dr3w) has joined #raspberrypi
[17:22] * nfk (~nfk@unaffiliated/nfk) has joined #raspberrypi
[17:24] * m3rcury (~m3rcury@ozcanoguz.com) Quit (Quit: ZNC 1.6.3+deb1 - http://znc.in)
[17:25] * sunwind` (~paradox@sierra.yeeaaaah.org) Quit (Remote host closed the connection)
[17:28] <shiftplusone> /boot/cmdline.txt
[17:28] <shiftplusone> remove the splash and plymouth parameter
[17:28] <shiftplusone> s
[17:33] * jancoow (~jancoow@dhcp-077-251-034-091.chello.nl) has joined #raspberrypi
[17:34] <gordonDrogon> BurtyB, plymouth - 25 miles down the road from me. (Although why they called the booy splashscreen tron that remains a mystery)
[17:34] <gordonDrogon> *boot ...
[17:36] * sunwind (~paradox@sierra.yeeaaaah.org) has joined #raspberrypi
[17:38] * Ivoah (uid49352@gateway/web/irccloud.com/x-bhupmenbcimrxcic) has joined #raspberrypi
[17:39] * clemens3 (~clemens@mx.eniso-partners.com) Quit (Remote host closed the connection)
[17:41] <Tenkawa> oooh almost lunchtime :)
[17:42] * drunkencoder (~typose@gateway/tor-sasl/drunkencoder) Quit (Remote host closed the connection)
[17:42] * drunkencoder (~typose@gateway/tor-sasl/drunkencoder) has joined #raspberrypi
[17:43] <IT_Sean> It is, in fact, the lunchening hour, Tenkawa
[17:43] * inc0gn1t0 (uid278945@gateway/web/irccloud.com/x-fxvyqtfvtfpmjpjf) Quit (Quit: Connection closed for inactivity)
[17:43] <Tenkawa> yeah it is
[17:43] * borkr (~borkr@static130-244.mimer.net) Quit (Remote host closed the connection)
[17:43] <Tenkawa> i just need to get up the ambition
[17:44] * r3 (~arethree@ntp/member/r3) has joined #raspberrypi
[17:44] <Tenkawa> bbialw.. going to go eat
[17:44] * Tenkawa (~na@unaffiliated/tenkawa) Quit (Quit: leaving)
[17:46] * Vonter (~Vonter@ has joined #raspberrypi
[17:46] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 264 seconds)
[17:46] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[17:49] * snowkidind (~textual@ has joined #raspberrypi
[17:49] <gordonDrogon> it's always lunchtime somewhere.
[17:49] <gordonDrogon> almost tea time here.
[17:52] * philomath_ (~da_vinci@ has joined #raspberrypi
[17:52] * codestorm (~codestorm@cpe-76-94-68-62.socal.res.rr.com) has joined #raspberrypi
[17:54] * Chinesium (~ER_nesto@unaffiliated/funk) has joined #raspberrypi
[17:54] * philomath_ (~da_vinci@ Quit (Client Quit)
[17:55] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Read error: Connection reset by peer)
[17:56] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[17:56] <shiftplusone> isn't tea time all the time?
[17:56] <gordonDrogon> time for tea all the time, but teatime .. different :)
[17:57] * [Butch] (~butch@ has joined #raspberrypi
[17:57] * Dave_MMP is now known as djsxxx_away
[17:58] <shiftplusone> Once overheard an old British lady on a train in Australia say '...then we might be home in time for tea', which I found to be a strange statement.
[17:58] <IT_Sean> shiftplusone: it is pretty much always time for tea. It is not, however, always teatime.
[17:58] * codestorm (~codestorm@cpe-76-94-68-62.socal.res.rr.com) Quit (Ping timeout: 276 seconds)
[17:59] <shiftplusone> IT_Sean: over there too? I thought it was a UK thing.
[17:59] <IT_Sean> Not really a thing over here.
[17:59] * tunekey (~tunekey@unaffiliated/tunekey) Quit (Ping timeout: 240 seconds)
[18:01] <r3> hrm. DSL is out. Reported it and it seems it is a neighborhood outage. :(
[18:01] <IT_Sean> Although.. More and more I'm finding that things that aren't things here are becoming things to me, since I work with a bunch of Germans.
[18:02] <IT_Sean> And they have their own routines and such.
[18:02] <shauno> so now teatime is 5:30pm SHARP?
[18:02] <shiftplusone> Huh? I thought we don't let Germans have their own things anymore.
[18:02] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 265 seconds)
[18:02] <r3> I used to work a LOT with Scottish folks. I imagine Germans are a bit different to work with ;)
[18:03] <IT_Sean> Different, yes. Quite pleasant to work with, once you get used to a few things.
[18:03] <r3> nothing quite like getting a phone call at 2AM from and excited Scottish person.
[18:03] <gordonDrogon> ach, see you, jimmy?
[18:03] <shiftplusone> Different how?
[18:03] <JimBuntu> me?
[18:03] <IT_Sean> Well... I'm used to a 3pm meeting starting sometime between 3.15 and 3.28.
[18:04] <gordonDrogon> tea time is oft confused with dinner time which is oft confused with lunch, but not supper.
[18:04] <IT_Sean> Nope.... A meeting scheduled for 3 starts at 3:00:00. Not 2:59:59, not 3:00:01
[18:04] <r3> rrrrrrrrrr3! Tha blast'd link ees doun agaeen! We canna geet anee orrrderrs threw!
[18:04] * JimBuntu loves him some supper.
[18:04] <IT_Sean> Three pm on Ze dot!
[18:04] <red9> IT_Sean, few things like?
[18:04] <IT_Sean> As one example
[18:04] * gordonDrogon is scottish.
[18:04] <BurtyB> that figures ;) /me runs
[18:05] * DeadKaptain (~quassel@unaffiliated/dogs) Quit (Read error: Connection reset by peer)
[18:05] <r3> gordonDrogon: I loved working with them. I got to go to Falkirk to help set up a manufactuing plant there
[18:05] <red9> must be why digitalWrite() can't decide precisly on what time it will execute and thus cause jitter ;)
[18:06] <r3> I've never been more drunk. They insisted on taking me to the pub and trying as many single malts as possible. Of course I paid them back in full when the team came here and I took them to all the microbreweries ;)
[18:06] <IT_Sean> HAHAHAHHAH!
[18:06] <BurtyB> last time I worked with scottish people I'd only ever see them at the staff bar or the pub after :)
[18:06] <IT_Sean> Never, ever, try to out drink a Scotsman. ...unless you are Irish.
[18:06] <IamTrying> `dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles quiet` into `dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet` - worked. However the very first splash still shown (where it says press shif
[18:06] <IamTrying> t)
[18:07] <r3> IT_Sean: I actually did out drink them while they were here: they weren't used to the altitude and a few pints in and they were done! ;)
[18:07] <IT_Sean> IamTrying: easy on the flood there, aye? Pastebin is a thing.
[18:07] <IamTrying> Sorry IT_Sean. Did not expected so long paste.
[18:07] <r3> BUT, I don't want to continue that stereotype, they were awesome people and I miss working with them.
[18:08] <red9> IT_Sean, what are the things one has to get used to with Germans? ;)
[18:08] <IT_Sean> S'alright.
[18:08] <IT_Sean> red9: read a rollback. I'm not typing it all again
[18:08] <IT_Sean> *scrollback
[18:08] <gordonDrogon> r3, Ah, did you see the Keplies and The Wheel ?
[18:08] <IT_Sean> Nothing bad. Just a different way of doing things, red9.
[18:08] * hazardcell (hazardcell@gateway/vpn/privateinternetaccess/hazardcell) has joined #raspberrypi
[18:08] <IamTrying> https://i.imgur.com/OdG9Ivd.png - This worked thank you guys.
[18:09] <gordonDrogon> although they were built after I left - been out of Scotland now for almost 30 years..
[18:09] <shauno> weirdest thing I found working with germans is they seem to be obsessed with proving germans can be funny. which is usually more awkward than anything else
[18:09] * Budgii (~Budgii@unaffiliated/budgii) Quit (Read error: Connection reset by peer)
[18:10] * Budgii (~Budgii@unaffiliated/budgii) has joined #raspberrypi
[18:10] <IT_Sean> shauno: heir sense of humor is different. Not better, not worse, just different. I've had quite a good laugh with a few of 'em here.
[18:10] <red9> Are there any Europeans that are hard to work with?
[18:10] <shauno> (I live amongst the Irish. the bar is set high in this regard)
[18:10] <r3> gordonDrogon: I didn't see the Keplies, I was there before 2000
[18:11] <gordonDrogon> r3, ah well.
[18:11] <r3> The wheel I've seen photos
[18:11] <gordonDrogon> r3, I've friends in Linlithgow, so have been to see them & them ...
[18:11] <IT_Sean> I'd quite like to see the Falkirk wheel in person.
[18:11] <shauno> red9, honestly, the only people I don't like working with are italians and indians. in both cases because they've redefined the meaning of "yes"
[18:12] <gordonDrogon> my brother is now more german than a german, having lived there for 20 years or so now.
[18:12] <shauno> italians usually mean "probably, eventually", and indians usually mean "I think you want me to say yes". that's the biggest cultural crunch that I just can't get used to
[18:12] <r3> I'm trying to recall where all we went, it seemed that we were more out in "rural" land outside of any major cities - I do recall one pub we went to was all the way out in the middle of nowhere and it was really the local watering hole and I was mobbed for being an American and laughed at for my accent among other reasons
[18:13] <gordonDrogon> r3, I'm sure none of it as serious though.
[18:13] <r3> oh no, it was all in good fun - I was for sure the outsider and I tried to remain respectful - even when rather blasted
[18:14] <gordonDrogon> r3, I grew up on the other side of the river from Falkirk - a place near Stirling.
[18:14] <shauno> the scots are a lot like the irish in that regard. most the time if they're laughing at you, they're laughing with you. you should be more worried if they don't.
[18:14] <r3> took me some time after returning to the states to stop calling things "brilliant" ;) I'll have to find some photos and maps from the time
[18:16] * cstk421 (~cstk421@108-245-48-145.lightspeed.livnmi.sbcglobal.net) has joined #raspberrypi
[18:17] <red9> r3, English watering hole?
[18:17] * GenteelBen (~GenteelBe@cpc111801-lutn14-2-0-cust55.9-3.cable.virginm.net) has joined #raspberrypi
[18:18] <r3> "absolutely brilliant", "aye", "a wee bit" stuck with me. gordonDrogon, we might have gone into Stirling, it has been a long time and I don't quite remember a lot
[18:18] <red9> Any experiences with Russians, Chinese, Japan, South Koreans?
[18:18] <IT_Sean> I've worked with a few Russians.
[18:18] <JimBuntu> Russians (in general, including Ukraine)
[18:18] <IT_Sean> Nice enough people. Can drink Ireland under the table. Hard workers, when they wanted to be.
[18:20] * Alzadoua is now known as A-cat
[18:22] * raynold (uid201163@gateway/web/irccloud.com/x-fszxjwzqthkzlcax) has joined #raspberrypi
[18:22] <gordonDrogon> I had to entertain a Japanese gentleman some 25 years back when he visited our company - he was the remote service engineer for the super computers we installed in tokyo. We took him to karaoke... He was utterly brilliant. normaly had a heavy accent, but not when singing.
[18:23] * mythos_ (~mythos@unaffiliated/mythos) has joined #raspberrypi
[18:23] * pavlushka (~pavlushka@ubuntu/member/pavlushka) has joined #raspberrypi
[18:24] * my123 (~my123@unaffiliated/kill--9-1/x-8776976) Quit (Ping timeout: 245 seconds)
[18:26] * chrisgammell (~chrisgamm@ has joined #raspberrypi
[18:26] * dr3w_ (~dr3w_@abercs/dr3w) Quit (Quit: https://media3.giphy.com/media/3oKIPsx2VAYAgEHC12/giphy.gif)
[18:27] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 265 seconds)
[18:28] * GraysonBriggs (~GraysonBr@206-51-126-226.up.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[18:29] * cstk421 (~cstk421@108-245-48-145.lightspeed.livnmi.sbcglobal.net) Quit (Remote host closed the connection)
[18:29] * cstk421 (~cstk421@108-245-48-145.lightspeed.livnmi.sbcglobal.net) has joined #raspberrypi
[18:30] * rhagu (~rhagu@ipbcc013d1.dynamic.kabel-deutschland.de) has joined #raspberrypi
[18:33] <rhagu> Hi everyone, I am using a raspberry pi 3 and a MCP4725 DAC to generate sine waves over the i2c connection. I can get an output using python and the adafruit libraries, but the signal gets worse the higher the frequency, I have measured the output: https://imgur.com/a/Xnpx1 Any ideas why it might get so "choppy"?
[18:33] <r3> I showed a group of Japanese businessmen around the operations at this old gig, only one spoke (broken) English and was the interpreter. They were very interested in how the 4 NOCs were staffed and it was tricky explaining the shift system we used as well as technical details through an interpreter. But they all very much matched the stereotypical "Salaryman" and I remember some of the
[18:33] <r3> cultural training I had before meeting them. Business cards were very very important and you would never write on one or just stuff it in your pocket.
[18:34] * my123 (~my123@unaffiliated/kill--9-1/x-8776976) has joined #raspberrypi
[18:35] <r3> rhagu: that looks to me like you are exceeding the bandwidth of the DAC?
[18:35] <rhagu> r3 that was my thought as well, maybe an i2c issue? But I am absoluteley new to this and have no idea
[18:35] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[18:37] <rhagu> this is my python code: https://pastebin.com/DLnvJxqW
[18:37] <red9> Too few bits? EMI issues with clocking?
[18:37] * PeRy_SoY (~PeRy_SoY@194.red-88-27-127.staticip.rima-tde.net) Quit (Quit: Leaving)
[18:38] <rhagu> I tried to increase the baudrate as well with this command in /boot/config.txt : "dtparam=i2c_arm=on,i2c_arm_baudrate=1000000"
[18:40] * r3 (~arethree@ntp/member/r3) Quit (Quit: switching Networks)
[18:40] <gordonDrogon> you'll probably find that 800Khz is about the top baud rate you can run on the Pi.
[18:41] <Bitweasil> I mean... yeah. It's not exactly high end hardware on the Pi.
[18:41] <gordonDrogon> the hardware can go faster but when I looked at the signals they were not good enough to call "I2C".
[18:41] <Bitweasil> "A post-modernist impression of I2C"?
[18:41] <Bitweasil> "I can't believe it's not I2C!"
[18:41] <gordonDrogon> more like sine waves than digital...
[18:42] <Bitweasil> "Well, I mean, you don't REALLY need to swing rail to rail..."
[18:42] * r3 (~arethree@ntp/member/r3) has joined #raspberrypi
[18:42] * r3 (~arethree@ntp/member/r3) Quit (Excess Flood)
[18:42] <Bitweasil> "Variations on 1.65V"
[18:42] <Bitweasil> I've put some of the FTDI clones on a scope at 3M baud, and... yeah, lol.
[18:43] <Bitweasil> A legit FTDI up there is rock solid.
[18:43] <gordonDrogon> rhagu, anyway - do the sums - how many updates can you do to get a 500Hz output signal - maybr assume 3 bytes per sample - get the calculator out
[18:43] * r3 (~arethree@ntp/member/r3) has joined #raspberrypi
[18:44] * ConkyAxis (~ConkyAxis@cpc82865-enfi22-2-0-cust482.20-2.cable.virginm.net) Quit (Ping timeout: 240 seconds)
[18:44] * mike_t (~mike_t@ Quit (Remote host closed the connection)
[18:44] * dr3w_ (~dr3w_@abercs/dr3w) has joined #raspberrypi
[18:46] * dreamon (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[18:47] <rhagu> gordonDrogon can you tell me where the 3 bytes per sample come from? is this i2c standard?
[18:48] <gordonDrogon> rhagu, I guessed - I'd need to read the data sheet of your device to be sure.
[18:49] <ali1234> it has to be a minimal of two bytes, one for address, one for the data
[18:49] <gordonDrogon> rhagu, yes, it's 3 bytes per sample. address, then 2 bytes of sample days.
[18:49] <ali1234> and it is highly likely you need to specify a register as well
[18:50] <gordonDrogon> it's a 12-bit device.
[18:50] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[18:50] <gordonDrogon> ali1234, no register - single function device.
[18:50] * tuxiano (~tuxiano@2a02:8070:898a:3500:a3e5:6de3:44b:c0c2) has joined #raspberrypi
[18:50] <gordonDrogon> you can stream to it, but that's harder and I suspect the driver you're using won't do that.
[18:50] <gordonDrogon> streaming would be 2 bytes per sample.
[18:51] <ali1234> does it have a buffer?
[18:51] <gordonDrogon> pg 18 of the datasheet.
[18:51] <Bitweasil> rhagu: let's rewind, perhaps. What are you trying to /do/? Beyond generate a sine wave?
[18:51] <rhagu> gordonDrogon I found the link and it says it has a High Speed Mode with 3.4Mbps: http://www.adafruit.com/datasheets/mcp4725.pdf
[18:51] * isutoshi (h6b9um3k1d@h-142-0.A336.priv.bahnhof.se) has joined #raspberrypi
[18:52] <rhagu> Bitweasel read temperature data over spi
[18:52] <gordonDrogon> rhagu, great, but if the Pi can't do 1Mb/sec it's not going to do 3.4Mb/sec.
[18:52] <Bitweasil> Streaming sine wave data over I2C to a DAC isn't... really how I'd generate a sine wave.
[18:52] <Bitweasil> ... huh? How does a sine wave factor into this, then?
[18:52] * Vonter (~Vonter@ Quit (Ping timeout: 256 seconds)
[18:52] <Bitweasil> Also, Python is not the fast way to do things. Kernel modules are.
[18:52] <ali1234> what frequency is your sine wave?
[18:53] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[18:53] <gordonDrogon> Bitweasil, you're just confising things. php is more than fast enough to saturate the Pi's I2C interface. no need for a kernel module. python is fine.
[18:53] <rhagu> Bitweasil: https://en.wikipedia.org/wiki/Synthetic_jet
[18:53] <ali1234> oh no not php
[18:53] <gordonDrogon> just using it as an example of a slow language.
[18:53] <ali1234> php is probably faster than python
[18:54] <ali1234> php is a great example of a language where every corner has been cut
[18:54] <gordonDrogon> I did some crude benchmarks of php, python and my basic. php was the slowest.
[18:54] <Bitweasil> How does C compare?
[18:54] <rhagu> gordonDrogon is there a way to find out what is limiting my setup? Whether it is Python, I2C, my script or the raspberry itself?
[18:54] <gordonDrogon> C was 30 times faste tham my basic.
[18:55] <ali1234> python is really easy to mess up the speed
[18:55] <gordonDrogon> rhagu, get your calculator out and do the sums. really. this is something you need to know how to do when doing this stuff.
[18:55] <ali1234> especially if you have tight loops
[18:55] <Bitweasil> rhagu: if you've got the scope, see if the I2C bus has long pauses between transmissions.
[18:56] * m0j0dj0dj0 (~punk3r@unaffiliated/m0j0dj0dj0) Quit (Quit: go drink with my bitches!)
[18:56] <gordonDrogon> Bitweasil, as I said, with the right code, a shell script can saturate the I2C bus.
[18:57] * |Syd| (~|Syd|@unaffiliated/syd/x-5474327) Quit (Quit: Leaving)
[18:58] * sdoherty (sdoherty@nat/redhat/x-edupjznisnmcjxdb) Quit (Ping timeout: 276 seconds)
[18:58] <Bitweasil> Doesn't mean the right code is being used...
[18:59] <rhagu> grodonDrogon even in Standard Mode with 100 kbps and 500Hz and 3 bytes per sample I would get 66 samples per period, which should look way better than the image I am getting (which looks more like approx.: 10)
[19:00] * hazardce_ (~hazardcel@host86-170-34-129.range86-170.btcentralplus.com) has joined #raspberrypi
[19:01] * lohfu (~lohfu@ Quit (Quit: WeeChat 1.9)
[19:01] * hazardc__ (hazardcell@gateway/vpn/privateinternetaccess/hazardcell) has joined #raspberrypi
[19:01] * hazardc__ (hazardcell@gateway/vpn/privateinternetaccess/hazardcell) Quit (Remote host closed the connection)
[19:02] * arti (~arti@do.arti.ee) Quit (Remote host closed the connection)
[19:02] * sigsts (~sigsts@unaffiliated/skyroverr) Quit (Ping timeout: 264 seconds)
[19:03] * hazardcell (hazardcell@gateway/vpn/privateinternetaccess/hazardcell) Quit (Ping timeout: 265 seconds)
[19:05] * LAX18 (uid266826@gateway/web/irccloud.com/x-vrdjennopmcwaxcw) Quit (Quit: Connection closed for inactivity)
[19:05] * Pinapl (~pinapl@2601:281:ca80:1290:ba27:ebff:fe2d:5d1c) Quit (Ping timeout: 265 seconds)
[19:05] * hazardce_ (~hazardcel@host86-170-34-129.range86-170.btcentralplus.com) Quit (Ping timeout: 264 seconds)
[19:06] * sigsts (~sigsts@unaffiliated/skyroverr) has joined #raspberrypi
[19:06] * Ilyas (uid43013@gateway/web/irccloud.com/x-lccxwxphxnktctul) Quit (Quit: Connection closed for inactivity)
[19:07] * mhoney (~mhoney@ Quit (Ping timeout: 255 seconds)
[19:07] * dconroy (~dconroy@c-73-110-186-21.hsd1.il.comcast.net) has joined #raspberrypi
[19:08] <rhagu> or is this kilobit?
[19:09] * mhoney (~mhoney@ has joined #raspberrypi
[19:09] <red9> btw, baud is bits modulated over a link. While bitrate is plain bits sent (without modulation).
[19:10] * Encrypt (~Encrypt@2a01cb0401d17200399e912251d2aff8.ipv6.abo.wanadoo.fr) has joined #raspberrypi
[19:10] <red9> spi or i2s D/A ought to have higher probabiliuty of success.
[19:11] * sigsts is now known as skyroveRR
[19:11] <rhagu> I think it is, because divided by 8 I get 8.3 samples, which is closer to the number of "steps" I see in my image at 500Hz. So it means my setup does not use the fast or high-speed mode, but the standard mode
[19:11] * orangeacme (~orangeacm@ has joined #raspberrypi
[19:12] <gordonDrogon> sorry - had to dash out to the shops before they closed - out of milk error which was raised as an exception to a tea requirement.
[19:12] <rhagu> the datasheet says the MCP2475 supports: "Standard (100 kbps), Fast (400 kbps), and High-Speed (3.4 Mbps) Modes", how can I "activate" them?
[19:12] <gordonDrogon> Right - calculators out - you should be able to push over 3000 samples/sec to that device over 100Kbps I2C.
[19:12] <gordonDrogon> I think.
[19:13] * Quatroking (~Quatrokin@507098BE.static.ziggozakelijk.nl) has joined #raspberrypi
[19:13] * sdoherty (sdoherty@nat/redhat/x-cxpqyptcgfhgjvgo) has joined #raspberrypi
[19:13] <Bitweasil> Which is only 6 samples per 500Hz wave.
[19:13] * orangeacme (~orangeacm@ Quit (Client Quit)
[19:13] <gordonDrogon> right - which is close to the 8 or so that we're seeing.
[19:14] <gordonDrogon> so we're close to theory.
[19:14] <gordonDrogon> what we need to know (what you need to know) is more about your system - is that a good enough sine wave - will you want a higher frequency, stuff like that.
[19:15] <gordonDrogon> and do note that you can increase the speed of the Pi's I2C bus, but really - you'll struggle to get it to work reliablly above 800Kb/sec.
[19:15] <gordonDrogon> however that's still an 8x speed increase.
[19:15] <Bitweasil> Toss a proper low pass filter on and you'll clean up the output a lot. :)
[19:16] <rhagu> 500Hz is the max I will ever want out of this setup, I used the "while True" line in python without a "time.sleep(x)" so I would get the fastest updates possible
[19:16] <rhagu> gordonDrogon 800KB/s would be great, but how can I get close to that? Does it matter which pins I used?
[19:17] <gordonDrogon> I don't program in python, so that's meaningless to me.
[19:17] * d4rklit3 (~textual@rrcs-64-183-104-146.west.biz.rr.com) has joined #raspberrypi
[19:17] <gordonDrogon> rhagu, I've no idea how to increase the speed - last time I did it, it was when I loaded the module, but it all works differently now - maybe your boot.txt line or the dt-overlay line
[19:18] <red9> gordonDrogon, what script language do u use?
[19:18] <gordonDrogon> you can only use the hardware I2C pins unless you use something else like pigpio
[19:18] <gordonDrogon> red9, BASIC.
[19:18] <rhagu> I use the hardware I2C pins
[19:18] <gordonDrogon> however I'm not sure what the max. speed of the pigpio I2C driver is
[19:19] <red9> rhagu, How to activate modes ought to be in the datasheet?
[19:19] <gordonDrogon> I think you just clock it faster - the issue is the time the bus takes to get back to 3.3v. the faster speeds have active pull-ups in the devices. I don't think the Pi supports it - it has the 1k8 on-board resistors.
[19:20] <gordonDrogon> certinaly up to 1.2Mb/sec you just clock them faster - I've used that on ATmegas but the Pi talking to the same hardware would not work over 800Kbps.
[19:20] <gordonDrogon> and when I put a s'cope on the data lines ... eww...
[19:21] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) has joined #raspberrypi
[19:22] * clemens3 (~clemens@80-218-38-71.dclient.hispeed.ch) has joined #raspberrypi
[19:22] * bmlzootown (~bmlzootow@unaffiliated/bmlzootown) Quit (Ping timeout: 240 seconds)
[19:23] * sidx64 (~sidx64@ Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[19:23] * ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499) Quit (Read error: Connection reset by peer)
[19:23] * milpool (jMpK2eBmV0@ankaa.uberspace.de) has joined #raspberrypi
[19:26] * skyroveRR is now known as sigsts
[19:28] <gordonDrogon> red9, it helps that I wrote my own basic though :)
[19:28] * orangeacme (~orangeacm@ has joined #raspberrypi
[19:28] * CountryNerd (~CountryNe@50-36-66-144.alma.mi.frontiernet.net) Quit (Quit: CountryNerd)
[19:33] <red9> Perhaps using termination of this kind could help? https://en.wikipedia.org/wiki/Electrical_termination#Forced_perfect_termination
[19:34] <gordonDrogon> I2C is a pull-low/open collector type of bus.
[19:35] <gordonDrogon> the main issue with higher speeds is that it doesn't get back up to Vcc in time, so the 3.2Mb/sec devices actively pull it high.
[19:36] <gordonDrogon> that (and spi) were really intended for same-board type devices - a sensor or some sort only a few cm away from the cpu, and so on.
[19:36] <gordonDrogon> I2C can go further, but speeds suffer.
[19:38] * Leonarbro (~Leonarbro@S01067824af93741c.cg.shawcable.net) has joined #raspberrypi
[19:40] * Chinesium (~ER_nesto@unaffiliated/funk) Quit (Quit: I probably fell asleep again)
[19:41] * codestorm (~codestorm@2605:e000:9196:e300:687c:6a5a:dd0d:face) has joined #raspberrypi
[19:44] * LAX18 (uid266826@gateway/web/irccloud.com/x-otgranstfoxfrguj) has joined #raspberrypi
[19:46] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[19:46] * codestorm (~codestorm@2605:e000:9196:e300:687c:6a5a:dd0d:face) Quit (Ping timeout: 276 seconds)
[19:46] * Tholia2 (~tholia@2601:600:8880:2770:f9ff:6adc:7e42:7f0c) has joined #raspberrypi
[19:47] * tuxiano (~tuxiano@2a02:8070:898a:3500:a3e5:6de3:44b:c0c2) Quit (Remote host closed the connection)
[19:48] * Tholia (~tholia@2601:600:8880:2770:f9ff:6adc:7e42:7f0c) Quit (Ping timeout: 276 seconds)
[19:50] * k1l0b1t (~HOST@ Quit (Quit: Lost terminal)
[19:51] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 263 seconds)
[19:53] * s8548a (~s8548a@unaffiliated/s8548a) Quit (Ping timeout: 246 seconds)
[19:55] * IamTrying (~iamtrying@18.224-136-217.adsl-static.isp.belgacom.be) Quit ()
[19:57] * Gathis (~TheBlack@unaffiliated/gathis) has joined #raspberrypi
[19:58] * ConkyAxis (~ConkyAxis@cpc82865-enfi22-2-0-cust482.20-2.cable.virginm.net) has joined #raspberrypi
[20:04] * v01d4lph4 (~silent_fr@ has joined #raspberrypi
[20:06] * Smeef (~deathonat@unaffiliated/smeef) Quit (Quit: (╯°□°)╯︵ ┻━━┻)
[20:10] * tdy (~tdy@unaffiliated/tdy) Quit (Ping timeout: 256 seconds)
[20:13] * codestorm (~codestorm@2605:e000:9196:e300:687c:6a5a:dd0d:face) has joined #raspberrypi
[20:15] * GerhardSchr (~GerhardSc@unaffiliated/gerhardschr) has joined #raspberrypi
[20:16] * tdy (~tdy@unaffiliated/tdy) has joined #raspberrypi
[20:17] * codestorm (~codestorm@2605:e000:9196:e300:687c:6a5a:dd0d:face) Quit (Ping timeout: 245 seconds)
[20:18] * sdoherty (sdoherty@nat/redhat/x-cxpqyptcgfhgjvgo) Quit (Remote host closed the connection)
[20:20] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Quit: djk)
[20:20] * sdoherty (sdoherty@nat/redhat/x-kntvzhproaygudbs) has joined #raspberrypi
[20:21] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[20:21] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:21] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:22] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:22] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:23] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:23] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:24] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:24] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:25] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:25] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:25] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:25] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:25] * sdoherty (sdoherty@nat/redhat/x-kntvzhproaygudbs) Quit (Ping timeout: 256 seconds)
[20:26] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:26] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:27] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:27] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:28] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:28] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:28] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:29] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:29] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:29] * Singmyr (~singmyr@ has joined #raspberrypi
[20:29] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Client Quit)
[20:30] * d0rm0us3 is now known as FedsRUs
[20:30] * FedsRUs is now known as d0rm0us3
[20:31] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 255 seconds)
[20:32] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[20:35] * DrJ (DrJ@gateway/vpn/privateinternetaccess/drj) Quit (Ping timeout: 256 seconds)
[20:35] * Tholia (~tholia@2601:600:8880:2770:f9ff:6adc:7e42:7f0c) has joined #raspberrypi
[20:36] * Tholia2 (~tholia@2601:600:8880:2770:f9ff:6adc:7e42:7f0c) Quit (Ping timeout: 276 seconds)
[20:38] * v01d4lph4 (~silent_fr@ Quit (Read error: Connection reset by peer)
[20:40] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[20:40] * cstk421 (~cstk421@108-245-48-145.lightspeed.livnmi.sbcglobal.net) Quit ()
[20:40] * Speed2u (~speed2u@unaffiliated/speed2u) Quit (Remote host closed the connection)
[20:44] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[20:45] * BeamWatcher (~gashead76@ has joined #raspberrypi
[20:46] * sdoherty (sdoherty@nat/redhat/x-xwypyqoadjjzqrct) has joined #raspberrypi
[20:48] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) Quit (Quit: djk)
[20:49] * sandeepkr (~sandeepkr@ec2-52-29-251-54.eu-central-1.compute.amazonaws.com) has joined #raspberrypi
[20:51] <Ben64> anyone have a recommendation on solid state relays i can trigger from gpio
[20:52] * nsk_nyc (~nsk_nyc@network179-254-host-74.inethn.net) has joined #raspberrypi
[20:54] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) has joined #raspberrypi
[20:57] * sdoherty (sdoherty@nat/redhat/x-xwypyqoadjjzqrct) Quit (Read error: Connection reset by peer)
[20:57] * rhagu (~rhagu@ipbcc013d1.dynamic.kabel-deutschland.de) Quit (Quit: Leaving)
[20:59] * Leonarbro (~Leonarbro@S01067824af93741c.cg.shawcable.net) Quit (Quit: Leaving)
[21:01] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Ping timeout: 240 seconds)
[21:02] * Speed2u (~speed2u@unaffiliated/speed2u) has joined #raspberrypi
[21:04] * Smeef (~deathonat@unaffiliated/smeef) has joined #raspberrypi
[21:04] * djk (~Thunderbi@pool-96-242-161-125.nwrknj.fios.verizon.net) has joined #raspberrypi
[21:07] * codestorm (~codestorm@2605:e000:9196:e300:e08e:5e64:51b3:186b) has joined #raspberrypi
[21:07] * hid3 (~arnoldas@ has joined #raspberrypi
[21:07] * TheHacke166 (~TheHacker@93-43-227-221.ip94.fastwebnet.it) has joined #raspberrypi
[21:08] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) Quit (Read error: Connection reset by peer)
[21:09] * AM (~Shimako@ Quit (Ping timeout: 256 seconds)
[21:09] * AbouEmre1 (~Thunderbi@ has joined #raspberrypi
[21:10] * cstk421 (~cstk421@172-8-199-203.lightspeed.livnmi.sbcglobal.net) has joined #raspberrypi
[21:10] * AM (~Shimako@88-114-95-3.elisa-laajakaista.fi) has joined #raspberrypi
[21:11] * AbouEmre1 is now known as AbouEmre
[21:11] * codestorm (~codestorm@2605:e000:9196:e300:e08e:5e64:51b3:186b) Quit (Ping timeout: 245 seconds)
[21:13] * nshire (~nealshire@unaffiliated/nealshire) has joined #raspberrypi
[21:14] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) Quit (Ping timeout: 260 seconds)
[21:14] * sdoherty (sdoherty@nat/redhat/x-yixuxwwzxbbtqngd) has joined #raspberrypi
[21:18] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) has joined #raspberrypi
[21:19] * ConkyAxis (~ConkyAxis@cpc82865-enfi22-2-0-cust482.20-2.cable.virginm.net) Quit (Ping timeout: 276 seconds)
[21:19] * hid3 (~arnoldas@ Quit (Read error: Connection reset by peer)
[21:22] * ali1234 (~ali1234@2a01:4f8:162:4348::2) Quit (Ping timeout: 256 seconds)
[21:24] * shantorn (shantorn@gateway/vpn/privateinternetaccess/shantorn) has joined #raspberrypi
[21:24] * lord4163 (~lord4163@90-230-158-145-no86.tbcn.telia.com) Quit (Ping timeout: 264 seconds)
[21:24] * JasonCL (~JasonCL@ Quit (Remote host closed the connection)
[21:25] * uksio (~uksio@p5B12F553.dip0.t-ipconnect.de) has joined #raspberrypi
[21:26] * uks (~uksio@p200300CB1BC39C64400BAA3E438F8C31.dip0.t-ipconnect.de) Quit (Ping timeout: 245 seconds)
[21:28] * Gathis (~TheBlack@unaffiliated/gathis) Quit (Remote host closed the connection)
[21:29] * dr3w_ (~dr3w_@abercs/dr3w) Quit (Quit: https://media3.giphy.com/media/3oKIPsx2VAYAgEHC12/giphy.gif)
[21:29] * bmlzootown (~bmlzootow@unaffiliated/bmlzootown) has joined #raspberrypi
[21:30] <shbrngdo> Ben64 - there are a lot of such modules available through distributors like Digikey. maybe sparkfun has a breakout. just make sure that 3.3v logic can trigger it, less than 10ma current on the pin.
[21:30] * JasonCL (~JasonCL@ has joined #raspberrypi
[21:31] <Ben64> yeah was just wondering if someone already did the work and could point me to ones that are known to work well
[21:31] <shbrngdo> the simplest type of solid state relay might be a power MOSFET (NMOS) with the source on ground, gate on GPIO, and drain attached to the ground side of the load.
[21:32] <shbrngdo> lots of examples of those in people's project pages I'd bet
[21:32] <Ben64> i'll need to switch everything from 5v to possibly 3 phase 15a
[21:32] <Ben64> of course, probably not the same relay for them all
[21:32] <stiltr> Ya, I usally use a FET if it's a DC load. Obviously AC is different.
[21:33] <shbrngdo> well in that case it might involve opto-isolators and IGBT's [in modules]
[21:33] <shbrngdo> an easy way to switch AC is to 'short out' a bridge rectifier with your switch, using an opto-isolator to control it
[21:33] <Ben64> i got a few of these... https://www.sparkfun.com/products/13015
[21:33] <Ben64> but i'm not sure they're gonna work on 3.3v
[21:34] <shbrngdo> check the logic 'on' voltage level if it's ok for 3.3v
[21:34] * dr3w_ (~dr3w_@abercs/dr3w) has joined #raspberrypi
[21:34] <stiltr> It says 3-32VDC for the input.
[21:34] <Ben64> right, but i'm not sure it's going to work
[21:34] <Ben64> i'll find out today
[21:34] <stiltr> Why wouldn't it?
[21:35] <Ben64> it's at the lower end of the range
[21:35] <IT_Sean> Yes, but it's within the range
[21:35] <Ben64> and when i hooked a multimeter to the ac side, didn't get continuity
[21:35] <shbrngdo> well 'input' probably means the power supply for the load, and not the logic level
[21:35] * ali1234 (~ali1234@2a01:4f8:162:4348::2) has joined #raspberrypi
[21:35] * JasonCL (~JasonCL@ Quit (Ping timeout: 260 seconds)
[21:35] <shbrngdo> you'll need to check the spec sheet for it. I didn't see a link for it but I have scripting turned off.
[21:36] <shbrngdo> the spec sheet should indicate what the logic voltage levels are for 'on' and 'off'
[21:36] <stiltr> The load is 24-380VAC. (per the label)
[21:36] <shbrngdo> oh ok. so the control voltage is 3-32V ?
[21:36] <stiltr> Ya
[21:36] <stiltr> https://cdn.sparkfun.com/datasheets/Components/General/SSR40DA.pdf
[21:37] <shbrngdo> Ah I get it. didn't look really close
[21:37] <stiltr> No worries
[21:37] <stiltr> Looks like the min ON voltage is 2.4.
[21:37] <Ben64> just trying to not put all my eggs in one basket
[21:38] <Ben64> would have expected the multimeter to beep when i turned on the gpio pin
[21:38] <shbrngdo> should be fine then (2.4v). current under 10ma?
[21:38] <stiltr> 7.5mA
[21:38] <shbrngdo> GPIO out on RPi should be ok then
[21:38] <shbrngdo> I bet it's an optoisolator with a current limiter
[21:39] <Ben64> likely
[21:39] <stiltr> Ya, it looks like it.
[21:39] <shbrngdo> perfect. should do what you want, then.
[21:39] <shbrngdo> maybe I should bookmark that...
[21:39] <Ben64> i'll hook up AC to it today and see if it works
[21:40] <GenteelBen> Ben64, my fellow Ben.
[21:40] <Ben64> yo
[21:40] <GenteelBen> I'm lookin for a 3B+ kit but they're just standalones right now.
[21:41] <Ben64> oh yeah, i need to get a 3b+
[21:41] * BCMM (~BCMM@unaffiliated/bcmm) Quit (Remote host closed the connection)
[21:41] <Ben64> whoa the chip is shiny now
[21:42] * Leonarbro (~Leonarbro@S01067824af93741c.cg.shawcable.net) has joined #raspberrypi
[21:42] <IT_Sean> (O_o)
[21:43] <Ben64> https://www.raspberrypi.org/app/uploads/2017/05/Raspberry-Pi-3-hero-1-1571x1080.jpg
[21:43] <Ben64> https://www.raspberrypi.org/app/uploads/2018/03/770A5614-1617x1080.jpg
[21:43] <Ben64> not shiny vs shiny
[21:45] <shbrngdo> interesting. so the B+ has a larger board area around the CPU, in addition to the heat sink on top.
[21:45] <shbrngdo> that'll help with thermals
[21:46] * Lorduncan (~Thunderbi@ Quit (Read error: Connection reset by peer)
[21:49] <Ben64> i'm wondering what's under the raspberry
[21:49] * Lorduncan (~Thunderbi@ has joined #raspberrypi
[21:50] * int3nz0r (~int3nz0r@85-147-118-199.cable.dynamic.v4.ziggo.nl) has joined #raspberrypi
[21:51] <shbrngdo> SD card I think (on top now?)
[21:52] * Chinesium (~ER_nesto@unaffiliated/funk) has joined #raspberrypi
[21:52] <shbrngdo> I bet it's easier to access when underneath
[21:52] * jancoow (~jancoow@dhcp-077-251-034-091.chello.nl) Quit (Quit: jancoow)
[21:52] <shbrngdo> that's especially true if you're stacking stuff on top with the connector
[21:53] <shbrngdo> "fix one bug, grow two more"
[21:53] <Ben64> i don't think thats sd
[21:53] <shbrngdo> it kinda looks like a metal can customized with a logo though
[21:53] <shbrngdo> well I guess I'll just have to buy one to find out
[21:54] <Ben64> maybe to protect something from interference
[21:54] * sidx64 (~sidx64@ has joined #raspberrypi
[21:54] <stiltr> Ya, SD is still on the bottom.
[21:54] <Ben64> crazy how far the pi has come
[21:54] <stiltr> For sure.
[21:54] <Ben64> i have the original here still
[21:54] <shbrngdo> oh an RFI shield. good point.
[21:55] <Ben64> rca jack, 700mhz one core
[21:55] <shbrngdo> wait - RPi 3 has built-in bluetooth and wifi. maybe that?
[21:55] <Ben64> 256 rams
[21:55] <stiltr> I waited like 9mo for my Pi1, haha.
[21:55] <Ben64> but the pi3 has wifi and bt, but no shield
[21:55] <shbrngdo> I still use mine. only 1, though
[21:55] <Ben64> pi zero too
[21:56] <shbrngdo> normally a bluetooth or wifi will have a metal shield over the RF components
[21:57] <stiltr> The shield isn't required, per se. I think they went with a different certification for the 3+ and so they used a shield. (If I recall)
[22:01] * codestorm (~codestorm@2605:e000:9196:e300:2809:6af6:2568:d114) has joined #raspberrypi
[22:01] * X230t (~ER_nesto@unaffiliated/funk) has joined #raspberrypi
[22:04] * Voop (~bob@c-73-178-90-123.hsd1.nj.comcast.net) has joined #raspberrypi
[22:05] * sdoherty (sdoherty@nat/redhat/x-yixuxwwzxbbtqngd) Quit (Quit: Leaving)
[22:05] * Chinesium (~ER_nesto@unaffiliated/funk) Quit (Ping timeout: 256 seconds)
[22:05] <Bitweasil> The 3B+ has the wifi stuff under an RF shield, yes.
[22:06] * codestorm (~codestorm@2605:e000:9196:e300:2809:6af6:2568:d114) Quit (Ping timeout: 265 seconds)
[22:07] * mrAZ (~studio@ip-89-176-149-11.net.upcbroadband.cz) has joined #raspberrypi
[22:07] <B0g4r7_> It has 4 different wireless modes, doesn't it? wifi 2.4, wifi 5g, bluetooth, and ble?
[22:07] <Voop> what is ble
[22:08] <B0g4r7_> Bluetooth Low Energy
[22:08] <IT_Sean> Voop: Bluetooth low energy
[22:08] <Bitweasil> Sounds correct. BLE = bluetooth low energy, not sure if that's really a separate mode from normal bluetooth.
[22:08] <Voop> i havent read anything that said it has that
[22:08] * vikaton (uid59278@gateway/web/irccloud.com/x-jartihstkmvbosgg) Quit (Quit: Connection closed for inactivity)
[22:08] <Voop> bluetooth jeb bush
[22:09] <IT_Sean> No, the new Pi does not feature Bluetooth Jeb Bush
[22:09] <Bitweasil> Pi3 has BLE. https://elinux.org/RPi_Bluetooth_LE
[22:09] * Lorduncan (~Thunderbi@ Quit (Read error: Connection reset by peer)
[22:10] <B0g4r7_> "Bluetooth Low Energy is not backward-compatible with the previous (often called "Classic") Bluetooth protocol. The Bluetooth 4.0 specification permits devices to implement either or both of the LE and Classic systems."
[22:10] <Bitweasil> Ok, that's fair to count as a separate mode, then.
[22:11] <Voop> so the regular B has it too?
[22:11] * Lorduncan (~Thunderbi@ has joined #raspberrypi
[22:12] <Bitweasil> Seems so, yes.
[22:12] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) Quit (Ping timeout: 240 seconds)
[22:12] <Voop> wouldnt that mean the pi0w also has it
[22:12] <Voop> since they have the same wireless chipset
[22:13] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[22:13] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[22:13] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[22:13] * Psybur (~Psybur@unaffiliated/psybur) Quit (Ping timeout: 265 seconds)
[22:14] <Bitweasil> Seems plausible.
[22:14] <gordonDrogon> Ben64, I've used SSRs on a Pi in the past.
[22:14] <gordonDrogon> Ben64, let me lookup the type... hang on.
[22:16] * Haxxa (~Harrison@180-150-30-18.NBN.mel.aussiebb.net) has joined #raspberrypi
[22:17] <gordonDrogon> Ben64, These are fairly generic - same type as I'm using https://www.amazon.co.uk/GEREE-24V-380V-SSR-40-Solid-Module/dp/B01LKQXI9W/ref=sr_1_1?ie=UTF8&qid=1523391386&sr=8-1&keywords=solid+state+relay
[22:18] * Druid (~pi@unaffiliated/druid) Quit (Quit: leaving)
[22:18] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Ping timeout: 245 seconds)
[22:18] * Druid__ (~pi@unaffiliated/druid) has joined #raspberrypi
[22:18] <gordonDrogon> although beware fakes apparently...
[22:18] * pavlushka (~pavlushka@ubuntu/member/pavlushka) Quit (Remote host closed the connection)
[22:19] * GerhardSchr (~GerhardSc@unaffiliated/gerhardschr) Quit (Quit: Leaving)
[22:19] * Druid__ is now known as Druid
[22:19] * purplex88 (~purplex88@unaffiliated/purplex88) Quit (Quit: Going offline, see ya! (www.adiirc.com))
[22:20] <larsks> If you're not switching that much current, there are smaller (e.g., 8A) ssrs available such as http://a.co/3JfFWQ1.
[22:20] <larsks> If you are switching that much current, look out for the amount of heat those things generate.
[22:20] * busybox42 (~alan@li1831-39.members.linode.com) Quit (Quit: WeeChat 1.5)
[22:21] * busybox42 (~alan@li1831-39.members.linode.com) has joined #raspberrypi
[22:21] <larsks> They are often paired with a ginormous heat sink like http://a.co/5oOneuu
[22:22] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[22:23] * LAX18 (uid266826@gateway/web/irccloud.com/x-otgranstfoxfrguj) Quit ()
[22:24] * Tenkawa (~Tenkawa@unaffiliated/tenkawa) has joined #raspberrypi
[22:25] * topicali (~opticy@unaffiliated/opticy) has joined #raspberrypi
[22:25] <Voop> this is the type i use https://cdn.sparkfun.com//assets/parts/9/9/8/2/13015-01.jpg
[22:25] * Keanu73 (~Keanu73@2ProIntl/User/Geek/Keanu73) Quit (Read error: Connection reset by peer)
[22:26] <topicali> where can i define network interface names so they're more 'friendly' like eth0 instead of enxb827e.....
[22:26] <Tenkawa> topicali: /boot/cmdline.txt
[22:27] <Voop> is the wiringpi guy here
[22:27] <Voop> or is that the user "ball"
[22:27] * sidx64_ (~sidx64@ has joined #raspberrypi
[22:27] * niston (~gridrun@80-219-49-141.dclient.hispeed.ch) Quit (Remote host closed the connection)
[22:27] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[22:27] * niston (~gridrun@80-219-49-141.dclient.hispeed.ch) has joined #raspberrypi
[22:29] <Tenkawa> topicali: linux predictable interface names is the new mechanism I believe
[22:29] <topicali> i assume rpi/raspian assigns network int name based on mac address..is there a simple flag in /boot/cmdline.txt ?
[22:29] * cstk421_ (~cstk421@c-68-41-25-112.hsd1.mi.comcast.net) has joined #raspberrypi
[22:29] <Tenkawa> thas the topic you should reference
[22:29] * Geekologist (~me@unaffiliated/geekologist) Quit (Remote host closed the connection)
[22:29] * sidx64 (~sidx64@ Quit (Ping timeout: 265 seconds)
[22:29] * rwb (~Thunderbi@ Quit (Ping timeout: 256 seconds)
[22:30] * BOKALDO (~BOKALDO@ Quit (Quit: Leaving)
[22:30] <topicali> Tenkawa: is this it? : net.ifnames
[22:30] <Tenkawa> yes
[22:30] <Tenkawa> thats the one I use
[22:30] <topicali> should that be 1 or 0 for predictable names?
[22:30] <Tenkawa> yep
[22:30] * cstk421__ (~cstk421@172-8-199-203.lightspeed.livnmi.sbcglobal.net) has joined #raspberrypi
[22:31] * cstk421 (~cstk421@172-8-199-203.lightspeed.livnmi.sbcglobal.net) Quit (Read error: Connection reset by peer)
[22:31] * TheFatherMind- is now known as TheFatherMind
[22:32] <topicali> net.ifnames=0 did it..ty Tenkawa
[22:32] <Tenkawa> no problem
[22:33] <Voop> so does putting 5v to the data microusb on the zero break things?
[22:33] <Voop> dont see why it should but now my wifi card isnt working
[22:34] * int3nz0r (~int3nz0r@85-147-118-199.cable.dynamic.v4.ziggo.nl) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[22:34] <Voop> i regret asking my spouse to plug it in
[22:34] * cstk421_ (~cstk421@c-68-41-25-112.hsd1.mi.comcast.net) Quit (Ping timeout: 256 seconds)
[22:35] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[22:35] <Bitweasil> Huh? Should be fine... what do you think she did?
[22:35] <Tenkawa> 5v shouldnt hurt it
[22:35] <Voop> she plugged the power cable into the data port
[22:35] <Voop> but i think they share power rails
[22:36] <Bitweasil> I can't see how that would hurt anything.
[22:36] <Tenkawa> wifi is 5v too
[22:36] <Bitweasil> I'd imagine they're tolerant of 5V on the data lines as well, since I'm pretty sure some USB hosts swing to 5V/0V.
[22:37] <Tenkawa> Voop: does the os see the card?
[22:37] <Tenkawa> i have a few tests for you to run
[22:37] <Tenkawa> if it does
[22:37] * H4 (~H4@ has joined #raspberrypi
[22:37] <Tenkawa> (assuming you can access the os)
[22:38] <Voop> its headless so i cant know unless the wifi works
[22:38] <gordonDrogon> Voop, hello... wiringPi?
[22:38] <Voop> hey its the wiringpi guy
[22:38] <Tenkawa> thats why I keep a wired nic handy
[22:38] <gordonDrogon> indeed.
[22:38] <Voop> my first question for you is, why is there wiringpi2, but it seems to not exist anymore
[22:39] <gordonDrogon> no idea. it's a fork of wiringPi.
[22:39] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[22:39] <Voop> so not your creation
[22:39] <gordonDrogon> well ...
[22:39] <gordonDrogon> it's Python wrappers for wiringPi version 2
[22:39] <Voop> ah
[22:39] <gordonDrogon> and the person who did it decided to call it wiringPi2.
[22:40] <gordonDrogon> I don't do python, just C and BASIC.
[22:40] <gordonDrogon> wiringPi is all C.
[22:40] <Voop> my next question was about python
[22:40] <Voop> kinda
[22:40] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[22:40] <gordonDrogon> other languages are available...
[22:40] <Voop> i stole a script off the internet
[22:41] <gordonDrogon> many people do...
[22:41] <Voop> the script seems to require two pins to function
[22:41] * nicedreams (~nicedream@ Quit (Quit: ZNC 1.6.5+deb1 - http://znc.in)
[22:41] <Voop> to trigger a script wouldnt i only need to bring one pin high?
[22:41] <Voop> https://pastebin.com/C2TRQJTq
[22:41] * H4 (~H4@ Quit (Client Quit)
[22:42] <Voop> snippet from the script about the two pins
[22:42] <gordonDrogon> no idea. it depends on the hardware and what the person who wrote the script intends.
[22:42] <gordonDrogon> that script is only waiting on one input pin.
[22:42] <gordonDrogon> however it sets an output - why - who knows.
[22:43] <gordonDrogon> what do you want to do?
[22:43] <Voop> the script was for wiring a door bell to a pi and making the button press send an email
[22:43] * hablo (~hablo@2a03:b000:a00::169) has joined #raspberrypi
[22:43] <Voop> im doing something similar
[22:44] <Voop> i was under the impression i just had to send 3.3v to a specified pin to bring it 'high'
[22:44] <gordonDrogon> it depends.
[22:44] <B0g4r7_> The script is setting up an input and an output for some reason.
[22:44] <gordonDrogon> the Pi has internal pull-up (and down) resistors.
[22:45] * nicedreams (~nicedream@ has joined #raspberrypi
[22:45] <gordonDrogon> so if you set the pull-up, then connect the input pin to 0v then it will read 0 when connected and 1 when not connected.
[22:45] * X230t (~ER_nesto@unaffiliated/funk) Quit (Ping timeout: 256 seconds)
[22:45] <B0g4r7_> GPIO 18 is sometimes called the "PWM output". It is usually used to generate signals that require precise timing using DMA.
[22:45] <gordonDrogon> without seeing more of the original article it's impossible to say what they wanted.
[22:46] <gordonDrogon> B0g4r7_, true, but you're confusing the issue here - it's not being used in pwm mode.
[22:46] * nicedreams (~nicedream@ Quit (Client Quit)
[22:47] <gordonDrogon> Voop, so what is it that you're trying to do?
[22:48] * dconroy (~dconroy@c-73-110-186-21.hsd1.il.comcast.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[22:48] <Voop> 24v signal coming out of a PLC which triggers a relay
[22:48] <Voop> then sends 3.3v or whatever voltage to a pin on the pi
[22:48] <Voop> which sends an email to a specified address
[22:48] <gordonDrogon> ok.
[22:48] <gordonDrogon> that can be done in a few likes of shell script.
[22:48] <gordonDrogon> *few lines.
[22:49] <gordonDrogon> you pick a pin, set the internal pull-up, wire the pin to one contact of the relay, wire the other side to the Pi's 0v side then wait for the pin to go low.
[22:49] * nicedreams (~nicedream@ has joined #raspberrypi
[22:50] <gordonDrogon> (or go high if the relay is change-over and you used the NC contacts, but I hope you can work that one out)
[22:50] <Voop> so i should trigger it with 0v rather than 3.3
[22:50] <gordonDrogon> it's up to you.
[22:50] <gordonDrogon> personally, I'd pull the line to 0v when the relay closes, but that's just my preferance.
[22:51] * MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl) Quit (Quit: Leaving)
[22:51] <gordonDrogon> do you have 2 terminals open on your Pi?
[22:51] <Voop> im ssh'd in. i could open two ssh sessions i guess
[22:51] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Remote host closed the connection)
[22:52] <gordonDrogon> if you can, then I can give you a demo.
[22:52] <gordonDrogon> I'm assuming there is nothing connected to the Pi right now?
[22:52] <gordonDrogon> in one window type: gpio -g mode 22 up
[22:53] <gordonDrogon> then gpio -g read 22
[22:53] <Voop> a usb hub and a wifi card is plugged into that usb hub
[22:53] <gordonDrogon> it should read '1'.
[22:53] <gordonDrogon> that's ok - I meant no gpio devices.
[22:53] <B0g4r7_> Your relay will connect to two pins on the Pi GPIO. Don't use an external 3.3v power source.
[22:53] <Voop> command not found
[22:54] <Voop> yes i did install wiringpi
[22:54] * Leonarbro (~Leonarbro@S01067824af93741c.cg.shawcable.net) Quit (Quit: Leaving)
[22:54] <gordonDrogon> is this raspian-lite ?
[22:54] <Voop> yes
[22:54] <gordonDrogon> ok - you installed python. run this: sudo apt-get install wiringpi
[22:54] <gordonDrogon> that will install the real wiringpi.
[22:55] <B0g4r7_> (one would think the dependencies would have been sorted automatically)
[22:55] * codestorm (~codestorm@2605:e000:9196:e300:19f7:d967:eec8:7e16) has joined #raspberrypi
[22:55] <gordonDrogon> B0g4r7_, you reallty, really don't want to know just how stupid some people have been......
[22:56] * sidx64 (~sidx64@ has joined #raspberrypi
[22:56] <gordonDrogon> yes, it would have been nice if the people writing wrappers for wiringPi for their favourite language used the dynamically linked library, but ... )-:
[22:56] <Voop> ok i am getting a 1
[22:57] <gordonDrogon> right. now type: gpio -g wfi 22 falling
[22:57] <gordonDrogon> that command should not return to the prompt...
[22:57] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[22:57] <Voop> it hasnt
[22:57] <gordonDrogon> ok.
[22:57] <gordonDrogon> now, in the 2nd window:
[22:57] <gordonDrogon> gpio -g mode 22 down
[22:58] <gordonDrogon> that turns the internal pull-up to a pull-down - simulating an external signal pulling the gpio pin to 0v.
[22:58] <gordonDrogon> the first window gpio command should have returned.
[22:58] <Voop> it has
[22:58] * cstk421__ (~cstk421@172-8-199-203.lightspeed.livnmi.sbcglobal.net) Quit ()
[22:58] <gordonDrogon> great. that should give you enough to build something with.
[22:58] * sidx64_ (~sidx64@ Quit (Ping timeout: 276 seconds)
[22:59] <gordonDrogon> you can wait in a simple shell script - the gpio wfi command (wait for interrupt) then use an email command in the script to send an email.
[22:59] <Voop> so gpio -g wfi falling, then its waiting for 0v
[22:59] <Voop> when 0v hits it its triggered
[22:59] <gordonDrogon> yes, wait for interrupt - on the falling edge
[23:00] <Voop> dumb question but does this mean it needs a constant 3.3v signal being sent to the pin
[23:00] * codestorm (~codestorm@2605:e000:9196:e300:19f7:d967:eec8:7e16) Quit (Ping timeout: 255 seconds)
[23:00] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[23:00] <gordonDrogon> yes it does- but it normally gets that from the internal pull-up resistor: gpio -g mode 22 up
[23:00] * hablo_ (~hablo@cpc91334-watf11-2-0-cust217.15-2.cable.virginm.net) has joined #raspberrypi
[23:01] <gordonDrogon> the mode up command sets the internal pull-up. We used mode down in the 2nd window to simulate pulling the pin low/0v.
[23:01] <gordonDrogon> normally you'd not use the mode down command in this scenario - we just used it to test.
[23:01] <Voop> yes but there is 0v on the pin right now
[23:01] <gordonDrogon> yes there is - because mode down set the internal pull-down.
[23:02] * Lorduncan (~Thunderbi@ Quit (Read error: Connection reset by peer)
[23:02] <Voop> im somewhat understanding
[23:02] * hablo (~hablo@2a03:b000:a00::169) Quit (Ping timeout: 256 seconds)
[23:02] <gordonDrogon> good.
[23:03] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Read error: Connection reset by peer)
[23:04] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[23:05] * Lorduncan (~Thunderbi@static-138-86-61-95.ipcom.comunitel.net) has joined #raspberrypi
[23:05] * TheSin (~TheSin@gateway.bluefalls.ca) Quit (Quit: Client exiting)
[23:06] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 265 seconds)
[23:06] * clickboom (~boomclick@ Quit (Quit: Leaving)
[23:08] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Ping timeout: 264 seconds)
[23:09] * DJDan (~DJDan@115-64-177-188.static.tpgi.com.au) Quit (Ping timeout: 260 seconds)
[23:10] * rwb (~Thunderbi@65-183-131-95-dhcp.burlingtontelecom.net) has joined #raspberrypi
[23:11] * sidx64 (~sidx64@ Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[23:12] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) has joined #raspberrypi
[23:12] * tunekey (~tunekey@unaffiliated/tunekey) has joined #raspberrypi
[23:17] * Silversword (silverswor@gateway/vpn/privateinternetaccess/silversword) Quit (Remote host closed the connection)
[23:20] * r0b- (~rob@unaffiliated/r0b-) has joined #raspberrypi
[23:20] <r0b-> has anyone does an rpi car computer?
[23:21] <Tenkawa> you'll need to be more specific
[23:22] <r0b-> Like an android powered headunit type thing.. for navigation and such.
[23:22] <r0b-> but using a Raspberry Pi
[23:22] <Voop> have you ever been so far as decided to want do look more like
[23:22] <Voop> what your question reminded me of
[23:22] * jdawgaz (~Jerry@ip70-176-27-239.ph.ph.cox.net) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[23:23] <Voop> many people have done those
[23:23] * LAX18 (uid266826@gateway/web/irccloud.com/x-slfxfqfazjlggcch) has joined #raspberrypi
[23:24] <Voop> https://www.youtube.com/watch?v=FoWQycTXXOs
[23:25] <r0b-> Im basically wondering if the Raspberry Pi audio has gotten better of if you still need a USB sound card.
[23:26] <Bitweasil> It's still crap.
[23:26] * LAX18 (uid266826@gateway/web/irccloud.com/x-slfxfqfazjlggcch) Quit (Client Quit)
[23:26] * immibis (~chatzilla@222-155-160-32-fibre.bb.spark.co.nz) has joined #raspberrypi
[23:27] <Habbie> r0b-, it's gotten better but it's still terrible
[23:27] <r0b-> ah
[23:28] <r0b-> Well I was thinking about doing something with Android in my truck.. I have an aftermarket radio but it does not have a screen.. and I would like to maybe do navigation and pandora on a pi..
[23:29] * Encrypt (~Encrypt@2a01cb0401d17200399e912251d2aff8.ipv6.abo.wanadoo.fr) Quit (Quit: Quit)
[23:29] * rwb (~Thunderbi@65-183-131-95-dhcp.burlingtontelecom.net) Quit (Ping timeout: 260 seconds)
[23:29] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) Quit (Quit: Mikelevel)
[23:30] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) has joined #raspberrypi
[23:30] * mythos_ is now known as mythos
[23:32] * JasonCL (~JasonCL@cpe-174-109-154-111.nc.res.rr.com) Quit (Read error: Connection reset by peer)
[23:32] <Ben64> gordonDrogon: cool thanks
[23:32] <Ben64> pretty much the same ones i got
[23:33] * jerryq (~jerryq@ Quit (Ping timeout: 268 seconds)
[23:34] * vikaton (uid59278@gateway/web/irccloud.com/x-qeahlxsjlutvrgqu) has joined #raspberrypi
[23:38] * Sonar_Guy (~Who@fedora/sonarguy) Quit (Quit: Sorry, but its time for me to go!)
[23:39] * timofonic (~timofonic@unaffiliated/timofonic) Quit (Read error: Connection reset by peer)
[23:39] * timofonic (~timofonic@unaffiliated/timofonic) has joined #raspberrypi
[23:40] * Case77 (~Case77@pool-108-44-22-63.albyny.east.verizon.net) has joined #raspberrypi
[23:40] * hablo (~hablo@2001:ac8:31:14::6e) has joined #raspberrypi
[23:40] * kushal (~hopless@fedora/kushal) Quit (Remote host closed the connection)
[23:40] * kushal (~hopless@fedora/kushal) has joined #raspberrypi
[23:41] * hablo_ (~hablo@cpc91334-watf11-2-0-cust217.15-2.cable.virginm.net) Quit (Ping timeout: 255 seconds)
[23:42] * dandandangravy (~pi@68-114-200-208.dhcp.prvl.mo.charter.com) has joined #raspberrypi
[23:42] * dandandangravy (~pi@68-114-200-208.dhcp.prvl.mo.charter.com) has left #raspberrypi
[23:42] * waveform (~waveform@waveform.plus.com) Quit (Quit: Leaving)
[23:43] * hablo (~hablo@2001:ac8:31:14::6e) Quit (Client Quit)
[23:43] * DrJ (DrJ@gateway/vpn/privateinternetaccess/drj) has joined #raspberrypi
[23:45] * finlstrm (~quassel@pool-96-238-44-51.prvdri.fios.verizon.net) has joined #raspberrypi
[23:47] * Sonar_Guy (~Who@fedora/sonarguy) has joined #raspberrypi
[23:49] * codestorm (~codestorm@2605:e000:9196:e300:8068:62cc:80d4:c475) has joined #raspberrypi
[23:50] * it_tard (~nfk@unaffiliated/nfk) has joined #raspberrypi
[23:52] * giddles (~giddles@unaffiliated/giddles) has joined #raspberrypi
[23:53] * nfk (~nfk@unaffiliated/nfk) Quit (Ping timeout: 240 seconds)
[23:54] * codestorm (~codestorm@2605:e000:9196:e300:8068:62cc:80d4:c475) Quit (Ping timeout: 276 seconds)
[23:55] * immibis (~chatzilla@222-155-160-32-fibre.bb.spark.co.nz) Quit (Ping timeout: 264 seconds)
[23:57] * nfk (~nfk@unaffiliated/nfk) has joined #raspberrypi
[23:59] <nfk> r0b-, HDMI is purely digital output and is perfectly fine.
[23:59] <nfk> for stereo audio, that is
[23:59] <r0b-> I was going to use either the 3.5mm jack or bluetooth.

These logs were automatically created by RaspberryPiBot on irc.freenode.net using the Java IRC LogBot.