Show Posts
Pages: [1]
1  Using Arduino / Storage / SD card initialization failed. on: May 19, 2012, 06:47:16 am
Like described in the subject my Arduino tells me that it couldn't open the SD card. My SD card is formatet with Fat16 and it has only 256 MB.
The Code I'm trying to run is the example "CardInfo" from the Arduino IDE 1.0 compiled with the IDE 1.0.

I connected the Arduino and the SD card like here:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/8
I changed the cs pin in the exaple to pin 10 because of the wiring above.

And YES the SD card is NOT locked^^.

The whole thing is just for a simple data logger running with 3 3v batteries connected to the VIN. Because of this I have to power the SD card (it uses 3.3V for its logic level) over two more 3,3k and 1,8k resistors for dropping the supply voltage to something arround 3.3V.

Oh, and sorry for my bad english skills.
2  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Tutorial - How to change firmware on 8u2 on: November 15, 2010, 10:33:02 am
I doesen'T have an Arduino Uno only a nano does someone know how I can use this code on an Arduino nano 3.0

it would be realy great if anyone has an answer for me ;D
3  Forum 2005-2010 (read only) / Uno Punto Zero / Re: ps/2 mouse error on: November 15, 2010, 10:15:23 am
now I can compile and upload it to my Arduino smiley

but when I connect the data and the clock wires from a ps/2 cable to the pc and to the arduino on digital pin 3 and 2 the Arduino doesn't starts anymore :'(. And when I reset it my pc says that the connected hardware isn't ok and I don't see the com port of it. When I disconnect the ps/2 wires and reset it it works fine again :-?

Does someone has any idea what I'm doing wrong?
4  Forum 2005-2010 (read only) / Uno Punto Zero / Re: ps/2 mouse error on: November 13, 2010, 12:09:57 pm
Thanks for the fast replys!!! ;D ;D ;D

the solution was quite easy if you know how it works^^

you must add this line:
#include "WProgram.h"
at the beginning of the file:
ps2dev.h~
and:
ps2dev.h

letts see if i can make my own mouse now

 ;D
5  Forum 2005-2010 (read only) / Uno Punto Zero / Re: ps/2 mouse error on: November 13, 2010, 11:57:38 am
but I dont need the ps2 library
I need the [glow]ps2dev[/glow] library

I will try it^^
6  Forum 2005-2010 (read only) / Uno Punto Zero / Re: ps/2 mouse error on: November 13, 2010, 11:45:18 am
But the example you compiled is to connect a mice or a keyboard to a Arduino
but I want to emulate a mice on my Arduino smiley-wink

I can compile the example from the Library for connecting a mice to the Arduino
7  Forum 2005-2010 (read only) / Uno Punto Zero / Re: ps/2 mouse error on: November 13, 2010, 11:06:35 am
when I press shift while compiling in 0021 I get:
Code:
In file included from C:\Dokumente und Einstellungen\Nutzer\Desktop\Programmieren\Java\arduino-0021\hardware\arduino\cores\arduino/WProgram.h:6,
                 from C:\DOKUME~1\Nutzer\LOKALE~1\Temp\build9053873873924970999.tmp\ps2_mouse.cpp:4:
c:/dokumente und einstellungen/nutzer/desktop/programmieren/java/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/dokumente und einstellungen/nutzer/desktop/programmieren/java/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
c:/dokumente und einstellungen/nutzer/desktop/programmieren/java/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'

This is the red part of the log only because the hole one is to long.

Perhaps you can send me your MD5 Cheksum of your .zip folder.
My one is: 66830F19F83B628E5214ED0BDE8B1893

Not that we understand wrong I want to emulate a mice with the Arduino and not connect a mice to the Arduino. And for that I use the Library of the bottom from the page below.
8  Forum 2005-2010 (read only) / Uno Punto Zero / Re: ps/2 mouse error on: November 13, 2010, 07:19:17 am
I put the Library right ther and I put it in the Arduino\libraries folder.
But when I run  it with 0018 or 0021 it returns the same error massage described below :'(.
I can add the library over:
sketch-->import Library-->ps2dev
so I think the Library is in the right place.

Doesen't anyone know how I can start the 0012?
If it helps I'm using  xp.
9  Forum 2005-2010 (read only) / Uno Punto Zero / ps/2 mouse error on: November 12, 2010, 12:47:08 pm
Hello Comunity smiley

I'm quite new her so sorry if i make something wrong^^
I wantedt to make a ps/2 mouse out of my Arduino with this Library: ww_w.arduino.cc/playground/ComponentLib/Ps2mouse
(the link is changed because it's my first comment.)

Now startet Arduino 0018 and started the example from the Library.
But when I try to compile it it says:

c:/dokumente und einstellungen/.../arduino-0018/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'

Now I downloaded the Arduino enviroment 0012 because it was used on the site from the library. But when I try to start it with the run.bat it gives me this error masage:

Code:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
Exception in thread "main"
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at processing.app.Preferences.getInteger(Preferences.java:750)
        at processing.app.Editor.restorePreferences(Editor.java:420)
        at processing.app.Base.<init>(Base.java:155)
        at processing.app.Base.main(Base.java:104)

now I tried to start the .exe file directly but nothing happens :'(
only the process in the Task manager doesent dissapear and it uses more and more space but without effect for hours  :-/.

Does someone know how to make a ps/2 mouse out of the Arduino with the 0017-0021?? Or can someone say me how to start it. :'(
Pages: [1]