caramoan tour package

caramoan tour package

Author Topic: magnetic card reader/writer in pic16f877a  (Read 1694 times)

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
magnetic card reader/writer in pic16f877a
« on: April 02, 2009, 05:43:38 PM »
can someone help me po? we need to maneuver a magnetic card reader/writer using pic16f877a and MikroC po.. do anyone knows how to do it? thank you po

Philippine Electronics Forum

magnetic card reader/writer in pic16f877a
« on: April 02, 2009, 05:43:38 PM »

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: magnetic card reader/writer in pic16f877a
« Reply #1 on: April 02, 2009, 05:49:45 PM »
Sana may magnetic card reader ako dito na pwedeng paglaruan dito. Madali lang nman cguro ito basta meron ka.

Philippine Electronics Forum

Re: magnetic card reader/writer in pic16f877a
« Reply #1 on: April 02, 2009, 05:49:45 PM »

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: magnetic card reader/writer in pic16f877a
« Reply #2 on: April 02, 2009, 05:52:07 PM »
di po kc nagrerespond pag ginamit po ung usart ng PIC po.. im trying to send the hexadecimal codes to perform read function.. but the reader/writer doesnt respond. Pero po pag sa hyperterminal po ng windows, pag press po ng <esc>+r ng sabay po, nag rerespond po siya..

powered by ps2 port po pala ung reader/writer.. 5v po..

Philippine Electronics Forum

Re: magnetic card reader/writer in pic16f877a
« Reply #2 on: April 02, 2009, 05:52:07 PM »

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot

Philippine Electronics Forum

Re: magnetic card reader/writer in pic16f877a
« Reply #3 on: April 02, 2009, 06:21:51 PM »

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: magnetic card reader/writer in pic16f877a
« Reply #4 on: April 16, 2009, 02:34:25 PM »
programmers manual : http://www.fileden.com/getfile.php?file_path=http://www.fileden.com/files/2008/9/6/2085034/ME6%20Programmers%20Manual.doc

user manual : http://www.fileden.com/files/2008/9/6/2085034/user%20manual.pdf

data sheet : http://www.fileden.com/files/2008/9/6/2085034/msr206.pdf

uhm e2 po ung mga files regarding dun sa magnetic card reader/writer na ginagamit po nmin.. if ikakabit po ba e2 sa pic, nid pa po ba gumamit ng MAX232? powered by ps2 port po e2, ilang volts po ba ang supply ng ps2 port? pahelp po anyone.. maraming salamat po

Philippine Electronics Forum

Re: magnetic card reader/writer in pic16f877a
« Reply #4 on: April 16, 2009, 02:34:25 PM »

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: magnetic card reader/writer in pic16f877a
« Reply #5 on: April 16, 2009, 04:42:55 PM »
programmers manual : http://www.fileden.com/getfile.php?file_path=http://www.fileden.com/files/2008/9/6/2085034/ME6%20Programmers%20Manual.doc

user manual : http://www.fileden.com/files/2008/9/6/2085034/user%20manual.pdf

data sheet : http://www.fileden.com/files/2008/9/6/2085034/msr206.pdf

uhm e2 po ung mga files regarding dun sa magnetic card reader/writer na ginagamit po nmin.. if ikakabit po ba e2 sa pic, nid pa po ba gumamit ng MAX232? powered by ps2 port po e2, ilang volts po ba ang supply ng ps2 port? pahelp po anyone.. maraming salamat po

5V din ang PS2. Wla ba kayo makitang serial na magnetic reader kasi iba protocol nyan compared sa serial.

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: magnetic card reader/writer in pic16f877a
« Reply #6 on: April 16, 2009, 06:04:31 PM »
uhmm, bale po ps2 po ung power supply tpos may db9 for data communication po..

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: magnetic card reader/writer in pic16f877a
« Reply #7 on: April 17, 2009, 08:03:54 AM »
uhmm, bale po ps2 po ung power supply tpos may db9 for data communication po..

ahh ok nman pla di ka na mahihirapan sa pagkuha ng data sa reader. Wla ka ba picture dyan?

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: magnetic card reader/writer in pic16f877a
« Reply #8 on: April 17, 2009, 06:22:13 PM »
ung nsa data sheet po, gnun po ichura nia.. nid po ba gumamit ng max232 po?

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: magnetic card reader/writer in pic16f877a
« Reply #9 on: April 17, 2009, 08:42:37 PM »
ung nsa data sheet po, gnun po ichura nia.. nid po ba gumamit ng max232 po?

Yes kailangan ng max 232 between the pic and the reader. mas madali gawin ito kung sa computer mo muna itetest using hyperterminal. Kung ok na pwede ka na gumamit ng PIC. Kung marunong ka gumamit ng proteus mas magiging mabilis ang paggawa mo ng program kasi ikakabit mo na lang yung device sa serial port then you can simulate the program. After establishing a program saka mo nman itest sa actual.

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: magnetic card reader/writer in pic16f877a
« Reply #10 on: April 18, 2009, 06:26:45 AM »
Code: [Select]
Command code: <ESC> r
Hex code: 1B 72
Response: [Data Block] <ESC> [Status Byte]
Description: This command request ME6 to read a card swiped and respond with the data read.
kinabit po namin sa pc and gumamit po kmi ng hyperterminal, then po ang ginawa namin, hold <esc> then R po... nag respond po ung card reader and pag swipe po ng card, lumabas po sa hyperterminal ung info na nsa card po..

may circuit na rin po kmi for pic<->max232<->magcard reader/writer

ang gnawa po nmin is to send the hex code thru the pic's usart one by one..
 Usart_Write(0x1B);
  Usart_Write(0x72);

di po nagrerespond ung reader/writer.. pano po ba dapat gwin??
anong component po ba ang magnetic card/reader writer sa proteus? or may component po para makita ung output ng usart? thanks po
 

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: magnetic card reader/writer in pic16f877a
« Reply #11 on: April 19, 2009, 08:25:40 PM »
Code: [Select]
Command code: <ESC> r
Hex code: 1B 72
Response: [Data Block] <ESC> [Status Byte]
Description: This command request ME6 to read a card swiped and respond with the data read.
kinabit po namin sa pc and gumamit po kmi ng hyperterminal, then po ang ginawa namin, hold <esc> then R po... nag respond po ung card reader and pag swipe po ng card, lumabas po sa hyperterminal ung info na nsa card po..

may circuit na rin po kmi for pic<->max232<->magcard reader/writer

ang gnawa po nmin is to send the hex code thru the pic's usart one by one..
 Usart_Write(0x1B);
  Usart_Write(0x72);

di po nagrerespond ung reader/writer.. pano po ba dapat gwin??
anong component po ba ang magnetic card/reader writer sa proteus? or may component po para makita ung output ng usart? thanks po
 

sa proteus use compim then assign the serial port of your pc and the baud rate. wag mo na lagyan ng max232 in between ng pic and compim module. mas maganda lagyan mo rin ng virtual terminal  pra kita mo incomming at outgoing na data

Offline noobsaibot27

  • LR44 Battery
  • *
  • Posts: 1
  • Pogi/Ganda Points: 0
Re: magnetic card reader/writer in pic16f877a
« Reply #12 on: November 18, 2009, 12:46:30 AM »
pwede pong mag-ask kung saan po nakaka-bili ng magnetic card reader? exact location po ha.. kasi from bataan po ako kaya wala po akong masyadong alam na place sa manila.. thank you po..

Philippine Electronics Forum

Re: magnetic card reader/writer in pic16f877a
« Reply #12 on: November 18, 2009, 12:46:30 AM »

 

Privacy Policy

Contact Us: elabph@yahoo.com