**** BEGIN LOGGING AT Sun Jun 17 03:00:02 2018 Jun 17 04:22:05 e Jun 17 13:31:21 Hi, I want to control a fan (dc 12v ) with BBB. It will have two options: on and off. But I don't know about the circuit diagram. Can anyone help me ? Jun 17 13:38:02 halil: well you'll need something that can handle switching 12v at the required amount of current, like a relay or transistor Jun 17 13:38:41 since the beaglebone's outputs are 3.3v and cannot safely sustain much current (max 4 mA is recommended) Jun 17 13:40:27 thanks. Can you tell the definite properties of the relay and transistor ? Jun 17 13:41:43 maybe search the internet for some introductory tutorials on electronics? Jun 17 13:43:53 I have already searched but there isn"t any example with 12 v. In cookbook there is an example with 5v dc motor but could't adapt it to my situation Jun 17 13:44:37 cookbook (kridner) 4.2 Controlling the Speed of a DC Motor Jun 17 13:46:36 Because I don"t have too much electronic knowledge Jun 17 20:22:19 does the beaglebone boot off the sd card if inserted or does it default to the onboard flash Jun 17 20:25:44 black_13: that's surprisingly a more complicated question than you'd think :) Jun 17 20:26:46 black_13: the rom bootloader will try to load u-boot from eMMC before trying sd card. u-boot, regardless of where it got loaded from, will try to boot from sd card before trying to boot from eMMC Jun 17 20:27:36 * vagrantc is impressed by the succinctness of the answer Jun 17 20:27:47 i have no problem updating debian based image but i have custom image i have built from http://www.jumpnowtek.com/beaglebone/BeagleBone-Systems-with-Buildroot.html Jun 17 20:28:12 black_13: if buildroot has a differently configured u-boot, it might not be fully compatible with the u-boot on eMMC Jun 17 20:28:39 so rom goes to u-boot/eMMC and then goes from there Jun 17 20:28:47 yeah, by default Jun 17 20:29:02 very succinct Jun 17 20:29:30 debian has a lot of baggage Jun 17 20:29:38 you can change the bootorder used by rom by powering on while holding down the S2 button (you can let go once the power led turns on), this removes eMMC from the list of devices where rom looks for u-boot Jun 17 20:29:47 you can also just wipe eMMC if you don't care about its contents Jun 17 20:30:01 well, a debian system can be pretty lightweight Jun 17 20:30:15 I want to be told i am wrong Jun 17 20:30:28 how do you chop and channel debian Jun 17 20:30:40 remove stored packages Jun 17 20:30:54 if you want a lean system, starting with a console image rather than an iot image is a good start Jun 17 20:30:55 the company I work uses something very similar slackware Jun 17 20:31:00 you can install and remove packages using apt Jun 17 20:31:11 ok. Jun 17 20:31:15 good to know Jun 17 20:31:34 you can find the latest console image here: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Stretch_Snapshot_console Jun 17 20:31:48 i wanted to know how to use yocto/buildroot to say I can do it Jun 17 20:32:56 looks good Jun 17 20:33:12 and what is the default ip address for this and will it use ethernet over usb Jun 17 20:35:43 I think same as other images, i.e. dhcp client on ethernet and fixed ip + dhcp server on usb networking, but I haven't checked any time recently. on the rare occasion I install a fresh image onto a bbb, one of the very first things I do is get rid of the existing networking setup and replace it with systemd-networkd Jun 17 20:37:42 you just eclipse what I know. Jun 17 20:37:49 i need to hit the books Jun 17 20:39:27 and this is a more esoteric question but what is the chip on the BBB and what is its over all power Jun 17 20:39:27 hehe Jun 17 20:39:45 it's an AM3358 Jun 17 20:42:10 the overall power consumption of the BBB (which isn't just from the AM3358) is rather dependent on what you do with it Jun 17 20:43:26 gstreamer work Jun 17 20:43:34 I think whenever I've measured its current it was generally between 0.2 and 0.3 A, i.e. 1.0-1.5 W. this is without paying any attention to power management. it can probably also consume a lot more Jun 17 20:43:52 gstreamer on a beaglebone? heh, ok Jun 17 20:47:39 not important Jun 17 20:48:16 but getting an image flashed and were I can debug c/c++ code on it would be task Jun 17 20:48:35 have you done any simulation of the bbb using qemu? Jun 17 20:49:31 qemu can't simulate a bbb Jun 17 20:49:52 oh Jun 17 20:49:57 or more generally, it has no code to simulate an AM335x afaik Jun 17 20:50:43 (it's a lot of work to write the code necessary to simulate a SoC well enough to be able to even boot a rudimentary image) Jun 17 20:51:12 why would you want to? Jun 17 20:52:09 curious Jun 17 20:52:56 it would seem to be easier to get things "right" on an emulator then when things are good flash to bbb Jun 17 20:53:02 but thats probably silly Jun 17 20:53:36 I don't see why you think it would be Jun 17 20:54:28 it would almost certainly be harder, since you'd have to deal with the inadequacies of the emulator in addition to any problems you'd have while getting an image to boot on a bbb Jun 17 20:56:15 zmatt: i am comming into this as novice Jun 17 20:56:45 actually if the ethernet was working i could have dropbear and geftp working and would be very easy Jun 17 20:57:19 you're talking about the issues you've having with buildroot right? Jun 17 20:59:25 buildroot ran and did build an image Jun 17 21:00:00 I barely know anything about buildroot, but my impression is that it does a bunch of things in a way that's very different from the standard debian images, so it seems quite possible that the u-boot on eMMC isn't quite compatible with the buildroot image you're trying to boot from sd card. like I said earlier, you can either wipe eMMC entirely or temporarily bypass the u-boot on eMMC by powering on ... Jun 17 21:00:06 ...with the S2 button held down Jun 17 21:01:22 S2 button the button next to the regular sized USB connector Jun 17 21:01:50 http://dev.iachieved.it/iachievedit/wp-content/uploads/2015/10/bbb_sdcard.png Jun 17 21:01:53 yes Jun 17 21:02:10 7 Jun 17 21:02:14 woops Jun 17 21:06:10 ok. I should have brought my bbb with me. at home Jun 17 21:34:42 zmatt: thanks you for you time Jun 17 21:39:02 np Jun 17 21:47:56 how late do you stay up Jun 17 23:02:06 you're implying that I ever sleep? ;) Jun 17 23:17:55 zmatt: me either Jun 17 23:17:59 your in europe **** ENDING LOGGING AT Mon Jun 18 03:00:06 2018