On Tue, 2008-01-01 at 07:17 -0600, John Thornton wrote: > Hi Kirk, > > For the single channel ADC do you have a chip picked out? I think that > I'll just use the MAX186 in the article and ground the unused inputs unless > you have a better one. A quick google search and it seems to be used a lot. > > Nosing around on Maxium's site I found some chips that take 0-10v like this > one > http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3998 > Do you think it could be used? If you could hook an analog sensor to > something > like this then WOW! Distance sensing and more... > > Does a simple voltage divider circuit sound good enough to scale the voltage > down to what the chip needs? > > I'm familiar with C, and just found the comp tool. I'll see what I can > figure out... > > This is kinda new ground for me so any tips would help... > > Thanks > John
The MAX186 and MAX1272 could be used, but these would need more complex software because their extra features are set up with commands sent through the serial connection. You would need to allow for sending commands and receiving data. With a chip like the LTC1286: http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1155,C1001,C 1158,P1445,D2760 it only has a data out pin and basically sends one data bit for each clock pulse. I haven't done any work with signal conditioning, so I don't know the issues with voltage dividers. I would tend to think that you could get the ADC to work and then give it a try. Measuring fast or AC signals would probably need more attention. I don't know much C, but I was able to write a few comp files. Getting the first compile to work was a hassle, but now, I forget what the problems were. There seem to a couple of small bits of information that were missing in the manual. You can study some of the comp files here: http://cvs.linuxcnc.org/cvs/emc2/src/hal/components/ These should be valid if you are using the latest EMC software. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
