itg3205 + gh0901b + help

Post Reply
n00b
Posts: 11
Joined: Sat Jul 30, 2011 3:58 pm

itg3205 + gh0901b + help

Post by n00b »

hello all
this is my little problem

is my first quadcopter and this is the hardware that I have

connecting them work individually but not in parallel
v1.8 software and the config is
# define I2C_SPEED 100000L
# define ITG3200
# define NUNCHACK
# define ITG3200_LPF_256HZ
# define INTERLEAVING_DELAY 3000

I also tried 1_preter7, but either freezes or it does not work
any suggestions on how to proceed in the connection and configuration?
Below you can see the wm+ and nk (not cut in the middle)

Image
Image

User avatar
c2po
Posts: 22
Joined: Fri Jun 24, 2011 7:31 pm
Location: Atlanta, GA

Re: itg3205 + gh0901b + help

Post by c2po »

Start with just the gyro, do not connect Nunchuk yet and make a gyro work first.
Make sure you follow all the steps for the ITG3205 modification as I describe it in my blog post.

n00b
Posts: 11
Joined: Sat Jul 30, 2011 3:58 pm

Re: itg3205 + gh0901b + help

Post by n00b »

I knew your blog, through you I was able to connect itg3205 (so thanks again)
in the attachment you can see that it works correctly

config:
#define I2C_SPEED 100000L
#define ITG3200
#define ITG3200_LPF_256HZ
#define INTERLEAVING_DELAY 3000
Attachments
itg3205 wiiconf1_8.jpg

User avatar
c2po
Posts: 22
Joined: Fri Jun 24, 2011 7:31 pm
Location: Atlanta, GA

Re: itg3205 + gh0901b + help

Post by c2po »

yay! so you're basically half way thru already. ;)

I actually had to change the setting for the LPF filter from 256HZ to 10HZ, otherwise my quad was very unstable, I guess because the gyro was picking up some vibrations from unbalanced props/motors thru the frame, and I didn't have a good dampening foam under it, but with 10Hz it became much more stable.

n00b
Posts: 11
Joined: Sat Jul 30, 2011 3:58 pm

Re: itg3205 + gh0901b + help

Post by n00b »

this is the way of connection should I do?
Attachments
itg3205_nk_parallel.jpg

User avatar
c2po
Posts: 22
Joined: Fri Jun 24, 2011 7:31 pm
Location: Atlanta, GA

Re: itg3205 + gh0901b + help

Post by c2po »

Yes and no.
Yes, after the 3205 mod you have to connect standalone Nunchuk in parallel like shown on the picture.
And no, you have to power 3205 (and probably Nunchuk also) with no more that 3.5-3.6 volts.
Powering it like on the picture with 5 volts from Arduino will mess up the output data badly.
You have to add a separate voltage regulator like 3.3V, they are cheap, this is one example.

n00b
Posts: 11
Joined: Sat Jul 30, 2011 3:58 pm

Re: itg3205 + gh0901b + help

Post by n00b »

I will read your blog and I have connected the wm+ and nk on pin 3.3v
The result is a voodoo dance :shock:
# define I2C_SPEED 100000L
# define ITG3200
# define NUNCHACK
# define ITG3200_LPF_256HZ
# define INTERLEAVING_DELAY 3000
Attachments
vodoo.jpg

Post Reply