hi magnetic head Connect directly Arduino uno How do I possible ??
magnetic Head ;
RED = 5V
Black = Gnd
White = Digital pin 2
possible ?? :-\
hi magnetic head Connect directly Arduino uno How do I possible ??
magnetic Head ;
RED = 5V
Black = Gnd
White = Digital pin 2
possible ?? :-\
Yes, possible. Try it and let us know how it goes.
serial Read ;
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
int card = 2;
void setup() {
Serial.begin(9600);
pinMode(card, INPUT);
}
void loop() {
int reader = digitalRead(card);
Serial.println(reader);
delay(1);
}
[\code]
where is the problem ???
Not Read Magnetic Card :///
You get "1" so i guess it's working, either you would get "0"..
Can not read the magnetic card.
continuous "1" writes.
track 1 track 2 track 3 how to read ???
The tracks on the card are pretty narrow. How can you be sure that you have properly aligned a track properly?
int reader = digitalRead(card);
Serial.println(reader);
delay(1);
This loop is very slow because it takes some time to print. Also, get rid of that stupid delay!
For your first tests, try a loop that looks for a change from "1" to "0" as you swipe the card.
Everything would be easier if you could find a datasheet, or some basic information about the reader head.
Anybody can help please .
Saludos amigos por lo que se las cabezas magnéticas trabajan de forma análoga considero usar en el arduino dichas entradas o a lo mejor también usar un preamplificador entre el cabezal magnético y el arduino en una entrada analógica
rootX:
Can not read the magnetic card.continuous "1" writes.
track 1 track 2 track 3 how to read ???
Strange question if you know there are three tracks, why didn't you read they are each encoded differently. I don't see anything in your code that pays any attention to actually reading the data on the tracks.
Paul