Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Input not working. #15

Closed
allecsxxx opened this issue May 9, 2021 · 1 comment
Closed

Keyboard Input not working. #15

allecsxxx opened this issue May 9, 2021 · 1 comment

Comments

@allecsxxx
Copy link

allecsxxx commented May 9, 2021

Uncommented
//======= Very important ========
#define DEBUG_IFX007T //Uncomment, if you wish debug output or tune the motor (Disables automatic V_neutralOffset)
//===============================

Used bldc pole find Sketch, all working, counts correctly ( i have 6 pole pairs)_**

Modified BEMF sketch for 6 pole pairs
bool direction = 1; // 0 or 1
uint8_t in;

//Create an instance of 'IFX007TMotorControl' called 'MyMotor'
IFX007TMotorControl MyMotor = IFX007TMotorControl();

void setup()
{
Serial.begin(115200);
Serial.println(" Infineon BLDC motor test! ");

MyMotor.begin();
// Adapt the following values according to the README if necessary
MyMotor.MotorParam.MotorPolepairs = 6; // Amount of polepairs. If your motor has 8 poles, it has 4 pole PAIRS)

Got this on Serial Monitor:
Infineon BLDC motor test!
Debug mode is active.
Sensorless BEMF mode
Started up sensorless BLDC motor.

Using t, g ,r,f,e,d keys ... nothing happens. Motor does 1 comutation stop, 1 comutation stop .... Any thoghts?

TY

@BrixInMotion
Copy link
Contributor

Hi @allecsxxx,
are you sure that you're using the IFX007_BLDC_BEMF.ino sketch?
If everything is wired correctly, it should at least increase speed for one second and afterwards go over in BEMF-block-commutation. Debug mode is only necessarry, if the motor stops again after the startup.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants