Pages: [1]   Go Down
Author Topic: connection to ground  (Read 1386 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello guys another noobish question,

if im trying to get serial data of a magnetic card reader that has a rs232 chip what i would like to do is get the serial data before it
goes into the chip before it changes to rs232, can i just connect the tx rx ttl level side to the tx rx on the arduino? do i also have to connect a common ground?

thanks neil
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26572
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No, the signal must go thru an RS232 chip or equivalent, otherwise the +/-10V coming out of the card reader will damage your arduino chip.

Yes, grounds must be connected.

Here's an inexpensive way to get there:

http://store.nkcelectronics.com/rs232-to-ttl-3v--55v-convert232356.html


or
http://store.nkcelectronics.com/RS232-to-TTL-converter-board-33V-to-5V-Wrong-DB9-male-adapter_p_259.html
if you're a little bit handy.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

it aleady has a rs232 driver chip a sipex 3220ec. i thought i could tap into pins 9 and 11 which is the low level logic into the driver chip
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26572
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You will have an electrical conflict there. You coul pick the card reader's TX output to go to the Arduino Rx input. The arduino's Tx output will fight with the RS232 chip output over driving the Rx input into the card reader.  The MAX232 doesn't have a way to disable it's outputs, short of you desoldering a pin and lifting it up.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the reply crossroads do i still have to share a common ground?. as in the only wire would be tx from card reader?
thanks for your help
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26572
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, still need the ground connection.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for your time and help crossroads
Logged

Pages: [1]   Go Up
Jump to: