DJWilliams
Mechanical
- Aug 18, 2015
- 3
Hello,
I'm a mechanical engineer working in R&D at an aerospace company. I've been tasked with designing and developing a robotic system to offload some of the production at our facility. In the application I'm working on, I have a sensor that uses serial communication (RS-232) and I'd like to talk to it using the 8 channels of discrete I/O (8 inputs, 8 outputs) that my robot controller provides. I'd like to send signals both ways. My thought was that I could use 2 serial to parallel converters to do the job. One for talking to the sensor and one for receiving info from it ( The data coming through will only be a few bytes every 20 seconds or so giving x, y and positional data from the sensor.
First of all, does this look like a feasible plan? I've attached a block diagram of what I'm thinking.
[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1439926943/tips/150818134022_0001_cfct4v.pdf[/url]
On the connection between the DO and the P/S converter, I need to drop the voltage from 24V to 5 V. What would be a reasonable way to do this? On the other side I need to step up from 5 to 24V, I believe I could use an OP AMP here? My other question is on the connection to the sensor. Since I will need to switch between input and output to the sensor I would need to have some sort of switching mechanism to do this. Signals coming out of the sensor would go to one parallel to serial converter, and signals going in would come from the other. Anyone recommendations for the type of switch I could use to do this (type, brand, if possible Part Number). I would like to use a digital output to switch the switch from one side to the other if possible.
Trying to recall Electrical Engineering I learned in college 20 years ago =)
Anything else I may be missing?
Thank you for any help!
DJWilliams
I'm a mechanical engineer working in R&D at an aerospace company. I've been tasked with designing and developing a robotic system to offload some of the production at our facility. In the application I'm working on, I have a sensor that uses serial communication (RS-232) and I'd like to talk to it using the 8 channels of discrete I/O (8 inputs, 8 outputs) that my robot controller provides. I'd like to send signals both ways. My thought was that I could use 2 serial to parallel converters to do the job. One for talking to the sensor and one for receiving info from it ( The data coming through will only be a few bytes every 20 seconds or so giving x, y and positional data from the sensor.
First of all, does this look like a feasible plan? I've attached a block diagram of what I'm thinking.
[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1439926943/tips/150818134022_0001_cfct4v.pdf[/url]
On the connection between the DO and the P/S converter, I need to drop the voltage from 24V to 5 V. What would be a reasonable way to do this? On the other side I need to step up from 5 to 24V, I believe I could use an OP AMP here? My other question is on the connection to the sensor. Since I will need to switch between input and output to the sensor I would need to have some sort of switching mechanism to do this. Signals coming out of the sensor would go to one parallel to serial converter, and signals going in would come from the other. Anyone recommendations for the type of switch I could use to do this (type, brand, if possible Part Number). I would like to use a digital output to switch the switch from one side to the other if possible.
Trying to recall Electrical Engineering I learned in college 20 years ago =)
Anything else I may be missing?
Thank you for any help!
DJWilliams