**** BEGIN LOGGING AT Tue Feb 02 02:59:57 2021 Feb 02 03:15:09 Dungeons and BBBs! Feb 02 03:16:00 GenTooMan: Are you available? Feb 02 03:18:33 If not and if so, the quadruped is making headway. Now, it is time for some mechanical skills and lathered up metal melting. Feb 02 03:19:31 Then, some standoffs for the BBB. Bam-shananana, servos time and then more programming. This is more fun than I can stand. Sharing is cardigans. Feb 02 03:20:24 I just got some cheap, melting rods for attaching things and making them hold. Feb 02 03:23:48 Now, if I can only make this thing run instead of just lobbing around. Feb 02 03:30:41 What happens is I push the 12v motor to a higher frequency via PWM? So, instead of 1500 or 2000 freq, I put it at some numerical value that is higher? Feb 02 03:31:24 I mean...would that disturb the motors or make them wear quicker? Feb 02 03:32:27 I think it is called overclocking. Feb 02 03:35:14 Or would it make the CPU become overheated? Feb 02 03:40:18 shouldn't make a difference the hardware might be the issue IE the motor controller might have a maximum PWM it can handle. This is relative to the speed in which it can switch from on to off.\ Feb 02 03:42:49 Oh. Feb 02 03:42:50 ! Feb 02 03:43:05 So, frequency is for switching capabilities? Feb 02 03:44:09 I did see evidence of this in my source when applying 1000 hertz? compared to 2000 Hz. Feb 02 03:44:38 I did see changes in the way the motor was working. Feb 02 03:45:50 apart from your on and off switch timing of the power driver. You also have to consider audible noise. IE can you hear it humming. 1Khz will be more noticeable than 2Khz for example. Feb 02 03:46:09 Right. Oh? Feb 02 03:46:13 It is Khz? Feb 02 03:46:22 I figured it was basically Hz. Feb 02 03:47:09 Okay. So, 1000 Hz is 1 Khz. Got it. Feb 02 03:48:01 I was about to ask electrical engineering in the stackoverflow section online so I can lose points. Ha. Feb 02 03:48:47 So, it is about the motor capabilities and not how the am335x will handle it? Feb 02 03:49:26 So, my Khz can be 3 or 4 and that is b/c of the way to motor(s) handle the switch from off to on and on to off. Feb 02 03:49:28 Okay. Feb 02 03:51:43 why not get the L298 data sheet and turn to page 3? https://www.st.com/resource/en/datasheet/l298.pdf Feb 02 03:53:22 Page 3! Feb 02 03:54:33 What should I do? Feb 02 03:54:35 that is the start of what you need to know Feb 02 03:54:53 I mean...is there a particular section that states frequency? Feb 02 03:55:03 the next page is the timing characteristics :D Feb 02 03:55:08 IE page 4 Feb 02 03:56:13 Time! Feb 02 03:56:50 25 to 40 Khz. Feb 02 03:57:02 Commutation Frequency. Off to look this up. Feb 02 03:57:15 So, my 1000 Hz is too low. Feb 02 03:57:22 Maybe. Feb 02 03:57:32 probably not but you know know your upper limit instead. Feb 02 03:57:42 try 10k and see what happens? Feb 02 03:59:58 Ha. Feb 02 04:00:00 Seriously? Feb 02 04:00:09 Can I? Feb 02 04:00:21 I thought it was set to 2000Hz for a reason. Feb 02 04:00:39 or maybe not? Who knows. Feb 02 04:00:55 I will try to test out the motor or...fizzle? Feb 02 04:01:05 Often settings are arbitrary. However I would test it and see how warm the driver gets. Feb 02 04:01:13 Oh. Feb 02 04:01:42 Okay. So, testing the driver is smart. Too hot, not good. Too cold, demands more heat by way of switching accrued. Feb 02 04:01:55 It is weird though you needed to turn it up to 45% to move the motor? Feb 02 04:02:08 Right. But that was at 1Khz. Feb 02 04:02:20 I was having an issue w/ stopping it too quickly. Feb 02 04:02:55 you should ramp down the speed instead of draconian cut. The controller is limited to 2A according to that data sheet. Feb 02 04:03:21 I mean. I, as the motion planner, took it upon myself to make a server and some buttons online to test the issues at hand. Hmm. Feb 02 04:03:56 How does 2A come into this party? Feb 02 04:05:20 So, if I use four motors, all at 12v, 2a does basically equal the 46v from its max. But hat is just one chip. I have two onboard. Feb 02 04:06:00 Forget it. Feb 02 04:06:01 My bad. Feb 02 04:06:11 It there are 4 half bridges per IC and to IC's means you have 4 full bridges Feb 02 04:06:22 to== two Feb 02 04:06:31 Okay. Okay. Feb 02 04:08:52 I am trying to figure out exactly how to not ruin the board and the four motors. Feb 02 04:09:54 So, 12v continuously in current and 2A max. has a formula, right? Feb 02 04:11:08 My book is missing. Forget it. Feb 02 04:11:37 I cannot prove myself correct w/ a book right now. Feb 02 04:11:59 * GenTooMan tosses the book at set_. woo! Feb 02 04:12:11 * set_ oops! Feb 02 04:12:19 Ouch. Feb 02 04:12:45 So, would this be the formula? 12 * 2 / 4 = 6? Feb 02 04:13:50 And 6 represents wattage? Feb 02 04:13:58 It must be more complicated. Feb 02 04:14:38 It is so easy when I read things. Gosh. I am like the most illiterate tech. out here. Blah. Feb 02 04:14:56 what are you trying to figure out? Feb 02 04:15:21 IE start what you need first. :D Feb 02 04:15:29 start= state Feb 02 04:16:21 If running four motors at 12v from a 12v Lead battery while "overclocking" my pwm frequency, if that is what it is called, will harm the motors or the cpu or cape drivers. Feb 02 04:16:54 The chips handle 46v. I can run larger motors if necessary! Feb 02 04:17:11 I just thought about that idea. Feb 02 04:17:17 But not now. Feb 02 04:17:23 no to larger motors. Feb 02 04:17:26 Bad, bad. Feb 02 04:18:56 commutation frequency = counts per electrical cycle / PID Rate * 6 Feb 02 04:20:09 I wonder if the datasheet has the PID rate. Feb 02 04:20:15 if you are thinking about power I would start with 1 motor and see what happens, that can keep things in control. Feb 02 04:20:25 Right. Feb 02 04:20:27 Okay. Feb 02 04:20:54 I just do not want this thing to take on another form and kill birds in the parking lot or something. Feb 02 04:21:32 So, as soon as this six hour long compilation is done, why on the BBB you ask, I will test 'em out. Feb 02 04:21:59 B/c...I am in cave. Cavemen like me only compile on the BBB. Ha. Feb 02 04:22:18 52% Feb 02 04:22:31 I guess i can open another terminal. Feb 02 04:22:35 Please hold. Feb 02 04:22:39 I will update you soon. Feb 02 04:22:51 Oh try a single motor at a time. Feb 02 04:22:58 Fine. Feb 02 04:23:01 don't try ALL of them, very BAD idea. Feb 02 04:23:36 you don't want the unexpected. Feb 02 04:23:46 Okay. Feb 02 04:23:47 Okay. Feb 02 04:23:55 Where is my left hand? Feb 02 04:24:00 Right. Feb 02 04:24:24 So, what am I doing again? Feb 02 04:24:40 overclocking the frequency of one motor in a PWM peripheral? Feb 02 04:25:42 SHould I try 4000 Khz? Feb 02 04:25:45 Sorry. Feb 02 04:25:49 4Khz. Feb 02 04:25:57 That is the max. Feb 02 04:29:25 Well, my reverse has died for some reason. Feb 02 04:33:34 hmm reset and set it to 2Khz and see if it works again? Feb 02 04:33:59 okay. Feb 02 04:37:17 Runtime Error: Problem w/ sysfs file. Feb 02 04:38:01 It worked yesterday. Oh well. Feb 02 04:40:34 Whelp. Gulp! Feb 02 04:54:15 Hey! Feb 02 04:54:29 How can I unplug a battery from the BBBW if my GPIO pin is stuck on HIGH? Feb 02 04:54:36 Bzzt, bzzt? Feb 02 04:55:49 Oh. The MotorCape is attached. Feb 02 07:47:04 jkridner[m]: so, it turns out the power-up sequencing of the tps65217 pmic can be modified after all... TI just didn't document it until fairly recently, and it requires 8V on the PWR_EN pin :P Feb 02 07:48:26 (the newer and nicer tps65218 allows it simply via i2c without weird voltages) Feb 02 11:12:02 cool Feb 02 13:11:44 jkridner[m]: well, it might have been cool if this were known from the start so it could potentially have solved the beaglebone's 3v3-enable headaches... though, realistically, the need to put 8v on pwr_en would probably have made that option too obnoxious anyway Feb 02 15:43:49 interesting, I just discovered something the am335x can do that the am572x can't: PRUSS on the am335x can be clocked from the display PLL for cases where you need that kind of fine-tuned control over PRUSS timing, while the PRUSS clock on the am572x (shared by both instances) is merely a divider of the ethernet PLL Feb 02 15:53:54 zmatt sounds like they may have had routing issues. However it would be more sensible to have multiple possible clock sources for the PRU (that's just my opinion). Especially if you want specific timing. Feb 02 15:54:21 it presumably wasn't a use-case they considered Feb 02 15:57:21 I doubt it would have been any problem to insert a mux to give it richer clock source options if they imagined a desire for it Feb 02 16:00:42 which is odd because many of their other products specifically have muxes for 4 or more clock sources along with a divider. Feb 02 16:02:25 and digital muxes are a big deal to implement as opposed to analogue ones which are. Feb 02 16:02:44 first are =aren't bleah half awake I think Feb 02 16:03:38 i mean, when they thought people might want options they provided options... Feb 02 16:08:22 e.g. the ethernet timestamping reference clock can be selected from: video1_clk (from video1 pll), video2_clk (from video2 pll), hdmi_clk (from hdmi pll), L3 clk (from core PLL), or the M2 output of the ABE PLL Feb 02 16:09:39 mcasp clocks can be sourced from these same options (except they don't have the L3 clk as option) Feb 02 16:09:54 (independently selectable for each of the 8 mcasp instances) Feb 02 16:13:03 all but one of the 16 timers each have an independent mux with 10 or 11 sources to choose from Feb 02 16:13:21 muxing a-plenty, just not for pruss :P Feb 02 16:37:59  hello community iam a beginner to open source and i have learnt python and opencv ,tf.  so can anybody guide me how to contribute here Feb 02 16:38:36 please iam a beginner to this open source env. Feb 02 18:03:01 *argh* Feb 02 22:03:46 zmatt: ah well, can't be helped then. pity, though. Feb 02 22:35:59 zmatt here? Feb 02 22:36:51 anyways the py-uio code is blowing up with break detected when I do a loop back test Feb 02 22:37:12 It only occurs when checking the RS232 Feb 02 22:38:11 just to confirm I should be powering the the module at 3.3v and using the gnd on the beagle bone Feb 02 23:25:00 Hi, so I'm trying to import a TFlite model using the TIDL import tool and I encountered an error saying Only float and DT_INT32 tensor is suported Feb 02 23:25:00 TIDL limitation: TFLite operator CONV_2D cannot be mapped to a TIDL layer. Feb 02 23:25:01  TFlite operator MAXIMUM is not suported now.. By passing Feb 02 23:25:01 However, in the here https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Machine_Learning/tidl.html#neural-network-layers-supported-by-tidl it says that CONV_2D is supported for Tflite models - i'm not sure why this is happening - any help? Feb 03 00:03:36 nice board! Feb 03 00:04:12 looks very nicely documented, that is always appreciated Feb 03 00:04:48 now all I need is some time. It is always time that lacks, never the stuff Feb 03 02:14:27 Can I say that GenTooMan is number one? Feb 03 02:14:40 Sorry but he is number one! Feb 03 02:14:55 That is all for now. Feb 03 02:19:27 and now for that moment of confusion I've not been waiting for. Feb 03 02:22:34 Ha. I am glad you are here w/ me now. Feb 03 02:22:42 Time to do the dirty work? Feb 03 02:23:07 PA brotherly love and all that hubbub...but forget that mess. Feb 03 02:23:14 BBB! Feb 03 02:24:05 My items were not in that mailbox today. The bot is put on hold. Feb 03 02:24:12 Boo! Feb 03 02:24:35 That and updates/upgrades. I have to restart soon. Aw! Feb 03 02:25:26 It seems I am in control of my bot only when it understands that I am in control. Is that fair? Feb 03 02:26:06 For instance...I put in some source. The source is yay or nay to the bot interworkings. Feb 03 02:26:57 Then, I get these nice syntax errors that have nothing to do w/ my error at all. Now, like @zmatt says, it is usually (or always) my fault. Feb 03 02:26:59 But... Feb 03 02:27:37 Python3 is tricking me to look at specific lines when those lines have nothing to do w/ the actual issue. Feb 03 02:29:55 Well anyway, I just wanted you to know i am here for you and me too. Feb 03 02:56:42 Cough, okay, where were we? **** ENDING LOGGING AT Wed Feb 03 02:59:57 2021