**** BEGIN LOGGING AT Mon Feb 10 02:59:58 2020 Feb 10 03:19:55 are .ini files allowed on the Debain distro from BBB.io/latest-images? Feb 10 03:21:44 GenTooMan: sure Feb 10 03:23:13 set_: that question makes no sense Feb 10 03:26:43 Okay. Feb 10 03:28:24 GenTooMan: or you can use lcdc to create an 8080-like or 68000-like bus interface Feb 10 03:51:37 seeing different images from different sites what the Feb 10 03:51:50 best for a BBB Black? Feb 10 03:53:09 I will be accessing via USB connection. Feb 10 03:53:37 KenUnix: the first link that's for BeagleBone is recommended Feb 10 03:54:05 i.e. Debian 9.9 2019-08-03 4GB SD IoT for BeagleBone and PocketBeagle via microSD card Feb 10 03:55:08 Which site would that be? If I plan to use a GUI then Feb 10 03:55:27 I would not want to use IOT, correct? Feb 10 03:56:23 The IoT image does not include a desktop environment, the LXQT image does. The beaglebone is not well suited to running a desktop environment, which is why the IoT image is the recommended one Feb 10 03:57:13 and I'm talking about https://beagleboard.org/latest-images which is where the latest official images are (except the flasher there is _still_ outdated, I've even emailed jkridner about that) Feb 10 03:57:56 OK. How would that effect my interface from a P.C. using Feb 10 03:58:07 it doesn't Feb 10 03:58:16 (using what?) Feb 10 03:58:18 tight VNC or putty? Feb 10 03:58:38 putty => it doesn't, VNC => that doesn't work out of the box either way Feb 10 03:59:12 So what would you use? Feb 10 03:59:59 that's not great question since I'm an advanced user hence what I prefer may not be what oyu want. (I start out with a minimal image and just install the things I want.) Feb 10 04:00:28 however I would not feel any inclination to run a desktop GUI on a beaglebone Feb 10 04:00:51 I don't see the point in doing so, it'll just be slow and painful, and waste resources on the BBB Feb 10 04:01:16 also, the GUI image doesn't really fit well in eMMC, so you'd be forced to run from SD card, which I wouldn't want either Feb 10 04:01:36 If you use Firefox to connect to 192.168.7.2 then Feb 10 04:02:10 open a session via Cloud 9 what would that be? Feb 10 04:02:39 I think the web interface (cloud9) probably works in both firefox and chrome, I'm not sure... I've never used it myself, but plenty of people do Feb 10 04:02:46 what do you mean? Feb 10 04:03:27 cloud9 is a web application, it has nothing to do with running a desktop environment on the BBB itself Feb 10 04:04:12 Yes, I have read running off of SD-Card is very slow. Feb 10 04:04:57 slower than eMMC anyway Feb 10 04:07:26 If you are wondering why the Unix in my name it Feb 10 04:07:57 is because I first got started in 1974 on genuine Feb 10 04:08:23 I wasn't wondering really Feb 10 04:08:34 Unix boxes running on Dec-11/45 & Dec-11/70 iron. Feb 10 04:09:53 Yes, back then no GUI we used hard copy Feb 10 04:10:11 terminals and Dec-VT00's. Feb 10 04:11:15 Thanks for your advice! Feb 10 05:00:14 Hey, do you think that my newer BBBW has an issue w/ the EEPROM? Feb 10 05:02:56 set_: head -c 16 /sys/bus/nvmem/devices/0-00500/nvmem | strings Feb 10 05:03:43 for the BBBW it should show A335BNLTBWA5 Feb 10 05:03:57 Okay. Let me check. Feb 10 05:04:44 Yep. That is it. Feb 10 05:04:53 then eeprom is fine Feb 10 05:04:59 Good news! Feb 10 05:05:04 It is me, again! Feb 10 05:05:08 Bad news. Feb 10 05:06:36 The server lives! Feb 10 05:11:37 all three live! Feb 10 05:12:27 I had an expired/open window on Google and it prevented me from starting/stopping/statusing my servers. Feb 10 05:12:28 Oops. Feb 10 05:12:41 One page and dang! Feb 10 07:43:43 GM , what's the purpose of "uname_r=" first line of uEnv.txt ? Feb 10 09:33:45 fred__tv__: tells u-boot which kernel to load Feb 10 10:46:20 so, must it be modified after a kernel update ? Feb 10 10:46:33 that should happen automatically Feb 10 10:46:56 when you install a kernel package, there's a post-install action that updates /boot/uEnv.txt Feb 10 10:47:55 I have upgraded kernel and bootloader , but it seems uEnv.txt is still the older one.... Feb 10 10:48:26 that sounds very strange Feb 10 10:48:35 will check better later, (out of lab now) Feb 10 10:49:56 the only thing I can think of is that maybe that could happen if you cut power immediately after installing the kernel package, causing some filesystem modifications to not actually be written to SD card (in which case I'd suggest reinstalling the kernel package since the kernel and modules would be suspect as well) Feb 10 10:50:45 ok Feb 10 10:51:50 (note that cutting power during SD/eMMC writes, but especially SD, is a also great way to get filesystem corruption) Feb 10 18:22:56 the PRU reminds me of when I read about the Moto MC14500B ... well it's not THAT simple but similar in thinking (https://en.wikipedia.org/wiki/Motorola_MC14500B) Feb 10 18:39:07 the nice thing about PRU is that it's actually not like an annoying little microprocessor... it has 32-bit wide registers and ALU, and 31 general-purpose registers Feb 10 18:45:51 and its lack of pipelining is quite unusual. (cortex-m3 is 3-stage pipelined, AVR is 2-stage pipelined) Feb 10 19:18:50 Well now I don't have an excuse not to play with the PRU ... heh Feb 10 19:19:26 well grab my py-uio and start playing ;) Feb 10 19:20:20 (I personally think pasm + uio-pruss + py-uio is still superior to pru-cgt + remoteproc-pru, unless you want to use the C compiler, which is just a waste of pru) Feb 10 19:21:07 Hey. I got my ServoCape in. Made in the ole USA! Boy! Feb 10 19:21:29 Neat. Now, time to learn on it. Feb 10 19:21:57 And... Feb 10 19:22:15 What is this 5v thing on it? It states IN and 5v. Feb 10 19:22:45 It is a screw terminal w/ those marking on it. Feb 10 19:23:11 So, if I wanted to use the Cape w/ 5v logic peripherals? Feb 10 19:23:39 This might come in handy w/ specific sensors/actuators. Feb 10 19:24:50 anyway...I will read up on it later. bbl. Feb 10 19:27:52 set_: I'd probably measure what connects to what since the schematic is unclear and doesn't seem to match the photos I see of the cape Feb 10 19:28:51 also, this cape looks pointless as hell Feb 10 19:33:10 it's basically just a breakout board of the pca9685 16-channel i2c led controller (actually designed as led controller) Feb 10 19:33:34 *pwm controller (designed as led controller) I mean Feb 10 19:40:15 a particularly entertaining detail of that choice of pwm controller is that the datasheet doesn't specify *anything* about the accuracy of its internal oscillator, which makes sense for led control since the exact frequency doesn't really matter there, but sounds pretty miserable for servo control where the pulse width (rather than duty cycle %) is what matters Feb 10 19:41:57 the beaglebone by itself can do what this cape does and do a better job at it Feb 10 19:42:33 (except for sourcing/sinking current, which shouldn't matter for servo control, but I guess you could use it to drive some leds) Feb 10 19:46:59 I think the main reason it was used is that it can translate voltage (pullups) and you can run it off different supply for the servo. It's also one of the few PWM LED controllers that can drive the output high (without a pull up). Feb 10 19:47:22 GenTooMan: nope, it has 3.3v outputs, and its input connect to BBB pins without any protection Feb 10 19:47:35 the led controller is powered at 3.3v Feb 10 19:48:08 and I understand it's unusual for a led controller to be push-pull... you don't actually want a led controller for this application Feb 10 19:48:43 So the push pull is likely the ONLY reason they used it. :D Feb 10 19:49:08 exactly because of aforementioned reason: frequency is close to irrelevant to led control Feb 10 20:02:38 but hey, the frequency accuracy isn't specified, so maybe it's actually great ;D Feb 10 20:11:31 For control using I2C is not the best idea, it can have some very nasty problems. Especially in RF fields. Feb 10 20:12:07 high-impedance lines easily pick up noise Feb 10 20:13:31 although I think that still sounds like a fairly minor concern compared to having unknown accuracy of the pulse widths you're sending to servos Feb 10 20:27:14 It's output frequency is adjustable from 24 to 1526Hz the Servo's are fairly fault tolerant as long as the PWM can range from 1 to 2ms Most servos can tolerate > 50hz rate so they probably choose 190hz for the update rate to keep the resolution somewhat decent on the servo. Feb 10 20:28:16 GenTooMan: refresh rate isn't the issue. the frequency also directly impact the pulse width since this is equal to duty cycle / frequency Feb 10 20:29:40 no pwm controller on earth has inaccurate period yet accurate pulse width Feb 10 20:35:02 zmatt refresh rate affects how much time 1 adjustment of the PWM gives. Feb 10 20:36:33 that's my point. my understanding is that servos are controlled by the absolute width of the pulse, rather than by duty cycle Feb 10 20:37:27 if they were controlled by duty cycle (like e.g. pwm fans) then there'd be no problem Feb 10 22:14:45 Hello, how can I find out which pins are associated w/ the Servo Header pins on the ServoCape? Feb 10 22:15:40 In the meantime, I will be testing each one individually. Feb 10 22:17:41 Oh and for the future of Servos w/ your educational ideas, it may be well suited for 6v applications since lead acid batteries come in 6v supplies. Just an idea. Feb 10 22:24:48 nothing on the servo cape allows 6V Feb 10 22:25:10 I know. Feb 10 22:25:14 I understand. Feb 10 22:25:24 then I don't understand what you were trying to say Feb 10 22:26:24 If you "could" make it 6v accessible for 6v servos, it may be easier to use since there are lead acid batteries in the 6v range. Feb 10 22:26:41 That is all. Feb 10 22:29:47 How can I get the sensortag to work w/ the BBBW at /var/lib/cloud9/extras/sensortag? I tried w/ node but I could not get it to run. Feb 10 22:31:52 Should I use node-red? Feb 10 22:32:06 i.e. red.js file.js? Feb 10 22:32:47 Nope. Feb 10 22:34:22 https://pastebin.com/0SwCMism is my error when I run the sensortag.js file w/ node and nodejs. Feb 10 22:38:58 I am on the noble/noble github page now if anyone would like to chime in at some point. Feb 10 23:14:02 set_ there are no 6V lead acids .. that's a lie they are 7.2V peak instead. You need a circuit that can handle 8V (6V Pb) or 16V (12V Pb). As for higher voltage you could use a voltage translation IC to go from 5 to (whatever). Feb 10 23:14:49 It won't be as convenient to do as your current system Feb 10 23:20:31 Okay. Feb 10 23:27:32 Do I need an i2c library for this ServoCape? Feb 11 00:07:37 GenTooMan: I will keep this idea in mind if I ever need to support anything other than 5v from this Cape. Feb 11 00:08:20 Hey GenTooMan: I just remembered how these Capes work. I need to supply the 5v w/ barrel jack to test to see if things are working beforehand. Feb 11 00:10:35 I was wondering why my source was not complimenting the servo. Feb 11 00:14:08 Do I need to power the ServoCape w/ a 5v supply? I have the BBBW 5v barrel jack supply on right now. Feb 11 00:14:42 I am guessing this Cape is for stationary hardware. Feb 11 00:21:48 Time to snip an old power adapter! Feb 11 00:35:17 GenTooMan: What do you think is the available voltage accessed to the ServoCape in respects to a battery, i.e. instead of a power adapter. Feb 11 00:35:30 ? Feb 11 00:36:04 It says 5v supply but if I was to use a battery, what is the voltage of the battery I should use, e.g. 3.3v? Feb 11 00:37:08 And just to say this, I can go to the mfg. on it too. I can go and ask them if necessary. Feb 11 00:39:29 I just finished setting up my scope and now I am induced into a cape(r) Feb 11 00:40:33 set_ what type of battery? you can use one of those USB adapters that will give you a 5V supply. Other batteries require a regulator so you don't kill stuff or under voltage them. Feb 11 00:42:30 Ha. Feb 11 00:42:41 Oh. Feb 11 00:42:42 Okay. Feb 11 00:43:07 GenTooMan: If you are too busy w/ that scope-pa-pia, get at it. I can wait. Feb 11 00:43:40 "You did not know I knew Italiano?" Feb 11 00:44:49 Oh. what type of battery? Well, I have some AA and cells. Feb 11 00:45:02 coin cell, excuse me. Feb 11 00:45:58 One coin cell is lithium, though. Feb 11 00:46:02 3v Feb 11 00:47:20 I mean, when you glance back at chat, any ideas are welcomed. I "lost" my battery book. I think someone stole it. Feb 11 00:50:12 I have a 50 to 60 Hz / 0.5A power adapter that is 5v at 2.5A. Feb 11 00:51:29 I would start with the power adapter then worry about batteries just be sure to have your polarity correct on things. Feb 11 00:52:13 Right. I found a 5v at 1A too. I am going to try this one as it was meant for barrel jacks instead of USB. Feb 11 00:52:15 Okay. Feb 11 00:52:38 Red = Positive && Black = Negative! Feb 11 00:52:41 Got it! Feb 11 00:53:13 smoke pores ... Feb 11 00:53:36 Pore or pour? Feb 11 00:55:54 What about USB to barrel jack? Do you think I could use this if I cut the barrel end off? Feb 11 00:56:04 I could plug it in to the computer. Feb 11 00:56:53 I will stick w/ the wall adapter for now. Do not worry. I am on it! Pours! Feb 11 01:06:06 Billows? Feb 11 01:17:02 no ... don't monkey around with those kind of things you can blow your USB power outputs if you aren't careful. Feb 11 01:17:41 You mean, on the computer and not the ac adapter? Feb 11 01:17:51 Okay. No issue. Feb 11 01:18:15 Yea. That would have been a hard lesson to learn. Feb 11 01:24:04 Most USB devices are fine but hacking cords and stuff and playing with connectors requires you to know exactly what you are doing. Feb 11 01:24:31 And we all know, I have not clue. So, do you want to hear about my connection? Feb 11 01:25:20 ummm K I guess? Feb 11 01:26:07 I have two leads leading to an AC Adapter (5v 1A). The leads, negative/positive, go to my ServoCape. Feb 11 01:26:47 Then, I plug in the BBBW w/ a barrel jack, AC Adapter 5v 1A, along w/ the USB for debugging. Feb 11 01:27:45 The ServoCape says on it and I quote, "5v MAX." Feb 11 01:27:57 Any ideas? Feb 11 01:28:33 Your servo cape has the polarity labelled right? Feb 11 01:29:00 Yes. Feb 11 01:29:16 and the headers on your BBBW you know what they are correct? Feb 11 01:29:34 Um, what do you mean by correct? Feb 11 01:29:43 don't you have male/female leads to plug into the header? Feb 11 01:29:44 P9 to P9 and P8 to P8? Feb 11 01:30:16 they are really cheap and make doing such wiring between things easy Feb 11 01:30:26 No, the ServoCape has pre-installed Servo Headers. Feb 11 01:30:33 I just plug and go (supposedly). Feb 11 01:30:46 I think it has a total of 16. Feb 11 01:30:51 send me a link to the swervo crape. Feb 11 01:30:54 Okay. Feb 11 01:30:55 Ha. Feb 11 01:30:57 Please hold. Feb 11 01:31:11 * GenTooMan grabs the nearest neck. Feb 11 01:31:43 https://github.com/beagleboard/capes/blob/master/beaglebone/Servo/Servo_Cape_sch.pdf Feb 11 01:31:56 Do you want a photo or the schematic? Feb 11 01:32:08 Great Necks! Feb 11 01:33:31 And that github.com page, if you go back one or two pages, has a set of Capes that were produced by GHI in '18. Feb 11 01:33:43 But...the ServoCape has not identity for some reason. Feb 11 01:33:51 So, I am going to do the work and report my findings. Feb 11 01:35:39 Oh and GenTooMan: The dang wiring on the adapter is so small for each, different lead (negative/positive). Should I attach some thicker wires instead of just using the already assembled wiring as a harness? Feb 11 01:37:49 looks like VIN is seperate and VCC is powered by 3.3V so the PWM signal is 3.3V. It appears to ONLY use the 2 5mm terminals for powering servos. probably a good idea. Feb 11 01:39:49 Okay. Feb 11 01:40:17 Right but the board, my BBBW, needs to be powered via barrel jack for the Cape to work. Feb 11 01:41:49 So, this is my hack so far w/ this effort. If I want mobility, I get the battery pack w/ USB to barrel jack and plug in w/ that method. Feb 11 01:42:31 Outside of that, there is no mobility. Feb 11 01:43:28 So, w/ this 3.3v PWM signal, I still need to have my Cape plugged in to a battery source/AC adpater. Feb 11 01:43:33 Well how much power do you need? IE what current. Feb 11 01:44:15 Not much now. I am in a test phase for now. I can use 1A for now w/ 5v. So, 5w. Feb 11 01:45:28 5w from my ac adapter will work if the credentials/specs. on it are correct. Feb 11 01:45:54 The mfg. is MASS or I could have picked from AMIGO too. Feb 11 01:45:54 Why is your 5V barrel supply so tiny? I got a 2A for the BBB Feb 11 01:46:47 B/c...I do not want to rip up my barrels w/ 2A on them. I have three more and I want to keep them for stationary ventures. Feb 11 01:48:00 Well, I can plug in my Positive and Negative leads to my AC Adapter now. It is b/t a USB if that makes sense. Feb 11 01:48:13 So, Leads >>> USB >>> AC Adapter Feb 11 01:48:41 My AC Adapter has a connection for USB on it. Feb 11 01:48:49 ummm I mentioned quick connect leads for the header. you could jumper 5V to the Servo but I digress. Feb 11 01:49:13 GenTooMan: What are quick connect leads? Feb 11 01:49:36 I have one, single screw terminal on the ServoCape. Feb 11 01:50:24 The rest of the Cape has through-hole access but only one screw terminal from the MFG. Feb 11 01:53:12 And then, the Servo Headers x 16 and EEPROM through-hole. Feb 11 01:56:54 they have male and female contacts on the end that fit onto female and male headers respectively. Feb 11 01:58:44 Right. A screw terminal that leads fit into, male/positive and female/negative. Feb 11 01:59:46 Oh. Feb 11 02:00:22 I got you now. You think connecting male to female && and then male to male is a better option? Feb 11 02:01:16 "Just in case...something was to happen to the Cape in the process?" Feb 11 02:02:03 Or if negative flow was to enter the BBBW? Feb 11 02:02:26 and then...bzzt, bzzt? Feb 11 02:09:02 Billow? Feb 11 02:09:02 You know the ground and +5V pins on the header no? Feb 11 02:09:09 Yea. Feb 11 02:09:24 Oh. On the Actual P8 and P9 pins? Feb 11 02:11:18 I think I got it now. You want me to put the "quick" connect jumper pins from 5v and GND to the ServoCape screw terminal? Feb 11 02:11:42 Hmm. That seems safer now that I think about it. Feb 11 02:11:49 that was the idea Feb 11 02:11:58 Got it. Okay. I can try that idea out. Feb 11 02:12:04 Hmm. I never once thought about that idea. Feb 11 02:12:24 Yea. That is way smarter than my AC Adapter fix. Feb 11 02:13:36 I just asked the mfg. on their forums about the ideas circulating around the ServoCape. Feb 11 02:13:54 Even though this is from '18, someone has had to purchase it and use it. Feb 11 02:14:00 Thank you. I will try that now. Feb 11 02:18:50 Do you think I need 3.3v or vdd_5v for the connection from the BBBW to the ServoCape? I know you said it takes in 3.3v PWM signals. Feb 11 02:20:20 But, b/c of the chip. Oh, is that why you were asking about if I needed so many watts? Feb 11 02:21:01 So, either vdd_3.3 or vdd_5.0v will work but it really matters if I need to wattage for how many servos, right? Feb 11 02:23:53 But, I think w/ these Capes, I need to plug in the vdd_5v into the barrel jack still. Do you, GenTooMan, know about this idea? Feb 11 02:28:53 See, right now, right now. I am trying to test if the servo on S1 on the Cape will move w/ pwm at 0.02 or 0.01 floats in Python3 w/ an Adafruit_BBIO library. Feb 11 02:29:28 Boring yes. But, it will lead me to find out if my full-left and full-right duties are either 2mA or 1mA, right? Feb 11 02:35:22 GenTooMan: When you get bored and are tired of your Scope-pa-pia, hit me up on this chat. I have superb questions. Feb 11 02:36:43 Do I need to enable the PWM via the chip and i2c to use my PWM capabilities on this Cape? Feb 11 02:39:54 or... Feb 11 02:40:29 Oh. That chip on the Cape controls the servos and not the PWMchips onboard the BBBW. Oops. Feb 11 02:42:59 What is the output fixed to in frequency? Feb 11 02:43:51 Forget it. It is configurable but each outputs will be the same for the entire 16 outputs once configured. Feb 11 02:55:59 right you have choices look at what they set them for in examples. You have to set the PWM settings in it and it will be more complicated as a result. Feb 11 02:57:25 Right. I am trying to find my settings now. I see there in the data, I need to have OE set which starts the chip. Feb 11 02:59:00 I am only on 2.1 on the datasheet so far. I will keep reading. **** ENDING LOGGING AT Tue Feb 11 02:59:57 2020