I2C problem between the NXT and a Maxim ADC
-
- Posts: 5
- Joined: 22 Mar 2011, 10:50
- Location: Lyon, France
I2C problem between the NXT and a Maxim ADC
Hi everyone.
I'm using LabView 2009 service pack 1 an a NXT firmware 1.28 .
My goal is to command an ADC "MAX 127" from Maxim through a NXT. The DAC is connected to the NXT by the sensor plug port.
Here the doc :
http://datasheets.maxim-ic.com/en/ds/MAX127-MAX128B.pdf
I got some problems. I can not discuss with the DAC, with the NXT module "i2c communication".
I don't see any digital signal on the oscilloscope.
Could you help me to fix it.
Sincerly
I'm using LabView 2009 service pack 1 an a NXT firmware 1.28 .
My goal is to command an ADC "MAX 127" from Maxim through a NXT. The DAC is connected to the NXT by the sensor plug port.
Here the doc :
http://datasheets.maxim-ic.com/en/ds/MAX127-MAX128B.pdf
I got some problems. I can not discuss with the DAC, with the NXT module "i2c communication".
I don't see any digital signal on the oscilloscope.
Could you help me to fix it.
Sincerly
Last edited by kosenhitatchi on 22 Mar 2011, 11:17, edited 1 time in total.
Re: I2C problem between the NXT and a Maxim DAC
Did you add 82k Pull-up resistors to your circuit?
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 5
- Joined: 22 Mar 2011, 10:50
- Location: Lyon, France
Re: I2C problem between the NXT and a Maxim ADC
Yes, I add two 82K Pull-up resistors to my circuit. One between SDA=>Vcc, the Other SCL => Vcc.
Re: I2C problem between the NXT and a Maxim ADC
You tested your circuit with NXC or something to that effect?
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 5
- Joined: 22 Mar 2011, 10:50
- Location: Lyon, France
Re: I2C problem between the NXT and a Maxim ADC
I test my system with a NI-Elvis from National Instrument. A the begining I tried to visualise the Data transfer on the I2C Bus.
Re: I2C problem between the NXT and a Maxim ADC
I'm sorry but I am not familiar with LV, perhaps someone else can help you.
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 5
- Joined: 22 Mar 2011, 10:50
- Location: Lyon, France
Re: I2C problem between the NXT and a Maxim ADC
Last edited by kosenhitatchi on 22 Mar 2011, 15:09, edited 1 time in total.
Re: I2C problem between the NXT and a Maxim ADC
Your circuit (the MAX127 part of it anyway) should look like in these posts:
- Xander
- http://mightor.wordpress.com/2009/03/02 ... mux-board/
- http://mightor.wordpress.com/2008/07/27 ... he-max127/
- http://mightor.wordpress.com/2008/07/19 ... onversion/
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: I2C problem between the NXT and a Maxim ADC
According to your schematics, your problem is that ground connection between NXT and converter is missing!
Philo
-
- Posts: 5
- Joined: 22 Mar 2011, 10:50
- Location: Lyon, France
Who is online
Users browsing this forum: Bing [Bot] and 2 guests