Show Posts
Pages: [1] 2
1  International / Deutsch / Arduino BT und Gyroskop I2C on: February 22, 2011, 07:17:19 pm
Hallo ,ich benutze den ITG 3200 Drehratensensor, der über den I2C Bus mit dem Arduino BT atmega 328 verbunden ist.
Das Problem ist ,dass nach ganz kleinen Bewegungen mir schon die maximal drehrate von 2000 grad pro sekunde angezeigt wird.
Dies geschieht auf jeder der drei Achsen sobald die jeweilige Achse in der einzelnen Achsenabene bewegt wird.
Ich habe hier den link zum quellcode:
http://rfid-synergie.de/itg3200.html.txt

Bitte Verbesserungsvorschläge.

Viele Gruesse
Kris
2  Using Arduino / Sensors / Re: Arduino BT and ITG3200 Gyro on: February 22, 2011, 07:04:58 pm
The full skale range of each of the axis (I turned) were reached after a short moment .
3  Using Arduino / Sensors / Arduino BT and ITG3200 Gyro on: February 22, 2011, 05:58:23 pm
Im using the following sourcecode
http://rfid-synergie.de/itg3200.html.txt
on my arduino BT atmega 328.
I get Datas but I think the datas are not exact. It seems like the sensor is more sensitive compared to a very similiar sourcecode which I m using on my arduino dumilanove.It only takes a short move of the sensor and the Z axis of the gyro shows a full scale of 2000 degrees per sec. I power the board with two 1,5 V batteries.
thx greets Kris
4  Using Arduino / Installation & Troubleshooting / Re: Arduino BT upload error on: February 21, 2011, 12:26:56 pm
I m totally confused, I also got this Messages:

Message 1

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail

Message 2

avrdude: Expected signature for ATMEGA168 is 1E 94 06
         Double check chip, or use -F to override this check.



Message 3

avrdude: ser_open(): can't open device "\\.\COM13": Das Zeitlimit für die Semaphore wurde erreicht.
5  Using Arduino / Installation & Troubleshooting / Arduino BT upload error on: February 20, 2011, 09:26:11 pm
hello,

while uploading the blink sketch the following error occurred:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51



I read through many previous posts but i didnt get it!
I know it has sth to do with the timing of pressing the reset button therefore i used a serial monitor .
I wanted to figure out when the transmisson begin.

its such a waste of time please help me!
thx kris

6  International / Deutsch / Re: Arudino Bluetooth upload fehler on: February 20, 2011, 09:04:54 pm
habe jetzt schon mit dem programm "serial port monitor" versucht den richtigen zeitpunkt für den reset zufinden!
leider ohne erfolg!
Bevor diese meldung,

Port geöffnet durch Vorgang "avrdude.exe" (PID: 3092)

 30 20 30 20 30 20 51 20                           0 0 0 Q


im port monitor erscheint lasse ich den reset taster los und in meinem compiler fenster erscheint nun diese meldung:



avrdude: ser_open(): can't open device "\\.\COM13": Das Zeitlimit für die Semaphore wurde erreicht.


hat jemand eine idee?
7  International / Deutsch / Arudino Bluetooth upload fehler on: February 20, 2011, 06:35:09 pm
hallo,
ich habe mir das arduino bt frisch gekauft. Habe alles soweit eingestellt. Bin mir nur unsicher mit den COM Einstellungen. Mir werden zwei serriele Ports angezeigt  com 13 und com 15.habe com 13 gewählt,da ich denke,dass es der Ausgehende Port ist!
Beim uploaden von sketches tritt bei mir folgender fehler auf:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Ich habe aus einem alten Post erfahren,dass es mit dem Reset Taster zusammen hängt!

Ich bin für jede Hilfe danbar!

viele gruesse
kris
8  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 24, 2010, 09:15:17 am
yes thanks!
9  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 24, 2010, 08:30:19 am
it works :-) ! The problem was ,I put my sketch on the arduine ! Thats different from yours .When I tried yours, it works :-) Thanks Fabio! I saw ur calculation for the temperature !U used two values and u devided it by the sensitivity!Wherefore are the 35? and the 13200?
10  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 23, 2010, 09:26:47 am
I tried this   myPort = new Serial(this, "COM10", 9600);  
I also tried "COMM10" instead of "COM10" then there was no error
but nothing happened in the terminal window.

Is it necessary to run the arduino alpha software and processing software parallel?

This is the error:

Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
gnu.io.PortInUseException: Unknown Application
      at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)
      at processing.serial.Serial.<init>(Unknown Source)
      at processing.serial.Serial.<init>(Unknown Source)
      at _12_ITG3200.setup(_12_ITG3200.java:44)
      at processing.core.PApplet.handleDraw(Unknown Source)
      at processing.core.PApplet.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:662)
processing.app.debug.RunnerException: RuntimeException: Error inside Serial.<init>()
      at processing.app.Sketch.placeException(Sketch.java:1543)
      at processing.app.debug.Runner.findException(Runner.java:582)
      at processing.app.debug.Runner.reportException(Runner.java:558)
      at processing.app.debug.Runner.exception(Runner.java:498)
      at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
      at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
      at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.<init>()
      at processing.serial.Serial.errorMessage(Unknown Source)
      at processing.serial.Serial.<init>(Unknown Source)
      at processing.serial.Serial.<init>(Unknown Source)
      at _12_ITG3200.setup(_12_ITG3200.java:44)
      at processing.core.PApplet.handleDraw(Unknown Source)
      at processing.core.PApplet.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:662)


11  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 20, 2010, 11:25:22 am
I tried ! But It doesnt work with this set up!A failure in the compiler appeared!
12  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 19, 2010, 10:53:21 am
I already made the changes . My serial interface is called COM10. But I m not really sure if it is the right path(or folder /dev/COM10)! How can I figure it out? When I tried your processing code then there was appearing this in the compiler:


Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
13  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 18, 2010, 06:25:40 pm
I could not find /dev/ttyUSB0  ! Where is the set-up file exactly stored ?
14  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 18, 2010, 05:09:07 pm
Thanks ,Fabio!
15  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help With I2C gyro  ITG 3200 on: November 18, 2010, 09:43:02 am
How can I open the processing code file?
Pages: [1] 2