Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: John Alfredo <jalfredo@sp...> - 2006-07-12 21:03:27
|
Thanks Dave, found it. John Alfredo -----Original Message----- From: gumstix-users-bounces@... [mailto:gumstix-users-bounces@...] On Behalf Of Dave Hylands Sent: Wednesday, July 12, 2006 12:39 PM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] Temperature sensor interfacing Hi John, > I went looking for your ioctl() call in the /branches/projects/robostix/ i2c > stuff and couldn't find it. Can you steer me to it? You'll find it in robostix/gumstix/Common/i2c-api.c (all of the gumstix stuff is in robostix/gumstix) > Also, block read would be for anything longer than (1) byte? Is this the > SMBus limitation? a block has a length byte followed by 'length' data bytes. SMBus also supports a 16 bit transfer which has no length byte. The restriction with the routines I wrote is that the caller has to know the size of the Read-Process or the read portion of Block-Process ahead of time. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: <dfoisymail-gumstix@ya...> - 2006-07-12 16:27:53
Attachments:
Message as HTML
|
Laker, You don't say if the sensor is for remote or on-board use or what voltages you're using or what temperature range you need. If for on-board use, take a look at the http://www.national.com/ds/LM/LM94021.pdf (available at Digikey). By using the high gain mode, you can connect it directly to the UCB1400 analog inputs. For remote use, look at the LM61. Note that you need a sensor with a fairly high gain to make it work with the 10-bit, 7V analog inputs on the UCB1400 and get decent resolution. I'll be looking at getting this to work software-wise soon but I suspect everything needed is already present in the current driver set. If you want to stick with one-wire sensors (perhaps you need many sensors for your project), they can be connected to a serial port with very little effort - take a look at http://www.maxim-ic.com/appnotes.cfm/appnote_number/214 and http://www.maxim-ic.com/appnotes.cfm/appnote_number/126 for how to use a regular UART (works well if a bit labor intensive but low cost) or use a dedicated serial-to-1 wire bus interface chip: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2923 Dan Laker Netman wrote: Hi all. I'm interested in attaching a temperature sensor to either my 4mb connex or audiostix2 (FWIW, the gumstix is currently connected to the audiostix2 and preferably should stay that way). I have been looking through Maxim's offerings and they seem to have what I want, specifically http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4576 Anyone have experience with this type of project? Caveats, words of wisdom? Thanks, Laker __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: John Alfredo <jalfredo@sp...> - 2006-07-12 21:03:27
|
Thanks Dave, found it. John Alfredo -----Original Message----- From: gumstix-users-bounces@... [mailto:gumstix-users-bounces@...] On Behalf Of Dave Hylands Sent: Wednesday, July 12, 2006 12:39 PM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] Temperature sensor interfacing Hi John, > I went looking for your ioctl() call in the /branches/projects/robostix/ i2c > stuff and couldn't find it. Can you steer me to it? You'll find it in robostix/gumstix/Common/i2c-api.c (all of the gumstix stuff is in robostix/gumstix) > Also, block read would be for anything longer than (1) byte? Is this the > SMBus limitation? a block has a length byte followed by 'length' data bytes. SMBus also supports a 16 bit transfer which has no length byte. The restriction with the routines I wrote is that the caller has to know the size of the Read-Process or the read portion of Block-Process ahead of time. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Marc Nicholas <geekything@gm...> - 2006-07-12 16:41:39
Attachments:
Message as HTML
|
Go 1-Wire, as suggested -- will make your life much easier and there're Perl, device driver, and other ways to integrate them into your apps. -marc On 7/12/06, dfoisymail-gumstix@... <dfoisymail-gumstix@...> wrote: > > Laker, > > You don't say if the sensor is for remote or on-board use or what voltages > you're using or what temperature range you need. If for on-board use, take > a look at the http://www.national.com/ds/LM/LM94021.pdf (available at > Digikey). By using the high gain mode, you can connect it directly to the > UCB1400 analog inputs. For remote use, look at the LM61. Note that you > need a sensor with a fairly high gain to make it work with the 10-bit, 7V > analog inputs on the UCB1400 and get decent resolution. I'll be looking at > getting this to work software-wise soon but I suspect everything needed is > already present in the current driver set. > > If you want to stick with one-wire sensors (perhaps you need many sensors > for your project), they can be connected to a serial port with very little > effort - take a look at > http://www.maxim-ic.com/appnotes.cfm/appnote_number/214 and > http://www.maxim-ic.com/appnotes.cfm/appnote_number/126 > > for how to use a regular UART (works well if a bit labor intensive but low > cost) or use a dedicated serial-to-1 wire bus interface chip*: > > * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2923 > > Dan > * > > * > Laker Netman wrote: > > Hi all. > I'm interested in attaching a temperature sensor to > either my 4mb connex or audiostix2 (FWIW, the gumstix > is currently connected to the audiostix2 and > preferably should stay that way). > I have been looking through Maxim's offerings and they > seem to have what I want, specifically > http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4576 > Anyone have experience with this type of project? > Caveats, words of wisdom? > > Thanks, > Laker > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > |
From: John Alfredo <jalfredo@sp...> - 2006-07-12 17:10:03
Attachments:
Message as HTML
|
Regarding 1-wire, how are people interfacing 1-wire to the gumstix? I'm considering several power supply devices that use 1-wire. I see that Maxim has a number of 1-wire interface options (i2c, UART, USB, Parallel), however I don't want to give up a UART to add 1-wire so I was leaning toward the i2c interface. Does anybody use that (DS2482)? Also, (please forgive the topic branch) is SMBus unconditionally compatible with i2c? I was hoping to hook as much stuff as possible to the i2c bus and use one additional GPIO as an open collector shared interrupt line (since the slave devices can initiate a transaction). Much of the new stuff out there is SMBus. John Alfredo _____ From: gumstix-users-bounces@... [mailto:gumstix-users-bounces@...] On Behalf Of Marc Nicholas Sent: Wednesday, July 12, 2006 8:42 AM To: dfoisymail-gumstix@...; General mailing list for gumstix users. Subject: Re: [Gumstix-users] Temperature sensor interfacing Go 1-Wire, as suggested -- will make your life much easier and there're Perl, device driver, and other ways to integrate them into your apps. -marc On 7/12/06, dfoisymail-gumstix@... <dfoisymail-gumstix@...> wrote: Laker, You don't say if the sensor is for remote or on-board use or what voltages you're using or what temperature range you need. If for on-board use, take a look at the http://www.national.com/ds/LM/LM94021.pdf (available at Digikey). By using the high gain mode, you can connect it directly to the UCB1400 analog inputs. For remote use, look at the LM61. Note that you need a sensor with a fairly high gain to make it work with the 10-bit, 7V analog inputs on the UCB1400 and get decent resolution. I'll be looking at getting this to work software-wise soon but I suspect everything needed is already present in the current driver set. If you want to stick with one-wire sensors (perhaps you need many sensors for your project), they can be connected to a serial port with very little effort - take a look at http://www.maxim-ic.com/appnotes.cfm/appnote_number/214 and http://www.maxim-ic.com/appnotes.cfm/appnote_number/126 <http://www.maxim-ic.com/appnotes.cfm/appnote_number/126> for how to use a regular UART (works well if a bit labor intensive but low cost) or use a dedicated serial-to-1 wire bus interface chip: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2923 Dan Laker Netman wrote: Hi all. I'm interested in attaching a temperature sensor to either my 4mb connex or audiostix2 (FWIW, the gumstix is currently connected to the audiostix2 and preferably should stay that way). I have been looking through Maxim's offerings and they seem to have what I want, specifically http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4576 Anyone have experience with this type of project? Caveats, words of wisdom? Thanks, Laker __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> &kid=120709&bid=263057&dat=121642 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> &kid=120709&bid=263057&dat=121642 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users <https://lists.sourceforge.net/lists/listinfo/gumstix-users> |
From: Chris Danis <cgd3@co...> - 2006-07-12 17:18:46
|
On 7/12/06, John Alfredo <jalfredo@...> wrote: > Also, (please forgive the topic branch) is SMBus unconditionally compatible > with i2c? I was hoping to hook as much stuff as possible to the i2c bus and > use one additional GPIO as an open collector shared interrupt line (since > the slave devices can initiate a transaction). Much of the new stuff out > there is SMBus. A quick Google for smbus i2c yielded the following (rather good) Maxim appnote about interfacing between SMBus and I2C: http://www.maxim-ic.com/appnotes.cfm/appnote_number/476 I believe they are essentially compatible busses under most circumstances. best, -chris |
From: Dave Hylands <dhylands@gm...> - 2006-07-12 17:23:04
|
Hi John, > Regarding 1-wire, how are people interfacing 1-wire to the gumstix? I'm > considering several power supply devices that use 1-wire. I see that Maxim > has a number of 1-wire interface options (i2c, UART, USB, Parallel), however > I don't want to give up a UART to add 1-wire so I was leaning toward the i2c > interface. Does anybody use that (DS2482)? I'm not familiar with 1-wire, but I think you can bit-bang it using a GPIO line. > Also, (please forgive the topic branch) is SMBus unconditionally compatible > with i2c? I was hoping to hook as much stuff as possible to the i2c bus and > use one additional GPIO as an open collector shared interrupt line (since > the slave devices can initiate a transaction). Much of the new stuff out > there is SMBus. Yeah - i2c and SMBus are very closely related. SMBus typically goes over i2c but can use other transport mechanisms. Last time I looked the PXA didn't support some of the SMBus stuff (like Block-Read, and Block-Process), but these can often be emulated using the I2C_RDWR ioctl (which is what I did for the robostix stuff), and are often not used anyways. All of the the SMBus stuff that I've looked at should interface just fine with the gumstix i2c. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: John Alfredo <jalfredo@sp...> - 2006-07-12 20:27:11
|
Thanks Dave (and Chris) for the reply. I went looking for your ioctl() call in the /branches/projects/robostix/ i2c stuff and couldn't find it. Can you steer me to it? Also, block read would be for anything longer than (1) byte? Is this the SMBus limitation? Thanks again, John Alfredo -----Original Message----- From: gumstix-users-bounces@... [mailto:gumstix-users-bounces@...] On Behalf Of Dave Hylands Sent: Wednesday, July 12, 2006 9:23 AM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] Temperature sensor interfacing Hi John, > Regarding 1-wire, how are people interfacing 1-wire to the gumstix? I'm > considering several power supply devices that use 1-wire. I see that Maxim > has a number of 1-wire interface options (i2c, UART, USB, Parallel), however > I don't want to give up a UART to add 1-wire so I was leaning toward the i2c > interface. Does anybody use that (DS2482)? I'm not familiar with 1-wire, but I think you can bit-bang it using a GPIO line. > Also, (please forgive the topic branch) is SMBus unconditionally compatible > with i2c? I was hoping to hook as much stuff as possible to the i2c bus and > use one additional GPIO as an open collector shared interrupt line (since > the slave devices can initiate a transaction). Much of the new stuff out > there is SMBus. Yeah - i2c and SMBus are very closely related. SMBus typically goes over i2c but can use other transport mechanisms. Last time I looked the PXA didn't support some of the SMBus stuff (like Block-Read, and Block-Process), but these can often be emulated using the I2C_RDWR ioctl (which is what I did for the robostix stuff), and are often not used anyways. All of the the SMBus stuff that I've looked at should interface just fine with the gumstix i2c. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Dave Hylands <dhylands@gm...> - 2006-07-12 20:39:24
|
Hi John, > I went looking for your ioctl() call in the /branches/projects/robostix/ i2c > stuff and couldn't find it. Can you steer me to it? You'll find it in robostix/gumstix/Common/i2c-api.c (all of the gumstix stuff is in robostix/gumstix) > Also, block read would be for anything longer than (1) byte? Is this the > SMBus limitation? a block has a length byte followed by 'length' data bytes. SMBus also supports a 16 bit transfer which has no length byte. The restriction with the routines I wrote is that the caller has to know the size of the Read-Process or the read portion of Block-Process ahead of time. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Laker Netman <laker_netman@ya...> - 2006-07-12 16:46:22
|
Here's the gist of my spec: local sensing; single (possibly dual, but no more) sensor would be, more or less, attached to the 'stix board (e.g., 2 to 6 inch interface cable to small custom pcb) range: say 50 deg F to 100 deg F, with 1 deg resolution voltage: preferably directly compatible with the 'stix (3.3v, yeah?), but a voltage reg isn't out of the question. And, I'd like to have the A/D stuff done on the temp sensor. So the 'stix would just be reading a value off the sensor when required. Laker --- dfoisymail-gumstix@... wrote: > Laker, > > You don't say if the sensor is for remote or > on-board use or what voltages you're using or what > temperature range you need. If for on-board use, > take a look at the > http://www.national.com/ds/LM/LM94021.pdf (available > at Digikey). By using the high gain mode, you can > connect it directly to the UCB1400 analog inputs. > For remote use, look at the LM61. Note that you > need a sensor with a fairly high gain to make it > work with the 10-bit, 7V analog inputs on the > UCB1400 and get decent resolution. I'll be looking > at getting this to work software-wise soon but I > suspect everything needed is already present in the > current driver set. > > If you want to stick with one-wire sensors (perhaps > you need many sensors for your project), they can be > connected to a serial port with very little effort - > take a look at > http://www.maxim-ic.com/appnotes.cfm/appnote_number/214 > and > > http://www.maxim-ic.com/appnotes.cfm/appnote_number/126 > > for how to use a regular UART (works well if a bit > labor intensive but low cost) or use a dedicated > serial-to-1 wire bus interface chip: > > http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2923 > > Dan > > > Laker Netman wrote: > Hi all. > I'm interested in attaching a temperature sensor to > either my 4mb connex or audiostix2 (FWIW, the > gumstix > is currently connected to the audiostix2 and > preferably should stay that way). > I have been looking through Maxim's offerings and > they > seem to have what I want, specifically > http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4576 > Anyone have experience with this type of project? > Caveats, words of wisdom? > > Thanks, > Laker > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |