**** BEGIN LOGGING AT Thu Jan 23 02:59:57 2020 Jan 23 03:01:05 Here goes nothing! Jan 23 03:45:22 On p. 11 of the TMP36 datasheet is a schematic for 1mV - 58 degrees Fahrenheit (Fig. 26) and if I was to wire that TMP36 as listed to the BBGW Analog Pin P9.40, do you believe I would receive an accurate reading? Jan 23 03:47:12 Basically, I set up a temp. sensor, the TMP36, to read my voltages and turn them into Fahrenheit readings and have two LED circuits to account for if it is cold or hot in the "place to be." Jan 23 04:04:15 That TMP36 got hot! Phew! Jan 23 04:12:34 I needed a Cap. Oops! Jan 23 04:36:25 Well...the cap. did not help w/ the heat. Jan 23 04:48:55 thermometers are difficult to make. Sheesh. Jan 23 04:51:11 Should I use 3.3v on the BBGW or the Analog power supply on that specific board for Analog TMP36 sensors? Jan 23 05:05:37 Do not fret. I will sign off for now. Jan 23 05:15:41 Well, I figured out the issue. Bad source! Yikes. Jan 23 05:33:55 Bad source and common ground b/t separate circuits. Yikes! Jan 23 06:40:08 Does anyone know of a non-china manufactured BBB Jan 23 06:46:58 Yea! Jan 23 06:47:03 I do, I do. Jan 23 06:47:10 GHI BBBW. Jan 23 06:47:17 GHI BBB. Jan 23 06:47:35 They might be sold out but yep. Jan 23 06:48:07 Do you need a link? Jan 23 06:48:59 I found it, thank you Jan 23 06:50:27 Okay. The BBBW is made by GHI and you can get them on Mouser or other places. Jan 23 06:51:19 https://www.mouser.com/new/beagleboardorg/beaglebone-black-wireless/ is something I found. Jan 23 06:52:05 I think GHI, although some of their components might not be 100% non-chinese mfg, assembles and puts the boards together in US. Jan 23 06:52:42 Interesting, I purchased a BBB from Mouser and the box is marked "Manufactured in PRC" which I believe is the Peoples Republic of China Jan 23 06:53:10 Hmm. Is it a GHI board or another type? I know the BBB has been made by many different mfg's. Jan 23 06:53:40 Like. Embest, Circuit Co. and others. Element14 and so on... Jan 23 06:54:28 I always wondered what PRC stood for. Jan 23 06:56:13 The box is marked as Manufactured by Embest Jan 23 06:56:21 https://www.mouser.com/ProductDetail/BeagleBoard-by-GHI/BBB01-SC-505?qs=Z52uPhvi9VhHy9sM8AOt%2FA%3D%3D Jan 23 06:56:23 Yep. Jan 23 06:56:36 Embest must have their mfg. sites in other countries. Jan 23 06:56:50 That mouser link is the GHI board but they are out. Jan 23 06:57:22 I am doing research with the Air Force Academy and they have a new restriction on UAV flight controllers, they cannot be manufactured in China Jan 23 06:57:30 Dang. Jan 23 06:57:49 That sounds serious. What do you plan on doing? Jan 23 06:58:18 Drones and stuff? Jan 23 06:58:31 Since I now know GHI makes the BBB I can check with them to see if we can purchase boards not made in China Jan 23 06:58:42 Let me see if I can find one. Jan 23 06:58:46 Please hold. Jan 23 06:58:50 Yes, I work on Drones and the control of drones Jan 23 07:00:17 Neat. Jan 23 07:00:48 Hey, I cannot promise 100% of the board will be made by TI or the beagleboard.org foundation. I am not affiliated but I enjoy the boards. Jan 23 07:01:08 I just know that GHI states their offices are located in the states. Jan 23 07:02:10 https://ghielectronics.com/products/beagleboard is what I found. Hey, Arrow might have some. I am just not sure if they are made by GHI. Jan 23 07:02:29 I can have the BBB boards make by a local company, but I hate to go down that path if there are other suppliers. I will get a hold of GHI and see if they can supply them. Jan 23 07:02:54 Okay. Hey, Godspeed! Jan 23 07:02:55 We checked with Arrow and the boards they have are made in china Jan 23 07:03:00 Oh. Jan 23 07:03:02 Dang. Jan 23 07:03:49 I wonder if you brought it up to your upper honchos that the boards might not be 100% USA made. Jan 23 07:03:50 I appreciate your help. It's late so I will sign off Jan 23 07:03:54 Okay. Jan 23 07:04:17 Like, the components might be mfg. in other countries but assembled here in the states. Jan 23 07:04:27 It is too bad, too. Jan 23 07:04:33 That would make all sorts of jobs. Jan 23 07:04:40 Sorry for all this chat. Jan 23 07:05:19 I believe it is ok if the ICs are make in China, just not the whole assembly. Jan 23 07:05:23 Thanks again Jan 23 07:05:46 Okay. Have fun! Jan 23 08:12:21 hmmm are the beagle lists locked down? Jan 23 20:08:43 jkridner: ping - is the email list on lockdown or is google tagging my posts spam? Jan 23 22:59:30 Has anyone figured out how to get the OpenCV library on the BBB family of boards? Jan 23 23:01:07 https://docs.opencv.org/master/d0/d76/tutorial_arm_crosscompile_with_cmake.html is something I just found! Jan 23 23:01:12 Forget what i was sayiing. Jan 23 23:01:23 cough. saying. Jan 23 23:06:15 Hey, how are the docs. coming along for the CNN and the AI? Jan 23 23:07:05 Oh and TIDL, what is going on w/ the TIDL library lately? Jan 23 23:07:52 I am hopefully about to try out OpenCV for the first time to test things out. I can try TIDL afterwards (maybe). I went over some of the source. Yikes. Jan 23 23:23:57 Blah. No go. Old info. Jan 23 23:25:49 are you running windows and do you have a cross compilation suite built. the AM353x has several acceleration features. Also it has a DSP (not sure what type). Jan 23 23:28:21 Oh? Jan 23 23:28:27 The am3xxx has a DSP? Jan 23 23:28:38 I was not aware of that idea. Jan 23 23:28:56 Yea. I have windows and linux. Jan 23 23:29:00 I am rich! Jan 23 23:29:19 No cross comp. build yet. Jan 23 23:30:01 I cloned OpenCV and ran out of space last time. Jan 23 23:30:13 But. This time, I have 32GB and I am ready! Jan 23 23:30:20 Send fans! Jan 23 23:31:15 ... Jan 23 23:31:40 I had an error w/ the ram onboard the BBGW and it failed. Jan 23 23:36:51 GenTooMan: Do you know how to get OpenCV on the BBB family of boards? Jan 23 23:38:30 I have another Cat5e cord. Yea boy. I can use my Linux machine now. Please hold. Jan 23 23:53:26 no the AM3358 doesn't have a DSP that was the old beagle board that had one. Jan 23 23:58:37 Oh. Jan 23 23:58:39 Okay. Jan 23 23:58:42 Got you. Jan 23 23:58:57 Oh. They had separate chips. Jan 23 23:59:34 I am using make to install the library right now. Jan 23 23:59:46 I just erased my cache and i Have room to spare! Jan 24 00:02:29 blah on OpenCV Jan 24 00:02:36 a big bin of trouble Jan 24 00:02:44 delete OpenCV; Jan 24 00:03:23 :D Jan 24 00:05:06 Right! Jan 24 00:05:12 What should I use instead? Jan 24 00:05:33 what do you want to do? Jan 24 00:05:48 I do not know. Sorry. Jan 24 00:05:58 video! Jan 24 00:08:08 does set_ ever know EXACTLY what he wants to do? I know I want to parse mp4 boxes then parse the h264 NAL stream in MP4 files but that's me not set_ Jan 24 00:08:50 Right! Jan 24 00:09:02 I am just reading books and I want to be able to follow along when it comes time. Jan 24 00:09:14 I noticed that there are some OpenCV books to get my grubby hands on. Jan 24 00:10:16 are you attempting object recognition? A lot of the early work for that was done in inspection machines for automated assembly. Jan 24 00:10:43 I came across this book, "BeagleBone by Example." The fellow wants to use OpenCV for taking photos. Jan 24 00:10:48 Oh and saving them. Jan 24 00:11:04 The book author saves the photo too. Jan 24 00:11:45 For instance, if you were to break in my place and steal a candy bar, I would want to know and be notified. Jan 24 00:11:53 Photo! Jan 24 00:12:02 if you want to parse it, use a video library....libav Jan 24 00:12:07 Oh. Jan 24 00:12:13 Hmm. Jan 24 00:12:20 object recognition? TIDL, etc Jan 24 00:12:23 lots of options there Jan 24 00:12:28 So, what is the hoopla about the OpenCV library? Jan 24 00:12:29 Oh. Jan 24 00:12:41 OpenCV is just a big gigantic mess that should be avoided at all cost Jan 24 00:13:00 convoluted C++ system Jan 24 00:13:12 That is what I have found so far but I want to keep trying (only today) until I quit (tonight). Jan 24 00:13:29 Did you like that dead end sentence? Jan 24 00:13:38 there isn't much you can't do w/o it Jan 24 00:14:07 libav. Okay. Jan 24 00:15:33 i have done face detect, image detect, etc all w/o touching it Jan 24 00:15:51 it really blows that TIDL wants to link with that cuz it uses that for image resizing and format detect Jan 24 00:16:06 imagemagick, libtiff, libjpeg, etc is all that is needed Jan 24 00:16:28 i have a hacked up tidl that removes most of those dependencies Jan 24 00:17:10 Oh. Jan 24 00:17:12 Okay. Jan 24 00:17:48 I am working on OpenCV until tonight (i know, dead end talk) and then I can move on in peace. I wanted to try two times. Jan 24 00:19:18 22% Jan 24 00:19:20 Ha. Jan 24 00:26:24 OpenCV = short for Open Convoluted Video? Jan 24 00:29:54 I looked. I do not know. Jan 24 00:30:03 Computer Vision? Jan 24 00:31:28 Convoluted Neural Network (CNN) is a nice acronym. Jan 24 00:32:43 Hey GenTooMan: I put together a thermometer w/ the BBGW and instead of using just a battery and a "simple" circuit, I added the circuit to the ADC of the BBGW. Jan 24 00:32:46 Oops! Jan 24 00:33:04 Man, I thought I was lacking. Now...it is official. Jan 24 00:33:37 That temp. sensor got so hot, it burned me when the red LED started to blink. Jan 24 00:33:45 Ha. Jan 24 00:35:03 27% Jan 24 00:49:59 hmmm what type of sensor did you use? IC? thermister? RTD? transistor junction? Jan 24 00:52:45 the sensor was a tmp36 and I used a cap. some resistors and hook up wires on a breadboard. Jan 24 00:53:22 p.11 of the datasheet shows the thermometer. Jan 24 00:54:06 0.1 uF ceramic cap! Jan 24 00:58:03 mmm their are 2 fahrenheit conversion circuits their. Jan 24 00:58:16 26 Jan 24 00:58:40 Top left, 26. Jan 24 00:59:09 you didn't use 4.53k and 1K did you? Jan 24 00:59:15 Of course, my source was off too. yes. I did! Jan 24 00:59:34 No. Hold. Let me go and see the datasheet again. Jan 24 01:00:11 10k Jan 24 01:00:26 and 46k Jan 24 01:01:04 I could not believe I actually had the uF of the cap. I needed. Jan 24 01:01:08 But. Guess what? I did! Jan 24 01:01:39 I would suggest first just measuring the output without any conversion. it says 0.1uF most common cap known to man. Jan 24 01:01:53 Yea. Fig. 26 on p. 11 was what I tried. Jan 24 01:02:23 Oh. really? B/c, I have a bunch of other uF caps around and I only had two of the 0.1uF caps. Jan 24 01:02:49 I got them to follow along in the Molloy book for testing circuits. Jan 24 01:03:42 0.1uF! If you say so. Jan 24 01:04:10 I like the caps over resistors b/c of the strength of the leads. Jan 24 01:04:37 did you wire the TMP36 backwards? Jan 24 01:04:41 No. Jan 24 01:04:53 I made sure I turned it around to the correct position. Jan 24 01:04:58 I don't see how you can make it hot Jan 24 01:05:05 Oh. Jan 24 01:05:42 what package ? Jan 24 01:05:45 TO92? Jan 24 01:05:47 Me neither but the source was off. I was reading C degrees and F degrees in the source. The person who put the book together forgot to mention some very critical source. Jan 24 01:05:52 Yea. TO92. Jan 24 01:06:25 Please hold for the link of the book on github. Go to chapter 4 and see the source for TM54. You will then know why my TMP36 got too hot to handle. Jan 24 01:06:28 it takes power, gnd and an output Jan 24 01:06:33 I know. Jan 24 01:06:39 the output has a shortcircuit around 250uA Jan 24 01:07:02 sources? just read the voltage Jan 24 01:07:06 https://github.com/PacktPublishing/BeagleBone-By-Example/blob/master/Chapter%204/LM35nLED.py Jan 24 01:07:13 you do realize the figure 4 is upside down don't you? Jan 24 01:07:15 Look at the source and you will soon find out. Jan 24 01:07:18 Right! Jan 24 01:07:28 The fellow missed the 500. Jan 24 01:07:53 what 500? Jan 24 01:08:06 on that link I posted. Jan 24 01:08:10 It is source. Jan 24 01:08:26 Please hold. I will get the line. Jan 24 01:08:28 wrong numbers there can prevent it from working not make anything hot Jan 24 01:08:43 this is normal SW, not VHDL/Verilog :P Jan 24 01:08:48 Hmm. Jan 24 01:08:57 Well the problem is if he read figure for on page 1 wrong. Jan 24 01:09:03 if it is hot, I suspect you have the wrong pinout Jan 24 01:09:06 figure 4.. Jan 24 01:09:28 is reversed looking from the direction of inserting it into a plug board. Jan 24 01:09:54 Line 18 >>> temp_c = (millivolts - 500) / 10 <<< This is what it should read! Jan 24 01:09:56 that would swap VIN and GND and definitely fry stuff Jan 24 01:10:23 errata! Jan 24 01:10:35 ds2 it's easy to do :D it's the equivalent of an LM50 which I've used. Jan 24 01:11:09 yes, I know it is easy to do Jan 24 01:11:13 I put in a pull request but no go. Jan 24 01:11:20 that's why I triple check before turning on power :P Jan 24 01:11:31 but I personally don't like these sensors Jan 24 01:11:36 and letting the magic smoke out. Jan 24 01:11:45 I2C or SPI ones are easier to deal with or for pure analog, a nice thermistor Jan 24 01:11:49 I also may have learned this idea, "Separate Circuits do not need common GND." Neat! Jan 24 01:12:11 I don't know what the context is of that statement, but you almost always need a common ground Jan 24 01:12:30 A common GND from separate circuits? Jan 24 01:12:51 zmatt: you are too limited in your scope.... optical circuits.. :D Jan 24 01:12:59 set_: the exceptions are so few and far between that you can ignore them. just assume you always need a common ground across anything that's connected in any way Jan 24 01:13:06 ds2: I didn't say there were exceptions Jan 24 01:13:09 *weren't Jan 24 01:13:18 I'm just keeping it simple for set_ :P Jan 24 01:13:19 note the trailing ':D' Jan 24 01:13:31 Neato. Jan 24 01:13:45 galvanic connections are so yesterday Jan 24 01:13:52 40% Jan 24 01:14:21 really? they work great except for the fact they often have break down issues. Jan 24 01:14:32 If I beat my 46%, I will continue my findings. Jan 24 01:39:50 so set_ did you incidentally wire the tmp36 backwards based on figure 4 page 1 of the data sheet? Jan 24 01:43:14 No. Jan 24 01:43:33 I checked and checked again and again. Jan 24 01:44:18 GenTooMan: Could it be that the source caused it to "backfire?" Jan 24 01:46:20 44% Jan 24 01:47:50 I undid the circuit and set up the new circuit w/out the cap and resistors. At the same time, I changed the source. Jan 24 01:47:59 So, like usual. I will never know. Jan 24 01:48:33 set_ that ... would be troublesome. Did you just wire it to the same power supply as the device being used to measure? Jan 24 01:49:41 The 3.3v from the BBGW was my power supply. Jan 24 01:50:23 I had only that power source, i.e. 3.3v or P9.3. Jan 24 01:51:08 Oh. Yes, I used the same 3.3v source on the BBGW after and before the error. Jan 24 01:52:26 hmmm well just checking. The package they used TO92 can be confusing as they specify it different on almost every device that uses it. Jan 24 01:52:51 I saw the 3, 2, 1 obscurity of it. Jan 24 01:53:24 It looks as though the face 1 - 2 - 3 should be backwards. Jan 24 01:53:43 1, 2, 3 is just me labeling the pins. Jan 24 01:55:54 All is well that ends well. At least no one got hurt (me). Jan 24 01:56:20 46% Jan 24 02:06:21 49% and we may have a winner! Yea boy... Jan 24 02:06:44 I think if I empty my cache every time it gets too full, I can get it. Jan 24 02:07:57 Well I have no idea what you are talking about. :D Jan 24 02:08:04 ds2: Do not fret, if this or if this does not work out, I will try the libav library. Jan 24 02:08:23 I am installing OpenCV on my BBGW. Jan 24 02:08:31 Slowly and surely. Jan 24 02:10:07 When they say slow aged, they were chatting about OpenCV on ARM. Jan 24 02:27:31 set_ the glutten for punishment Jan 24 02:29:14 Yep. Slow like brisket or aged beef. Pain like BBGW on OpenCV. Jan 24 02:29:44 51% Jan 24 02:31:36 Now, these dentries and inodes, should I flush those too? Jan 24 02:32:09 I was just clearing page cache. Jan 24 02:32:28 Not much changed. Jan 24 02:34:14 304,000 available from the command "free." Jan 24 02:34:48 I keep trying to update my cache clearing but I do not know if it is working or not. Jan 24 02:37:14 Oh and I cleared the cache for vm instead of nano. Maybe this would make some headway. Jan 24 02:38:42 Forget that last line I typed. Jan 24 02:42:47 set_ don't mess with it too much. You are talking about on the BBGW eMMC correct? Jan 24 02:43:59 No. SD Card. Jan 24 02:44:33 I am using a SD Card for this OpenCV excursion. Jan 24 02:44:46 "A battle into the unknown." Jan 24 02:48:14 set_ likely you will have the same issue, wear leveling just be sure your SD card is MUCH bigger than you need and it should be OK albeit slow. Jan 24 02:48:37 Otay. I have not had any issues w/ it before... Jan 24 02:48:42 But, I will keep an eye on it. **** ENDING LOGGING AT Fri Jan 24 02:59:58 2020