yOyOeK1 / hackqueedo

Alternative solution to use torqueedo outboard 100x and 50x.
5 stars 0 forks source link

Hi, I would like your help with a torqueedo motor #1

Open alejomejia1 opened 2 years ago

alejomejia1 commented 2 years ago

Hi, How can I contact you? I have a Torqueedo 1103 motor, that needs to be controlled remotely. I downloaded your repo, but I have some questions.

my email is alejomejia1@gmail.com Thanks

Alejandro

yOyOeK1 commented 2 years ago

@alejomejia1 github is a good place to contact me. I don't use phone so no whatsapp and then it will be one subject in one spot. Are you ok with this idea ? Write me the questions. :)

alejomejia1 commented 2 years ago

@yOyOeK1 That is perfect!!! Let me explain what is our project. We designed a boat for academic purposes, this boat is a catamaran, with a motor (Torqeedo Travel 1103) on each hull, there is no steering mechanism (we control heading with differential power in each motor). That boat is intended to make deep measurements on a special area, therefore we plan to make it autonomous or remote operated. In that sense we need to control speed of each motor and get some telemetry from them Because of weight distribution, already is necessary to use batteries on top of motors, therefore we plan to use tiller interface, we already build a sniffer to capture comms from motor, but we are having some issues on sent orders to them (motor not maintain ordered speed - could be because of order refresh rate?), the other problem we have, is that crc8-maxim calculation routine is given us different CRC that the ones we obtain on sniffer using Torqeedo tiller control. And last... did you know which are dataframes to obtain battery level, temperature and other telemetry data from bat?.. and the response dataframe from bat/motor.

Thanks again

yOyOeK1 commented 2 years ago

@alejomejia1 nice I want one for my self :) to make same soundings in my area. I did't have kontakt with working tiller or battery. My unit was sold to me as working unit but battery was with water in it and tiller unit newer turn on. This project is about how I start using motor. I have only a frame to enable disable motor, send speed forward / reverse. You can find a crc table what you need to use to build chksum. All communication with torqeedo is based on https://ardupilot.org/rover/docs/common-torqeedo.html I think motor is really trying to maintain power output not rpm's. My motor have a rs485 ic in it working only on rx so I don't have temperature or any massages from it. If you need help with the messy code :) give me a shout :)

alejomejia1 commented 2 years ago

Hi! you can see an animation of our boat at boat. I had to make some reverse engineering to the tiller interface, problem is that when you use Tiller, comms must be initiated by master (in this case battery board) and you have to answer each request between 25 ms after receive the order, therefore, motor moves only when aleatory sending time match to that restriction! When you use motor interface, you will be the master and you can manage times by your self! Already I developed a piece of software to receive and decode messages from master and I working on the responses. I will tell you when I made it, and I will make a pull request on your repo

alejomejia1 commented 2 years ago

Finally motor is running and remotelly controlled. video

(I restricted program running time to 20 seconds) Just for testing