R
rusttree
Many moons ago, I took a class in embedded control at school. The
course focused on a micro-controller mounted on a small electric car
that was programmed using simple C code. The micro-controller chip had
several pins, some of which were for output and some were for input.
The crux of the project was to make the program set the ouput pins to
high or low to drive the servos and motors and read the input pins that
were attached to various sensory hardware on the car. It was an
extremely simple, yet powerful mechanism to accomplish the task.
So I thought it would be a neat idea to build my own projects using
standard PC hardware. Having no real computer hardware education, I
assumed the serial port would be a good place to investigate. The
serial port on my PC has 25 pins. I figured there would be some
low-level way of interfacing with the serial port hardware directly and
manually set these pins to high and low as well as read input voltages
applied to the pins. My research seems to have proved otherwise. It
looks like the serial port was designed for a very specific purpose of
transmitting pre-formatted bytes of data in predescribed ways. The
pages I have come across speak of baud rates and transfer protocols and
such. That seems interesting in it's own right, but I'm interested in
a much more fundamental control of the pins of a serial port. So
herein lies my question: Am I even close to reality thinking I can do
what I want to do? Or am I so far out in left field I look ridiculous
right now?
I realize I may not be in the correct newsgroup for this kind of
discussion. If someone knows of a better place to bring this up,
please direct me to it. Thank you.
course focused on a micro-controller mounted on a small electric car
that was programmed using simple C code. The micro-controller chip had
several pins, some of which were for output and some were for input.
The crux of the project was to make the program set the ouput pins to
high or low to drive the servos and motors and read the input pins that
were attached to various sensory hardware on the car. It was an
extremely simple, yet powerful mechanism to accomplish the task.
So I thought it would be a neat idea to build my own projects using
standard PC hardware. Having no real computer hardware education, I
assumed the serial port would be a good place to investigate. The
serial port on my PC has 25 pins. I figured there would be some
low-level way of interfacing with the serial port hardware directly and
manually set these pins to high and low as well as read input voltages
applied to the pins. My research seems to have proved otherwise. It
looks like the serial port was designed for a very specific purpose of
transmitting pre-formatted bytes of data in predescribed ways. The
pages I have come across speak of baud rates and transfer protocols and
such. That seems interesting in it's own right, but I'm interested in
a much more fundamental control of the pins of a serial port. So
herein lies my question: Am I even close to reality thinking I can do
what I want to do? Or am I so far out in left field I look ridiculous
right now?
I realize I may not be in the correct newsgroup for this kind of
discussion. If someone knows of a better place to bring this up,
please direct me to it. Thank you.