Peter thanked Carlos in topic Trutech filter wheel lost 2 months ago
Carlos replied to the topic 'Trutech filter wheel lost' in the forum. 6 months ago

Hello again Jasem, this is the communication protocol:

Any communication, either from the computer to the wheel, or from the wheel to the computer, begins with a code A5h

There are three groups of commands:

-Reset and wheel type identification.
The computer sends a code A5h, a code 03h followed by a code of filling 20h and the checksum in 8 bit of the three codes above.
The wheel is positioned in "Home", and sends to the computer A5h, 83h, and the wheel type, which can be 5, 6, 7 or 8 filters, to which codes correspond 35h to 38h in addition the checksum in 8 Bit of the three codes

-Positioning a new filter
The computer sends a code A5h, a code 01h followed by a code with the chosen filter number, from 01h to 08h (depending on the number of filters that the wheel has) and the checksum in 8 bit of the three previous codes.
After the wheel is positioned in the chosen filter, it sends the computer A5h, 81h, and the filter in which it has just been positioned, to which codes 01h to 08h correspond, in addition the checksum in 8 bit of the three previous codes.

-Wheel status
The computer sends a code A5h, a code 02h followed by a fill code 20h and the checksum in 8 bit of the three previous codes.
The wheel responds to the computer A5h, 82h, and the filter in which it is positioned, to which codes 31h to 38h correspond to the filters 1 to 8, or the code 30h indicating to the computer that is moving, or codes 41h to 48h to indicate that it could not be positioned in these filter positions and that there is an error, in addition sends the checksum in 8 bit of the three previous codes.

This communication protocol was posted on the Trutek website

That is all, in my opinion is a fairly easy protocol.
For any questions I can help you, please tell me.
Thank you very much.

Carlos

Read More...

Carlos replied to the topic 'Trutech filter wheel lost' in the forum. 6 months ago

Hi Jasem.
I have been testing the driver for the Trutek filter wheel and it has some problems.

It does everything correctly, the wheel goes to the home position when you ask it and correctly changes the filter.
The problem, as you mentioned, is that the driver only sends commands, but does not interpret what the wheel sends, or rather, it assumes that the wheel does what the driver asks for it immediately, which, when You make series of photos by changing the filter between shots, the CCD starts capturing before the filter has finished positioning.

On the other hand, the current driver, is limited to 5 filters, but there are Trutek wheels of between 5 and 8 filters, and for example, I use one of 7 filters, in the old driver this could be selected

The truth is that the protocol used by the Trutek wheel, is very simple, I have a very easy summary done that I can send you if you want to see it.
I program it in the microcontroller I made for my wheel in Bascom (basic for AVR), but unfortunately I do not have any knowledge of the programming language that you use for the drivers.

Anything I can help, please tell me

Thank you so much for your great work.

Carlos

Read More...

Carlos replied to the topic 'Trutech filter wheel lost' in the forum. 6 months ago

Hi Jasem.
As soon as I update it, I test the driver.
I do not remember well, I've been with this project parked for a while, I've picked it up now that I have a PI3, but I think it updated the filter position.
I try and tell you.

Thank you very much
Carlos

Read More...

Carlos replied to the topic 'Trutech filter wheel lost' in the forum. 7 months ago

Hello Jasem.
No problem, I can try the driver, although my filter wheel is not original Trutech, build it and program myself with the Trutech protocol.
My Indi system is still not very stable, but the filter wheel worked with previous versions with some problem, if I remember correctly, I lost the configuration of the filters from one session to another, but it worked.

Thank you for your great work.
Carlos

Read More...

Carlos created a new topic ' Trutech filter wheel lost' in the forum. 7 months ago

Hello everyone.
After updating my system to Ubuntu 16.04, and also updating Kstars and indi, my Trutech filter wheel does not appear anymore.
Seeing the specifications for the new version of indi 1.4.0, this appears:
+ Legacy drivers removed: SkyCommander, Intelliscope, MagellanI, TruTech, SBIG STV

Have we lost the ability to handle Trutech filter wheels?

regards
Carlos

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!