I currently have a Proprietary device that is used to control a telescope and I also have a telescope that is old enough to drink (Late 90's). The little micro computer, which is similar to a raspberry pi communicates to the telescope w/ a USB to RS232 cable. I have been playing with Arduino's, FTDI, and max232. The max232 boosts the 5v/3v logic to 12v, which is what the telescope uses and converts it from TTL to RS232. I am using it to read data the serial data and manipulate the data some what, though I think I am having some issues and limitations with the HW and my knowledge of C++, though I do know Bash & . I just ordered a couple Picos as they aren't much more than the Unos I have been using and the HW is a lot better as well as it comes with more than one serial port. I want to read data coming from the computer remove the string ":D#" from the data stream and send it to the to the TX pin on the MA232, which will communicate via null modem cable to the telescope.
The ":D#" data seems to be generating an output from the telescope that makes the computer panic and disconnect the mount. I can use a couple different mount drivers and one them, which is a very basic driver doesn't send the ":D#", when I preform the same action and the mount stays connected. The only issue is the basic driver is so basic, that the functionality is limited in other areas that I need to use as well.
Using a Pico, what would be the best way to approach removing this string from the data stream? What language should I use, is there anything good and easier for manipulating serial data? Any algorithms suggested to parsing data like this?
The ":D#" data seems to be generating an output from the telescope that makes the computer panic and disconnect the mount. I can use a couple different mount drivers and one them, which is a very basic driver doesn't send the ":D#", when I preform the same action and the mount stays connected. The only issue is the basic driver is so basic, that the functionality is limited in other areas that I need to use as well.
Using a Pico, what would be the best way to approach removing this string from the data stream? What language should I use, is there anything good and easier for manipulating serial data? Any algorithms suggested to parsing data like this?
Statistics: Posted by solarity — Wed May 08, 2024 3:42 pm