**** BEGIN LOGGING AT Sat May 19 03:00:01 2018 May 19 03:00:30 Look...I know this is the same-ole, same-ole from me. I understand but... May 19 03:00:31 ... May 19 03:00:37 If you want to answer, please do. May 19 03:03:05 ... May 19 03:03:06 oh. May 19 03:03:32 I talked w/ this fellow. I looked up some info. about the L298 motor driver and... May 19 03:04:34 The driver needs to be set in a low state at first. Then, I can set the pin to high to make my "access" pins work, e.g. ln1, ln2, ln3, and ln4 w/ two motors. May 19 03:11:02 ... May 19 03:11:11 I think I may have found the culprit. May 19 03:12:06 P8.8 = High and P8.10 = Low and P8.12 = High <<<<<<< They all need to start the same! May 19 03:13:29 ... May 19 03:13:47 Now...how do I change high/low on my pins on the BBB? May 19 03:32:41 Otay...I giggity-giggity, figured it out. May 19 03:33:15 The pins were High, Low, High. They should have all been Low. I got it now. The Pins on the P8 header 13 -> 18 sufficed. May 19 03:33:42 ... May 19 03:33:45 They were all low. May 19 03:34:32 Now that i think about it, that one fellow told me about the pins on the BBB being High or Low. May 19 03:34:34 ... May 19 03:34:38 Guess what? Now, I know! May 19 04:31:24 I was watching battlebots. That stuff is good for me. May 19 05:10:38 evening May 19 14:58:48 How do I li k another device May 19 14:59:00 Link May 19 18:30:50 NishanthMenon: argh, how did the prcm registers for pd_l4per manage to become such an awful mess /o\ omap4/5 used to have such clean and consistent layouts for prcm registers :_( May 19 18:32:28 zmatt, cough.. ahem.. different times May 19 18:33:30 l4per3 is so weird... a separate clock domain just for four timers? May 19 18:34:13 but it's awful! I'm used to being able to use structs for modeling prcm May 19 18:34:21 without too much hassle May 19 21:25:05 features ? May 19 21:25:17 ? May 19 21:31:51 Hi! I've got a quick question about the BeagleBone Black! I want to read a bunch of digital inputs into a PISO shift register, and I'm wondering what the best way of accomplishing this would be with the BeagleBone Black. I've googled a bunch, and have only found information for SIPO shift registers. Could anyone point me in the direction of a resource I could use to figure out how to accomplish this? May 19 21:32:26 uhh May 19 21:33:38 Sorry, is there something wrong? May 19 21:33:50 trying to understand what you're trying to do May 19 21:33:59 this is just to experiment with a shift register? May 19 21:34:31 So, I want to monitor eight digital inputs without using eight GPIO pins. May 19 21:35:00 wouldn't an i2c gpio expander be a lot more convenient? May 19 21:35:22 (especially since most of them have a kernel driver, which means the additional gpios would just appear as gpios) May 19 21:36:03 but I guess if this is what you have May 19 21:36:27 Yeah, I have a couple SN74HC165N that I have used with an Arduino before. May 19 21:36:40 So, I wanted to try to use them with the BBB May 19 21:37:39 so what's the issue? just connect the three relevant pins to random gpios and control it just as you would on an arduino ? May 19 21:39:58 (the three pins being clock, load, and shift-out) May 19 21:40:35 The arduino has this function called shiftIn, and it's used in all of the examples I've seen. Because I want to read the inputs instead of output to digital outputs May 19 21:41:08 Sorry, about my lack of experience here, by the way. May 19 21:41:19 If I'm misssing something obvious. May 19 21:41:29 no worries, experience takes time May 19 21:41:42 okay so arduino has a helper for it in its standard library May 19 21:42:11 Okay, so I would just have to write code to do it myself then? May 19 21:42:16 on the bbb people aren't very likely to want it (given that the beaglebone has a ton of gpio already)... you're the first I've seen to ask it May 19 21:43:24 Part of it comes from wanting to keep all of these inputs constrained into one "unit," if that makes sense. May 19 21:46:08 https://pastebin.com/5RKLjgvY May 19 21:46:22 you mean you want to sample them simultaneously May 19 21:48:00 the beaglebone can do that for gpios on the same gpio bank, but you can't use the sysfs interface in that case. you have to access the gpio controller directly (or I think the new gpio chardev interface can do it too, except much slower) May 19 21:49:07 Yeah, I'm trying to measure the height of water in a tank at eight positions with a probe at each one, like this https://www.electroschematics.com/9964/arduino-water-level-indicator-controller/ May 19 21:50:22 and you need to sample the pins simultaneously because you're worried the water level will suddenly change within a fraction of a milisecond ? May 19 21:50:35 Oh, no. May 19 21:50:49 :) May 19 21:50:51 I just don't want to use 8 GPIOs for it May 19 21:52:09 okay May 19 21:53:19 will the outline I gave in that pastebin be sufficient for you to get it to work? May 19 21:54:19 I think so! Thank you so much. I knew I needed something like this, but wasn't sure how to accomplish it. May 19 21:55:37 you read the datasheet? (mainly section 8 "Detailed Description") May 19 21:57:19 I'm sorry, that would have been a smart place to look. I honestly didn't think it would be that straightforward May 19 21:57:34 lol May 19 21:57:57 it's not like I know how a random chip works. I just googled the part number you gave and quickly browsed the datasheet May 19 21:58:39 (well, I knew how a shift register works in general, but I still needed to check the details w.r.t. signal polarity and such) May 19 22:01:26 Okay, yeah, so cool! That's exactly what I need. I thought there might have been built-in way of doing it. I can probably figure out how to get the BBB to talk to it. May 19 22:01:45 It seemed a lot more intimidating than what you described, though. May 19 22:02:18 I really appreciate your time answering my dumb question regardless May 19 22:02:28 well, like I said, it's not something many bbb users need, hence no built-in function for it May 19 22:02:35 but it's easy enough to make one yourself May 19 22:02:52 Cool! May 19 22:03:13 you're using bonescript? May 19 22:04:41 Yes. May 19 22:07:04 So, I'd probably end up making something like this https://playground.arduino.cc/Code/ShiftRegSN74HC165N May 19 22:15:01 babs_: https://pastebin.com/nfjhKxXQ something like this? May 19 22:17:59 Yes, thank you so much1 May 19 22:18:02 ! May 19 22:18:51 or if you prefer to keep the clock pin high when idle (that does seem to be the morally right thing to do for this chip): https://pastebin.com/PdvuhtjJ May 19 22:22:10 zmatt: I really appreciate this, thank you :) May 19 22:24:39 no prob May 19 22:35:29 I'm having trouble getting my PIR Motion Sensor to work, can anyone help me? May 19 22:37:33 no I doubt anyone can give you useful feedback based on such a vague problem description May 19 22:37:47 http://www.catb.org/esr/faqs/smart-questions.html#beprecise May 19 22:58:52 or not May 20 02:53:28 Three days! **** ENDING LOGGING AT Sun May 20 03:00:02 2018