**** BEGIN LOGGING AT Sat Mar 28 02:59:59 2020 Mar 28 03:01:36 MattB0Ne88: Hello. Mar 28 03:01:50 Good question. Let me go and see. Mar 28 03:03:22 It seems you are right. I just looked at some page online. It stated that "exec format error" means w/ the wrong arch. Mar 28 03:03:26 I am sure it can mean more, though. Mar 28 03:04:12 Do you have a binary file? Mar 28 03:05:07 yeah it is binary Mar 28 03:05:34 Most likely...it is from another architecture. Um, where did you get it? Mar 28 03:07:00 yourfile.py garlicoind is something I saw online for telling what arch the file is currently. Mar 28 03:07:06 I will try it. Mar 28 03:07:58 sorry. Mar 28 03:08:00 Use file. Mar 28 03:08:11 So, file yourfile.py Mar 28 03:08:14 Like that...sorry. Mar 28 03:09:38 I mean... Mar 28 03:09:56 Are you using gcc to compile a C++ file or something like that? Mar 28 03:11:35 yeah what is wierd is the i select arm 32bit as the compiler Mar 28 03:11:41 need to mess with it some more Mar 28 03:12:16 arm-linux-gnueabihf-gcc-8 Mar 28 03:15:41 Oh... Mar 28 03:15:57 are you making your own image or are you trying to use it on the command line? Mar 28 03:16:04 MattB0ne88: what's the context? Mar 28 03:16:35 I am trying to compile from qtcreator to the beaglbone Mar 28 03:16:57 so I have my kit specifying arm-linux-gnueabihf-gcc-8 and arm-linux-gnueabihf-g++-8 as the compilers Mar 28 03:17:07 but my binary is saying wrong arch it seems Mar 28 03:17:23 do I need to build an image Mar 28 03:17:29 what does the file utility say if you run it on your binary? Mar 28 03:17:55 (i.e. "file your-program" on the BBB or any typical linux system) Mar 28 03:18:48 right. Type that. file your-program or file your-file. Mar 28 03:19:13 https://pastebin.com/f7h5babc Mar 28 03:19:40 I should note we never bothered trying to get cross-compilation from qtcreator working, we just compiled it on the bbb (although we did setup distcc to offload the compilation to a bigger machine as a performance enhacement) Mar 28 03:19:48 MattB0ne88: well, that's not cross-compiled for ARM Mar 28 03:20:05 that's an amd64 executable :) Mar 28 03:20:12 yeah Mar 28 03:20:16 =( Mar 28 03:20:40 do you have a version of make installed? Mar 28 03:20:41 i am not sure why when I set the compiler to arm Mar 28 03:20:45 qmake Mar 28 03:20:51 maybe i manually go into that Mar 28 03:20:57 MattB0ne88: just qmake your project on the BBB Mar 28 03:20:59 and see if I am getting overrriden or something Mar 28 03:21:16 but I do not get that streamlined development enviroment Mar 28 03:21:18 since even if it uses the right compiler, I'd expect you'll run into more problems. but maybe I'm just pessimistic Mar 28 03:21:25 not that my applciation is that big or complciated Mar 28 03:21:40 why is that Mar 28 03:22:03 I mean, you still need to transfer the binary to the BBB... transferring the source instead and running qmake there is not really significantly less streamlined Mar 28 03:22:56 are you using eclipse or CCS? Mar 28 03:23:38 I know sometimes the environment sometimes matters. There are different versions which will hinder "excellence." Mar 28 03:23:48 well typically when cross-compiling you also need the libraries that are used on the target system, and you need your cross-compiler to be able to find them Mar 28 03:23:59 set_: he's using qtcreator Mar 28 03:24:04 Oh. Mar 28 03:24:05 he said that Mar 28 03:24:23 I know. I thought qtcreator was something he was trying to put on the BBB. Mar 28 03:24:27 lol fine Mar 28 03:24:36 MattB0ne88: but maybe it's way easier than I think Mar 28 03:25:00 I only briefly fiddled with this a long time ago, and I wasn't the one doing the qt development, that was another programmer Mar 28 03:25:09 was/is Mar 28 03:25:37 is it worth investing time in QtCreator and qmake Mar 28 03:25:49 what do you mean? Mar 28 03:25:55 i was reading cmake is more powerful Mar 28 03:26:19 I am new to building, make and c++ etc.. Mar 28 03:26:31 if qt is more trouble than it is worth i will switch Mar 28 03:26:46 https://www.qt.io/qt-for-mcus is something I came across. Mar 28 03:26:51 It might be a smaller version. Mar 28 03:26:55 cmake is basically just a replacement for make, not for qmake Mar 28 03:27:10 qmake isn't a replacement for make, it actually uses make Mar 28 03:27:23 afaik Mar 28 03:27:39 it generates a Makefile Mar 28 03:28:04 oh wait, so does cmake, brainfart... Mar 28 03:28:34 Hey. I tried qt dev. a while back and got "brainfart" too. Mar 28 03:28:56 I was always interested in why and for what reason it was not working. Mar 28 03:29:27 set_: qt-for-mcus is not relevant here, this isn't an mcu Mar 28 03:29:33 Oh. Okay. Mar 28 03:29:47 and I have no idea what you mean by the last thing you said Mar 28 03:30:25 MattB0ne88: anyway, cmake might be powerful but it's always given me a yucky impression Mar 28 03:30:30 I tried to make qt work on desktop before today. It was tiresome and hard. I never got to the point where MattB0ne88 is now. Mar 28 03:30:42 UX! Mar 28 03:31:18 MattB0ne88: using cmake for a qt project would definitely be more headache than qmake, so I wouldn't do that unless you have a good reason Mar 28 03:32:38 https://doc.qt.io/qt-5/qmake-tutorial.html#adding-platform-specific-source-files is something that may prove valuable. Mar 28 03:33:10 MattB0ne88: for now I suggest you just copy the project and run qmake on the BBB Mar 28 03:34:17 zmatt: i will take your advice and take the path of least resistance Mar 28 03:34:33 what is your development set up Mar 28 03:35:29 what do you mean? Mar 28 03:36:57 note again that I wasn't the one doing qt development, I've never used qt creator. but we had someone who was using qt creator on windows and mostly did development and testing there, and then just copied the sources to the BBB and then compiled it there Mar 28 03:37:40 zmatt: details of your coding enviroment, what IDE stuff like that Mar 28 03:37:42 ? Mar 28 03:37:50 I use vim and make Mar 28 03:37:56 damn Mar 28 03:38:05 no frills Mar 28 03:41:28 it seems like setting up cross-compiling might not be *that* hard actually... based on what I see here: https://doc.qt.io/qtcreator/creator-targets.html Mar 28 03:42:13 but it will need a "sysroot", i.e. a copy of the target filesystem (or at least those parts that contain the qt5 libraries and headers) Mar 28 03:42:23 along with the cross-compiler Mar 28 03:50:04 I found too much info, i.e. which all seems to point to issues and not fixes. Mar 28 03:50:25 What have you two searched for so far? I will make sure to search elsewhere. Mar 28 03:54:46 https://doc.qt.io/qt-5/qmake-advanced-usage.html#installing-files is something that I think works here. Mar 28 03:54:55 zmatt: I could a feed it my image on the bone? Mar 28 03:55:04 I saw something about needing an image Mar 28 03:55:11 wasnt sure where that came into play Mar 28 03:55:24 I was asking about what you were doing. Mar 28 03:55:26 That is all. Mar 28 03:55:49 About the "image" notion, I was just asking you what you were doing. Mar 28 03:57:50 MattB0ne88: "In the Sysroot field, specify the directory where the device image is located" .. so yeah, with "device image" in this context they're referring to filesystem of the target system (unpacked, not as a a single file), though it obviously doesn't need all of it, like I said it probably just needs the qt5 libraries (+ dependencies) and headers (+ dependencies) Mar 28 03:59:59 set: you talking to me? Mar 28 04:00:31 i am just trying to get my dumb form working on the bone. Mar 28 04:00:37 set_: that link is not useful at all Mar 28 04:01:09 made it for my desktop just testing it out on the bone. Supposedly you can have qt creator deploy it automatically if you have things setup right Mar 28 04:01:27 I think I am close i put compiler flags in my Makefile Mar 28 04:01:43 messed up the symbols though which I think is a linker error Mar 28 04:01:48 why are you manually fiddling with a makefile? that sounds like the worst possible route Mar 28 04:01:55 which may be connected to what zmatt pointed out Mar 28 04:01:59 instead of using qtcreator's configuration Mar 28 04:02:17 zmatt: i dont they have this configuration file .pro Mar 28 04:02:27 what do you mean? that's your project file Mar 28 04:02:28 if you put stuff in there it gets pulled into the makefile Mar 28 04:02:38 I'd assume qtcreator generates that Mar 28 04:02:40 or something Mar 28 04:02:46 (again, I've never used it) Mar 28 04:03:17 they do and I just added two lines to specify the compiler I want to use, for some reason it is ignoring what I specify in the kit Mar 28 04:03:50 ?? Mar 28 04:04:54 that sounds to me like the kit you configured just isn't selected / being used Mar 28 04:05:40 you'll want to make separate build targets for it anyway Mar 28 04:05:47 (probably) Mar 28 04:06:29 so you can build for your local machine for testing in addition to cross-building for the bbb Mar 28 04:07:49 oh or is "kit" what they call the build target... hmm.. Mar 28 04:08:04 it is the build target settings Mar 28 04:08:11 i need a toolchain with qt it seems Mar 28 04:08:16 for debian Mar 28 04:08:35 what do you mean by that? Mar 28 04:08:40 the toolchain is the toolchain Mar 28 04:08:57 https://community.nxp.com/thread/309578 Mar 28 04:09:55 I would avoid any instructions from 2013 as well as any related to yocto or openembedded since those tend to be about (or at least include) cross-building qt5 itself Mar 28 04:10:26 I'm also not sure what you want me to read on this page Mar 28 04:11:09 (also, that page is about qt4, but dunno how much that matters) Mar 28 04:11:56 fair point on the date, but it leads me to believe I need some sort of special toolchain with qt libraries or something Mar 28 04:11:58 i dunno Mar 28 04:12:03 i will just compile on the bone Mar 28 04:12:05 no, and nothing on that page implies this Mar 28 04:12:06 I feel I am close Mar 28 04:12:55 i am getting a symbol error all the sudden Mar 28 04:13:22 they just point qtcreator to the cross-compiler they want to use and the sysroot, and most of the rest of that page is just about yocto-specific stuff and not relevant for you Mar 28 04:13:36 if you want feedback on errors, share them using pastebin Mar 28 04:16:24 https://pastebin.com/F8rVtCtC Mar 28 04:16:57 i got like 8 of the relocations errors Mar 28 04:17:36 I really need more context... this is while trying to cross-build? Mar 28 04:18:39 yes Mar 28 04:19:07 of the hello world example so nothing going on really Mar 28 04:19:13 is there not more output, that shows the commands being executed? Mar 28 04:19:24 hmm let me look Mar 28 04:20:04 https://pastebin.com/fqJbupNv Mar 28 04:20:55 MattB0ne88: is this a makefile generated by qmake or are you still manually editing stuff when you really shouldn't? Mar 28 04:21:04 because this makefile appears to be broken Mar 28 04:21:47 it's compiling files with arm-linux-gnueabihf-g++ but everything else is wrong Mar 28 04:22:08 it's using the wrong includes, using the wrong linker, using the wrong libraries, the wrong specs, etc Mar 28 04:25:33 i just put the flags for the arm compiler on the top of my project file. qtcreator generated the makefile. I guess something else is wrong that is causing the rest to mess up Mar 28 04:26:26 is the fact that I have qt5_64 Mar 28 04:26:31 all over the place Mar 28 04:26:47 an indication that you're not using the right kit, or the kit is severely misconfigured Mar 28 04:27:06 probably the latter Mar 28 04:27:19 probably both Mar 28 04:27:28 lol Mar 28 04:27:39 since if it were using the right kit then it would at least use the correct toolchain Mar 28 04:28:02 (but the kit also needs to be configured with an appropriate sysroot) Mar 28 04:28:08 or... just compile on the beaglebone Mar 28 04:28:18 my sysroot is blank Mar 28 04:28:20 so that is a problem Mar 28 04:28:24 yes Mar 28 04:28:27 is there a qt for arm Mar 28 04:28:48 that question is so bizarre I'm not even sure what to answer here Mar 28 04:28:56 I've also explained several times what the sysroot is Mar 28 04:29:38 so I'm kinda done with this and am going to try to do more useful things Mar 28 04:29:38 afk Mar 28 04:33:25 lol Mar 28 04:33:31 reread what you wrote Mar 28 04:34:12 I wish there was a more convienient way to reference the board i will try and just copy back some of what is on my bone back to my desktop Mar 28 04:34:22 thanks for the help and good night Mar 28 17:11:07 shoot need to eat Mar 28 20:46:11 Well, I saw the neat testing kit for things all-bio w/ the BBB inside. Nice. Mar 28 20:47:03 Is it available for testing other things outside of COVID-19? Mar 28 20:47:10 I want to test my HDL and LDL. Mar 28 20:54:24 Um...dang. Mar 28 20:54:53 four large. Yikes. Mar 28 20:56:48 Well, first. I need to find some funds and then I can test my COVID-19, HDL, LDL, and other things. Boo-ya! Mar 28 20:57:18 You all be careful out there in the "hood" and "streets." Pandemic times are tough. Mar 29 00:26:35 Hello people Mar 29 00:26:42 in a make file Mar 29 00:26:46 = vs += Mar 29 00:26:55 is the += like appending the line Mar 29 00:33:43 also anyone seen a COMPILER_FLAGS = use $(CROSS_COMPILE) Mar 29 00:43:57 MattB0ne: I think someone in here has a make file tutorial. Mar 29 00:44:27 Stick around <<< Commando w/ Arnold! Mar 29 00:47:04 Well, there goes that idea. Mar 29 01:01:44 testing Mar 29 01:03:04 Well I tried Debian 10.3 toady. It went fairly smooth. Mar 29 01:03:13 not working sorry Mar 29 01:03:20 :D Mar 29 01:03:35 What's not working? Mar 29 01:04:25 I was attempting to test MattB0ne only to confuse the wrong people Mar 29 01:04:47 debian generally is a no fuse OS it's GenToo that speaks volumes for fussy. Mar 29 01:11:47 I am confused, too! Mar 29 01:12:05 I am the wrong people, too! Mar 29 01:12:08 Ha. Mar 29 01:12:23 But BB was originally formed around Debian Mar 29 01:12:34 Wha? Mar 29 01:12:48 I thought you guys were doing things w/ Angstrom? Mar 29 01:13:05 Probably before my time. Mar 29 01:13:53 I read today Linux Mint is moving to Debian base. Away from Ubuntu! Mar 29 01:14:54 That should screw things up. That's Mint 19.4 Mar 29 01:15:37 I use to use Fedora. Does that count? Mar 29 01:15:39 Ther are afraid Ubuntu might go under -or- become pay to play. Mar 29 01:15:47 Aw. Mar 29 01:16:54 ubuntu attempted to make it virtually impossible to make derivative distributions a while back ... so any derivative has grounds to be wary Mar 29 01:17:12 Fedora =$ Mar 29 01:17:42 Fedora costs money now? Mar 29 01:17:50 Off to look. Mar 29 01:18:44 How do you think Debian will fair? Maybe RedHat will push them to commericial. Mar 29 01:20:08 Forever means forever... Mar 29 01:20:20 Any body used relay capes? Mar 29 01:20:25 Yea boy! Mar 29 01:20:29 RelayCape! Mar 29 01:20:34 angstrom died 2014 Mar 29 01:20:45 How hard to setup? Mar 29 01:20:53 I could not remember the name "relay." I was grasping at ideas and could not think. Mar 29 01:20:55 Not. Mar 29 01:21:05 KenUnix: Do you have the RelayCape from GHI? Mar 29 01:21:32 Thinking about it. But from Mouser Mar 29 01:21:43 GHI is the mfg. Mar 29 01:21:51 They made it for BBB.io. Mar 29 01:21:55 Along w/ BBB.io. Mar 29 01:22:46 Any way how hard to get going? What do Mar 29 01:22:56 I need to load? Mar 29 01:23:23 P9.30! Mar 29 01:23:48 Go here to learn: https://github.com/beagleboard/capes Mar 29 01:23:59 Huh. One pin for 4 relays? Mar 29 01:24:00 P9.30 is one relay. Mar 29 01:24:05 No. Mar 29 01:24:11 They have other pins for the other relays. Mar 29 01:24:43 5v, i2c communication, and P9.xx header pins. Mar 29 01:24:50 Don't you need to re-configure kernel or download drivers? Mar 29 01:24:54 No! Mar 29 01:25:04 It is done already w/ EEPROM for the GHI Capes. Mar 29 01:25:37 lemme go take a look Mar 29 01:25:46 That thing, the Cape, has four relays. Mar 29 01:25:56 All w/ separate driving pins. Mar 29 01:26:00 Okay. Take a gander. Mar 29 01:29:49 says Consider moving RELAY3 to avoid disrupting HDMI audio. Consider moving RELAY1 to avoid conficty with all display capes. Mar 29 01:30:57 You can cancel that in /boot/uEnv.txt. Mar 29 01:31:14 If the relayCape is on, there is no way to put a Display on it. Mar 29 01:32:01 But what if I also want a display off expansion pins? Mar 29 01:32:04 the /boot/uEnv.txt file has a way to disable HDMI. Mar 29 01:32:08 Oh. Mar 29 01:32:19 No expansion on this Cape. Mar 29 01:32:55 There are some relays on top but not the expansion headers, i.e. P9 and P8. Mar 29 01:33:25 It all boils down to Relays instead of expansion for this specific Cape. Mar 29 01:33:40 I mean... Mar 29 01:34:03 Like people have said in the past, you can always cut specific pins but I would not personally. Mar 29 01:34:55 I guess you can tie in or solder something to a pin if needed. I would not want to do this task, though. Mar 29 01:35:14 It may ruin my Cape! It is a work of art, too. Mar 29 01:35:25 Not just a piece of hardware to bash up and make work. Mar 29 01:36:14 I think, w/ what I have seen, GHI did a pretty good job on these Capes. Mar 29 01:38:16 With relay cape on can you still access 6 pin console serial port? Mar 29 01:38:42 No. It covers the entire BBB or other related board. Mar 29 01:38:54 I mean... Mar 29 01:38:56 sudo echo mmc0 > /sys/devices/platform/leds/leds/beaglebone:green:usr0/trigger Mar 29 01:39:00 If you are crafty. Mar 29 01:39:56 If you are crafty, you can plug it in and add a couple additional expanded pin connectors and then use your tty to usb serial dongle. Mar 29 01:40:50 But...the RelayCape would have to be lifted. Like a truck lift for your BBB! Ha. Mar 29 01:41:08 sudo echo none > /sys/devices/platform/leds/leds/beaglebone:green:usr0/trigger Mar 29 01:42:19 Too bad they do not make "T" connectors for the BBB expansion headers. Mar 29 01:42:51 Or...really cross connectors. It would have to like a four-way stop. Mar 29 01:42:55 I think I say some headers some where Mar 29 01:43:05 Where? Mar 29 01:43:32 I dunno just now. Lemme look. Mar 29 01:43:36 Yea boy! Mar 29 01:43:49 I can add all kinds of functionality now. Mar 29 01:45:45 Here is one the wrong way. https://www.adafruit.com/product/2076 Mar 29 01:45:59 I love some simplistic connectors to add additional function to my Capes. Mar 29 01:46:38 https://www.adafruit.com/product/706 Mar 29 01:46:39 There. Mar 29 01:46:56 That will help w/ your current config. issue if you plan on getting this Cape for Relays. Mar 29 01:47:15 You may need to rewrite your EEPROM, though. Mar 29 01:48:00 I do not know enough to help you in that dept. Mar 29 01:48:30 Yea boy: https://www.adafruit.com/product/3396 Mar 29 01:49:32 out of stock https://www.adafruit.com/product/706 rewrite eeprom? Mar 29 01:49:52 YOu may want to check the dts files in uboot overlays to see if it is already supported. Mar 29 01:50:49 Yea. If you want to change the current config. of P9.xx for Relay3 to support the HDMI interface, you may have to rewrite the EEPROM. Mar 29 01:50:51 Right? Mar 29 01:51:01 I mean. Mar 29 01:51:31 FOr now, the P9.xx for Relay3 is P9.xx for Relay3. Mar 29 01:51:40 How else would you change it? Mar 29 01:52:11 w/ hardware and config-pin? Mar 29 01:53:10 Well if it's hardwired I guess so Mar 29 01:53:36 Ohh Arrow says their in stock http://static6.arrow.com/aropdfconversion/18aabe0a3bf184d901d4510c93618ed3df17f208/pgurl_5144760129746800.pdf Mar 29 01:53:42 Right but you have two pins that can be soldered so you can rewrite the EEPROM. Mar 29 01:53:52 Right? Mar 29 01:54:05 NO solidering. Thank you. Mar 29 01:54:10 Well, okay. Mar 29 01:54:18 Hmm. Mar 29 01:54:25 Check arrow above Mar 29 01:54:45 it is two through-hole holes that need to be soldered for access to EEPROM onboard the Cape. Mar 29 01:55:17 No. Mar 29 01:55:22 I do not want to check arrow. Mar 29 01:55:24 Sorry. Mar 29 01:55:32 Okay, fine. I will check. Mar 29 01:55:50 Yep. Mar 29 01:55:56 That will work for you. Mar 29 01:56:30 The issue is bending the pins to work. I would already want a couple of header "L" shaped pins to support my other tasks. Mar 29 01:57:45 I have two, each different, of those extension header pins. Mar 29 01:57:57 One, L and one just upright. Mar 29 01:58:22 But. the L is only 30 pin and not 46. Mar 29 02:00:39 SparkFun has headers https://www.sparkfun.com/products/12790 Mar 29 02:00:56 Oh. Okay. Mar 29 02:01:07 Oh. You mean right angle... Mar 29 02:01:16 L, right angle, whatever. Mar 29 02:01:32 humm lemme lok some more Mar 29 02:01:45 humm lemme look some more Mar 29 02:09:18 You need female to male? Mar 29 02:09:53 NO. Mar 29 02:09:59 I thought you needed them? Mar 29 02:10:11 I have my Cape as is. I am satisfied. Mar 29 02:10:29 I mean...I can use them w/ a couple of ideas. Mar 29 02:10:45 But, not right now. It is Pandemic nation right now. Save! Mar 29 02:11:09 You said. One, L and one just upright. Mar 29 02:11:32 I say and have said many things. You may have not ready exactly what I typed out earlier. Mar 29 02:11:34 But... Mar 29 02:11:42 ready = read Mar 29 02:11:53 But... Mar 29 02:12:05 Go through it if it is that big of a deal. Mar 29 02:12:41 Gosh. Hey, KenUnix...why do you get what I type mixed up on purpose? Mar 29 02:12:50 No. Do you have an example of access relay /o port? Mar 29 02:13:05 no Mar 29 02:13:10 I have the RelayCape. Mar 29 02:13:26 ever got it working? Mar 29 02:13:26 The one from the BeagleBoard.org/Capes section. Mar 29 02:13:32 No. I have not tried yet. Mar 29 02:13:48 KenUnix: Do you want to know if it works? Mar 29 02:14:02 I can attach it right now and we can work on it if necessary. Mar 29 02:14:16 Serious. Mar 29 02:14:22 Please hold. Mar 29 02:14:50 what would be necessary to access pins? Mar 29 02:15:00 I have a 12v battery, a RelayCape, and time. What do you want to do? Mar 29 02:15:49 if you can access relays you should be able to hear them click and led come on Mar 29 02:16:11 Accessing pins on the RelayCape is not able to be done on my end right now. I can access the Relays. Mar 29 02:17:27 i can access the RelayCape relays via what is available on the BBBW or whatever board. DO you want me to document it and send you a copy? Mar 29 02:17:33 First, work w/ me. Mar 29 02:17:53 ok Mar 29 02:18:30 What do you want me to do? Mar 29 02:18:56 you can send it to me when u have time Mar 29 02:20:40 KenUnix: Hey. Mar 29 02:20:45 My name is set_. Mar 29 02:21:02 I have a RelayCape, a 12v battery, and time. What would you like me to do right now? Mar 29 02:21:20 I will send over a video later but work is now. Mar 29 02:21:37 I got my wires ready for the 12v battery. Mar 29 02:23:06 set_ calm down. I was only asking if it's a big deal to control relays. Mar 29 02:23:29 I am calm. I just want to work. Mar 29 02:24:10 Relays can handle all types of voltage. Let me check their specs real quickly. I am sure there is a min/max. Mar 29 02:25:08 ok. go to work. save country from corona... No, I am asking to simply operate the relays fro BB. Mar 29 02:25:18 Oh. Mar 29 02:25:24 You do not know how to make them work yet? Mar 29 02:25:32 no Mar 29 02:25:43 Neither do I. That is why working together will be fun. Mar 29 02:26:00 All I know is this... Mar 29 02:26:18 I have this cape, the RelayCape, a 12v battery, and time. Mar 29 02:26:27 make time right now and let us make this Cape work. Mar 29 02:26:41 I will send over the video of it working once we figure out how to make it work. Mar 29 02:26:58 So, I am going to use the NO or normally open switch. Mar 29 02:27:05 But I don't have them yet. Weighing pros & cons or get LCD cape. Mar 29 02:27:06 And com/GND. Mar 29 02:27:11 Oh. Mar 29 02:27:22 Now, I know what you are after. I was mistaken. Sorry to get upset. Mar 29 02:27:44 I can still help you help me help you. Mar 29 02:28:05 ok. What do you need? Mar 29 02:28:26 I need to have a circuit made to make me understand what to do w/ this Cape. Mar 29 02:28:45 Right now, the Cape is useless b/c i cannot access my pins under the Cape. Mar 29 02:29:08 I mean, I could be wrong. Mar 29 02:29:29 I was going to type this earlier. I have a MOSFET and a breadboard. I can try to rewire things. Mar 29 02:29:53 If you get the relays to work you could power things on/off like lights. Mar 29 02:29:59 Right. Mar 29 02:30:09 Or solenoids, motors, and/or other things. Mar 29 02:30:38 MOSFET Metal Oxide Silicon Field Effect Transistor Mar 29 02:30:55 Yes. Mar 29 02:31:18 I member when they first appeared Mar 29 02:31:38 I can use one of those MOSFETs for a quick wiring of the breadboard w/ resistor and wiring. Mar 29 02:32:26 So, this Cape turns things on/off but w/ normally open/closed tech. So, I have used reed switches and door sensors too. Mar 29 02:33:07 I just have not wired it correctly yet for it to work correctly or I guess I just need to plug in the 12v battery, add source, and see what happens. Mar 29 02:33:30 What type of light should I use? Mar 29 02:33:56 I have an old light I can probably cut the wiring on. Mar 29 02:34:39 Check these: https://helloyee.en.alibaba.com/product/60425295832-802779943/Stacking_Header_Set_Right_Angle_for_Beagle_Bone_Capes_2x23_Stackable_Header_0_1_Pitch.html?spm=a2700.icbuShop.41413.10.511328180jIuan Mar 29 02:35:14 I am not purchasing from Alibaba the the 40 thieves. Mar 29 02:35:20 No offense. Mar 29 02:35:30 I stuttered in chat. Ha. Mar 29 02:35:46 Low voltage light Mar 29 02:36:38 Just for a view example Mar 29 02:37:14 Oh. Low voltage. I have a PowerSwitch Tail II. Mar 29 02:37:50 I can use the PowerSwitch Tail II for adding a full sized LED or another light source to 120v. Mar 29 02:37:57 That is half of what they recommend. Mar 29 02:38:23 Also, my 12v battery is half of what is recommended, e.g. 24vdc. Mar 29 02:39:47 KenUnix: I have the com port on Relay1 w/ a negative lead that will go to a 12v battery. Mar 29 02:39:49 Now... Mar 29 02:42:04 What now? Mar 29 02:42:17 Guide me, man. Guide a brother on this ordeal. Mar 29 02:42:52 Simple normally open circuit + to C NO to light light to - Mar 29 02:43:14 Okay. Mar 29 02:43:19 Let me test it. Mar 29 02:43:27 But...we need to type up some source. Mar 29 02:43:41 Are you handy w/ if, else statements? Mar 29 02:44:05 in what bash script? Mar 29 02:44:17 I do not know. C/C++ or Python? Mar 29 02:44:46 too late tonight for that Mar 29 02:44:57 So, the positive terminal goes to COM? Mar 29 02:45:07 And not to NO or NC? Mar 29 02:45:15 Odd. Mar 29 02:45:24 I must be forgetting what I did last time. Mar 29 02:46:28 Well generally C Com has the source you don't switch ground Mar 29 02:47:01 Okay. Mar 29 02:47:11 So, let us set up a motor. I will type up the source. Mar 29 02:47:26 Ground for safety dosen't get switched Mar 29 02:47:38 COM is the switch? Mar 29 02:47:43 You switch the hot side Mar 29 02:47:49 Okay. Mar 29 02:48:18 Com to battery + Mar 29 02:48:30 NO to light Mar 29 02:48:36 https://relaypros.com/wiring_diagrams.htm do not laugh. Mar 29 02:48:40 light to + Mar 29 02:49:20 hey my embedded friends Mar 29 02:50:00 Is there supposed to be a diagram? Mar 29 02:50:24 Big empty box Mar 29 02:51:11 There are many diagrams on that page. Mar 29 02:51:31 anyone really good at make files Mar 29 02:52:35 Working for Bell we had 24 contact relays with EM, EB and regular contacts Mar 29 02:52:45 Oh. Mar 29 02:52:47 Okay. Mar 29 02:53:16 EM Elary Make EB Early Break Mar 29 02:53:30 I will keep trying to figure this out. All I have is a 120v source light. Mar 29 02:53:43 I have a flashlight but I am not hacking it right now. Mar 29 02:53:49 damn NickServ Mar 29 02:56:34 Look here https://www.flickr.com/photos/9479603@N02/1814560359/in/album-72157602826943529/ Mar 29 02:57:34 how can I stop Nickserv from bothering me!! Mar 29 02:58:04 This is a slow operate relay https://www.flickr.com/photos/9479603@N02/1815406160/in/album-72157602826943529/ Mar 29 02:58:05 Tell them, "I am the man. Now, you will stop bothering me." Mar 29 02:58:26 He's the man Mar 29 02:58:35 I have identified 100 times today Mar 29 02:59:31 Those relay photo's show what I worked on many years ago Mar 29 03:00:50 Neat. Mar 29 03:01:27 I think me getting a light is not going to happen. I have a 40W light bulb but only a socket to handle 120v. Mar 29 03:01:43 So, there is a setup in the lamp. **** ENDING LOGGING AT Sun Mar 29 03:01:48 2020