**** BEGIN LOGGING AT Mon Nov 16 02:59:56 2020 Nov 16 03:03:16 Anyone interested in the 11AX product?\ Nov 16 03:10:29 Not me but I am sure there are other people around or if they are not, they may show up one day. Nov 16 03:11:01 renrelkha: I saw the way, via diode, they cut out the 24v supply usage on the buck converter. Nov 16 03:11:12 It is on the schematic. Nov 16 03:11:24 But, w/ all those caps... Nov 16 03:13:23 The unknown math function, that I need to have now, is elusive. Nov 16 03:15:48 set_ looks to be outside ground center positive that's about it as for how much current well probably < 1A at 12V Nov 16 03:15:57 Can I just use a 12v barrel jack at under 3A only? I think there is no way to tell exactly. I know what the datasheet is saying. Nov 16 03:16:07 less than 1A, okay. Nov 16 03:19:23 p. 10 on the datasheet shows some math examples. I would need to pick and place in the formula exactly what values are being used. Nov 16 03:20:24 I never knew buck converters, or just this one, are so complicated. Nov 16 03:21:24 supposedly, it has a couple MOSFETS in it and some M ohm resistors. Nov 16 03:21:33 Power! Nov 16 03:22:02 Well the 5V device has a max output of 3A so a bit of math says that 12/5/(.8) says that if you draw 3A you will need 1.5A it's not likely you need 15W from it so 1A sounds good enough (that nets you 2A output). Nov 16 03:22:23 Okay. Nov 16 03:23:11 RIght, the BBB or am335x w/ PMIC? Nov 16 03:23:20 switching regulators are all complicated. They've just simplified much of the hard part already for people who don't have time to design a PSU from scrach. Nov 16 03:23:30 Oh. Nov 16 03:23:30 id size it by calculating the watts using output amps and volts then calculate the input amps of the wattage you found at the voltage you are to supply and leave like .5a margin of error cause i dont know what im doing really Nov 16 03:23:51 Ha. I am learning too! Nov 16 03:25:07 Okay. I got it. Nov 16 03:25:12 like you cant give it too many amps anyway Nov 16 03:26:07 So, 12v input at 5v output with give or take 5%, you end up w/ an equation but where did you get the idea on (0.8)? Nov 16 03:26:58 Right. So, 3a at 5v output. Nov 16 03:27:07 W/ any input in range. Nov 16 03:27:52 Delta Volts means what? Nov 16 03:27:59 The sum? Nov 16 03:28:25 So, you give 12v +...let me look up delta again. Nov 16 03:28:26 Sheesh. Nov 16 03:28:28 Greeks. Nov 16 03:29:14 like you can hook it direct to a car battery that supply 650+ amps Nov 16 03:29:29 just get like a 3a wall wart Nov 16 03:29:33 call it a day Nov 16 03:29:33 Ha. Nov 16 03:29:53 I got you now. Nov 16 03:30:03 Sorry GenTooMan. difference Nov 16 03:30:07 Okay. Nov 16 03:30:27 Let me type this out before i lose my cahoots. Nov 16 03:31:01 So, 12v ~ 5v = 8v. Nov 16 03:31:04 Yea! Nov 16 03:31:28 WHy did you divide? Nov 16 03:36:48 i googled "3a at 5v is how many amps at 12v" and then it led me to http://www.batteriesinaflash.com/conversion-watts-amps-voltage then used these https://imgur.com/mgc14AJ.png 3*5=15 ... https://imgur.com/B3ti12u.png 15/12=1.25 ... plus my .5a cause i dont know for sure Nov 16 03:37:13 Oh. Nov 16 03:37:18 Okay. Nov 16 03:37:30 Delta is the difference. Nov 16 03:39:00 1 * 110 = _____. Ha. Nov 16 03:39:46 Oh. Nov 16 03:41:11 It is still fun. Nov 16 03:42:01 renrelkha: So, the old formula is accurate even w/ the amount of parts with their own respective units. Nov 16 03:42:40 i have no idea what the 'old formula' is Nov 16 03:42:58 oh. how to find power, ohms, voltage, amperes! Nov 16 03:43:37 It seems like it is way more complicated than making a couple of findings. I thought there would be some complicated formula. Nov 16 03:43:49 Oh well. Nov 16 03:44:49 again as long as the polarity of the plug is correct you cant really feed it too many amps Nov 16 03:44:58 you can provide too few Nov 16 03:45:17 OK let's say the converter is 80% efficient. you have 12V in 5V out that comes out to be a ratio of 1:2.4 then you multiply that by .8 (because it's 80%) so 1:1.92 1A in ~2A out Nov 16 03:46:02 Okay. So, ohm's law for AC... Nov 16 03:46:11 I just found my darn book. Nov 16 03:46:40 GenTooMan: +/- 5% Nov 16 03:47:54 Oh. This is AC/DC. Nov 16 03:48:18 phase angle? Nov 16 03:48:22 What is a phase angle? Nov 16 03:48:38 is degrees how hot it gets and that is phase angle? Nov 16 03:49:15 So, first we need to solve for power which is V * Current. Nov 16 03:50:01 So, 5v * 3.0A = 15. Okay. I am w/ you so far. Nov 16 03:50:18 Power is 15 or wattage. Nov 16 03:51:08 Then, it is power / (current * cos 0). Nov 16 03:51:50 So, we have 15 / (3 * cos 0). Nov 16 03:53:01 I had to look up cos 0 = 1. Nov 16 03:53:31 15 / 3 = 5 at 120v. Nov 16 03:53:36 120v AC Nov 16 03:54:12 Now, the rest of the circuit dictates what extra additions and subtractions are made. Nov 16 03:54:58 B/c, there is not a way the BBB or BBGG in this case can handle 600w. Nov 16 03:54:59 Ha. Nov 16 03:55:11 it would be cool. Nov 16 03:55:13 But no. Nov 16 03:57:31 i am holding a power supply here that output dc12v1.5a has max 120v ac draw of .45a Nov 16 03:57:50 One m ohm is 85 and the other is 40. Nov 16 03:57:51 Oh. Nov 16 03:58:12 Okay but the buck converter on this sucker has other circuits attached that lead somewhere. Nov 16 03:58:25 Right? Nov 16 03:58:28 like what are you trying to figure out Nov 16 03:58:39 if your power supply is big enough or what Nov 16 03:58:49 Exactly what I will need to not ruin my precious board and knowledge in general. Nov 16 03:59:53 I wrote something to the eMMC last week. Busted the board. Luckily, beagleboard.org has replacement images. Phew. Nov 16 04:00:06 That bsp is nice. Nov 16 04:02:33 10:00! Nov 16 04:11:12 so your device can output 3A max 5/12*3/.8 is like current draw from 12V Nov 16 04:11:46 which comes to about 1.56A Nov 16 04:12:26 That's assuming 80% efficiency and you have 12V in 5V @3A output. Nov 16 04:13:42 which is 19watts in 15watts out. that's a fare amount of heat to generate. Nov 16 04:14:48 Oh. I forgot to do the rest of the simplfying? Nov 16 04:14:56 Dang it. Nov 16 04:16:07 15/12 like renrelhka states b/c Power / Voltage = _______. Nov 16 04:17:16 I should have started at 120vac and then worked my way to the dc components. Nov 16 04:17:25 I made a mistake. Nov 16 04:17:48 No you need to know how much power the DC components draw eventually. Nov 16 04:18:18 eventually, luckily. ALl that stuff is datasheet driven. Nov 16 04:18:31 That said AC power is a beast of a different kind. Your inlet power is because it's a offline converter that needs to charge up a bulk capacitor inside of it. Nov 16 04:18:44 Oh. Nov 16 04:19:01 I thought that it was a small transformer. Nov 16 04:19:41 Is the small transformer in the inlet power a "bulk capacitor?" Nov 16 04:19:50 Ummm it's an off-line converter the transformer is part of a bigger more complex circuit. It's not legal to sell a transformer with diodes in the US anymore. Nov 16 04:20:01 What? Nov 16 04:20:05 Who says? Nov 16 04:20:17 CA? Nov 16 04:20:21 The Federal Government has set minimum efficiency standards. Nov 16 04:20:26 Oh. Nov 16 04:20:28 for all consumer devices. Nov 16 04:20:37 Hmm. I was unaware of that idea. Nov 16 04:21:07 GenTooMan: Even thought the input should be 12v, can I use a 9v source? Nov 16 04:21:24 thought = though Nov 16 04:21:28 set_ you could but at what consequence? Nov 16 04:21:39 Right. That is why I am asking. Nov 16 04:21:50 are there any consequences? Nov 16 04:22:03 You just changed your circuit dynamics. So you will draw more current from the 9V supply than the 12V supply. Nov 16 04:22:20 Oh. Nov 16 04:22:21 Okay. Nov 16 04:23:01 So, w/ 9 ~ 5 / 3, I would get 1.333~. Nov 16 04:23:38 you have 19 watts with the effiency of your converter roughly 80% Nov 16 04:23:38 whatever happened to the backtic? Nov 16 04:23:58 19/9 is the current you need from the PSU Nov 16 04:24:13 for 12V it would be 19/12 Nov 16 04:24:44 Oh. So, something multiplied by another value equals 19? Nov 16 04:24:51 Where are we deriving this 19 value? Nov 16 04:25:17 OK slow down. Nov 16 04:25:21 What/ Nov 16 04:25:23 ? Nov 16 04:25:41 I am slow now. Nov 16 04:26:17 5V 3A is 15W you have 80% efficiency so 80% of what is 15W? That's how you do the math. So X*.8=15 what is X? Nov 16 04:26:48 0.8 * 15 = ________? Nov 16 04:26:49 No. Nov 16 04:26:58 Oh. Nov 16 04:27:00 I got you now. Nov 16 04:27:07 15/.8=X Nov 16 04:27:22 you have to divide both sides by 0.8 not multiply :D Nov 16 04:27:49 So, you are saying that we are dividing for ohm's law now? Nov 16 04:28:08 You tricked me. Nov 16 04:28:13 set_ it's called power. Power in != power out. That's what efficiency is. Nov 16 04:28:38 Oh. So, the +/- 5% is our effeciency! Nov 16 04:28:41 so P_in * Efficiency = P_out Nov 16 04:28:51 Where are you getting the 8%? Nov 16 04:29:20 Our converter efficiency is ~80% which is 80/100 or 0.8 Nov 16 04:29:31 not 8% Nov 16 04:29:44 I thought it was 5%. Oh. Nov 16 04:29:52 * renrelkha thinks GenTooMan has alot of patience Nov 16 04:30:04 Okay. I must have read the wrong idea at the wrong time. Nov 16 04:30:10 renrelkha I lost my impatience! Nov 16 04:30:11 I admit it. Nov 16 04:30:34 GenTooMan: you are lucky Nov 16 04:30:49 set_ you try to do everything at once you will just confuse yourself. Nov 16 04:31:18 So, 15 * 0.008 is our answer or it is time for my calculator. Nov 16 04:31:20 Again. Nov 16 04:31:26 You need to ascertain what you need and how you need to get it. Nov 16 04:31:38 Right but that is when I use up what is available. Nov 16 04:31:44 umm no Nov 16 04:32:01 Power wise... Nov 16 04:32:03 Pin * Efficiency = P_out Nov 16 04:32:10 Oh. Nov 16 04:32:17 so Pin * Efficiency = 15W Nov 16 04:32:26 Oh. P_in. Not pin. Nov 16 04:32:28 Okay. Nov 16 04:32:33 so Pin * 0.8 = 15W Nov 16 04:32:33 I am w/ you again matey. Nov 16 04:32:51 120v * 0.8 = 15w? Nov 16 04:33:04 so Pin * 0.8/0.8 = 15W/0.8 Nov 16 04:33:14 so Pin = 15W/0.8 Nov 16 04:33:17 ha. Nov 16 04:33:32 so Pin = 18.75 or ~19W Nov 16 04:33:52 I still get 1.25. Nov 16 04:33:57 Right. Nov 16 04:33:58 Right. Nov 16 04:34:10 okay. ~19W. Nov 16 04:34:20 so now you need to figure out how to supply 19 watts of power at the voltage you want to supply Nov 16 04:34:23 that's the power input to the converter. Nov 16 04:35:01 that's exactly what I was saying. If you draw it to 9V then 18.75W/9V = Y amps Nov 16 04:35:15 So, 19w / _____ = 1.25 Nov 16 04:35:29 I can figure that out w/ my trusty calc. Nov 16 04:35:42 no again you are lost Nov 16 04:35:53 Okay. Nov 16 04:35:59 Okay. Let me just copy you. Nov 16 04:36:04 watts = V * A Nov 16 04:36:11 Right. Nov 16 04:36:20 So, 19 / 9 should equal 1.25 Nov 16 04:36:25 so 19 V * A / 9V = 19/9A Nov 16 04:36:40 obviously it does Nov 16 04:36:41 not Nov 16 04:36:43 at +/- 5% Nov 16 04:36:49 Ha. Nov 16 04:36:51 You are right. Nov 16 04:37:14 Hey man. You changed the subject a couple hours ago. It is not fair. Nov 16 04:37:36 at 12V it's ~1.58A at 9V it's 2.1A Nov 16 04:38:02 now you know how much current is needed from the wal wart Nov 16 04:38:06 So, 19/9 = 2.1A~. Nov 16 04:38:07 Okay. Nov 16 04:38:24 But, we should keep it under 2A from what i have learned for the BBB. Nov 16 04:38:25 https://i.imgur.com/B3ti12u.png Nov 16 04:39:05 there is no reason to keep the power 'under' any amperage Nov 16 04:39:12 afaik Nov 16 04:39:28 2A where from the 5V rail or ... what? Nov 16 04:40:13 Nope. Nov 16 04:40:18 Entering the BBB. Nov 16 04:40:26 Or can it handle more? Nov 16 04:40:40 I remember recommended was 2A. Nov 16 04:41:02 From Rev. C data. Nov 16 04:41:26 Seriously? Nov 16 04:41:38 I can have it at any amp? Nov 16 04:41:40 Umm you are confused this isn't a BBB Nov 16 04:41:47 I know. I know. Nov 16 04:41:53 it's the BB Good Grief Nov 16 04:42:04 This can be supplied up to 12v. I get it. Nov 16 04:42:05 Okay. Nov 16 04:42:09 you literally can plug it into a car battery Nov 16 04:42:10 from see ed studios! Nov 16 04:42:18 seeeed! Nov 16 04:42:24 Grove! Nov 16 04:42:24 car battery has like 650+ amps Nov 16 04:42:28 WIld. Nov 16 04:42:43 I was scared to plug it into the 1.3Ah 12v I have. Nov 16 04:43:06 Not any more, I guess. Nov 16 04:43:10 the converter can handle up to 28V and it has a 24V TSV on it. Nov 16 04:43:16 with the correct polarity Nov 16 04:43:33 i assume Nov 16 04:43:37 right reversing that might lead to arcs and sparks. Nov 16 04:44:12 12v battery w/ a 12v LED, GenTooMan says, "Just plug it in!" Nov 16 04:44:24 I will never forget it. Nov 16 04:44:33 I did it and the LED hissed at me while arcing. Nov 16 04:44:51 sweet Nov 16 04:45:01 i killed a bbb one time Nov 16 04:45:06 it wass fun Nov 16 04:45:29 did you get your drone to fly Nov 16 04:45:35 I literally blew up mentally on the chat. No. Not fun. I mean, if no one gets their eye poked out, yea. But, arcing is scary and blinding. Nov 16 04:45:37 Yes. Nov 16 04:45:49 It flew into the tree. Nov 16 04:46:05 The prop flew off first and then the BBBlue hit the damn tree. Nov 16 04:46:12 hell yeah Nov 16 04:46:20 tree get broken? Nov 16 04:46:30 Cheap acorn nuts. I am getting lock nuts now. Nov 16 04:46:32 Nope. Nov 16 04:47:12 fragil'e must be Italian Nov 16 04:47:23 Tree whooped my BBBlue. Nov 16 04:47:54 for some reason that story reminds me of this guy and his super sonic baseball cannon. https://www.youtube.com/watch?v=4I-p8vjQ95s Nov 16 04:48:13 Luckily, I figured out what needs to take place for the drone to fly correctly now. It is an attack drone for now. It only dives. Nov 16 04:50:54 what does it need Nov 16 04:51:45 Oh. Nov 16 04:52:07 I have to change out left back and left forward motors. Nov 16 04:52:22 then, I need to change the props, get the lock nuts, and pray for glory! Nov 16 04:53:46 I think NASA found a planet that rains rocks. Did you guys read that, I repeat. Did you guys read that? Nov 16 04:56:43 Venus snows lead sulphate crystals at 425C Nov 16 04:57:12 beans? Nov 16 04:57:20 Hot beans? Nov 16 04:58:52 I think if I plug in this 12v barrel jack adapter, the USB listed w/ lsusb will work finally on the BBGG. Nov 16 04:59:25 But, who knows? alsamixer was giving me trouble. Nov 16 04:59:53 For some reason, I could not save my small graphical set up. Nov 16 05:07:19 it records and performs playback but it does not accept my commands unless I use espeak. Nov 16 05:07:33 Anyway...for another time. Nov 16 05:07:36 BBL! Nov 16 06:41:08 * vedant16[m] uploaded an image: Screenshot from 2020-11-16 12-10-52.png (13KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/SgRXANpvAnouOwZrOWIIcCIg/Screenshot from 2020-11-16 12-10-52.png > Nov 16 06:41:30 * vedant16[m] uploaded an image: Screenshot from 2020-11-16 12-11-20.png (54KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tBmDRQtBJPdghrZsqwtMHcaQ/Screenshot from 2020-11-16 12-11-20.png > Nov 16 06:41:44 Should M1, M2, M3, M4 be grounded or left as NC ? Nov 16 06:42:28 following is the datasheet Nov 16 06:43:14 https://datasheet.lcsc.com/szlcsc/1903211732_Korean-Hroparts-Elec-TYPE-C-31-M-17_C283540.pdf Nov 16 09:23:10 Hi,I am working on BBB AM335x for power management stuff as i am very new to linux power management i need a bit help i am trying to achieve following using sysfs but i didnt got sucessi want to put my whole system into sleep state /idle state except WiFi and backlight, when i am writting $echo mem > /sys/power/state my whole system is going Nov 16 09:23:10 into sleep state similarly i have checked with /sys/class/backlight but didnt worth.Can someone help me how i can do it ? How i can suspend and resume particular device only ??Thanks Nov 16 09:59:16 Hi,I am working on BBB AM335x for power management stuff as i am very new to linux power management i need a bit help i am trying to achieve following using sysfs but i didnt got sucessi want to put my whole system into sleep state /idle state except WiFi and backlight, when i am writting $echo mem > /sys/power/state my whole system is going Nov 16 09:59:17 into sleep state similarly i have checked with /sys/class/backlight but didnt worth.Can someone help me how i can do it ? How i can suspend and resume particular device only ??Thanks Nov 16 10:00:40 pankaj: when asking a question that's really obscure (and thus has a limited audience) you really need to have patience. don't repeat your question this quickly Nov 16 10:01:14 (it's an interesting question, but unfortunately I don't know much about the details of how suspend works on linux) Nov 16 10:01:34 @zmatt ok Nov 16 10:02:27 Can anyone else help me with that? Nov 16 10:03:51 the best way to find out is by being patient... there are plenty of knowledgeable people here and if any of them might have ideas they might be able to provide feedback, but it can take a while: most of them will only look at chat occasionally, and they may be in a different timezone Nov 16 10:04:37 you may want to look into using a proper IRC client instead of the web chat, since I think the web chat closes automatically if you leave it idle for too long Nov 16 10:51:31 Pankaj Nov 16 14:26:35 /cl Nov 16 15:53:43 Hi all Nov 16 15:54:04 I have a problem with spi part , Nov 16 15:56:01 at first it did not recognise SPI, After reflasahing the beaglebone with the latest version 2020.4.6 I found that now beaglebone recognize the SPI part but it is not working and whatever data I send as the input , it is showed zero for the output. Nov 16 15:56:02 recognized the SPI part like Cloud9. Interesting part is that after reflasahing, I checked the blink Led with putty, and It did not recognize the GPIO this time. Nov 16 15:57:35 yeah I recently tried the blink led example (I normally never use bonescript nor cloud9) and it seemed to misbehave for me as well Nov 16 15:57:50 not sure what's going on with that Nov 16 15:58:26 can you describe what you're doing with spi exactly? are the pins used configured to spi mode? Nov 16 15:58:33 so what is your recommendation? Nov 16 15:59:20 just i want to send print(spi.xfer2([0,22,35,255])) Nov 16 16:00:11 I used spi inorder to communicate with dac (digital to analog converter) Nov 16 16:00:25 looks like python, which spi library? Nov 16 16:00:47 from Adafruit_BBIO.SPI import SPI Nov 16 16:01:22 I used this code for old one and it is working now Nov 16 16:01:42 ? Nov 16 16:02:28 I mean I bought 2 beagleboen 2 years ago and both of them working with spi part Nov 16 16:02:56 but recently I bought 5 bbb and all of the has this problem Nov 16 16:03:47 it's probably something to do with the spi library, or with the spi bus numbering that was previously broken (off by one) and is currently correct Nov 16 16:04:48 I reflash with the latest version. do you have any idea? or I need to replace bbb to raspberry Nov 16 16:05:23 how are you creating the SPI instance? what parameters are you passing to it? Nov 16 16:06:01 m=spi.xfer2([0,22,35,255]) Nov 16 16:06:10 that's not what I asked Nov 16 16:06:34 I asked about how you're creating the SPI instance (i.e. the "spi" object) Nov 16 16:06:37 could you explain it?sorry Nov 16 16:06:52 spi = SPI(0,0) Nov 16 16:07:04 spi.open(0,0) Nov 16 16:07:16 and then I send m Nov 16 16:07:19 why are you opening it twice? :P Nov 16 16:07:42 anyway, that's probably not harmful (just odd) Nov 16 16:07:54 yes Nov 16 16:08:49 my guess would be something weird in the adafruit library... those tend to be buggy. can you double-check that the pins are configured to spi mode, using my show-pins utility: https://github.com/mvduin/bbb-pin-utils/#show-pins Nov 16 16:09:44 thanks I checked befor Nov 16 16:09:49 before Nov 16 16:10:24 do you think is there any difference between manufacture Nov 16 16:10:50 spi itself works fine, the problem will either be in the adafruit library or in how you're using it Nov 16 16:11:04 those two old ones are made by element 14, these new ones are manufacture by farnell Nov 16 16:11:14 that is not relevant Nov 16 16:11:43 without importing the library It did not work Nov 16 16:12:03 also the old ones Nov 16 16:12:44 ... duh? Nov 16 16:13:51 like, if the adafruit library is the problem then the solution would be to replace it by a different library (e.g. spidev, combined with manually configuring the pins using config-pin) Nov 16 16:14:55 afk, work needs my attention Nov 16 16:16:43 for python , instead of adafruit do you know the library?(spidev can work in python code?) ) Nov 16 16:32:53 pip3 install spidev Nov 16 16:32:57 I think that is it. Nov 16 16:34:21 Up, up, and Otay! Nov 16 16:34:35 it did not work for me Nov 16 16:35:57 I tried this library as well Nov 16 16:35:58 import onionSpi Nov 16 18:24:51 Martin65: Try sudo apt install python3-pip first. Nov 16 18:25:08 That will get pip3 on your BBB. Nov 16 18:31:41 pip3 is installed by default Nov 16 18:32:18 "it did not work" is not a useful way to describe a problem Nov 17 02:59:53 about yesterday and last night, so what is the amperes I need to make sure I do not damage my board (BBGG). **** ENDING LOGGING AT Tue Nov 17 02:59:56 2020