Abhishek Jain
  • Male
  • Navi Mumbai, Maharashtra
  • India
Share Twitter
  • Blog Posts
  • Discussions (5)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Abhishek Jain's Friends

  • Marko Kleine Berkenbusch
  • amarnath eedpuganti
  • viky
  • Tom Yochum
  • Brian Hudson
  • Jordi Muñoz

Abhishek Jain's Discussions

Quaduino

Started this discussion. Last reply by Abhishek Jain Jun 5, 2009. 1 Reply

 

Abhishek Jain's Page

Latest Activity

Abhishek Jain posted a discussion

Some vids of my PID testing with the Quadcopter

We are a bunch of college students  in our pre-final year from India trying to build a Quad from cheap parts with the following specs:Motor:: 1050kv, 22 turn, 19A,ESC::Turnigy 25 A, turnigy sentrybattery - 5000mah, turnigy, 25CSensors: hacked from Wii Motion+. A 20$ gyro board with an IDG-600 and a ISZ-650These are some videos of rope testing with only Kp values. It flipped a couple of times before this due to untuned PID. These are our first successful tests.its still tied down, but planning…See More
Nov 5, 2010
Abhishek Jain left a comment for Brian Hudson
"Hello Can u send me a circuit diagram of your connections from the SF IMU to the Arduino. I am having a problem. Am not able to get the pinout for the z-sensor. And can u post a better photograph of your Arduino+IMU…"
Oct 4, 2009
Tom Yochum left a comment for Abhishek Jain
"Abhishek You will need to direct your wiring questions to Brian. He is the electronics guru. Tom"
Oct 1, 2009
Abhishek Jain left a comment for Tom Yochum
"Hello Can u send me a circuit diagram of your connections from the SF IMU to the Arduino. I am having a problem. Am not able to get the pinout for the z-sensor. And can u post a better photograph of your Arduino+IMU setup. Thanks Abhishek"
Sep 30, 2009
Abhishek Jain left a comment for Brian Hudson
"hello i know its been long. I have finally figured out the PID control loop for the motors and the pinouts for the x,y axis of the accelerometers. Have only one problem. Don't know how to get the output from the z-axis of the accelerometers.…"
Sep 3, 2009
Abhishek Jain left a comment for viky
"hi i am studying in bits goa am working to build an uav with SLAM u know anything about this pls help"
Aug 17, 2009
Abhishek Jain replied to David's discussion Brushless and ESC help
"Hi all I was facing exactly the same problem while I using my arduino to route signals from my RC to ESC. I read wayne garriss' post and tried specifying a delay such that the ESC would get a signal after exactly 50ms interval and it worked…"
Jun 10, 2009
Tom Yochum left a comment for Abhishek Jain
"Abhishek, I'm not sure what you are asking for. A derivation of the Kalman equations is given here. Implementing the actual Kalman equations is the easy part. The hard part is developing the equations for the system model. That exercise is…"
Jun 8, 2009
Abhishek Jain posted a discussion

GYRO READINGS CONVERSION

I am getting values between 0 and 1023 from my gyro.These are the angular velocities. I need to convert them to angular form and plot a graph in MATLAB. This has to be done dynamically. Please help me out with this.
Jun 8, 2009
Abhishek Jain left a comment for Brian Hudson
"Namaste How do i convert the gyro readings to angles. I have mapped the functions between -300 to 300 on my Arduino alpha. Pls help out Thanks Abhishek"
Jun 8, 2009
Abhishek Jain left a comment for sidz
"yo what do you do. If you are studying which college are you studying in Abhishek"
Jun 6, 2009
Abhishek Jain left a comment for Tom Yochum
"Hi Tom, I got the IMU working thanks to Brian. Now I would like your help on the Kalman filter to implement on it. Just could u give me the basics of what to do with the raw readings of the IMU. I can do the coding myself. Thanks in…"
Jun 6, 2009
Abhishek Jain left a comment for Brian Hudson
"hello again Do you know the exact weight of the Atomic IMU thanks in advance abhishek"
Jun 5, 2009
Abhishek Jain left a comment for Brian Hudson
"i got that part abt connecting to the xbee socket. you are using the analog I/O pins and connecting it to the arduino,, ryt??"
Jun 5, 2009
Abhishek Jain left a comment for Brian Hudson
"also wat abt the part where they have mentioned in the atomic datasheet that we are not supposed to connect the imu to a rs232 line.(probably due to high voltage).."
Jun 5, 2009

Profile Information

About Me:
am trying to build a quad using very cheap parts. Basically a Quadino
Tell us a bit about your UAV interest
Want to do it cause its cool

Comment Wall (5 comments)

At 8:01am on June 5, 2009, Tom Yochum said…
Abhishek,

My neighbor Brian Hudson is the hardware guy for our project. I'm sure he would love to give you some advice on getting the Arduino to talk to the IMU board.

Tom
At 12:59pm on June 5, 2009, Brian Hudson said…
Hey Abhishek,
Have you loaded any of your own code onto the IMU? I don't think you'll have any luck hooking the Arduino directly to the IMU with the default firmware installed, as the IMU is set up to transmit at 115200 baud or something around there, and I don't think the Arduino can actually receive serial input at that speed.

I had modified the stock IMU code to transmit at a lower speed and in a different data format, but unfortunately I ended up corrupting the fuse bits of the ATMega microcontroller in the process.

Ultimately what I ended up doing was cutting the ATMega off of the IMU sensor board, and using prototype wire to connect the analog pins from each of the sensors to various pads on the XBee connector. Then I just patch those straight to the A/D inputs on the Arduino and sample from there. Note, if you have a 5V Arduino board, you'll have to connect the AREF pin of the Arduino to a 3.3V source and set up the Arduino code to use the AREF pin for the A/D converters.

Hope that helps.

Brian
At 8:37pm on June 5, 2009, Brian Hudson said…
Well I wouldn't encourage you to cut off your ATMega if that's what you implied you were going to do like me.

The ATMega on the IMU can be reprogrammed using the ISP connector on the board (a 2x3 set of holes which you'll need to solder header pins into). You can actually set up your Arduino to be an ATMega programmer, and I succesfully used mine to do this about 5 times. However, right after that, I encountered an error which rendered the ATMega on the IMU unusable.

I would recommend purchasing a programmer like the AVR ISP - http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3808. You can also make your own, but given your stated level of experience, it's likely easier and less risky to buy one. Then you use the AVR studio (linked on that page) to program.

The source code for the current IMU firmware can be found on sparkfun's site, and I think you should be able to use AVR Studio to build it.

Now that I think about this - there are a number of steps to modifying the code, and depending on your comfort level, it might not be the easiest thing for you to start with. One other option would be to do something similar to what I did - just use the IMU as a simple sensor board and ignore the processor - carefully solder a lead from the gyro you want to use to an unused pin on the XBee header and then plug that into one of the A/D ports on the Arduino. I'm not 100% sure about one thing though - the signal will still be hooked up to a pin on the IMU's processor doing A/D sampling - I don't think that should interfere with the signal enough for it to matter, but I don't know for certain.

If you don't know exactly where to solder the lead, let me know, and I'll let you know what I think is the best spot (you have to take into account the fact that there is a resistor and capacitor as part of the circuit which help to stabilize the signal appropriately).

What are you studying in school?

Brian
At 1:38pm on June 8, 2009, Tom Yochum said…
Abhishek,

I'm not sure what you are asking for. A derivation of the Kalman equations is given here. Implementing the actual Kalman equations is the easy part. The hard part is developing the equations for the system model. That exercise is left for you to do because there are many ways to model an IMU. I would recommend reading up on Bill Premerlani's method here.

If you have specific questions about how Kalman filtering works, I would love to help.

Tom
At 9:57am on October 1, 2009, Tom Yochum said…
Abhishek

You will need to direct your wiring questions to Brian. He is the electronics guru.

Tom

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

Join DIY Drones

 
 
 

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.

A list of all T3 contests is here

 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service