• Blog Posts
  • Discussions (10)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Dany Rassam's Friends

  • Ellison Chan

Dany Rassam's Discussions

Reading I2C sensor port on arduino

Started this discussion. Last reply by Martin Szymanski Jan 31, 2012. 18 Replies

HiI am trying to read my distance sensor using arduino from my IMU board. I have connected my sonar in the pitot tube port and I have writtten code to read from the sensor. However i do not know…Continue

Linking arducopter to Futaba transmitter

Started this discussion. Last reply by Martint BuildYourOwnDrone.co.uk Dec 6, 2011. 1 Reply

Hey everyoneIm pretty noob at this and I just got my kit yesterday. I am using the Futaba T9CHP 9 channel remote transmitter to fly my quadrocopter but for some reason it does not respond.I know…Continue

 

Dany Rassam's Page

Latest Activity

Martin Szymanski replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Such is defining inputs according to architecture. If it is analog then scale accordingly."
Jan 31, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Thanks alot!!!!!! It worked finally. Lifesaver is what you are"
Jan 31, 2012
Bot Thoughts replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"According to this: http://arduino.cc/en/Tutorial/AnalogInputPins You should remove the line "int A6;" Because that sets up a variable A6 that will have initial value 0, so the pinMode() and analogRead() calls will attempt to operate…"
Jan 31, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Thanks for your help. Im going to go and solder my header pins onto the expansion ports and hopefully it will work. I will plug it into AN6. Just to confirm, this is the code I will be using:   int A6; long anVolt, cm; void setup() { …"
Jan 31, 2012
Martin Szymanski replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"In the industrial workplace I work with 0 to 10 Volts DC or a 4 to 20 ma Loop. A 4 to 20 ma loop seeks. A 0 to 10 volt references to the voltage. Understand the power to reference might be different. Personally I like a power loop. The I2C has very…"
Jan 31, 2012
Bot Thoughts replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Maybe the "expansion ports" on the blue board? Otherwise, I would think the 3-pin headers should have Vcc and GND (standard servo pinout) "
Jan 31, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"I was still using the Pitot tube pins (They are on the right of the board in the picture you have provided). There is GND, +5V and IN. I also posted below  "
Jan 31, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"OK my bad I was using the wrong pins thats why my code wasn't working. I am going to go and solder on some header pins to the pins you have mentioned however where is the V+ 5V? All I can see is GND and the analog signal pins."
Jan 31, 2012
Bot Thoughts replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Does that code actually compile? What is A0? What integer value is the variable ADC0 set to? Maybe just a typo. Which analog pin is the EZ0 is plugged into on the blue board? What does the silkscreen label next to the pin say? How is the sensor…"
Jan 31, 2012
Eraser replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Try measuring output of sensor with a voltmeter between signal and ground...  Then measure hooked up to Arduino, measurement should be with range of sensor output..."
Jan 31, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"I have tried using your 'hints' and i have written some code to go along with it: int ADC0; long anVolt, cm; void setup() {  Serial.begin(9600);} void loop() {  pinMode(ADC0, INPUT);  anVolt = analogRead(A0);  cm =…"
Jan 31, 2012
Bot Thoughts replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"Ok, a MaxBotics EZ0. I have played with the EZ1; same interface. It doesn't support I2C at all. It supports asynch TTL Serial, as well as Analog and pulse width timing. Let's go back to the analog interface you were pursuing. You need to…"
Jan 31, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"It is a MaxBotix XL Maxsonar EZ MB1200. Here is the link: http://www.maxbotix.com/products/MB1200.htm Please bear with me this is my first time using this type of hardware."
Jan 31, 2012
Martin Szymanski replied to Dany Rassam's discussion Reading I2C sensor port on arduino
Jan 30, 2012
Bot Thoughts replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"The title says I2C sensor... if your sensor speaks I2C protocol and if you've plugged it into an I2C port (SDA, SCL) then you'd need to use the Wire library to talk to it.  What sensor brand/model is it? Michael"
Jan 30, 2012
Dany Rassam replied to Dany Rassam's discussion Reading I2C sensor port on arduino
"This is the code I am using but need to find the pin ?????   const int anPin = ?????; long anVolt, cm; void setup(){ Serial.begin(115200);} void loop(){  pinMode(anPin, INPUT);  anVolt = analogRead(anPin);  cm = anVolt *…"
Jan 30, 2012

Profile Information

About Me:
Uni
Please tell us a bit about your UAV interest
Beginner

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Drone Delivery Challenge, is here

© 2014   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service