Category Archives: 1-Wire

i2c connected 1-wire masters

OWFS the 1-Wire filesystem allows the use of i2c connected bus masters.

RaspberryPi conveniently provide i2c connectivity. However non of the images supplied provide i2c drivers. Fortunately at this point the community with its diverse range of members step in, within a few days an i2c driver is available. A few more days pass, more development takes place and the driver is now a loadable kernel module.

You can view the details of the driver development on this forum thread.

Along with OWFS working on RaspberryPi all the pieces are in place to begin testing of i2c 1-wire bus masters.

Pictured above is a breakout board containing 2 such bus masters, a DS2482-100 (8 pin chip) and DS2482-800 (16 pin chip)

Continue reading i2c connected 1-wire masters

The adventure begins.

So following the delivery of our first raspberry pi from RS, unboxed, and using the debian “squeeze” image it was time to see what works out of the box.

Here’s the obligatory output from /proc/cpuinfo

pi@raspberrypi:~$ cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 0002
Serial : 000000009a5d9c22

How about adding an FTDI serial adaptor

pi@raspberrypi:~$ lsusb
Bus 001 Device 005: ID 04f2:0402 Chicony Electronics Co., Ltd Genius LuxeMate i200 Keyboard
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So, how about 1-wire support.

Continue reading The adventure begins.