[beagleboard] sys_5v powering humidity sensor

2014-01-11 Thread Sika
HI All, 

I'm trying to trouble shoot why my two HIH4001 (or 4003) humidity sensors 
died after a couple of days of being connected to the beagle bone in my 
current config.

I've got one connected to AIN5 and the other to 6 (central pin -- output 
voltage),   via voltage dividers to knock the voltage down below 1.8 V. 

Output pins are tied to ground via 80K resistors (pulldown).
Ground runs to BBB ground, and is also tied to AGND.


Power is supplied via  SYS_5v --- I thought this would give me a regulated 
supply. The measurements with a multimeter look good.


After a couple of days the sensors were providing constant 2.6 V as output 
and are unresponsive.

Can anyone see anything I am doing wrong with this setup?

Thanks for your help.

Kind regards

Matt

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Failure loading device tree overlay into BBB Ubuntu, seems to be loading incorrect *.tbo file?

2013-12-12 Thread Sika
Thanks for the reply Robert, 

patching this would be beyond my skill level. However
I would like to contribute to documenting the use of device trees on Ubuntu.
Since I can't get this to workit's not looking good for my 
contributions ;>) !

I think I can get the one wire interface to work on an mbed, or raspi py, 
and just use that --
so it is no big loss at the moment. Or even set up a DS2480B driver chip to 
do the on-wire coms, 
and avoid device trees.


What image would I need to install to be able to patch appropriately to 
have a better chance.

Thanks

Matt

On Thursday, December 12, 2013 12:09:22 AM UTC+10, RobertCNelson wrote:
>
> On Wed, Dec 11, 2013 at 6:40 AM, Sika > 
> wrote: 
> > Hi Robert, 
> > 
> > I've got some serious overlay problems too -- and I'd like to try this 
> also. 
> > How do you upgrade the kernel? I tried this: 
> > 
> >  sudo apt-get install linux-generic-lts-raring 
> linux-headers-3.8.13-bone28 
> > linux-headers-3.8.13-bone28-generic linux-headers-generic-lts-raring 
> > linux-image-3.8.13-bone28-generic linux-image-generic-lts-raring 
> > 
> > But these packages do not exist on the repository. 
>
> They aren't in the repo, as that is ubuntu's repo... 
>
> But anyways, you are running "ubuntu-armhf"'s image.. Which is 
> in-compatible with the upgrade method i've been pushing for 
> ubuntu/debian images for over 5 years.. 
>
> wget http://rcn-ee.net/deb/raring-armhf/v3.8.13-bone28/install-me.sh  
> sudo /bin/bash install-me.sh 
>
> But it's broken for his image, patches welcome: 
> https://github.com/rcn-ee/farm/blob/master/install-me-template.sh  
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/  
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: newbie: Trying to get PWM to work to move a servo - not working

2013-12-11 Thread Sika
HI Ian, 

Sorry to say it did not work for me either. I think Adafruit are aware of 
it -- I posted a bug notice  a couple of weeks ago and they deleted it 
because there was one already.
PWM on the BBB does not seem to be working real well at the moment. I got 
it to work fine on the RPI with the equivalent library.
It was OK for me in the end --Im using a stepper, and I've just been 
switching the GPIO on and off in python -- which seems as fast as I need.

Better than trying to use PWM in my case, anyway.

Kind regards

Matt

On Wednesday, December 11, 2013 3:46:47 PM UTC+10, chris.l...@gmail.com 
wrote:
>
> Hi,
> I'm a newbie to the Beaglebone Black. I'm trying to get a servo moving 
> with the BBB. I have a separate 5V power supply going to my servo and the 
> signal wire (orange) going to P8_13 on my BBB and going to the servo orange 
> wire (signal).
> I have confirmed that my wiring is definitely correct.
> How can I go about getting PWM to function? or even test to see if it's 
> working? I have tried the Adafruit_BBIO library which is supposed to work - 
> but it's not working.
> I have also tried to use GPIO to display a message within my SSH window 
> when a push button switch is pressed - nothing there either. It seems none 
> of the IO ports on the BBB are working. I have actually purchased another 
> BBB thinking that my first one was broken. I have the same result on both 
> of my BBBs.
>
> Does anyone have any step by step directions that can help me? I really 
> want to start creating things and playing but nothings working... :(
> I've searched google endlessly and have gone to basically every article to 
> try and get more information but still at a loss. Any help would be 
> appreciated.
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Failure loading device tree overlay into BBB Ubuntu, seems to be loading incorrect *.tbo file?

2013-12-11 Thread Sika
Hi Robert, 

I've got some serious overlay problems too -- and I'd like to try this also.
How do you upgrade the kernel? I tried this:

 sudo apt-get install linux-generic-lts-raring linux-headers-3.8.13-bone28 
linux-headers-3.8.13-bone28-generic linux-headers-generic-lts-raring 
linux-image-3.8.13-bone28-generic linux-image-generic-lts-raring

But these packages do not exist on the repository.

Kind regards

Matt

On Thursday, October 24, 2013 4:24:52 AM UTC+10, RobertCNelson wrote:
>
> On Wed, Oct 23, 2013 at 1:17 PM, Bit Pusher 
> > 
> wrote: 
> > Kernel Version: ubuntu-armhf 3.8.13-bone20 
>
> Care to retry with: v3.8.13-bone28 ? 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Re: device tree dallas 1 wire ubuntu - loads but odd behaviour

2013-12-11 Thread Sika
Pretty recent, actually, Mike...

 3.8.13-bone20

And the pins are changing -- it's outputing 37:

sudo cat $PINS|grep 840
pin 16 (44e10840) 0037 pinctrl-single

and the multimeter says it is pulled up.

I used a different overlay tree as well -- and get the same thing
/dts-v1/;
/plugin/;

/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "BB-W1";
version = "00A0";

exclusive-use = "P9.15", "gpio1_16";
 
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
 bb_w1_pins: pinmux_bb_w1_pins {
 pinctrl-single,pins = <
 0x040 0x37  /*pin P9_15 input with pullup mode 7  - 
w1-gpio */
 >;
 };
};
};

fragment@1 {
target = <&ocp>;
__overlay__ {
onewire@0 {
status  = "okay";
compatible  = "w1-gpio";
pinctrl-names   = "default";
pinctrl-0   = <&bb_w1_pins>;

gpios = <&gpio2 16 0>; /*grrr I think this means gpio1_16 
(using 1 to 4 instread of 0-3)*/
};
};
};
};


I'd greatly appreciate any help on this I can get!

Kind regards

Matt






On Wednesday, December 11, 2013 7:57:21 PM UTC+10, Mike Bremford wrote:
>
> Which kernel - "uname -a"? I don't think you can change the pinmux for 
> pins under 3.12 yet - well I couldn't anyway, although it worked for me 
> under 3.8. Check by doing "grep 44e10840 
> /sys/kernel/debug/pinctrl/44e10800.pinmux/pins" - is it 0037? Is the 
> pin actually pulled up? Test with a multimeter and/or add an external 
> pullup resistor.
>
>
> On 11 December 2013 08:29, Sika > wrote:
>
>> Well it says it loads -- but it does not work.  Help appreciated!
>>
>> Thanks
>>
>> Matt
>>
>>
>> On Tuesday, December 10, 2013 6:31:12 PM UTC+10, Sika wrote:
>>>
>>> Oh, by the way ...the blob is loaded:
>>>
>>>
>>> grubby@ubuntu-armhf:~/python/projects$ cat $SLOTS
>>>  0: 54:PF---
>>>  1: 55:PF---
>>>  2: 56:PF---
>>>  3: 57:PF---
>>>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>>>  5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>>>  6: ff:P-O-L Override Board Name,00A0,Override Manuf,w1
>>>
>>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: device tree dallas 1 wire ubuntu - loads but odd behaviour

2013-12-11 Thread Sika
Well it says it loads -- but it does not work.  Help appreciated!

Thanks

Matt

On Tuesday, December 10, 2013 6:31:12 PM UTC+10, Sika wrote:
>
> Oh, by the way ...the blob is loaded:
>
>
> grubby@ubuntu-armhf:~/python/projects$ cat $SLOTS
>  0: 54:PF---
>  1: 55:PF---
>  2: 56:PF---
>  3: 57:PF---
>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>  5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>  6: ff:P-O-L Override Board Name,00A0,Override Manuf,w1
>
>
> On Tuesday, December 10, 2013 6:13:43 PM UTC+10, Sika wrote:
>>
>> Hi All, 
>>
>> A puzzle:
>>
>> the following device tree 
>>
>>
>>
>>
>> /*
>> * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
>> *
>> * This program is free software; you can redistribute it and/or modify
>> * it under the terms of the GNU General Public License version 2 as
>> * published by the Free Software Foundation.
>> *
>> * Modified  by Russell Senior from the weather cape's DTS file.
>> * Minor formatting by C W Rose. Minor additions and mistakes M.Redding
>> */
>> /dts-v1/;
>> /plugin/;
>>  / {
>> compatible = "ti,beaglebone", "ti,beaglebone-black";
>> part-number = "BB-W1";
>> version = "00A0";
>>  exclusive-use = "P9.15";
>>  
>> fragment@0 {
>> target = <&am33xx_pinmux>;
>> __overlay__ {
>>  bb_w1_pins: pinmux_bb_w1_pins {
>>  pinctrl-single,pins = <
>>  0x040 0x37  /*pin P9_15 input with pullup mode 7  - 
>> w1-gpio */
>>  >;
>>  };
>> };
>> };
>>  fragment@1 {
>> target = <&ocp>;
>> __overlay__ {
>> onewire@0 {
>> status  = "okay";
>> compatible  = "w1-gpio";
>> pinctrl-names   = "default";
>> pinctrl-0   = <&bb_w1_pins>;
>>  gpios = <&gpio2 16 0>; /*grrr I think this means gpio1_16 
>> (using 1 to 4 instread of 0-3)*/
>> };
>> };
>> };
>> };
>>
>>
>>
>>
>> This thing loads -- on ubuntu, but does not seem to produce an accessible 
>> device:
>>
>>
>> ls /sys/bus/w1/
>>
>> devices  drivers  drivers_autoprobe  drivers_probe  uevent
>>
>> ls /sys/bus/w1/devices
>>
>> w1_bus_master1
>>
>>
>> ls /sys/bus/w1/devices/w1_bus_master1
>> driver uevent  w1_master_max_slave_count 
>>  w1_master_pullup  w1_master_slave_count
>> power  w1_master_add   w1_master_name 
>> w1_master_remove  w1_master_slaves
>> subsystem  w1_master_attempts  w1_master_pointer 
>>  w1_master_search  w1_master_timeout
>>
>>
>> hmm  so, any suggestions where w1_slave might be, so I can access it 
>> from python?
>>
>> Thanks for your help
>>
>> Kind regards
>>
>> Matt
>>
>>
>>
>>
>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] P8 and P9 Header ribbon cable and connectors?

2013-12-11 Thread Sika

Thanks Gerald, 

I trawled through digikey for about an hour and could not get what I wanted 
-- so I gave
up. I'll just use individ8ual pins.

Matt
On Sunday, December 8, 2013 1:20:27 PM UTC+10, Gerald wrote:
>
> The connectors are 2.54 spaced pin to pin and 2.54 spaced from row to row.
>
>
> https://github.com/CircuitCo/BeagleBone-Black-RevA5C/blob/master/BBB_BOM.xls?raw=true
>
> I do not know of any 46 pin ribbon male ribbon cables, but I have not 
> really spent anytime looking for them.
>
>
> Gerald
>
>
> On Sat, Dec 7, 2013 at 8:28 PM, Sika >wrote:
>
>> Hi All
>>
>> I want to attach both the P8 and P9 headers to ribbon cables and connect 
>> these to a separate PCB (Through hole on a vero board actually)
>> I'm intending to get 2 female connectors (with through-hole pins...for 
>> the vero board), ribbon cable, 4 male connectors.
>> The array of connectors available is bewildering to me. So this question 
>> may or may not be expert -- but 
>> probably is not something a beginner wants to do.
>>
>> Question 1.
>> Are these headers 2.54 mm on the pins, and 1.27 mm pitch on the rows?
>>
>> Qestion 2. can you point me towards a supplier with a decent searchable 
>> range of these things that would suit, or 
>> better still recommend a range of connectors to suit?
>>
>>
>>
>> Thanks for your help.
>>
>>
>> Kind regards
>>
>> Matt
>>
>>
>>  -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: 1-wire under Ubuntu on BB Black

2013-12-10 Thread Sika
Hi All
I've got a fair way down this path, 

but when I attempt to load cwrse's blob file I get these errors on dmesg:

[  141.405600] of_get_named_gpio_flags exited with status 45
[  141.405623] of_get_named_gpio_flags: can't parse gpios property
[  141.411224] bone-capemgr bone_capemgr.9: slot #6: Applied #2 overlays.


...And I dont have a slave device, and it does not appear to work.

I'm using ubuntu, so the command I use to load is:

 sudo sh -c "echo w1 > /sys/devices/bone_capemgr.9/slots"


Any ideas what is going on?

Thanks for your help

Matt



On Sunday, June 9, 2013 12:58:30 AM UTC+10, John Hubbard wrote:
>
> I need some advice on getting a 1-wire device (ds18b20) working under 
> ubuntu 13.04 on my BB Black.  I've installed the owfs package from the 
> ubuntu repo, and I believe that I've gotten everything wired up correctly. 
>  In my case my 1wire device is hooked up to GPIO-7.  I cannot figure out 
> how to tell tell the system to treat GPIO-7 as a 1-wire io device.  During 
> my digging I came across [1] which talks about updating a file to register 
> an GPIO pin as a one wire device with the system, but my ubuntu 
> installation doesn't seem to have that file.  
>
> Any help greatly appreciated.  
>
>
> [1] http://squidge.sourceforge.net/w1/
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: device tree dallas 1 wire ubuntu - loads but odd behaviour

2013-12-10 Thread Sika
Oh, by the way ...the blob is loaded:


grubby@ubuntu-armhf:~/python/projects$ cat $SLOTS
 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 6: ff:P-O-L Override Board Name,00A0,Override Manuf,w1


On Tuesday, December 10, 2013 6:13:43 PM UTC+10, Sika wrote:
>
> Hi All, 
>
> A puzzle:
>
> the following device tree 
>
>
>
>
> /*
> * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
> *
> * This program is free software; you can redistribute it and/or modify
> * it under the terms of the GNU General Public License version 2 as
> * published by the Free Software Foundation.
> *
> * Modified  by Russell Senior from the weather cape's DTS file.
> * Minor formatting by C W Rose. Minor additions and mistakes M.Redding
> */
> /dts-v1/;
> /plugin/;
>  / {
> compatible = "ti,beaglebone", "ti,beaglebone-black";
> part-number = "BB-W1";
> version = "00A0";
>  exclusive-use = "P9.15";
>  
> fragment@0 {
> target = <&am33xx_pinmux>;
> __overlay__ {
>  bb_w1_pins: pinmux_bb_w1_pins {
>  pinctrl-single,pins = <
>  0x040 0x37  /*pin P9_15 input with pullup mode 7  - 
> w1-gpio */
>  >;
>  };
> };
> };
>  fragment@1 {
> target = <&ocp>;
> __overlay__ {
> onewire@0 {
> status  = "okay";
> compatible  = "w1-gpio";
> pinctrl-names   = "default";
> pinctrl-0   = <&bb_w1_pins>;
>  gpios = <&gpio2 16 0>; /*grrr I think this means gpio1_16 
> (using 1 to 4 instread of 0-3)*/
> };
> };
> };
> };
>
>
>
>
> This thing loads -- on ubuntu, but does not seem to produce an accessible 
> device:
>
>
> ls /sys/bus/w1/
>
> devices  drivers  drivers_autoprobe  drivers_probe  uevent
>
> ls /sys/bus/w1/devices
>
> w1_bus_master1
>
>
> ls /sys/bus/w1/devices/w1_bus_master1
> driver uevent  w1_master_max_slave_count  w1_master_pullup 
>  w1_master_slave_count
> power  w1_master_add   w1_master_name w1_master_remove 
>  w1_master_slaves
> subsystem  w1_master_attempts  w1_master_pointer  w1_master_search 
>  w1_master_timeout
>
>
> hmm  so, any suggestions where w1_slave might be, so I can access it 
> from python?
>
> Thanks for your help
>
> Kind regards
>
> Matt
>
>
>
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] device tree dallas 1 wire ubuntu - loads but odd behaviour

2013-12-10 Thread Sika
Hi All, 

A puzzle:

the following device tree 




/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Modified  by Russell Senior from the weather cape's DTS file.
* Minor formatting by C W Rose. Minor additions and mistakes M.Redding
*/
/dts-v1/;
/plugin/;
 / {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "BB-W1";
version = "00A0";
 exclusive-use = "P9.15";
 
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
 bb_w1_pins: pinmux_bb_w1_pins {
 pinctrl-single,pins = <
 0x040 0x37  /*pin P9_15 input with pullup mode 7  - 
w1-gpio */
 >;
 };
};
};
 fragment@1 {
target = <&ocp>;
__overlay__ {
onewire@0 {
status  = "okay";
compatible  = "w1-gpio";
pinctrl-names   = "default";
pinctrl-0   = <&bb_w1_pins>;
 gpios = <&gpio2 16 0>; /*grrr I think this means gpio1_16 
(using 1 to 4 instread of 0-3)*/
};
};
};
};




This thing loads -- on ubuntu, but does not seem to produce an accessible 
device:


ls /sys/bus/w1/

devices  drivers  drivers_autoprobe  drivers_probe  uevent

ls /sys/bus/w1/devices

w1_bus_master1


ls /sys/bus/w1/devices/w1_bus_master1
driver uevent  w1_master_max_slave_count  w1_master_pullup 
 w1_master_slave_count
power  w1_master_add   w1_master_name w1_master_remove 
 w1_master_slaves
subsystem  w1_master_attempts  w1_master_pointer  w1_master_search 
 w1_master_timeout


hmm  so, any suggestions where w1_slave might be, so I can access it 
from python?

Thanks for your help

Kind regards

Matt





-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] P8 and P9 Header ribbon cable and connectors?

2013-12-07 Thread Sika
Hi All

I want to attach both the P8 and P9 headers to ribbon cables and connect 
these to a separate PCB (Through hole on a vero board actually)
I'm intending to get 2 female connectors (with through-hole pins...for the 
vero board), ribbon cable, 4 male connectors.
The array of connectors available is bewildering to me. So this question 
may or may not be expert -- but 
probably is not something a beginner wants to do.

Question 1.
Are these headers 2.54 mm on the pins, and 1.27 mm pitch on the rows?

Qestion 2. can you point me towards a supplier with a decent searchable 
range of these things that would suit, or 
better still recommend a range of connectors to suit?



Thanks for your help.


Kind regards

Matt


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Adafruit_BBIO.GPIO not working, command line does

2013-11-15 Thread Sika
Hi All

I'm running a BBB with ubuntu.

I've got pin 14 on header 8 running as a GPIo output 
sudo -s
echo 26 > /sys/class/gpio/export
echo high > /sys/class/gpio/gpio26/direction

This works great.

However, when I try to do the equivalent with the Adafruit lib, it fails:
import Adafruit_BBIO.GPIO as GPIO
GPIO.setup("GPIO0_26", GPIO.OUT)
GPIO.output("GPIO0_26", GPIO.HIGH)
GPIO.output("GPIO0_26", GPIO.LOW)

it does nothing -- it does not even give an error. 
The adafruit lib is working well for ADC.

Any ideas? 
Is there soemthing missing from these instructions:
http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/using-the-bbio-library

Thanks for your help.

Matt






-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] How do you remove ubuntu desktop?

2013-10-19 Thread Sika
Hi All, 

I'd like to uninstall the ubuntu desktop and try out lxde.

Having already installed the ubuntu-desktop, I then
sudo apt-get -y install lxde lxde-core lxde-icon-theme 


and then tried to 
sudo apt-get remove ubuntu-desktop


When I start, it still boots ubuntu-desktop.
Not really what I was after!!

How do I get rid of it?

Thanks for your help -- it is much appreciated.

Loving the BBB so far.

Kind regads

Matt


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] booting to terminal with option to start ubuntu desktop

2013-10-19 Thread Sika
HI All

I've installed ubuntu on my BBB -- it works fine.

I then installed the desktop, knowing that it would be a bit resource heavy.
It will be handy when I need to do all the development on the BBB -- 
without being able to connect
it to my work computer (draconian security restrictions).

Now, I would like to set it up so that it boots to a simple text console, 
and only boots to the desktop when 
commanded.  

This is pretty simple under PC ubuntu -- you just modify grubs, and use 
startx when the desktop is required.

How can this be configured on the BBB?

Thanks for your  help, it is greatly appreciated!!!

Kind regards

Matt

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.