This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
drive questions.
#19
(2022-03-30, 03:07 AM)seandepagnier Wrote: did you use my sketch:

https://github.com/pypilot/pypilot/blob/.../motor.ino


It uses pin 11 for clutch.. however it uses a lower frequency pwm for the regular motor controllers as they dont have a mosfet driver for the clutch mosfet...

You may need to study the code and compare differences more since you are using your own hardware.  Would be nice if you did get it working with my sketch to know the exact differences so it can be integrated somehow.

Yes, I tried your sketch but I have to uncheck this condition to not have badvoltage_fault :
if(volts <= 900 || volts >= max_voltage) {
            clear();
            flags |= BADVOLTAGE_FAULT ;
        } other
            flags &= ~BADVOLTAGE_FAULT ;

I have connected my daughter board with my mosfet assembly according to the following scheme (controler mod)and it doesn't work

And if I use your clutch sketch (Your controler), it works
Q4 = ?? which mosfet type N  


Could it be that your schech clutch is for electric cylinders where the clutch is a friction clutch. I believe, but need to check, that the clutch on my hydraulic cylinder is a knife gate valve; it is either open or closed. I'll get back to you after checking. I'll get back to you after checking. And if it is, I don't need the radiometry from tinypilot?
Pierre 


Translated with www.DeepL.com/Translator (free version)


Attached Files Image(s)
       
Pierre 
Reply


Messages In This Thread
drive questions. - by johnm - 2020-08-28, 03:50 PM
RE: drive questions. - by seandepagnier - 2020-08-29, 09:07 PM
RE: drive questions. - by NousVoila - 2022-03-16, 09:02 PM
RE: drive questions. - by johnm - 2022-03-18, 01:18 AM
RE: drive questions. - by NousVoila - 2022-03-20, 10:44 PM
RE: drive questions. - by Jean-Marc Douroux - 2022-03-22, 02:41 PM
RE: drive questions. - by johnm - 2022-03-23, 04:58 PM
RE: drive questions. - by NousVoila - 2022-03-23, 09:09 PM
RE: drive questions. - by seandepagnier - 2022-03-24, 01:11 AM
RE: drive questions. - by johnm - 2022-03-25, 08:51 PM
RE: drive questions. - by NousVoila - 2022-03-25, 10:46 PM
RE: drive questions. - by johnm - 2022-03-26, 03:57 PM
RE: drive questions. - by NousVoila - 2022-03-27, 05:02 PM
RE: drive questions. - by johnm - 2022-03-27, 07:21 PM
RE: drive questions. - by seandepagnier - 2022-03-26, 03:05 AM
RE: drive questions. - by seandepagnier - 2022-03-27, 07:32 PM
RE: drive questions. - by NousVoila - 2022-03-28, 04:42 PM
RE: drive questions. - by seandepagnier - 2022-03-30, 03:07 AM
RE: drive questions. - by NousVoila - 2022-03-31, 02:52 PM
RE: drive questions. - by seandepagnier - 2022-03-31, 10:12 PM
RE: drive questions. - by NousVoila - 2022-03-31, 10:35 PM
RE: drive questions. - by seandepagnier - 2022-03-31, 11:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)