**** BEGIN LOGGING AT Thu Sep 19 03:01:42 2019 Sep 19 03:02:57 wait. Sep 19 03:03:04 Let me make a paste. Sep 19 03:05:55 So, the base connect to P9.22? Sep 19 03:06:01 no Sep 19 03:06:06 Right. Okay. Sep 19 03:06:10 that's neither what I said nor what I drew Sep 19 03:07:48 Let me try to finish the paste for explaining my set up. Sep 19 03:12:16 Forget this paste. My wiring was garbage. Sep 19 03:12:19 Please hold. Sep 19 03:13:58 This is a hard first set up. Sheesh. Sep 19 03:14:14 ... it's one transistor and two resistors Sep 19 03:16:07 I know and some wires. Those wires! Sep 19 03:16:21 The hard part is setting it up on the breadboard. Sep 19 03:16:24 Not the connection. Sep 19 03:17:39 What if there is no data, does it shut off? Sep 19 03:18:14 Does the file/program end when there is no data? Sep 19 03:18:24 ? Sep 19 03:19:18 I am wondering if the source ends its life when there is not any data. Say, I do not put my hand in front of the EZ2 so it can detect data, does the file end then? Sep 19 03:19:42 ??? Sep 19 03:19:43 Or. does it loop forever until I end it? Sep 19 03:20:06 your EZ2 should be sending data continuously as long as it's powered on Sep 19 03:20:27 Okay. Sep 19 03:20:41 Then, I am having issues. I will reconvene this concern later. Sep 19 03:21:00 Dang it and I thought I was getting somewhere. Sep 19 03:21:07 it performs a measurement every 49 miliseconds Sep 19 03:21:13 Oh. Sep 19 03:21:15 Okay. Sep 19 03:22:28 my code waits half a second to be generous and throws "Timeout while waiting for data" if it's not receiving anything Sep 19 03:22:45 Okay. Sep 19 03:22:48 if it receives data but can't parse it then it'll throw the "Garbage data received" exception Sep 19 03:22:57 Oh. Sep 19 03:23:15 (in which case it'll also show the data received, which may be useful for debugging) Sep 19 03:23:25 I see that much. I just do not understand the connection thus far. I guess. Or...it could be my soldering job. Sep 19 03:23:27 Okay. Sep 19 03:23:40 Well. Back to the old drawing board. Sep 19 03:23:59 like I said earlier, if you're not certain whether your inverter is working, test it separately first Sep 19 03:24:06 Okay. Sep 19 03:24:07 (I also explained how) Sep 19 03:24:20 I will test it. I saw the explaination. I will test it. Sep 19 03:24:44 I will be back another time. I am beat. Thank you thus far. Sep 19 03:26:45 Dang it. I think I figured out my malfunction. This is beating me. Blah! Sep 19 03:28:52 nope. Bedtime. Aw! Sep 19 07:49:20 rcn-ee[m]: (sorry for latency), you wrote "thought dart died, as soon as google decided to not intergrate it into chrome a few years back.." and the answer is, it may have been "down for the count" but it's surging the last year BIG time, due mainly to Flutter.io. Sep 19 07:50:14 See https://adtmag.com/articles/2019/09/18/ieee-spectrum-ranking.aspx (about Dart climbing popularity) Sep 19 07:59:54 In fact, position 24 right now on Tiobe, well above Rust, Kotlin, Lisp, Scala, COBOL, Lua (for example). So ... dead - no. Also, Dart 2.0 is vastly different than Dart 1.x. Sep 19 08:00:59 (Dart 2 is fully statically typed among other things) Sep 19 08:26:09 I am looking for Brian Delacey btw, is he here? Due to this stuff (broken links): http://www.iotfestival.com/IoTDartAndBBBNotes.html Sep 19 10:31:03 gokr the domain being referenced is dead and because of the way they setup the website none of the information was archived. The way back machine only archives things people search through it. The only thing you can get from that website is the "front page" and that's it. https://web.archive.org/web/20150618020656/http://www.dc-computing.com/ last known information. Sep 19 10:47:58 GenTooMan: Thanks, yeah, I actually did look at web archive too. But AFAIK it was Brian Delacey who did those Dart thingys (I may be incorrect). Sep 19 10:48:17 Oh, an email, nice. Sep 19 10:51:13 Ah, email account does not exist anymore. Sep 19 11:37:27 BeagleBone AI purchase links are now all live except OKdo. bbb.io/ai Sep 19 11:39:08 gokr: Not sure which Dart things. I recall Brian Delacey requesting Dart builds and rcn-ee[m] adding them from somewhere. Sep 19 11:41:15 gokr Brian Delacey is a professor at MIT. I will ping him about the links. Sep 19 11:41:19 jkridner[m]: Hi btw! I am just now getting into Beagle and really like it all. The link above.... lists various articles on doing stuff using Dart - but they are all offline. Sep 19 11:41:29 Super! Sep 19 11:41:54 The whole domain seems down - I managed to figure out he is behind iotfestival I think, but... the dc-computing domain seems gone. Sep 19 11:42:49 he is. i got to do a workshop there one year Sep 19 11:43:04 per his request, we used Dart Sep 19 11:43:37 I am all in on Dart these days, I use it for both server side, edge and mobile apps (via Flutter). Sep 19 11:43:54 It's basically a "better Nodejs" IMHO. Sep 19 11:45:08 And for beagle - I think the new ability to compile to native and the new FFI may be interesting. But... for this specific project I think I will stick with nodejs due to "prior art". Sep 19 11:47:37 I have one thing that I am unsure about so far and that's the choice of 3G+GPS board/cape. The Yantrr is fairly expensive (although I will order one to try), the Nimblelink even more so. I did find the brainpower one, good price, but... felt a bit like a one-man firm. Anyone know of other 3G+GPS capes? Sep 19 11:48:44 well, I like it better than Python. Sep 19 11:48:58 Nodejs? Sep 19 11:49:06 Dart >> Python. Sep 19 11:49:44 Yeah, I mean... even though I am a Smalltalker by heart I do like the evolution of Dart (into a statically typed language with the benefits it brings). Sep 19 11:51:24 Nim is also pretty damn cool - especially on a limited platform like Beagle (since it basically is as fast as C/C++). Sep 19 11:52:15 And one of the Nimmers made a neat lib for Beagle too: https://github.com/xyz32/boneIO Sep 19 12:33:31 hi Sep 19 12:33:54 What is maximum SD Card supported in beagle bone black Sep 19 12:34:19 can I use 32 gb SD Card ?? Sep 19 12:46:04 Saikat: 32gb should be no problem Sep 19 12:59:49 thanks for the update Sep 19 13:07:39 So who else is pumped about the BeagleBone AI? Sep 19 13:08:15 me! :-D Sep 19 13:08:53 HunterLong: order yours already? Sep 19 13:51:55 Obviously the AI will be a trite more expensive. Sep 19 13:52:26 Just ordered 4! (Not for me, for my company) Sep 19 13:52:32 I'm not that rich Sep 19 13:54:48 But we've made some capes for the BBB so having it pin compatible is a big win for us. Sep 19 14:01:12 Being able to reuse what you have don already is a good thing Sep 19 15:18:33 silly people asking about 32GB (i.e. SDXC) cards now and then, even though there's literally no protocol difference between SDHC and SDXC, it's just marketing (and how they are formatted by default, which obviously doesn't matter if you reflash the card) Sep 19 15:53:16 zmatt: or if you run our v4.19.x based kernel .;) Sep 19 15:54:02 ? Sep 19 15:54:26 grabbed greg's exfat for staging, and stuck it in there. Sep 19 15:54:41 ah Sep 19 15:55:06 I mean, typically you won't want to use (ex)FAT anyway Sep 19 15:55:48 true but somerusers just don't know.. Sep 19 15:59:15 what you don't know... can cause troubleshooting for hours Sep 19 15:59:57 in principle linux could even store enough auxiliary information in a vendor extension entry to allow exfat to be used as rootfs :) Sep 19 16:00:47 hmm, unless it's manditorily case-insensitive, not sure about that Sep 19 16:04:45 oh the filesystem actually contains a table that defines the case-smashing used for case-insensitive comparison... it could just include one that's entirely the identity-mapping, although the spec forbids this (it requires 'a'..'z' to be mapped to 'A'..'Z' and the remaining ascii range to be the identity) so other implementations might misbehave when presented with such a filesystem **** BEGIN LOGGING AT Thu Sep 19 17:58:27 2019 Sep 19 18:04:54 I think they were saying around that sum. Sep 19 18:05:42 It went up. Maybe they mfg. in the states. Everything seems more expensive in the states. Right? Sep 19 18:08:13 https://github.com/beagleboard/beaglebone-ai/wiki/System-Reference-Manual Sep 19 18:11:26 anyway. Up, up, and Otay! Sep 19 18:12:45 dkulp: did they ever promise $100 ? I think they just said "around $100" Sep 19 18:13:32 The FAQ still says "around $100": https://github.com/beagleboard/beaglebone-ai/wiki/Frequently-Asked-Questions Sep 19 18:14:25 exactly Sep 19 18:14:36 (it obviously still needs to be updated) Sep 19 18:16:36 ended up at 100 + 25% chinese tarriff Sep 19 18:17:01 e14 has it at $118 Sep 19 18:17:02 outside the US, you can get it around US$100 via OKdo. Sep 19 18:17:27 US distributors purchased tariff-paid. Sep 19 18:20:01 dutch version of okdo site shows €108.56 (= $120) excluding VAT Sep 19 18:20:51 €131.36 (around $145) including VAT Sep 19 18:21:37 :-/ Sep 19 18:22:05 UK? Sep 19 18:23:47 element14 lists €87.32 ($96.52) ex VAT, out of stock Sep 19 18:24:50 but stock available in a few days Sep 19 18:26:58 element14 isn't actually linked from beagleboard.org/ai, .. and initially I made the mistake of searching for it at element14 (which just gets you articles, not a product) rather than farnell Sep 19 18:27:42 (the search bar of element14.com doesn't find the product if you search for "beaglebone ai", only if you search for "bbone-ai") Sep 19 18:28:51 25% .. that's a harsh tariff Sep 19 18:29:37 yup Sep 19 18:47:34 what is the relation between gpio31, gpiochip0, and P2_07? Sep 19 18:52:18 P2_07 is the header pin name. Sep 19 18:52:45 gpiochip0 is the control register bank for manipulating gpios 0-31 Sep 19 18:53:25 gpio31 is the sysfs directory name used to control gpio id 31. Sep 19 18:54:31 per https://github.com/beagleboard/pocketbeagle/wiki/System-Reference-Manual#table-8-p2-header-pinout, gpio0_31 is the gpio connected to header pin P2_07. Sep 19 18:54:34 help CoffeeBreakfast ? Sep 19 18:55:23 yes, thanks! also, there is a formula involving multiplying 32 by the control register bank? Sep 19 18:56:49 id = bank * 32 + offset Sep 19 18:57:03 gpioX_Y, X = bank, Y = offset Sep 19 18:57:21 gpioN, N = id Sep 19 18:57:39 each bank of control registers control up to 32 gpios. Sep 19 18:58:24 in fact, with the right software, you can set, clear or both all 32 in a single memory-mapped register write. Sep 19 18:59:11 great. Thanks! Sep 19 18:59:18 the control registers are 32-bit and include SET, CLEAR, WRITE and READ registers Sep 19 19:00:18 *taking notes... Sep 19 19:01:37 note that the contiguous gpio numbers allocated by the kernel are technically not guaranteed to be 32*bank+index .. rather, each gpio controller gets a contiguous block of gpio numbers allocated by the driver when the device probes Sep 19 19:02:21 so officially you'd need to locate the gpio controller (e.g. using udev), query its starting gpio-number, and add the per-controller gpio index to that Sep 19 19:02:52 however with gpio controllers that are platform devices the order seems to be deterministic and relying on it is probably okay Sep 19 19:03:28 (with i2c gpio expanders all bets are off) Sep 19 19:05:28 got it Sep 19 19:09:42 what I do is declare my gpios in DT with names and then use an udev rule to create symlinks so appications can e.g. write to /dev/gpio/amp-standby/value without having to know or care what specific gpio that is (which in fact has varied between revisions of our hardware) Sep 19 19:19:07 zmatt: in &am33xx_pinmux? Sep 19 19:19:46 no, using a gpio-of-helper device (like the one used by cape-universal) => https://github.com/mvduin/overlay-utils/blob/master/gpio-demo.dtsi Sep 19 19:27:04 Hello everyone, can anyone tell me if an LCD that is compatible with beaglebone black wireless is also compatible with Beaglebone AI? Sep 19 19:28:47 If relevant, an LCD I use today with bb wireless is the NHD-7.0CTP-CAPE-L Sep 19 19:34:24 rogerlucas: 16bit only lcd's.. no overlays today, patches welcome in the overlay repo Sep 19 19:35:45 @rcn-ee many thanks for this information ;) Sep 19 19:40:24 @rcn-ee I will import a unit and start testing. If i can, I will contribute with some overlay. Sep 19 19:42:39 rogerlucas: start with this one, https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BONE-NH7C-01-A0.dts then change pin's, pwm, i2c, etc.. Sep 19 22:12:52 myself: I got the BBBlue up and running w/ the ArduCopter stuff. Sep 19 22:12:54 Fyi. Sep 19 22:12:58 Yea boy! Sep 19 22:13:40 Two years and dang-diggity. The BBBlue can fly! Sep 19 22:13:55 @rcn-ee[m] yes, i already work on this for bbb wireless ;) Sep 19 22:15:35 set_ persistence of vision? Sep 19 22:17:31 Sort of... Sep 19 22:17:58 I knew it was me and not the entire realm/people selling arducopter ideas. I had to further investigate until completion. Sep 19 22:19:28 GenTooMan: I found this fellow online that holds a room online on Discord. I found him by way of YouTube. Sep 19 22:19:59 He directed me on how to set up the receiver w/ the transmitter and shall we say, "The rest is history." Sep 19 22:21:06 set_ Their is always something a group of 1 can miss as they also say. Sep 19 22:21:30 Right. Being alone sucks at times but it gives me unlimited potential. Sort of... Sep 19 22:22:38 "He is going to be someone one day." Sep 19 22:22:54 Not my shtick but it sounds nice. Sep 19 22:23:36 GenTooMan: I have been listening to @zmatt and I found more articles on the inverter w/ the BJT or MOSFET. Sep 19 22:24:08 I cannot get it up and running just yet w/ the BBBW w/ the MotorCape attached just yet. Sep 19 22:24:26 My breadboard must be busted. Sep 19 22:25:11 set_ if you plugged anything big into it the contacts can get loose. Sep 19 22:25:24 Right. I have found that to be true. Sep 19 22:25:41 I think these breadboards they sold me were used previously before they sold them to me. Sep 19 22:25:49 Aw! Sep 19 22:27:10 These resistors are tiny legged too. Sep 19 22:27:54 Skinny in diameter. That along w/ these used breadboards, my Max EZ2 and BBBW does not work. Sep 19 22:28:37 test our inverter separately because using it to try to connect the ez2 to your beaglebone Sep 19 22:28:41 *before using Sep 19 22:29:00 Okay. Sep 19 22:29:52 Off to test before completing this grind box. Sep 19 22:43:53 @zmatt: Are you messing w/ me? Sep 19 22:44:37 I am trying to not get odd here but for the life of me, I cannot figure out this simple diagram of connections. Sep 19 22:45:00 what's there not to understand? Sep 19 22:45:41 it's not a complicated schematic Sep 19 22:45:47 I do not understand how to connect P9.22 w/ the resistor on one side and have the collector on the other end. Sep 19 22:45:48 I know! Sep 19 22:46:10 Three spaces should cut it on my breadboard. Sep 19 22:46:36 I am a failure. Do not worry. "Crawling back in my corner. Sep 19 22:46:37 " Sep 19 22:47:16 Starting from scratch again w/ the schematic. Sep 19 22:47:33 Do not fret. I will not bother chat for two hours or more. I am sorry. Sep 19 22:54:39 set_: I've added an annotated version of the schematic to the same album ( https://photos.app.goo.gl/ESZvoHb6eZY1hwi77 ) Sep 19 22:54:44 in case it adds any clarity Sep 19 22:56:15 Thank you, sir. I will test it. Sep 19 22:58:14 It is time to flick and push on the breadboard. This breadboard is ratty. Sep 19 22:59:44 you can test it e.g. by connecting the input of the inverter to some random gpio of the beaglebone, configure that gpio to output, and confirm that P9.22 (configured as gpio input) is showing the opposite value Sep 19 23:01:47 Okay, Okay. I will do that one day but for now I am fighting this breadboard and its connections. You already know it works. Sep 19 23:02:03 So, I am just testing what you already know to be true. Sep 19 23:02:38 I will test the Inverter as GPIO soon. Sep 19 23:03:17 I got like 15 wires w/ this Inverter and loose pins in my breadboard. Please be patient. Sep 19 23:07:27 how on earth would there be 15 wires Sep 19 23:11:18 I have no clue. How many do you think it takes? I should just solder 'em on. Sep 19 23:11:29 Damn breadboard cons. Sep 19 23:12:08 As you notice, I am changing the subject here. Sep 19 23:13:01 It takes 12 wires to manage all the connections of the ez2, P9.22, GND, 3.3v, and the resistors alongside the BJT/MOSFET. Sep 19 23:13:39 Depression is kicking in. Break time! Sep 19 23:13:41 the ez2 isn't relevant yet since you were going to test the inverter itself first Sep 19 23:13:48 Right. Sep 19 23:13:57 Okay. Let me test this GPIO. Sep 19 23:14:04 Should I use a LED? Sep 19 23:23:22 added yet another image to clarify how to test Sep 19 23:25:35 Okay. Refresh! Sep 19 23:27:40 @zmatt: I am going to need a week. This is beating "me brain" senseless. I am sorry to hold you up. Sep 19 23:58:25 spi boot clk is p9.22 Sep 19 23:58:36 It is not showing as UART2 at all. Sep 19 23:58:43 w/ your show-pins util. Sep 19 23:59:03 Off to try another pin. Sep 19 23:59:54 Oh. I have the MotorCape attached. This may make the testing more difficult. Sep 20 00:00:08 set_: you're not looking for uart2 Sep 20 00:00:25 depends on what pins it uses (which you can check with show-pins) Sep 20 00:00:56 I checked. it is spi boot clk. Sep 20 00:00:58 you can ignore the the spi boot stuff. that only matters when using spi flash boot, which you're not Sep 20 00:01:05 Okay. Sep 20 00:01:10 What should I look for? Sep 20 00:01:26 what do you mean? Sep 20 00:01:45 In show-pins? Sep 20 00:01:51 for what? Sep 20 00:02:07 to see which pins are used by motor cape? Sep 20 00:02:22 Oh. Sep 20 00:02:29 if the pins are used then doing config-pin will fail on them Sep 20 00:02:29 No. Sep 20 00:02:38 Okay. Sep 20 00:02:41 I got it now. Sep 20 00:02:51 so just hook your inverter up like in the schematic and follow the steps in the screenshot and confirm you get the same results Sep 20 00:03:04 I am going to test the RX of UART1. Okay. Sep 20 00:03:11 what? no Sep 20 00:03:14 no uart is involved here Sep 20 00:03:26 the word "uart" does not appear in my screenshot Sep 20 00:03:37 Oh. Sep 20 00:04:10 I am not sure what to ask here. Sep 20 00:04:14 don't guess random shit when you've been given exact steps Sep 20 00:04:20 _exact_ steps Sep 20 00:04:34 there's nothing to guess or interpret Sep 20 00:04:38 Why can I not use the UART1 RX here? Sep 20 00:05:06 that question is so confusing I don't even know to answer it Sep 20 00:05:15 it's like you asking "why can't I use a banana here?" Sep 20 00:05:22 Fine. Sep 20 00:05:29 Forget the GPIO for now. Sep 20 00:05:40 what? Sep 20 00:06:09 please set_ ... I've given a schematic and a screenshot... just hook it up, performs the commands shown in the screenshot and confirm you get the same output Sep 20 00:06:18 I want to use the UART pin for setting up that Python3 file for serving, w/ the inverter, the EZ2 range finder. Sep 20 00:06:18 it really isn't that hard Sep 20 00:06:18 Okay. Fine. Sep 20 00:06:22 Please hold. Sep 20 00:06:24 this is about testing the inverter Sep 20 00:06:41 which is something I've said several times already Sep 20 00:07:04 @zmatt: You know the inverter works. You read exactly why we need it for this ez2 and you pointed it out. Sep 20 00:07:14 I read over it and you were right. Sep 20 00:07:15 how exactly do we know that? Sep 20 00:07:28 if the inverter worked, you would probably have received data from the ez2 Sep 20 00:07:38 b/c of the ez2 datasheet. Sep 20 00:07:57 how does a datasheet you that your inverter on a breadboard works? Sep 20 00:08:13 *tell you Sep 20 00:08:16 I think the file is creating a fault to quickly (error) and reporting the error which stops the file. Sep 20 00:08:27 The datasheet does not. Sep 20 00:08:30 You are right. Sep 20 00:08:35 no I think my code is fine Sep 20 00:08:39 Okay. Sep 20 00:08:44 Dang it. Sep 20 00:08:52 or at least, I've not seen anything that suggests it isn't Sep 20 00:09:12 Now, I have to set up the entire wiring again but w/ two GPIOs instead. Okay. Done. Please hold. Sep 20 00:09:22 since there are many unknowns here, the right thing to do is try to test components in isolation Sep 20 00:09:39 That makes more sense than going full "brim" here. Sep 20 00:09:39 testing the inverter is a simple step that excludes a potential source of problems Sep 20 00:09:46 Okay. Sep 20 00:10:08 @zmatt: This time, I will finally listen to your guidance and get this two GPIO set up out of the way. Sep 20 00:10:29 and isolate the inverter. Sep 20 00:11:03 the only difference is what the input of the inverter connects to (P9.21 instead of TX of the ez2) Sep 20 00:11:24 Right. Okay. Got it. Sep 20 00:11:28 Thank you. Sep 20 00:21:16 https://pastebin.com/ztpFpTPz is the output of the first show-pins | grep command. Sep 20 00:21:46 seems good, onto step 2 Sep 20 00:22:16 Okay. Sep 20 00:24:09 https://pastebin.com/wY3Suxuc is step two. Sep 20 00:26:42 okay, inverter works Sep 20 00:27:00 Okay. Sep 20 00:27:29 now I'd say connect the input of the inverter to TX of the ez2, power up the ez2, do "config-pin P9.22 uart", and try the script again Sep 20 00:27:40 Okay. Sep 20 00:27:44 Here goes it. Sep 20 00:27:49 what resistor values are you using btw? Sep 20 00:27:59 10k Sep 20 00:28:02 ok Sep 20 00:41:00 Okay. I got this dang set up "right" for now. I am about to use config-pin p9.22 uart. Please hold. Sep 20 00:42:37 Nope. Sep 20 00:43:25 It is the software timing out before it can read the data line, UART RX, of P9.22. Sep 20 00:43:29 Let me make sure again. Sep 20 00:44:02 feel free to increase the timeout from 0.5 to 1 in case it actually only accepts integers Sep 20 00:44:02 distance = sonar.measure() is the line in question from the "library" file. Sep 20 00:44:08 Okay. Sep 20 00:44:20 I think I already changed it to 3. Sep 20 00:44:23 Let me make sure. Sep 20 00:44:27 3 seconds is completely excessive Sep 20 00:44:32 Okay. Sep 20 00:45:01 the module performs a measurement more than 20 times per second Sep 20 00:46:40 Okay but timeout=x.x should not really matter, right? Sep 20 00:47:27 well it needs to be at least 0.05 Sep 20 00:47:31 Okay. Sep 20 00:47:58 and it may be wise to pick a value that's a bit larger like 0.1 Sep 20 00:48:18 anything bigger than that just means you have to wait longer to get an error when it's not working Sep 20 00:48:27 Right. Sep 20 00:48:33 That is what I noticed. Sep 20 00:49:03 can you pastebin the output of 'sudo show-pins | grep P9.22' just in case? Sep 20 00:49:08 Sure. Sep 20 00:49:12 Please hold. Sep 20 00:51:15 https://pastebin.com/nKsCK9mh Sep 20 00:51:29 ok looks good. you could also try this little test: https://pastebin.com/8ReQMfmY Sep 20 00:51:58 Alright. I am going to try that... Sep 20 00:52:15 If it is not working, I am going to think of something. I think. Blah. Sep 20 00:52:58 well it's not working then either it's not connected right to the ez2 module, or the ez2 module isn't sending any output for some reason Sep 20 00:53:52 it may be interesting to measure the voltage between pins 3 (AN) and 7 (GND) using a voltage meter Sep 20 00:55:14 https://pastebin.com/b8nYR9As is the damn serial.Serial has no attribute stuff again. Sep 20 00:55:37 ehm what Sep 20 00:55:47 oh Sep 20 00:55:52 don't name your script "serial.py" Sep 20 00:55:54 Yep. I think my serial from pip3 is in the wrong folder. Sep 20 00:55:58 literally *any* other name Sep 20 00:56:01 Okay. Sep 20 00:56:02 Ha. Sep 20 00:56:05 right now "import serial" tries to import the file itself Sep 20 00:56:39 b'' Sep 20 00:56:49 Got it. Flask is the same way. Sep 20 00:56:54 yeah it's really not receiving any data Sep 20 00:57:00 Oh. Sep 20 00:57:00 at all Sep 20 00:57:04 Hmm. Sep 20 00:57:06 Okay. Sep 20 00:57:37 So, I need to test the AN and GND. Sep 20 00:57:38 Okay. Sep 20 00:59:02 so grab a voltmeter and confirm you're measuring around 3.3v between pin 6 and pin7, ditto between pin 4 and pin 7, and check what the voltage is between 3 and 7 Sep 20 00:59:44 Okay. Sep 20 01:03:35 1.5v on power and gnd. Sep 20 01:03:40 what Sep 20 01:03:48 pin 6 and pin 7. Sep 20 01:03:49 Yes. Sep 20 01:03:52 Odd, heh. Sep 20 01:04:17 then you seriously fucked up the wiring somehow Sep 20 01:04:28 Okay. Sep 20 01:04:38 Dang it. Sep 20 01:04:49 since pin 6 was supposed to be connected to 3.3v and pin 7 to ground... needless to say, the voltage between those is 3.3v Sep 20 01:04:57 Right. Sep 20 01:05:33 But...as I read the schematic you made, I see there is a connection of the resistor breaking apart the 3.3v line. Sep 20 01:05:42 no there isn't Sep 20 01:05:42 Right? Sep 20 01:05:55 Not the entire resistor but a lead of it. Sep 20 01:06:17 Then, obviously I am reading it incorrectly. Sep 20 01:06:31 there is a resistor connecting to 3.3v, that's of no relevant to the connection to the ez2 Sep 20 01:06:39 *no relevance Sep 20 01:07:16 I would post a photo of my wiring but you might lose it. Sep 20 01:08:10 So, I could have an open ended resistor? Sep 20 01:08:22 ??!? Sep 20 01:08:32 One lead to 3.3v and the other end to nowhere. Sep 20 01:08:38 the resistor is part of the inverter, it's not releant to the power connection to the ez2 Sep 20 01:08:47 Oh. Sep 20 01:08:52 Okay. Sep 20 01:08:56 I am missing something. Sep 20 01:09:01 We can break for now if necessary. Sep 20 01:12:27 @zmatt: Give me permission to write or post photos in that link. Sep 20 01:14:12 I've added another photo showing the same schematic drawn in a slightly different way to emphasize what I mean Sep 20 01:14:16 https://photos.app.goo.gl/FR5bydFTwSqAXiAm9. Sep 20 01:14:39 The resistor is in the breadboard power rail. Sep 20 01:14:57 That is why I am receiving 1.5v. Sep 20 01:15:10 maybe your wires are crappy? Sep 20 01:15:25 One did break earlier today. Sep 20 01:16:09 try measuring the voltage between pin 7 of the ez2 and a ground pin of the beaglebone (e.g. pin 1 or 2 of P9 or P8) Sep 20 01:16:47 Okay. I would have to power the board on. Sep 20 01:16:48 likewise between pin 6 of the ez2 and a 3.3v pin of the beaglebone (P9.03 or P9.04) Sep 20 01:17:02 Let me just set up my wiring better this time. Sep 20 01:17:24 I did not know I was supposed to share gnd and 3.3v w/out the resistor. Sep 20 01:17:37 I don't know what you mean by that Sep 20 01:17:47 Okay. Please hold. Sep 20 01:17:51 it also seemed connected right on your breadboard as far as I could tell Sep 20 01:18:09 hence my suggestion there might be an issue with your wiring Sep 20 01:18:19 Okay. Plugging in the board again. Sep 20 01:19:26 BBBW! Sep 20 01:19:29 wait Sep 20 01:19:33 What? Sep 20 01:19:46 that isn't 3.3v Sep 20 01:19:56 you're connecting to P8.04 instead of P9.04 Sep 20 01:20:40 which is an eMMC data pin so I'm amazed your system even manages to boot at all Sep 20 01:20:46 Ha. Sep 20 01:21:00 I just felt so foolish. Thank you. Sep 20 01:21:34 I'm pretty sure I included "double-check your connections" as a problem-solving step earlier :P Sep 20 01:21:47 You are right. The damn Cape got in my path of vision. Sep 20 01:21:49 Dang it! Sep 20 01:22:39 You got some eyes like a hawk. Sep 20 01:25:21 b'\x00' Sep 20 01:26:01 that's still no good Sep 20 01:26:07 Dang. Sep 20 01:26:52 so again check voltages and stuff Sep 20 01:26:58 Alright. Sep 20 01:27:55 1.7v Sep 20 01:28:06 what on earth did you connect it to now? Sep 20 01:28:07 GND and 5v on the ez2. Sep 20 01:28:51 3.3v on the P9.4. Sep 20 01:29:04 well probably not since it's not 3.3v Sep 20 01:29:13 Uh? Sep 20 01:30:43 I think w/ the 10k ohm resistor in the power rail on the breadboard, the voltage is lower. Let me change things up. I have not had time. Sep 20 01:31:10 set_: sorry but that is nonsense Sep 20 01:31:17 Okay. Sep 20 01:31:48 It could be a bad connection/solder job. Sep 20 01:32:06 I am looking at the job. It looks okay. Sep 20 01:32:11 seems unlikely Sep 20 01:32:20 Since the 1.7v? Sep 20 01:33:50 yeah it's possible but unlikely, you'd need to have a very highly resistive connection to lower the voltage that much (since the module doesn't draw much current) Sep 20 01:34:36 Oh. Okay. I do not know. It could be a faulty module. Sep 20 01:34:37 assuming you're referring to soldering pins to the module (since there's nothing else to solder) Sep 20 01:34:43 Right. Sep 20 01:34:44 Yes. Sep 20 01:34:53 a faulty module doesn't explain why you're measuring 1.7v Sep 20 01:35:48 I have no idea right now. I need to make time to think real quickly. Maybe my BBBW w/ the Cape does not work w/ 3.3v? Sep 20 01:36:23 that is nonsense but you can easily verify presence of 3.3v between P9.03/04 and P9.01/02 by measuring Sep 20 01:36:31 Right. Sep 20 01:36:37 Let me test it. Sep 20 01:39:13 Maybe the Cape is on backwards. Sep 20 01:39:43 That explains the odd motor movement. Sep 20 01:39:45 Dang! Sep 20 01:39:49 Let me test that, man! Sep 20 01:39:50 ha. Sep 20 01:40:12 nOpe. Sep 20 01:40:18 Dang it. Sep 20 01:41:27 if you have concerns about the motor cape you could always remove it until you've debugged this issue but I very much doubt it has any impact Sep 20 01:42:13 and no it's not on backwards. and I don't know what you meant by "let me test that" since powering on the beaglebone with an incorrectly mounted cape sounds like a very very bad idea Sep 20 01:43:36 I think it is the GND rail and the power rail on this breadboard. Sep 20 01:43:44 I need to find another one. Sep 20 01:44:50 ohh Sep 20 01:44:57 I see the problem Sep 20 01:45:36 a breadboard doesn't have power/ground rails that run continuously along its entire length... each group of 5 pins is its own section Sep 20 01:46:09 Okay. I will change up the wiring. Sep 20 01:46:30 so you need to stick your wires into the same section, or connect sections together like you can see being done here => https://cdn.sparkfun.com/assets/0/3/f/f/1/51758c9ece395fd266000000.jpg Sep 20 01:46:40 Each group of five. Dang it. I never once heard that idea. Sep 20 01:46:44 I understand it. Sep 20 01:47:38 I didn't know that either (I've never used breadboards) but I was staring at it and saw those sections separated by gaps and realized that maybe those were independent Sep 20 01:47:52 and just when things get interesting, I am new to life. Sep 20 01:47:59 Gosh. Sep 20 01:48:15 so I googled for breadboard, found this photo which immediately confirmed it (otherwise there's be no reason for those short wires bridging sections together) Sep 20 01:48:16 I use them but I thought the entire rail was for power and gnd. Sep 20 01:48:25 Odd. Sep 20 01:48:30 yeah the continuous red and blue lines are pretty misleading Sep 20 01:48:38 Right, right. They are. Sep 20 01:48:46 they should have made those segmented Sep 20 01:49:07 Oh well. Time to test again! Sep 20 01:50:13 I cannot believe this...I even read over a lot of ideas relating to breadboards, e.g. "how to use a breadboard and etc..." Sep 20 01:51:27 yeah definitely also see some resources that seem to imply the rails are in fact continuous Sep 20 01:51:49 so maybe it varies depending on the breadboard manufacturer? that would suck Sep 20 01:52:00 Right. Sep 20 01:52:08 regardless it's something you can easily verify by measuring the resistance between two sections of ground Sep 20 01:52:16 right. Sep 20 01:52:51 Hey. I think I need to put all GND and all 3.3v pins together in that five section rail section. Sep 20 01:53:23 hmm I'm definitely finding plenty of photos of breadboards where the sections are definitely tied together internally Sep 20 01:53:27 so dunno anymore Sep 20 01:53:33 Dang it. Sep 20 01:53:34 Oh well. Sep 20 01:53:34 just measure it if you want to be sure Sep 20 01:53:38 No issue. Sep 20 01:53:39 Right. Sep 20 01:55:46 I think they actually should be tied together in your case, but again better to measure than guess Sep 20 01:56:30 It is the breadboard. I am testing the five section for all my GND pins and 3.3v pins. I have this section on top that is another power/gnd rail. Sep 20 01:56:35 It is an odd breadboard. Sep 20 02:36:45 b'R060\r' <--- does this mean anything? Sep 20 02:38:21 I looked up that info as is. I came up w/ three items. Sep 20 02:38:27 Only three links. Sep 20 02:38:28 Ha. Sep 20 02:39:26 It is working! Sep 20 02:40:19 It says that is garbage data on your src file, @zmatt. Sep 20 02:40:58 brb. This is exciting. Sep 20 02:50:49 @zmatt: Share in the glory! Where are you? Sep 20 02:56:41 It was the damn breadboard. They ripped me off. **** ENDING LOGGING AT Fri Sep 20 02:59:57 2019