**** BEGIN LOGGING AT Mon Aug 12 02:59:58 2019 Aug 12 03:20:26 BARREL JACK! Aug 12 03:27:52 I was using vdd_5v instead of sys_5v and w/out the barrel jack. Yikes! Aug 12 03:28:41 yes the fact that the schematic used the wrong pin for 5v is something I also mentioned several times Aug 12 03:28:59 I am completely new to knowledge. You know this, man! Aug 12 03:30:34 This whole time, I was thinking that things did not work b/c of something other than what the issue "was." Aug 12 03:32:19 on the bright side, the lack of 5v may have saved your beaglebone from being damaged as a result of the erroneous connection (via resistor) between gpio and "5v" Aug 12 03:32:27 :P Aug 12 03:32:28 I know. Aug 12 03:32:40 This is a small miracle. Aug 12 03:32:51 Well, my software works and nothing is broken. Aug 12 03:33:54 I tried all sorts of programs to work w/ this sensor. I thought I was turning less smart in every try. It was true. I was turning less smart b/c I should have known about the 5v (VDD) barrel jack scenario (still and again and again). Aug 12 03:34:11 Aw! Aug 12 03:34:38 I think the word is degradation like w/ old computers degrading in time. My mind was degrading. Aug 12 03:34:47 Ha! Aug 12 03:34:54 ehm, plus there's a led on the PIR sensor... the fact that it never turned on should have been a clear hint it didn't get power Aug 12 03:35:07 Oh? Aug 12 03:35:16 if I remember the description page correctly Aug 12 03:35:37 I do not see a LED on mine. Aug 12 03:35:42 It might be small. Aug 12 03:36:13 hmm, maybe I'm mixing it up with another PIR sensor Aug 12 03:36:17 I found a bunch of old books and online articles on this subject. I thought everyone was wrong and I was a fool. Aug 12 03:36:41 Who knows, @zmatt? All I know now, is that everyone was right and now, "So am I!" Aug 12 03:36:50 Yea boy! Aug 12 03:37:01 Just like w/ those new Capes. Aug 12 03:37:10 vdd_5v. Aug 12 03:37:44 I guess I could change that fact w/ a different pin but it works and I am satisfied. Aug 12 03:37:53 also, when you're getting nothing but 0 from a device, measuring the voltage on its power-supply input pins would be an obvious thing to do... Aug 12 03:38:00 don't use vdd_5v Aug 12 03:38:02 use sys_5v Aug 12 03:38:13 Right, I have been using vdd_5v. Aug 12 03:38:19 right, don't. Aug 12 03:38:24 Okay. Aug 12 03:38:34 like, really don't Aug 12 03:39:26 Okay. W/ sys_5v, it is good for testing on the USB side of computing but for something like an installment of BBB and sensor plugged in via barrel jack, vdd_5v is good. Aug 12 03:39:38 Right? Aug 12 03:39:40 no, in this particular case using vdd_5v instead of sys_5v creates a risk of damaging th ebeaglebone Aug 12 03:39:47 don't use vdd_5v Aug 12 03:40:25 Oh. Is this always this way w/ PIR sensors or is it b/c of the fact that 5v is used and current can back up into the GPIO pin? Aug 12 03:40:57 the PIR output is not 5V, it's 3.3V. driving 5V into a gpio would almost certainly destroy the beaglebone immediate Aug 12 03:41:00 ly Aug 12 03:41:17 Right. Aug 12 03:41:30 I forgot about the 3.3v on this PIR sensor. Aug 12 03:42:33 Okay so. Things work and now I can sleep in "peace." Aug 12 03:42:38 but the PIR's 3.3v is generated from the 5V, independently of the 3.3V of the beaglebone, which creates a risk of driving 3.3v into a gpio while the beaglebone's own 3.3v supply is not yet on (which is equally forbidden) Aug 12 03:42:50 Peace! Aug 12 03:42:52 Okay, Okay. Aug 12 03:42:53 using sys_5v minimizes the window of risk Aug 12 03:42:58 Aw. Aug 12 03:42:59 Okay. Aug 12 03:43:22 I might never know the workings behind what you are saying but I might just read more in time. Aug 12 03:43:33 I have some electronics books over here that need refreshing. Aug 12 03:43:38 They are getting dusty. Aug 12 03:44:45 general rule: whenever possible, use the 3.3v from the beaglebone to power stuff you connect to the beaglebone. if you absolutely need a 5v supply for the external hardware, use sys_5v Aug 12 03:45:08 Okay. Aug 12 03:45:13 don't use vdd_5v. it is meant for allowing external hardware to power the beaglebone, not the other way around Aug 12 03:45:20 Oh? Aug 12 03:45:28 I was unware of that idea. Aug 12 03:45:36 Oh! Aug 12 03:45:55 So, I can power the BBB via some circuit w/ a DC power supply, like this idea? Aug 12 03:46:09 it ties directly to the 5v input of the BBB (same as the barrel jack), hence you can use it to power the BBB, same as you can via the barrel Aug 12 03:46:11 Outside of the USB? Aug 12 03:46:24 Oh. Aug 12 03:46:25 Okay. Aug 12 03:46:30 I did not know. Aug 12 03:46:53 yes so when a BBB is integrated into a product, it is often plugged into a custom board which also provides power to the BBB (via the vdd_5v pins) Aug 12 03:47:06 Aw! Aug 12 03:47:11 Nice. Aug 12 03:47:33 Something like a larger board w/ ac/dc capabilities? Aug 12 03:48:49 Just for reference, I have been working w/ this same PIR sensor for years. It never worked. I never knew why. 5v barrel jack! Who'd thunk it? Aug 12 03:49:21 "barrel jack" is the wrong answer to that question, using sys_5v is the correct answer Aug 12 03:49:41 Right. Aug 12 03:49:46 I keep getting mixed up. Aug 12 03:55:31 @zmatt: The only thing I did not get yet was the incorporation of the LED into the mix. Aug 12 03:55:53 I thought it was as easy as a if/else statement. Aug 12 03:56:59 Of course, the 1K ohm resistor is on the LED. I might not even had noticed it was on! ha. Aug 12 14:19:06 ahoy! Aug 12 14:19:23 hi cfriedt Aug 12 14:19:37 hi rcn-ee Aug 12 14:26:08 hi cfriedt vaishnav98_ and I are chatting in #beagle-gsoc Aug 12 15:58:41 rcn-ee: I think we need to add piwheels.org to our /etc/pip.conf or build something similar. Aug 12 15:59:29 seems like pypi has several packages they don't seem to build for ARM. Aug 12 15:59:30 maybe the linaro folks have a better approach. Aug 12 16:00:23 i can patch our /etc/pip.conf.. Aug 12 16:00:57 k, I'll drop them a quick note. Aug 12 16:02:00 hmmm.... don't take twitter DMs. Aug 12 16:02:43 ah... @raspberrypi.org e-mail address for maintainer. Aug 12 16:05:29 sometimes they package it up, and i've stolen stuff before from them.. Aug 12 16:07:38 « Packages are natively compiled on Raspberry Pi 3 hardware » lol Aug 12 16:08:05 it use to be imx51 Aug 12 16:08:08 e-mail sent. Aug 12 17:11:26 rcn-ee[m]: btw, I notice your libiio packages for stretch are a bit old and lack the python3 bindings, but the ones from debian buster seem to work fine on stretch as well Aug 12 17:11:33 (and are newer) Aug 12 17:14:25 also, I heard cloud9 still uses python2 ? new users should definitely be directed towards using python3 by default Aug 12 17:15:24 I wonder if there's a good way to get a warning into the face of users who use "python" or "pip" instead of "python3" or "pip3" .. since I suspect most of them do so without realizing they're using an obsolete version of python Aug 12 17:21:14 libiio is a little old in my repo, 20180516, updating now.. Aug 12 17:22:35 yeah, like I said the ones from buster work unmodified on stretch as well, so maybe that can save time... on the other hand, the ones from buster aren't quite uptodate either Aug 12 17:36:55 zmatt: cloud9 internally is built with python2 at one point, externally it's now hard-coded to use python3: https://github.com/beagleboard/cloud9-examples/blob/master/.c9/project.settings#L20-L22 Aug 12 17:37:59 libiio apt pacakge is now rsync'ed to the apt repo. Aug 12 19:48:33 I just found that Bad to the Bone book. Aug 12 19:48:38 Nice. Aug 12 19:48:51 It has all sorts of theory and examples. I am surprised this one was not mentioned more. Aug 12 20:08:50 I think most mentions of books are coming from you :P Aug 12 20:09:13 beware that it's 4 years old Aug 12 21:07:23 Four years old and going strong! Aug 12 21:08:46 I was looking into some nice books. I found VitalSource. They have okay books, too. Aug 12 21:10:22 From programming to, what I need, reading and understanding how to compute RMs, VitalSource has some nice stuff. Aug 12 21:10:28 Off to learn! Aug 12 21:30:26 <_hays> I am reading about booting from NAND and one thing is not clear. Where do I tell the system to actually boot from NAND once its all written? is that all in the bootcmd? Aug 12 21:31:42 <_hays> Or maybe there is a boot order defined by the processor that looks for X-loader in NAND first? Aug 12 22:01:12 wow, there are still people using the old beagleboard Aug 12 22:21:28 Wow I HAVE an old beagle board... I wonder if it's a collectors item? :D Aug 12 22:31:49 Make that funny-money! Aug 12 22:32:11 I got a new idea on PIR sensors. It works and yea boy! Aug 12 22:32:26 Would anyone like to read my post? Aug 12 22:32:38 positive criticism is a must! Aug 12 23:32:46 Oh. I forgot the link: https://www.hackster.io/functt/pir-from-a-bbbw-and-python-b74eb3. Aug 12 23:33:03 Should I be more professional and give tidbits of info. or should I keep it simple? **** ENDING LOGGING AT Tue Aug 13 02:59:56 2019