1-wire with Beaglebone

3,442 views
Skip to first unread message

Frank

unread,
Dec 30, 2011, 2:11:18 PM12/30/11
to beagl...@googlegroups.com
Hello,

i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin seems not to be available. I have build the w1-gpio driver for the 12.26 image. This module is not initializing:

[ 8062.844312] gpio_request: gpio-265068 (w1) status -22
[ 8062.844350] w1-gpio: probe of w1-gpio.0 failed with error -22

I thin there is an problem with the pin configuration. Where i can do this?

My second try was build the w1-gpio-custom module from OpenWRT (https://dev.openwrt.org/browser/trunk/package/w1-gpio-custom/src?rev=15245)

Wehn i load this module with bus0=0,X,0 (x=1..264796) i get following error messages:

[ 8042.178371] Custom GPIO-based W1 driver version 0.1.0
[ 8042.178409] kobject (cf9cfa10): tried to init an initialized object, something is seriously wrong.
[ 8042.187917] [<c000f615>] (unwind_backtrace+0x1/0x8c) from [<c0125aa7>] (kobject_init+0x21/0x6a)
[ 8042.187961] [<c0125aa7>] (kobject_init+0x21/0x6a) from [<c015efc5>] (device_initialize+0x15/0x50)
[ 8042.187998] [<c015efc5>] (device_initialize+0x15/0x50) from [<c016189f>] (platform_device_register+0xd/0x1a)
[ 8042.188045] [<c016189f>] (platform_device_register+0xd/0x1a) from [<bfc7a063>] (w1_gpio_custom_add_one+0x62/0x7c [w1_gpio_custom])
[ 8042.188101] [<bfc7a063>] (w1_gpio_custom_add_one+0x62/0x7c [w1_gpio_custom]) from [<bfc7a093>] (w1_gpio_custom_init+0x16/0x6b [w1_gpio_custom])
[ 8042.188146] [<bfc7a093>] (w1_gpio_custom_init+0x16/0x6b [w1_gpio_custom]) from [<c000858d>] (do_one_initcall+0x65/0xf0)
[ 8042.188189] [<c000858d>] (do_one_initcall+0x65/0xf0) from [<c0043449>] (sys_init_module+0xeed/0x1060)
[ 8042.188232] [<c0043449>] (sys_init_module+0xeed/0x1060) from [<c000c301>] (ret_fast_syscall+0x1/0x44)


After reading http://plugcomputer.org/plugforum/index.php?action=printpage;topic=163.0 i have changed this in module code:

-	err = platform_device_register(pdev);
+ err = platform_device_add(pdev);

the module is loading with "modprobe
w1-gpio-custom bus0=0,1,0" but i cant loading w1-gpio, which seems to be needed.

Has anybody running 1-wire on beagebone?
Where are information about pin-mapping?
It is possible integrating 1-wire into the main distribution?

When anybody is interestet to rebuild the modules i have attached two script. The first sets up the build environment and the second builds the kernel.
01_init.sh
02_kernel.sh

Gerald Coley

unread,
Dec 30, 2011, 2:48:43 PM12/30/11
to beagl...@googlegroups.com
The AM3359 processor has no 1-wire interface on it. That is why it is missing.
 
Gerald


 

--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To view this discussion on the web visit https://groups.google.com/d/msg/beagleboard/-/UxU0F39-MGYJ.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

Koen Kooi

unread,
Dec 30, 2011, 3:17:20 PM12/30/11
to beagl...@googlegroups.com

Op 30 dec. 2011, om 20:11 heeft Frank het volgende geschreven:

> Hello,
>
> i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin seems not to be available. I have build the w1-gpio driver for the 12.26 image. This module is not initializing:
>
> [ 8062.844312] gpio_request: gpio-265068 (w1) status -22

Is that gpio actually available?
>

rickman

unread,
Dec 30, 2011, 5:42:11 PM12/30/11
to Beagle Board
Huh? A 1-wire interface only requires an open collector or open drain
output with a pullup resistor which can be added externally. The rest
is just software in most systems and not a lot of that.

Rick


On Dec 30, 2:48 pm, Gerald Coley <ger...@beagleboard.org> wrote:
> The AM3359 processor has no 1-wire interface on it. That is why it is
> missing.
>
> Gerald
>
>
> On Fri, Dec 30, 2011 at 1:11 PM, Frank <frank.ho...@gmail.com> wrote:
> > Hello,
>
> > i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin
> > seems not to be available. I have build the w1-gpio driver for the 12.26
> > image. This module is not initializing:
>
> > [ 8062.844312] gpio_request: gpio-265068 (w1) status -22
> > [ 8062.844350] w1-gpio: probe of w1-gpio.0 failed with error -22
>
> > I thin there is an problem with the pin configuration. Where i can do this?
>
> > My second try was build the w1-gpio-custom module from OpenWRT (
> >https://dev.openwrt.org/browser/trunk/package/w1-gpio-custom/src?rev=...
> > )
>
> > Wehn i load this module with bus0=0,X,0 (x=1..264796) i get following
> > error messages:
>
> > [ 8042.178371] Custom GPIO-based W1 driver version 0.1.0
> > [ 8042.178409] kobject (cf9cfa10): tried to init an initialized object,
> > something is seriously wrong.
> > [ 8042.187917] [<c000f615>] (unwind_backtrace+0x1/0x8c) from [<c0125aa7>]
> > (kobject_init+0x21/0x6a)
> > [ 8042.187961] [<c0125aa7>] (kobject_init+0x21/0x6a) from [<c015efc5>]
> > (device_initialize+0x15/0x50)
> > [ 8042.187998] [<c015efc5>] (device_initialize+0x15/0x50) from
> > [<c016189f>] (platform_device_register+0xd/0x1a)
> > [ 8042.188045] [<c016189f>] (platform_device_register+0xd/0x1a) from
> > [<bfc7a063>] (w1_gpio_custom_add_one+0x62/0x7c [w1_gpio_custom])
> > [ 8042.188101] [<bfc7a063>] (w1_gpio_custom_add_one+0x62/0x7c
> > [w1_gpio_custom]) from [<bfc7a093>] (w1_gpio_custom_init+0x16/0x6b
> > [w1_gpio_custom])
> > [ 8042.188146] [<bfc7a093>] (w1_gpio_custom_init+0x16/0x6b
> > [w1_gpio_custom]) from [<c000858d>] (do_one_initcall+0x65/0xf0)
> > [ 8042.188189] [<c000858d>] (do_one_initcall+0x65/0xf0) from [<c0043449>]
> > (sys_init_module+0xeed/0x1060)
> > [ 8042.188232] [<c0043449>] (sys_init_module+0xeed/0x1060) from
> > [<c000c301>] (ret_fast_syscall+0x1/0x44)
>
> > After reading
> >http://plugcomputer.org/plugforum/index.php?action=printpage;topic=16...have changed this in module code:

Gerald Coley

unread,
Dec 30, 2011, 7:01:59 PM12/30/11
to beagl...@googlegroups.com
The processor has no open drain pins.
 
Gerald

rickman

unread,
Dec 31, 2011, 1:47:36 AM12/31/11
to Beagle Board
I've never looked at the data sheet, but none of the pins can be
configured as high impedance? If so they can be set low and the data
used to toggle the high impedance control. This works exactly like an
open drain output.

Rick
> >http://plugcomputer.org/plugforum/index.php?action=printpage;topic=16...this in module code:

William Rust

unread,
Dec 31, 2011, 4:24:18 AM12/31/11
to beagl...@googlegroups.com
I'm connecting a 74HC595 to my bone. The chip will work with input voltage from 2 - 7 volts but needs a vcc within 20% of the signal voltage. Since the bus runs at ~3.3v, I figured that the bone would supply 3.3 from pins 3&4 on P9. Before wiring it up, I checked and found that 3&4 were supplying 5v, which is too high and not what the specs say it should be. Do I need to do something to get the pins back to 3.3?

Thanks,

wjr

Wayne Crosbie

unread,
Dec 31, 2011, 10:03:24 AM12/31/11
to Beagle Board
The Dallas USB adapter (DS9490R) works fine with digitemp (http://
www.digitemp.com). I have compiled the latest on board and it works
with my 1-wire network.

I also interfaced the Dallas DS2482-100 via i2c-3 using a recent image
and tested it with OWFS. Given I needed to power it at 3.3 volts, I'm
not sure it had the ability to power the sensors and got mixed results
with many temp sensors returning 85 which is their error condition.

I'm interesetd in what you find - I'll likely continue down the USB
path for now, but may go back at the i2c approach in the future with a
level shifter so I can run at 5 volts.

Regards,

Wayne

On Dec 30, 2:11 pm, Frank <frank.ho...@gmail.com> wrote:
> Hello,
>
> i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin
> seems not to be available. I have build the w1-gpio driver for the 12.26
> image. This module is not initializing:
>
> [ 8062.844312] gpio_request: gpio-265068 (w1) status -22
> [ 8062.844350] w1-gpio: probe of w1-gpio.0 failed with error -22
>
> I thin there is an problem with the pin configuration. Where i can do this?
>
> My second try was build the w1-gpio-custom module from OpenWRT (https://dev.openwrt.org/browser/trunk/package/w1-gpio-custom/src?rev=...)
>  01_init.sh
> < 1KViewDownload
>
>  02_kernel.sh
> 6KViewDownload

tallakt

unread,
Dec 31, 2011, 3:01:00 AM12/31/11
to Beagle Board
Hook up a transistor on a pin?

Frank

unread,
Jan 1, 2012, 1:22:27 PM1/1/12
to Beagle Board
The AM335X Datasheet lists amny ports with pullup/pulldown
capabilities:

Most of DDR_*
ECAP0_IN_PWM0_OUT
EMU0/1
EXTINTn
GPMC_A*
GPMC_AD*
...
LCD_*
...
UART*
...


I think the DS2482 with 5V powered is an good solution for me. For
voltage translation there are an PCA9306 available.

rickman

unread,
Jan 2, 2012, 8:33:50 PM1/2/12
to Beagle Board
I'm not aware that the bus runs at 3.3 volts. I thought it ran at 5
volts. In fact, now that I consider that I can see it would be
difficult to drive a 1-wire bus directly from the CPU since they
typically aren't 5 volt tolerant. You can use a transistor on one pin
to drive the bus and use a resistor pair as a voltage divider to a
different pin as an input, or a second transistor. I don't get why
you would want to use a 74HC595. This is a shift register that won't
be so easy to use for this. Just use transistors or perhaps an OC
buffer.

Koen Kooi

unread,
Jan 15, 2012, 8:04:47 AM1/15/12
to beagl...@googlegroups.com

Op 30 dec. 2011, om 20:11 heeft Frank het volgende geschreven:

> Hello,
>
> i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin seems not to be available. I have build the w1-gpio driver for the 12.26 image. This module is not initializing:
>
> [ 8062.844312] gpio_request: gpio-265068 (w1) status -22
> [ 8062.844350] w1-gpio: probe of w1-gpio.0 failed with error -22
>
> I thin there is an problem with the pin configuration. Where i can do this?

Have a look at http://dominion.thruhere.net/koen/cms/using-1-wire-on-a-beaglebone

Vladimir Pantelic

unread,
Jan 15, 2012, 8:26:16 AM1/15/12
to beagl...@googlegroups.com

looking closer, I see 3 wires/pins connected :)

rickman

unread,
Jan 15, 2012, 2:14:18 PM1/15/12
to Beagle Board
The communications is over 1-wire. A 1-wire device still needs a
ground pin. This particular device uses 1.5 mA when converting
temperature so it is best to add a power connection as well.

Rick


On Jan 15, 8:26 am, Vladimir Pantelic <vlado...@gmail.com> wrote:
> On 01/15/2012 02:04 PM, Koen Kooi wrote:
>
>
>
> > Op 30 dec. 2011, om 20:11 heeft Frank het volgende geschreven:
>
> >> Hello,
>
> >> i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin seems not to be available. I have build the w1-gpio driver for the 12.26 image. This module is not initializing:
>
> >> [ 8062.844312] gpio_request: gpio-265068 (w1) status -22
> >> [ 8062.844350] w1-gpio: probe of w1-gpio.0 failed with error -22
>
> >> I thin there is an problem with the pin configuration. Where i can do this?
>
> > Have a look athttp://dominion.thruhere.net/koen/cms/using-1-wire-on-a-beaglebone

FusionCatalyst

unread,
May 22, 2012, 10:24:42 PM5/22/12
to beagl...@googlegroups.com
Koen, your patch seems to be exactly what I need since I have a DS18B20 that I want to read with the Beaglebone. I just can't get it to work, I'm sure it is some stupid little rooky detail that I don't get, could you please help me with a hint?

Thanks a lot!!

This is how far I did get:

root@beaglebone:/sys/bus/w1# uname -a 
Linux beaglebone 3.2.16 #1 Thu May 17 11:36:05 CEST 2012 armv7l GNU/Linux

root@beaglebone:/sys/bus/w1# dmesg | grep w1
[    0.222795] w1-gpio connected to P8_6

root@beaglebone:/sys/bus/w1# ls
devices  drivers  drivers_autoprobe  drivers_probe  uevent

root@beaglebone:/sys/bus/w1# ls devices -la
total 0
drwxr-xr-x 2 root root 0 Jan  1  2000 .
drwxr-xr-x 4 root root 0 Jan  1  2000 ..
lrwxrwxrwx 1 root root 0 Jan  1  2000 w1_bus_master1 -> ../../../devices/w1_bus_master1

root@beaglebone:/sys/bus/w1# cat /sys/bus/w1/devices/28-00000256073a/w1_slave
cat: /sys/bus/w1/devices/28-00000256073a/w1_slave: No such file or directory

Koen Kooi

unread,
May 23, 2012, 2:34:22 AM5/23/12
to beagl...@googlegroups.com

Op 23 mei 2012, om 04:24 heeft FusionCatalyst het volgende geschreven:

> Koen, your patch seems to be exactly what I need since I have a DS18B20 that I want to read with the Beaglebone. I just can't get it to work, I'm sure it is some stupid little rooky detail that I don't get, could you please help me with a hint?
>
> Thanks a lot!!
>
> This is how far I did get:
>
> root@beaglebone:/sys/bus/w1# uname -a
> Linux beaglebone 3.2.16 #1 Thu May 17 11:36:05 CEST 2012 armv7l GNU/Linux
>
> root@beaglebone:/sys/bus/w1# dmesg | grep w1
> [ 0.222795] w1-gpio connected to P8_6
>
> root@beaglebone:/sys/bus/w1# ls
> devices drivers drivers_autoprobe drivers_probe uevent
>
> root@beaglebone:/sys/bus/w1# ls devices -la
> total 0
> drwxr-xr-x 2 root root 0 Jan 1 2000 .
> drwxr-xr-x 4 root root 0 Jan 1 2000 ..
> lrwxrwxrwx 1 root root 0 Jan 1 2000 w1_bus_master1 -> ../../../devices/w1_bus_master1
>
> root@beaglebone:/sys/bus/w1# cat /sys/bus/w1/devices/28-00000256073a/w1_slave
> cat: /sys/bus/w1/devices/28-00000256073a/w1_slave: No such file or directory

the '00000256073a' is unique to the sensor, so that will only work with the ds18b20 on my desk :) Do an

ls sys/bus/w1/devices/

To see what has been detected. If I recall correctly the hotplug delay is 1 second.

regards,

Koen

Bastiaan Bergman

unread,
May 23, 2012, 6:54:17 AM5/23/12
to beagl...@googlegroups.com

Koen,
I did, as you can see in the output below. no devices were detected
....

tnx
Bastiaan.

-- To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
beagleboard...@googlegroups.com
Frequently asked questions: http://beagleboard.org/faq

ptek

unread,
May 23, 2012, 2:21:39 PM5/23/12
to beagl...@googlegroups.com
make sure you are connecting your sensors correctly. You cannot use parasite power mode with beagle, so each sensor needs the 3.3v, gnd, and pullup between data and vcc.  Also make sure you are using the correct pin (check dmesg to see which pin w1 is attached to).  the ds18b20 work great with beaglebone, I have a string of 5 currently running, logging to PostgreSQL every 5 minutes, gpio's switch SSRs to turn heating/cooling devices on or off to maintain environmental control.

ptek

unread,
May 23, 2012, 2:34:53 PM5/23/12
to beagl...@googlegroups.com
had these on my phone from last week, upped em to flickr just to share with this thread. Hope this might help anyone to build a working ds18b20 setup.

Bastiaan Bergman

unread,
May 23, 2012, 2:35:07 PM5/23/12
to beagl...@googlegroups.com

Tnx for your comment! pull up is needed? I thought beagle one has internal pull up? Will try soon. tnx

Bastiaan Bergman

unread,
May 23, 2012, 2:46:11 PM5/23/12
to beagl...@googlegroups.com

you have a pull up for each ds18? but they are all on the same bus? 4 resistors of 5k each like that is the same as on of 1250 ohm.

ptek

unread,
May 24, 2012, 4:31:32 PM5/24/12
to beagl...@googlegroups.com
Yes you are correct. I quickly snapped those pictures mid development (more like tinkering) when I first got them all recognized so I wouldn't forget after I kept taking it further.  Each of those circuits actually goes to a string of a few sensors each ( to different greenhouses on the same farm ) and some python then controls gpio pins to trigger relays to turn on heating devices (in morning cold) and cooling devices (afternoon sun) to maintain optimal temperatures (in each greenhouse).  Also to note, the 3.3v vcc used in deployed version comes from a separate power supply (DIN rail mounted) that provides regulated voltage to both beagle and sensor network so the sensors are not powered through the beagle (originally developed for powering arduino board and same string of sensors, changed the voltage regulator for the sensor power from 5v to 3.3v). 

This also explains that I don't know that much about all this engineering stuff, my focus is on growing healthy organic produce. My free time goes to making the chores of my children easier so they can focus on whats important, protecting and perfecting(nutrient and environment profiles) landrace genetics (each which requires specific environmental conditions to prevent adaptive mutations).  Please if you know more than me about these sensor networks, take pictures and share the knowledge of the best way to string up 50 of em, your knowledge of electronics might help improve the overall heath of humanity. Huge amounts of gratitude to all that have contributed to the development of the beaglebone and linux, it is rare to find a giant with a saddle on its back ready for riders.

Bastiaan Bergman

unread,
May 24, 2012, 4:43:25 PM5/24/12
to beagl...@googlegroups.com

actually, your other comment did it for me: make sure you connect it correctly. somehow I was confused by the ds18b20 data sheet. the drawing with the pin assignments is from the *bottom*. I now have 3 on the same bus without pull resistors. it works perfectly.

still I am wondering how I can send other commands and if I can connect other 1-wire devices.....

tnx

ptek

unread,
May 25, 2012, 2:14:36 PM5/25/12
to beagl...@googlegroups.com
let us know if you figure out how to 'set resolution (9bitvs12bit)' and other such tasks. Also, some w1 devices have their own kernel-module while some don't (list from opkg to see whats already working), let us know what other sensors you get working. 

Bastiaan Bergman

unread,
Jun 3, 2012, 4:32:19 PM6/3/12
to beagl...@googlegroups.com
Just curious, why would you want less than 12 bits? You can always ignore the last 3 bits if you don't mind the accuracy?



Koen Kooi

unread,
Aug 8, 2012, 2:18:17 PM8/8/12
to beagl...@googlegroups.com
I think you can add another w1-gpio device, but I haven't actually tried doing that.

Op 8 aug. 2012, om 19:14 heeft Russell Senior <rsse...@gmail.com> het volgende geschreven:

> I have 10 one-wire temperature sensors on a beaglebone, but it doesn't like more than 10, due to the max slaves setting. How can I either increase that max, or use another pin for a second w1 bus?
>
> On Sunday, January 15, 2012 5:04:47 AM UTC-8, Koen Kooi wrote:

mir....@gmail.com

unread,
Jun 17, 2013, 3:42:14 PM6/17/13
to beagl...@googlegroups.com, frank...@gmail.com, ajits...@gmail.com

Hi Agit,
I am facing same problem, did u get any solution for this?

cheers, 
irfan  
On Wednesday, May 29, 2013 12:52:04 PM UTC+2, ajits...@gmail.com wrote:

Hi,


I am using AM335x board, the temperature sensor DS18B20 is not working on my board. I have connected the sensor as per the data sheet. I have provided a pull up resistor of 4.7k ohm  between the data pin(DQ) and supply pin(VDD).

I have used the GPIO 1_6 pin as the GPIO in the AM335x board for 1 wire communication. I have enabled the Dallas 1 wire protocol in the device drivers using menuconfig. In the menuconfig I  have enabled the "GPIO 1-wire busmaster" as the master and "Thermal family implementation" as the slave.

In the board file board-am335xevm.c  I have made the following addition to configure for 1 wire communication

static struct w1_gpio_platform_data w1_gpio_pdata = {
        .pin            = GPIO_TO_PIN(1, 6),
        .is_open_drain  = 0,
};

static struct platform_device w1_device = {
        .name                   = "w1-gpio",
        .id                     = -1,
        .dev.platform_data      = &w1_gpio_pdata,
};

void w1_init(void)
{
         int err;

        err = platform_device_register(&w1_device);
       if (err) {
                pr_err("failed to register w1 temp sensor device: ds18b20\n");
                }
        else
                {
                printk("successful regn of temp sensor \n");
                }


}

I am not able to see any directory for this temperature sensor in the sysfs, I feel this sensor is not detected by the AM335x processor.

root@am335x-evm:/sys/devices/w1_bus_master1# ls                             
driver                     w1_master_pointer                                    
power                      w1_master_pullup                                     
subsystem                  w1_master_remove                                     
uevent                     w1_master_search                                     
w1_master_add              w1_master_slave_count                                
w1_master_attempts         w1_master_slaves                                     
w1_master_max_slave_count  w1_master_timeout                                    
w1_master_name                                                                  
root@am335x-evm:/sys/devices/w1_bus_master1#

I have also tried the other temperature sensor DS18S20 which did not work.I would request you to help me out and provide me support to make the temperature sensor work on my AM335x board.


http://e2e.ti.com/support/arm/sitara_arm/f/791/p/264704/926603.aspx



Thanks and regards,

Ajit















On Saturday, 31 December 2011 00:41:18 UTC+5:30, Frank wrote:
Hello,

i want to use Dallas One Wire Sensors DS1820 with Beaglebone. The HDQ pin seems not to be available. I have build the w1-gpio driver for the 12.26 image. This module is not initializing:

[ 8062.844312] gpio_request: gpio-265068 (w1) status -22
[ 8062.844350] w1-gpio: probe of w1-gpio.0 failed with error -22

I thin there is an problem with the pin configuration. Where i can do this?

My second try was build the w1-gpio-custom module from OpenWRT (https://dev.openwrt.org/browser/trunk/package/w1-gpio-custom/src?rev=15245)


Wehn i load this module with bus0=0,X,0 (x=1..264796) i get following error messages:

[ 8042.178371] Custom GPIO-based W1 driver version 0.1.0
[ 8042.178409] kobject (cf9cfa10): tried to init an initialized object, something is seriously wrong.
[ 8042.187917] [<c000f615>] (unwind_backtrace+0x1/0x8c) from [<c0125aa7>] (kobject_init+0x21/0x6a)
[ 8042.187961] [<c0125aa7>] (kobject_init+0x21/0x6a) from [<c015efc5>] (device_initialize+0x15/0x50)
[ 8042.187998] [<c015efc5>] (device_initialize+0x15/0x50) from [<c016189f>] (platform_device_register+0xd/0x1a)
[ 8042.188045] [<c016189f>] (platform_device_register+0xd/0x1a) from [<bfc7a063>] (w1_gpio_custom_add_one+0x62/0x7c [w1_gpio_custom])
[ 8042.188101] [<bfc7a063>] (w1_gpio_custom_add_one+0x62/0x7c [w1_gpio_custom]) from [<bfc7a093>] (w1_gpio_custom_init+0x16/0x6b [w1_gpio_custom])
[ 8042.188146] [<bfc7a093>] (w1_gpio_custom_init+0x16/0x6b [w1_gpio_custom]) from [<c000858d>] (do_one_initcall+0x65/0xf0)
[ 8042.188189] [<c000858d>] (do_one_initcall+0x65/0xf0) from [<c0043449>] (sys_init_module+0xeed/0x1060)
[ 8042.188232] [<c0043449>] (sys_init_module+0xeed/0x1060) from [<c000c301>] (ret_fast_syscall+0x1/0x44)


After reading http://plugcomputer.org/plugforum/index.php?action=printpage;topic=163.0 i have changed this in module code:

keener

unread,
Jul 4, 2013, 1:16:19 PM7/4/13
to beagl...@googlegroups.com

ptech, you seem to be on to something that I am trying to accomplish. Your pics are private so I could not see them. Can you please post your breadboard layout with the ds18b20 and BBB, and the schematic. I am as far as connecting the 47k ohm resistor to the data wire on the ds18b20. I have a gpio set as input and one as output to a led. You see I am newbe.

Reply all
Reply to author
Forward
0 new messages