**** BEGIN LOGGING AT Sat Feb 16 02:59:57 2019 Feb 16 02:59:58 Or should I make a shell script or service file from a shell script? Feb 16 03:00:41 OH well. I will test it. Feb 16 03:01:36 reboot! Feb 16 03:02:00 Oh and do not lick my Servo Outputs now. Feb 16 03:02:05 bzzt. Feb 16 03:02:37 it does not persist across reboot Feb 16 03:03:28 Okay. Feb 16 03:03:47 I am checking anyway and then making it work on boot. Feb 16 03:08:28 set_: btw, you can also use gpio to test your circuit Feb 16 03:08:52 Okay. Feb 16 03:09:01 you can configure the DSM2 RX pin to gpio mode using: config-pin P9_11 gpio Feb 16 03:09:19 P9.11 gpio, got it. Feb 16 03:09:41 then export that gpio using: echo 30 >/sys/class/gpio/export Feb 16 03:10:02 and check its value by reading /sys/class/gpio30/value Feb 16 03:10:11 normally it should be 1 Feb 16 03:11:07 Okay. So, now I need one script w/ one service file w/ all these additions. I am trying to boggle everything before the night ends. If you are up at the point I finally get things situated, I will congratulate you on service mastery. Feb 16 03:11:08 ... Feb 16 03:11:13 That you, again. Feb 16 03:11:18 whenever the sbus signal is driven high, it should be 0. you can easily test that by connecting that line to the 3.3v of the beaglebone instead of to the sbus output of the receiver. see second drawing I've added to https://photos.app.goo.gl/S38CeKmFUe8gBwdn7 for illustration Feb 16 03:12:08 Okay. Feb 16 03:12:11 I got it. Feb 16 03:12:49 once you've confirmed it works, you can return the pin to default configuration using config-pin P9_11 default or just reboot Feb 16 03:13:02 Okay. Feb 16 03:31:33 I'm writing an article about 802.15.4 and 6LoWPAN Feb 16 03:32:20 history and purpose, set up a simulator on linux, set up the hardware with linux and how to configure linux and patch the wpan-tools toolchain for full operation Feb 16 03:32:34 neat Feb 16 03:33:00 I don't know where to put it, I chose medium because I guess it has good SEO but I can host it on my server Feb 16 03:33:27 I know wordpress exists but I've seen way too much CVEs for it Feb 16 03:33:44 maybe in a container in a vm in a vm Feb 16 03:34:12 hehe, I'd definitely sandbox wordpress Feb 16 03:41:07 I'd like to go into details but people will be lost Feb 16 03:41:16 and if I don't go into enough details people will be mad at me for saying false things Feb 16 03:45:54 :D Feb 16 03:47:15 Off to test it out now. Yea! Feb 16 03:47:24 Fly BBBlue, Fly! Feb 16 03:53:05 https://tools.ietf.org/id/draft-aayadi-6lowpan-tcphc-01.html Feb 16 03:53:21 it's a RFC draft for 6LoWPAN TCP header compression Feb 16 03:53:29 made by students of a french engineering school I almost went to Feb 16 03:53:41 I'd be there if I did show up more often in physics class Feb 16 03:53:47 I'd have passed the contest Feb 16 03:56:24 never made it beyond draft? Feb 16 03:56:46 apparently no Feb 16 03:56:54 the incentive isn't enough I guess Feb 16 03:56:59 6LoWPAN is a nice protocol tho Feb 16 03:59:11 No go. The Receiver powers on boot now, though. Feb 16 03:59:21 One step for man kind. Feb 16 03:59:42 "no go" ? Feb 16 04:00:10 Yep, no go w/ the connection, my ideas, arducopter, and the BBBlue for tonight. Feb 16 04:01:29 All I know, is that the powerboard should listen. I bet this transmitter cannot pair to the receiver. Feb 16 04:01:40 I mean... Feb 16 04:02:04 I know. Feb 16 04:02:23 ? Feb 16 04:02:29 I thought you had already paired them? Feb 16 04:02:53 I need to put in the connections, signal and GND, to the servo outputs from the ESCs. Feb 16 04:03:01 Probably. I will test this tomorrow. Feb 16 04:03:15 but also apart from specific header compression for TCP or ICMPv6 or whatever, 6LoWPAN defines generic header compression using real compression this time Feb 16 04:03:21 I figured the communications could be done w/out this part for some reason. Feb 16 04:03:22 LZ77 compression Feb 16 04:05:57 I guess I need to power the ESCs via the servo headers. Feb 16 04:06:54 so, power or pairing. I will have to see. Feb 16 04:38:11 here's a draft zmatt https://medium.com/@architektormaran/setting-up-ieee-802-15-4-6lowpan-on-linux-b50a26b6df0a Feb 16 05:31:10 zmatt: I just saw your question. From what I can tell, either the ESCs need more power or I am powering them incorrectly. Outside of that idea, I have no way to tell just yet that the Tx and Rx are paired. Feb 16 05:31:12 ... Feb 16 05:31:26 I have not successfully paried them yet b/c of my set up. Feb 16 05:32:28 I would test now but the damn night. The lateness of the night is preventing me from making noise here. Feb 16 05:32:52 And those three-phase motors are louder than poop. Feb 16 09:39:34 set_: ?????? Feb 16 14:45:38 Hey! Good morning! Feb 16 14:46:00 my baby bbbx15 wont start after I kept the J5 jumped. Feb 16 14:46:53 I got the power, when I start the board the D3 light on for couple sends and back to quite. Feb 16 14:46:57 quiet. Feb 16 14:47:08 When I add sd it behaves the same. Feb 16 14:47:39 I am worried I burnt something.... ;( Feb 16 14:47:59 (it smells good though) Feb 16 15:05:47 Andre: well, I hope you only used it with appropriately patched SPL and U-Boot… Feb 16 15:05:54 https://beagleboard.org/discuss/?place=topic%2Fbeagleboard%2FCGrnvgCsOUA%2Fdiscussion Feb 16 15:06:22 Andre: also, is there any serial console output? Feb 16 15:33:51 checking now, thanks @tbr Feb 16 15:34:29 ooops Feb 16 15:45:26 I only used official isos... Feb 16 15:45:42 🤷🏼‍♂️ Feb 16 15:52:02 well, if it ever got stuck in spl or uboot, you might have a bad time Feb 16 15:52:44 depending on what you mean by official and how old those "official" images were Feb 16 15:53:16 I booted it up somehow from sd! Feb 16 15:53:29 (with J5 bridged) Feb 16 15:56:00 ok, that means it's not dead Feb 16 15:56:25 Uffffff Feb 16 15:57:05 yes it worked somehow Feb 16 15:57:11 (j5 is connected at all times ) Feb 16 15:57:16 FYI Feb 16 15:57:18 thanks for help Feb 16 15:57:23 just keep in mind that with J5 enabled it's your job to have appropriate u-boot and such Feb 16 15:58:47 and I don't think it's just about the fan Feb 16 16:16:48 OK Feb 16 16:16:54 Appreciate your help! Thanks! Feb 16 16:17:05 I will try to take if off Feb 16 16:17:09 and see what happens.... Feb 16 16:18:11 Ha. Feb 16 16:18:20 I took if off and we are game back on! Feb 16 16:21:07 https://imgur.com/a/UTgLBKc shows some info. on ardupilot/arducopter. I attached my servo wiring from the ESCs to the servo rail on the BBBlue. Feb 16 16:21:08 ... Feb 16 16:24:53 DSM2 is UART4 on the BBBlue. I understand. I guess I should use uart4 in place, in the photograph, of /dev/ttyO1. Right? Feb 16 16:25:52 so, it would be /dev/ttyO4 instead and I need to config-pin this uart and set it up as a .sh file in a .service file for booting. Feb 16 16:53:16 https://imgur.com/a/2chSR1V is a paste of what ArduCopter knows internally of the sBus protocol and the inverted idea. Feb 16 16:53:17 ... Feb 16 16:53:37 So, I think for this wiring, I may not need the inverted uart connection. No? Feb 16 16:54:03 yeah Feb 16 16:54:05 according to this text Feb 16 16:54:40 Here is the link to that photo if you get bored: https://github.com/imfatant/test. The photo and schematic of the BBBlue is right above this info. Feb 16 17:07:00 anyway...bbl. Bikes! Feb 16 17:27:11 tbr: note that the issue that can cause hardware damage when the bbx15 is kept forcibly powered without a valid u-boot only applied to early versions, it was fixed in the final version Feb 16 17:29:12 set_: that quote can't apply to usage of the DSM2 input, and your inverting circuit is there also as a level shifter to protect the hardware Feb 16 17:32:48 zmatt: ah, nice to hear :) (I have one of the very early ones though, wonder if images still boot on it) Feb 16 17:53:06 set_: also you don't need to config-pin it as uart, it is already so by default (I've told you this before) Feb 16 19:36:54 Okay. Feb 16 19:47:00 zmatt: I know you typed that out. I will not use config-pin for that specific uart. Feb 16 19:47:25 you can also choose to use the E4 input (without inverting level-shifter circuit), provided you power the receiver from the 6V output of the beaglebone and not any other way. using the inverting level-shifter is still safer however (and I get the impression it ought to work, but I don't know anything about how to configure ardupilot) Feb 16 19:47:50 I understand. Feb 16 19:48:05 note that there's no harm in using config-pin to configure the DSM2 port to uart mode, it's just pointless since that is already the default Feb 16 19:48:31 Okay. I guess my only addition to be made is the pairing now. Feb 16 19:48:42 But, that is not BBBlue related. Feb 16 19:49:17 So, I will keep the set up you had mentioned in the schematic you made. Feb 16 19:50:20 I'm still confused about that... I thought you had paired the transmitter and receiver already? how or why did they get unpaired? Feb 16 19:51:03 pairing is something you only need to do once and then you never have to worry about it anymore Feb 16 19:51:23 I do not think I ever paired them. At least, the Tx is not commanding the Rx. Feb 16 19:51:51 I did receive some beeps once or twice during a "test run." Feb 16 19:52:02 Those beeps were from the receiver. Feb 16 19:52:48 Hey zmatt: Do you think I should power the ESCs by the servo rail on the BBBlue? Feb 16 19:53:06 what's an ESC ? Feb 16 19:53:16 Electronic speed control. Feb 16 19:53:34 ehm, what voltage does it expect? how much power does it draw? Feb 16 19:53:48 Oh. Let me see. Feb 16 19:53:50 Please hold. Feb 16 19:58:41 2 to 4S LiPo. Feb 16 19:59:09 sounds like they're designed to be connected directly to the lipo pack Feb 16 19:59:48 I think so. Feb 16 19:59:55 That is why I was using a power board. Feb 16 20:00:10 ? "a power board"? Feb 16 20:00:13 But...that did not power them either. Feb 16 20:00:32 Yep. It is another board for power distribution. Feb 16 20:00:40 ?? Feb 16 20:00:48 Please hold. I will show you one. Feb 16 20:00:53 what's wrong with just using wires? Feb 16 20:03:34 https://www.getfpv.com/electronics.html?cat=224 Feb 16 20:03:45 Oh. I am not sure. Feb 16 20:04:01 I can just use wires. Feb 16 20:04:12 why are you linking to a whole category? Feb 16 20:04:35 I was just showing one. Feb 16 20:04:47 Mine came w/ a "drone" kit. Feb 16 20:04:58 no, you linked to a category, not a product Feb 16 20:05:57 and some of these just look like pcbs that are effectively just wires, which I guess you can use if it happens to be convenient Feb 16 20:06:12 so what do you mean by "that did not power them either" Feb 16 20:06:42 if you connect them to power, they're powered Feb 16 20:06:51 My ESCs are not receiving power and the motors do not turn so far. Feb 16 20:06:56 That is what I thought. Feb 16 20:07:11 I thought these motors should be zooming by now w/ the power I give them. Feb 16 20:07:56 why do you think they're not powered? if you've connected them to power, optionally confirming so by measuring the voltage, then it's powered Feb 16 20:08:07 that doesn't mean they'll work, but they'd obviously be powered Feb 16 20:08:40 https://www.amazon.com/dp/B075M7MGJL/ref=emc_b_5_t is the b-Heli ESCs. I guess you are right. They are powered but not moving just yet. Feb 16 20:08:51 ... Feb 16 20:09:12 I will go and test again. Feb 16 20:09:25 I will test to see if they are powered or not. Feb 16 20:16:52 Hey! Feb 16 20:17:56 Thanks for help! Do you know the way to get to bbx15 u-boot console by any chance? Feb 16 20:18:31 same as on the beaglebone, connect a serial cable and press space when it says to Feb 16 20:21:58 Thank you. Feb 16 20:22:56 HA! Feb 16 20:23:01 Thank you so much! Feb 16 20:23:20 I must be blind bc I did not see the message on boot via console. Feb 16 20:23:24 Thank you so much! Feb 16 20:23:40 I tried ESC ~ enter but not space hahahahaha Feb 16 20:23:48 :) Feb 16 23:16:01 woof Feb 16 23:18:30 meow Feb 17 00:24:51 hello **** ENDING LOGGING AT Sun Feb 17 02:59:57 2019