Jump to content
  • 0

Trying to receive data from Boeckeler MICROCODE II through pmod RS232 into an arduino uno, then onto a computer


Ryan Flynn
 Share

Question

Hey there, 

Me and my team are trying to pull data off a microcode II made by Boeckeler instruments. It’s a micrometer that we currently have going into the Pmod RS232 Revb, and then we have that wired into an Arduino Uno R3.  I’m not sure if there are any special procedures or requirements to initiate the transmission of the data to the arduino, but we are having a hard time figuring out why we cannot print the data, or even if we are receiving data from the PmodRS232 into our Arduino. We have our TXD and RXD going into digital pins 3 and 2 on our arduino  and VCC and GND going into a 5V and Ground, respectively. 

 

Do we need to send some kind of signal to initiate the data transfer. We are not sure what we are missing. Any point in the right direction would be a huge help! 

 

The code is test code to read anything off the arduino and make sure that it works.

A785D26B-3967-489F-9516-B883D48ED239.jpeg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Ah... the bad old days of RS-232. I still have a bin somewhere with gender changers, RxD/TxD cross-over changers, adapters for connectors with different widths, various cables with the wrong connector, etc. What joy... RS-232 never was abel to work out which end is Terminal Equipment.

Do make sure that TxD on one end is connected to RxD on the other end. It's unlikely that you need hardware flow control, but if you do, then make sure that RTSn and CTSn are connected properly as well. With hardware flow control there will be no TxD activity if these pins aren't asserted low.

THe devices might use XON/XOFF flow control, but you would see some activity. Likely, the problem is with the RxD/TxD pins.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...