Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-06-05 Thread Ivica Ico Bukvic
Thank you very much! From: Julian Brooks [mailto:jbee...@gmail.com] Sent: Monday, June 03, 2013 6:11 AM To: Ivica Bukvic Cc: pd-list; Martin Peach; George Naylor Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd Hey Ivica, All the info is on this thread: http://www.mail-archive.com/pd-list

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-06-03 Thread Julian Brooks
Hey Ivica, All the info is on this thread: http://www.mail-archive.com/pd-list@iem.at/msg57752.html The object is [gpio] and whilst working fine, is pretty basic. Jaime's helpfile is very useful and recommended. OAN - Had a quick look at your site for the RPI version of pd-l2ork - really

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-06-02 Thread Ivica Bukvic
Joining late to the discussion--is there now a native Pd external that allows direct connection to RPi pins or is there still a need to use middleware to access the data steam? If former, where can one get their hands on the source--I would love to include it in the next pd-l2ork RPi release?

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-05-03 Thread Julian Brooks
Hey Martin / all, Oh there's much chin scratching and head shaking going on at our end atm... Can we ask if we have the hardware configured correctly before moving onto software issues please: Attached is the diagram of our 4051 mux'er. This is what we have and aren't sure if it's correct 16

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-05-03 Thread Julian Brooks
Ok - thanks for that, makes more sense now. When I run the C code this happens: ./jb_d6t_reader_ic3 0 ...export file accessed, new pin now accessible ...direction set to output ./jb_d6t_reader_ic3: initialized:0 Write failed (5) Input/output error ...unexport file accessed, pin now

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-05-03 Thread Martin Peach
On 2013-05-03 12:34, Julian Brooks wrote: Ok - thanks for that, makes more sense now. When I run the C code this happens: ./jb_d6t_reader_ic3 0 ...export file accessed, new pin now accessible ...direction set to output ./jb_d6t_reader_ic3: initialized:0 Write failed (5) Input/output error

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Martin Peach
Here's a patch to display data from two D6T sensors on the same I2C bus. The clock line is switched using a 4051 analog multiplexer. The control line is GPIO_17 of the Pi connected to A of the 4051 (B, C and Inhibit are at 0V). 10k resistors to 3.3V are on each sensor's clock line at X0 and X1

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Julian Brooks
Super-useful, thanks Martin. Will be testing it out in a couple of days so will report back then. Julian On 29 April 2013 16:38, Martin Peach martin.pe...@sympatico.ca wrote: Here's a patch to display data from two D6T sensors on the same I2C bus. The clock line is switched using a 4051

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Julian Brooks
Hi Martin / all, Possibly overly-nerdy question here: I'm buying the various bits and pieces we require for the multiplexer and I'm noticing quite a difference in pricing options for the pull-up resistors. There's this one:

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Julian Brooks
BTW This is the multiplexer: http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1106109 and the housing: http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1103846 Think these are right? On 29 April 2013 22:44, Julian Brooks jbee...@gmail.com wrote: Hi Martin / all, Possibly

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Martin Peach
Ordinary 5% resistors will work fine. Probably anything from 1k to 100k would work. Most likely you have a loose connection somewhere. Did you try running the bus at a lower speed? If your wiring is long ( 10cm) it may be better to run it slower. Martin On 2013-04-29 17:44, Julian Brooks

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Martin Peach
On 2013-04-29 17:59, Julian Brooks wrote: BTW This is the multiplexer: http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1106109 and the housing: http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1103846 Think these are right? Yes. Martin

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Julian Brooks
:) - ta On 29 April 2013 23:07, Martin Peach martin.pe...@sympatico.ca wrote: On 2013-04-29 17:59, Julian Brooks wrote: BTW This is the multiplexer: http://uk.farnell.com/jsp/**search/productdetail.jsp?sku=**1106109http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1106109 and the

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Julian Brooks
I'm trying to think how this could be generalized into a useful Pd external but it seems very specific to a particular setup. I do think a more general [i2c] object would be super-useful. Particularly if it could directly open up and access the i2c line. Not sure how he does it but wiringPi has

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Martin Peach
On 2013-04-25 07:10, Julian Brooks wrote: I'm trying to think how this could be generalized into a useful Pd external but it seems very specific to a particular setup. I do think a more general [i2c] object would be super-useful. Particularly if it could directly open up and access the i2c

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Julian Brooks
'Nother 2 dumb questions: What's the difference between the ones that have spider/centipede type legs and the straight ones (which would be best to get). And also are you attaching the MC14051 to any type of board/adaptor or just soldering straight on to the pins? Thanks for the above info too -

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Martin Peach
On 2013-04-25 10:37, Julian Brooks wrote: 'Nother 2 dumb questions: What's the difference between the ones that have spider/centipede type legs and the straight ones (which would be best to get). The PDIP package is what you want, not the SOIC. The only difference is size. DIP packages are

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Julian Brooks
Just spotted this: https://github.com/kadamski/i2c-gpio-param Could be useful On 25 April 2013 15:54, Martin Peach martin.pe...@sympatico.ca wrote: On 2013-04-25 10:37, Julian Brooks wrote: 'Nother 2 dumb questions: What's the difference between the ones that have spider/centipede type

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-24 Thread Julian Brooks
Quick edit for archives: sudo modprobe i2c)bcn2708 baudrate=9 should be sudo modprobe i2c_bcm2708 baudrate=9 I tried changing the baud rate with sudo modprobe -r i2c_bcm2708 sudo modprobe i2c)bcn2708 baudrate=9 but it works fine at the default 10.

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Julian Brooks
Hey Martin / all, Omron tech support finally got back to me re the address issue, this is what they had to say: D6T sensor can not change the address. When you connect multiple sensors we recommend that you use the IC switching. Please refer to the below document.

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Julian Brooks
Bit more digging re ic switch: My understanding is that if we got one of these: http://uk.farnell.com/roth-elektronik/re933-03/adaptor-smd-tssop-16-0-65mm/dp/1426182 and one of these: http://uk.farnell.com/nxp/pca9546apw/ic-switch-4ch-i2c-16tssop/dp/2212120 we should in theory be able to run both

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Julian Brooks
Sorry - meant to add this link from RPi forum about running 2 i2c busses: enable both i2c busses http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44t=33092p=336846#p336846 On 23 April 2013 10:06, Julian Brooks jbee...@gmail.com wrote: Bit more digging re ic switch: My understanding is that

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
On 2013-04-23 04:42, Julian Brooks wrote: Hey Martin / all, Omron tech support finally got back to me re the address issue, this is what they had to say: D6T sensor can not change the address. When you connect multiple sensors we recommend that you use the IC switching. Please refer to the

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Julian Brooks
and there's a document there that has something about using multiple sensors on one bus: http://www.mouser.com/catalog/specsheets/D6T-01_ThermalIRSensor-Whitepaper.pdf That's a much better doc. Seems to me the easiest way to multiplex them would be to put a CD4051 on the clock line and

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
Yes that would work too, if you can handle the soldering ;( I suppose you could modify the c code to run two sensors and send the data to two different port numbers, or use two different selectors for the message. Another way would be to have the Pd patch request a reading from a specific

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
On 2013-04-23 09:32, Julian Brooks wrote: ... Maybe there's something I'm missing here then: The average temp that comes out of [unpack 1] is way higher than the rest of the readings. At the moment [unpack 1] says '212' yet a quick averaging of the other 16 readings is around '180'?

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Julian Brooks
On 23 April 2013 14:45, Martin Peach martin.pe...@sympatico.ca wrote: Yes that would work too, if you can handle the soldering ;( Don't think I can tbh - Don't like soldering at the best of times and those teeny pins and housings almost drove us to despair. I suppose you could modify the c

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-21 Thread Julian Brooks
Wonder if it's a difference between rev boards on the Pi? I've also built a custom image based on Hexxeh's minimal install which is working great for audio stuff. My Pd patch that wouldn't run without overclocking on a standard Raspian is now working fine on the rev1 256mg board. So I've been

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca mailto:martin.peach

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
mailto:jbee...@gmail.com mailto:jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
mailto:jbee...@gmail.com mailto:jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
On 2013-04-20 21:09, Julian Brooks wrote: Oh and btw Still don't know why I can't compile the .c files on the pi with libi2c-dev installed but I can't. Presuming the compiling is working for you Martin? Yes it works for me. I don't have the same /usr/include/linux/i2c-dev.h as you so no

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
. Cheers, Julian On 12 April 2013 11:27, Julian Brooks jbee...@gmail.com wrote: Message resent for thread archives with smaller picture size. Julian -- Forwarded message -- From: Julian Brooks jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Martin Peach
: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca Cc: PD List pd-list@iem.at mailto:pd-list@iem.at Hey Martin / list, Finally got all the stuff and ... It’s not working! We

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
resent for thread archives with smaller picture size. Julian -- Forwarded message -- From: *Julian Brooks* jbee...@gmail.com mailto: jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.peach@**sympatico.ca martin.pe...@sympatico.ca Cc: PD List pd-list@iem.at mailto:pd-list@iem.at Hey Martin / list

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
-- Forwarded message -- From: *Julian Brooks* jbee...@gmail.com mailto: jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.peach

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.peach@**sympatico.ca martin.pe...@sympatico.ca Cc: PD List pd-list@iem.at mailto:pd-list@iem.at Hey Martin / list

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
. Julian -- Forwarded message -- From: *Julian Brooks* jbee...@gmail.com mailto: jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.peach@**sympatico.camartin.pe...@sympatico.ca Cc: PD List pd-list@iem.at mailto:pd-list@iem.at Hey Martin / list, Finally got

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.peach@**sympatico.camartin.pe...@sympatico.ca Cc: PD List pd-list@iem.at mailto:pd-list@iem.at Hey Martin / list, Finally got all the stuff

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Julian Brooks
. Julian -- Forwarded message -- From: *Julian Brooks* jbee...@gmail.com mailto: jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.peach

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-12 Thread Julian Brooks
archives with smaller picture size. Julian -- Forwarded message -- From: Julian Brooks jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca Cc: PD List pd-list@iem.at Hey Martin / list

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-11 Thread Martin Peach
On 2013-04-11 14:24, Julian Brooks wrote: Hey Martin / list, Finally got all the stuff and ... It’s not working! We spent the day soldering cables and connecting stuff up as per the Omron ‘App Note 01’ spec sheet. Started off super-conservative using the I2C level converter (case 3 page 4)

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-11 Thread Julian Brooks
Hey Martin, Ok, good stuff - progress. Will check all connections again (have to be tomorrow now). Nice one, Julian On 11 April 2013 20:25, Martin Peach martin.pe...@sympatico.ca wrote: On 2013-04-11 14:24, Julian Brooks wrote: Hey Martin / list, Finally got all the stuff and ... It’s

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Julian Brooks
Hey Martin / list, This is all marvellous news. Going a bit slower at our end, not helped by Easter holidays, trips to the seaside (bit chilly) and the plethora of children that require our undivided attention. ebay parts arrived today and don't fit which is annoying to say the least. Spent

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
On 2013-04-07 04:30, Julian Brooks wrote: Hey Martin / list, This is all marvellous news. Going a bit slower at our end, not helped by Easter holidays, trips to the seaside (bit chilly) and the plethora of children that require our undivided attention. ebay parts arrived today and don't fit

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
Also check this out: it seems to have everything except how to make a pd external from it. http://www.instructables.com/id/Raspberry-Pi-I2C-Python/ Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
On 2013-04-07 04:30, Julian Brooks wrote: ... Also got a voltage transformer that works with i2c as the rpi is 3.5v and sensors 5v. You can use the 5V from the GPIO header on the pi. From the schematic pin 2 is 5V. Ground is on pin 6. Pin 3 is the i2c data and pin 5 is the clock. Pullup

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Julian Brooks
Thanks Martin, really useful stuff. I've got i2cdetect on the RPi which is how I knew that [gpio] was setting hi lo. And good to hear you'll be wrestling with this on the Pi as well. In some ways this is good news as we've setup everything from the 'instructables' page already and now just

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
On 2013-04-07 17:42, Julian Brooks wrote: Thanks Martin, really useful stuff. I've got i2cdetect on the RPi which is how I knew that [gpio] was setting hi lo. And good to hear you'll be wrestling with this on the Pi as well. In some ways this is good news as we've setup everything from the

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-30 Thread Martin Peach
On 2013-03-27 18:31, Martin Peach wrote: On 2013-03-27 17:17, Julian Brooks wrote: Hey Martin, Good to hear you've got one of these too. Yes I meant [comport] with the xbee rather than [hid] sorry, getting my physical input objects confused. Will check out the links you provided as part of

[PD] Sensors GPIO Raspberry Pi Pd

2013-03-27 Thread Julian Brooks
Hi all, We've been after some sensors for motion detection on the RPi and Martin Peach spotted these (thanks again Martin!) http://uk.farnell.com/omron-electronic-components/d6t-44l-06/sensor-thermal-mems-4x4/dp/2218000 They're fairly new and I've not been able to find anything about anyone

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-27 Thread Martin Peach
On 2013-03-27 06:31, Julian Brooks wrote: Hi all, We've been after some sensors for motion detection on the RPi and Martin Peach spotted these (thanks again Martin!) http://uk.farnell.com/omron-electronic-components/d6t-44l-06/sensor-thermal-mems-4x4/dp/2218000 They're fairly new and I've not

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-27 Thread Julian Brooks
Hey Martin, Good to hear you've got one of these too. Yes I meant [comport] with the xbee rather than [hid] sorry, getting my physical input objects confused. Will check out the links you provided as part of my getting up to speed. So, managed to get the sensors out of the cardboard box. They

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-27 Thread Martin Peach
On 2013-03-27 17:17, Julian Brooks wrote: Hey Martin, Good to hear you've got one of these too. Yes I meant [comport] with the xbee rather than [hid] sorry, getting my physical input objects confused. Will check out the links you provided as part of my getting up to speed. So, managed to